OSDN Git Service

handbrake-jp/handbrake-jp-git.git
15 years agoCygwin:
sr55 [Sun, 21 Sep 2008 19:16:40 +0000 (19:16 +0000)]
Cygwin:
- We compile libz but don't actually link it in on cygwin. This is fixed.
- Added bzip2 lib which means we can get rid of another cygwin dll.

These are cygwin only so have no affect on any other platform.

git-svn-id: svn://localhost/HandBrake/trunk@1740 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoMacGui: End of encode/queue alerts and actions changes
dynaflash [Sun, 21 Sep 2008 04:40:09 +0000 (04:40 +0000)]
MacGui: End of encode/queue alerts and actions changes
- Growl alerts and "Send to MetaX" actions occur as each encode comes finishes in the queue.
- The standard alert window, computer sleep and computer shutdown all occur at the end of encoding the entire queue, specifically when the encoding is done, and there aren't any other pending encodes to process.

git-svn-id: svn://localhost/HandBrake/trunk@1739 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoMacGui: upon launch, if pending items are still in the queue, if you choose to reload...
dynaflash [Sun, 21 Sep 2008 03:52:31 +0000 (03:52 +0000)]
MacGui: upon launch, if pending items are still in the queue, if you choose to reload them, you are not presented with the browse source window.

git-svn-id: svn://localhost/HandBrake/trunk@1738 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoMacGui: now requires vlc 0.9.xx to read protected dvd's in the users /Applications...
dynaflash [Sat, 20 Sep 2008 21:29:53 +0000 (21:29 +0000)]
MacGui: now requires vlc 0.9.xx to read protected dvd's in the users /Applications folder

git-svn-id: svn://localhost/HandBrake/trunk@1737 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoWinGui:
sr55 [Sat, 20 Sep 2008 16:28:28 +0000 (16:28 +0000)]
WinGui:
- Removed Red Background colour on chapter selection dropdown menus. This is no longer needed.
- Prevent the user from selecting an invalid combination of Chapters. e.g 12-5. Dropdowns now have the same behaviour as the macgui.
- Fixed Start/Stop Tooltips on the mainwindow

git-svn-id: svn://localhost/HandBrake/trunk@1736 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoWinGui:
sr55 [Sat, 20 Sep 2008 15:11:23 +0000 (15:11 +0000)]
WinGui:
- User presets and built in presets are now show in seperate colours. User preset's are shown in black and built in are blue.
- Added cancel button to add preset.
- Removed File Menu > Import. This is not required. Users can import old .hb files as text into the query editor if need be.
- Adding a new user preset no longer stores Title and file input/output information. While these were never used, it's a waste of space storing them in the user presets file.
- Added a comfirm dialog for removing presets.

git-svn-id: svn://localhost/HandBrake/trunk@1735 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoLinGui: improve the precision of the scaling of the preview image for display
jstebbins [Sat, 20 Sep 2008 01:26:14 +0000 (01:26 +0000)]
LinGui: improve the precision of the scaling of the preview image for display
small round off error caused the display to not visibly change for
every incremental change in the width control.

git-svn-id: svn://localhost/HandBrake/trunk@1734 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoWinGui:
sr55 [Fri, 19 Sep 2008 21:37:32 +0000 (21:37 +0000)]
WinGui:
- Fix: Small issue with Queue Recovery feature. Encoded files were not removed from the recovery file.

git-svn-id: svn://localhost/HandBrake/trunk@1733 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoWinGui:
sr55 [Fri, 19 Sep 2008 17:10:21 +0000 (17:10 +0000)]
WinGui:
- Fixed bug. --markers wasn't detected with user presets, only -m worked.

git-svn-id: svn://localhost/HandBrake/trunk@1732 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoWinGui:
sr55 [Fri, 19 Sep 2008 16:50:52 +0000 (16:50 +0000)]
WinGui:
- Just allow ISO_Open to open all files. Will save adding all the ffmpeg options available.
- Re-factored the chapter marker creation/query generation code.

git-svn-id: svn://localhost/HandBrake/trunk@1731 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoMacGui: Custom chapter names restored (borked in 1703)
dynaflash [Fri, 19 Sep 2008 14:55:38 +0000 (14:55 +0000)]
MacGui: Custom chapter names restored (borked in 1703)
- The chapter names are now stored in the queue as the key "ChapterNames" which has an array of names as its value and are re-applied to the job when the queue goes to that encode if applicable.
- As with all things, should save some work if you use a lot of custom chapter names and you have to shut down during a long queue encode and restart later.

git-svn-id: svn://localhost/HandBrake/trunk@1730 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoWinGui:
sr55 [Fri, 19 Sep 2008 14:09:52 +0000 (14:09 +0000)]
WinGui:
- Updated for x264's new default subme of 6. Remember to update your built-in presets!

git-svn-id: svn://localhost/HandBrake/trunk@1729 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoWinGui:
sr55 [Fri, 19 Sep 2008 14:07:46 +0000 (14:07 +0000)]
WinGui:
- Patch from canvas :- use format dropdown value for extension with the autoName function. Typo fix and add's the .m2ts file extension to the file open dialog box.
- Fix in calculateDuration, don't crash if start chapter > end chapter.

git-svn-id: svn://localhost/HandBrake/trunk@1728 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoSpit out the average encoding speed in the verbose log at the end of a job.
jbrjake [Fri, 19 Sep 2008 14:02:13 +0000 (14:02 +0000)]
Spit out the average encoding speed in the verbose log at the end of a job.

git-svn-id: svn://localhost/HandBrake/trunk@1727 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoCLI: Synchronizes presets with the MacGui, following x264's switch to subme 6 as...
jbrjake [Fri, 19 Sep 2008 13:49:59 +0000 (13:49 +0000)]
CLI: Synchronizes presets with the MacGui, following x264's switch to subme 6 as default.

git-svn-id: svn://localhost/HandBrake/trunk@1726 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoBrings MacGui in line with x264's new default subme of 6. Remember to update your...
jbrjake [Fri, 19 Sep 2008 13:49:13 +0000 (13:49 +0000)]
Brings MacGui in line with x264's new default subme of 6. Remember to update your built-in presets!

git-svn-id: svn://localhost/HandBrake/trunk@1725 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoBring libhb in line with x264's new default subme level of 6.
jbrjake [Fri, 19 Sep 2008 13:48:02 +0000 (13:48 +0000)]
Bring libhb in line with x264's new default subme level of 6.

git-svn-id: svn://localhost/HandBrake/trunk@1724 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoBumps x264 to r979-6d4af9d, bringing Psy-RDO and Psy-Trellis to HandBrake.
jbrjake [Fri, 19 Sep 2008 13:47:08 +0000 (13:47 +0000)]
Bumps x264 to r979-6d4af9d, bringing Psy-RDO and Psy-Trellis to HandBrake.

Note: since the last x264 bump, they have changed the way CRF works. Throw out everything you thought you knew about the output bitrate for a given quality level.

git-svn-id: svn://localhost/HandBrake/trunk@1723 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoMacGui and MacCli: Sets the Xcode project's Deployment target to use GCC optimization...
jbrjake [Fri, 19 Sep 2008 13:36:23 +0000 (13:36 +0000)]
MacGui and MacCli: Sets the Xcode project's Deployment target to use GCC optimization level 3 instead of S, optimizing for speed instead of speed and size.

git-svn-id: svn://localhost/HandBrake/trunk@1722 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoWinGui:
sr55 [Fri, 19 Sep 2008 06:30:57 +0000 (06:30 +0000)]
WinGui:
- Forgot to remove a line of code used for debugging.

git-svn-id: svn://localhost/HandBrake/trunk@1721 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoThreaded decomb filter. Folds in eddyg's threaded yadif from r1628 and also analyzes...
jbrjake [Fri, 19 Sep 2008 00:29:55 +0000 (00:29 +0000)]
Threaded decomb filter. Folds in eddyg's threaded yadif from r1628 and also analyzes cpu-count segments of the frame in parallel when generating the combing mask used to decide which frames to send to yadif.

git-svn-id: svn://localhost/HandBrake/trunk@1720 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoLinGui: tidy up how combobox values are handled internally and stored in plists
jstebbins [Fri, 19 Sep 2008 00:19:46 +0000 (00:19 +0000)]
LinGui: tidy up how combobox values are handled internally and stored in plists
fix a problem with storing max picture dims to presets plist

git-svn-id: svn://localhost/HandBrake/trunk@1719 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoMacGui: "Stop" command modifications
dynaflash [Thu, 18 Sep 2008 18:54:31 +0000 (18:54 +0000)]
MacGui: "Stop" command modifications
- Clicking on the "stop" icon in the toolbar now produces a different alert window with three choices
- " Continue Encoding " default, just dismisses the window and continues on its merry way.
- " Cancel Current and Stop " Cancels the current encode and stops the queue
- " Cancel Current and Continue " Cancels the current encode and moves to the next pending encode (if there is one).

- Also fixed an issue with deleting a canceled encode at the top of the queue list.

git-svn-id: svn://localhost/HandBrake/trunk@1718 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoWinGui:
sr55 [Thu, 18 Sep 2008 16:51:49 +0000 (16:51 +0000)]
WinGui:
- Couple of bug fixes. Crop, -f option, typo

git-svn-id: svn://localhost/HandBrake/trunk@1717 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoMacGui: Queue allow proper deleting of encoding queue items and proper deleting of...
dynaflash [Thu, 18 Sep 2008 16:11:12 +0000 (16:11 +0000)]
MacGui: Queue allow proper deleting of encoding queue items and proper deleting of previously cancelled items. Also fixed Pause.

git-svn-id: svn://localhost/HandBrake/trunk@1716 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoMacGui: Fix issue from 1703 where once done doing at least one encode, all subsequent...
dynaflash [Thu, 18 Sep 2008 14:38:31 +0000 (14:38 +0000)]
MacGui: Fix issue from 1703 where once done doing at least one encode, all subsequent jobs would require that you add to queue first, then hit start.
- Now, even after encoding a queue is finished, you can just hit "Start" to add the currently loaded job in the GUI to the queue and start encoding right away.

git-svn-id: svn://localhost/HandBrake/trunk@1715 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoMacGui: fix turbo two pass (thanks beelsebob and jkint for help troubleshooting it )
dynaflash [Wed, 17 Sep 2008 19:02:49 +0000 (19:02 +0000)]
MacGui: fix turbo two pass (thanks beelsebob and jkint for help troubleshooting it )
- also added a few more debugging messages to prepareJob until things cool down a bit.

git-svn-id: svn://localhost/HandBrake/trunk@1714 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoMacGui: Add some temporary activity log messages to try to debug the new queue
dynaflash [Wed, 17 Sep 2008 18:34:08 +0000 (18:34 +0000)]
MacGui: Add some temporary activity log messages to try to debug the new queue
- with any luck I can get rid of these down the road

git-svn-id: svn://localhost/HandBrake/trunk@1713 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoFilter timestamps to prevent missing/incorrect Transport Stream PCRs messing up A...
van [Wed, 17 Sep 2008 17:06:38 +0000 (17:06 +0000)]
Filter timestamps to prevent missing/incorrect Transport Stream PCRs messing up A/V sync.

git-svn-id: svn://localhost/HandBrake/trunk@1712 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoMacGui: Fix crash when selecting between target size and abr.
dynaflash [Wed, 17 Sep 2008 17:01:14 +0000 (17:01 +0000)]
MacGui: Fix crash when selecting between target size and abr.
- calculateBitrate shouldn't need nor can it any longer use prepareJob
- should still verify proper calcs for target bitrate and abr, but better not to crash.

git-svn-id: svn://localhost/HandBrake/trunk@1711 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoLinGui: prevent entering bitrates above 160 for faac
jstebbins [Wed, 17 Sep 2008 15:46:10 +0000 (15:46 +0000)]
LinGui: prevent entering bitrates above 160 for faac

git-svn-id: svn://localhost/HandBrake/trunk@1710 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoWinGui:
sr55 [Wed, 17 Sep 2008 15:17:12 +0000 (15:17 +0000)]
WinGui:
- Possible fix in the Query Parser for the line "+ combing detected, may be interlaced or telecined" causing the parser to skip titles.

git-svn-id: svn://localhost/HandBrake/trunk@1709 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoMacGui: fix chapter markers which were borked in 1703
dynaflash [Wed, 17 Sep 2008 15:04:04 +0000 (15:04 +0000)]
MacGui: fix chapter markers which were borked in 1703
-Note: this only fixed adding chapter markers. Custom chapter names are *not* fixed, if chapter markers checkbox is checked you will currently get 001, 002, etc. etc. for chapter names.

git-svn-id: svn://localhost/HandBrake/trunk@1708 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoMacGui: Fix subtitle scan which I broke in 1703
dynaflash [Wed, 17 Sep 2008 14:24:41 +0000 (14:24 +0000)]
MacGui: Fix subtitle scan which I broke in 1703
- clean up some extra activity log messages
-NOTE: As of this time chapter markers are still broken.

git-svn-id: svn://localhost/HandBrake/trunk@1707 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoLinGui: Add mp4 options to queue description
jstebbins [Wed, 17 Sep 2008 00:03:01 +0000 (00:03 +0000)]
LinGui: Add mp4 options to queue description
fix a problem with audio bitrate and sample rate after reloading queue

git-svn-id: svn://localhost/HandBrake/trunk@1706 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoBug fix to r1691: had the offsets for PTS & DTS reversed so we were trying to grab...
van [Tue, 16 Sep 2008 21:53:56 +0000 (21:53 +0000)]
Bug fix to r1691: had the offsets for PTS & DTS reversed so we were trying to grab a DTS when there wasn't one.

git-svn-id: svn://localhost/HandBrake/trunk@1705 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoAnother bug fix in the per-stream timing code: If the clock reference changes on...
van [Tue, 16 Sep 2008 21:31:46 +0000 (21:31 +0000)]
Another bug fix in the per-stream timing code: If the clock reference changes on the first buffer of a stream we haven't seen before we don't have the history we need to compute a clock offset & need to wait for a stream we've been tracking.

git-svn-id: svn://localhost/HandBrake/trunk@1704 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoMacGui: Resilient Queue: Initial Implementation
dynaflash [Tue, 16 Sep 2008 20:57:13 +0000 (20:57 +0000)]
MacGui: Resilient Queue: Initial Implementation
- Completely overhauls how encodes are setup by the MacGui
- All encodes are now stored in an NSMutableArray (QueueFileArray) and saved in a plist (~/Library/Application Support/HandBrake/Queue.plist)
- A separate instance of libhb (fQueueEncodeLibhb) is used for queue processing (includes single encodes)
- fHandle still takes care of all user intiated scans and encode parameters
- libhb now only stores multiple passes for a single encode instead of storing the entire queue
- If HB crashes, or if you stop encoding while there are still pending encodes in your queue, upon next launch you will be prompted to reload the previous queue from the Queue.plist
- Removed the current encoding information at the top of the queue window to make room for a larger list as I thought it to be redundant
- The queue list is now re-arrangeable via drag-n-drop (pending encodes only)
- Known issues and bugs:
-- If you delete a previously cancelled encode then try to restart with a new encode, nothing happens. Throw off the sync of the currently encoding job.
-- Probably alot more since its a total overhaul of how the MacGui has handled encoding since titer originally wrote it :)

git-svn-id: svn://localhost/HandBrake/trunk@1703 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoWinGui:
sr55 [Tue, 16 Sep 2008 11:30:30 +0000 (11:30 +0000)]
WinGui:
- Fixed a number of incorrect tooltips and text labels.
- Moved the deblock control again, see if I can't completely avoid it overlapping another control.

git-svn-id: svn://localhost/HandBrake/trunk@1702 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoLinGui: update queue descriptions to match what joe is doing in the mac gui
jstebbins [Mon, 15 Sep 2008 21:24:35 +0000 (21:24 +0000)]
LinGui: update queue descriptions to match what joe is doing in the mac gui
had to make queue window a little wider to accomidate.

git-svn-id: svn://localhost/HandBrake/trunk@1701 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoFix a couple problem exposed through some valgrind testing. use of freed
jstebbins [Mon, 15 Sep 2008 15:01:08 +0000 (15:01 +0000)]
Fix a couple problem exposed through some valgrind testing.  use of freed
memory in detelecine and use of uninitialized memory in decmpeg2

git-svn-id: svn://localhost/HandBrake/trunk@1700 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoIf we always sort timestamps we can't detect & correct misordering caused by an SCR...
van [Mon, 15 Sep 2008 06:51:18 +0000 (06:51 +0000)]
If we always sort timestamps we can't detect & correct misordering caused by an SCR discontinuity. So only sort timestamps on streams that could have been broken by Microsoft (ffmpeg avi, wmv, mkv & mp4) and leave mpeg PS, TS & M2TS steams alone.

git-svn-id: svn://localhost/HandBrake/trunk@1699 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoThe difference of two timestamps referenced to different clocks is a random number...
van [Mon, 15 Sep 2008 06:44:56 +0000 (06:44 +0000)]
The difference of two timestamps referenced to different clocks is a random number & not useful input to the average frame size computation. This major brain-o would occasionally cause huge average frame times which, when later used to compute the SCR correction, would result in large gaps in the audio and/or video streams. Fixed by always computing the average frame size from the scr-corrected timestamps.

git-svn-id: svn://localhost/HandBrake/trunk@1698 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoWinGui:
sr55 [Sun, 14 Sep 2008 20:50:55 +0000 (20:50 +0000)]
WinGui:
- Fix: Cropping setting incorrectly set if --crop 0:0:0:0 is used in a preset.

git-svn-id: svn://localhost/HandBrake/trunk@1697 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoWinGui:
sr55 [Sun, 14 Sep 2008 16:54:19 +0000 (16:54 +0000)]
WinGui:
- Delete key can now be used to delete presets & queue items.
- Queued items now have job id's. this isn't used for anything yet, however will be useful for editing current queue items.
- Moved batch script code to Queue.cs

git-svn-id: svn://localhost/HandBrake/trunk@1696 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoLinGui: refine the drop zone for queue drag n drop. now it only highlights
jstebbins [Sun, 14 Sep 2008 15:52:55 +0000 (15:52 +0000)]
LinGui: refine the drop zone for queue drag n drop.  now it only highlights
the zone between rows.

git-svn-id: svn://localhost/HandBrake/trunk@1695 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoWinGui:
sr55 [Sun, 14 Sep 2008 14:15:11 +0000 (14:15 +0000)]
WinGui:
- Removed invalid tooltip text from Size -> Source label.
- Moved deblock slider up a few px. The control has a horrible amount of uncontrollable padding which may overlap the de interlace control in some cases.

git-svn-id: svn://localhost/HandBrake/trunk@1694 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoLinGui: Add queue drag n drop reordering
jstebbins [Sat, 13 Sep 2008 20:04:28 +0000 (20:04 +0000)]
LinGui: Add queue drag n drop reordering
Also add option to add chapter numbers to auto-generated destination name

git-svn-id: svn://localhost/HandBrake/trunk@1693 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoLinGui: fix another memory leak
jstebbins [Fri, 12 Sep 2008 17:20:37 +0000 (17:20 +0000)]
LinGui: fix another memory leak

git-svn-id: svn://localhost/HandBrake/trunk@1692 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoHD Home Run seems to strip the PCR from some streams (which makes HB refuse to proces...
van [Fri, 12 Sep 2008 05:37:56 +0000 (05:37 +0000)]
HD Home Run seems to strip the PCR from some streams (which makes HB refuse to process them) so use the video stream DTS as a substitute until the first real PCR appears.

git-svn-id: svn://localhost/HandBrake/trunk@1691 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoWinGui:
sr55 [Thu, 11 Sep 2008 21:34:05 +0000 (21:34 +0000)]
WinGui:
- Slider control for deblock.
- Fix: Load normal preset if userdefault setting string is empty.

git-svn-id: svn://localhost/HandBrake/trunk@1690 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoLinGui: change deblock control to a slider to set deblock strength
jstebbins [Thu, 11 Sep 2008 16:12:31 +0000 (16:12 +0000)]
LinGui: change deblock control to a slider to set deblock strength
also clean up some resource handling. delete several depricated files.

git-svn-id: svn://localhost/HandBrake/trunk@1689 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agocheck return value of opendir in hb_close. hb_close was segfaulting when
jstebbins [Thu, 11 Sep 2008 16:04:21 +0000 (16:04 +0000)]
check return value of opendir in hb_close. hb_close was segfaulting when
called a second time to close a second instance of libhb.

git-svn-id: svn://localhost/HandBrake/trunk@1688 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoVarious fixes for ffmpeg input files (mp4, avi, mkv, etc.):
van [Thu, 11 Sep 2008 04:05:04 +0000 (04:05 +0000)]
Various fixes for ffmpeg input files (mp4, avi, mkv, etc.):
 - always use source time stamps (HB vfr mpeg4 files now handled correctly)
 - handle Microsoft's braindead "VFW packed b-frames"
 - compute average video frame rate from total duration & number of frames (ignore ffmpeg's frame rate which is closer to a max f.r. for vfr video).
 - workaround an ffmpeg audio decode abort when it used SSE instructions on unaligned buffers.

git-svn-id: svn://localhost/HandBrake/trunk@1687 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoWinGui:
sr55 [Wed, 10 Sep 2008 11:16:21 +0000 (11:16 +0000)]
WinGui:
- New option to allow the user to enter which format they wish the autoName function to use.

git-svn-id: svn://localhost/HandBrake/trunk@1686 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoLinGui: consolidate all resources into one stringified plist file that gets
jstebbins [Tue, 9 Sep 2008 23:14:28 +0000 (23:14 +0000)]
LinGui: consolidate all resources into one stringified plist file that gets
compiled in.  icons and everyting all rolled up into one ball-o-wax.
hehe, plists are cool

git-svn-id: svn://localhost/HandBrake/trunk@1685 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoWinGui:
sr55 [Tue, 9 Sep 2008 19:01:38 +0000 (19:01 +0000)]
WinGui:
- Fixed Crop values not set on title change.
as per: http://forum.handbrake.fr/viewtopic.php?f=12&t=7050

git-svn-id: svn://localhost/HandBrake/trunk@1684 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoWinGui:
sr55 [Tue, 9 Sep 2008 17:31:44 +0000 (17:31 +0000)]
WinGui:
- Fix in CalculateDuration. Crash caused by end chapter dropdown menu not getting re-populated before calculate duration run. See:
http://forum.handbrake.fr/viewtopic.php?f=12&t=7050

git-svn-id: svn://localhost/HandBrake/trunk@1683 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoWinGui:
sr55 [Tue, 9 Sep 2008 16:48:33 +0000 (16:48 +0000)]
WinGui:
- Allow users to manually import / export the queue.

git-svn-id: svn://localhost/HandBrake/trunk@1682 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoCLI: exit rather than continue when invalid input audio tracks are selected.
eddyg [Tue, 9 Sep 2008 02:34:57 +0000 (02:34 +0000)]
CLI: exit rather than continue when invalid input audio tracks are selected.

git-svn-id: svn://localhost/HandBrake/trunk@1681 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoLinGui: internalize the UI description xml file. That's the last external
jstebbins [Mon, 8 Sep 2008 23:44:13 +0000 (23:44 +0000)]
LinGui: internalize the UI description xml file.  That's the last external
file that was neccessary.  The ghb binary can now stand on its own without
external resource files.  The makefile still installs a couple extra files
that adds HandBrake to the users "Sound & Video" menu.

git-svn-id: svn://localhost/HandBrake/trunk@1680 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoLinGui: simplify the makefile icon building command
jstebbins [Mon, 8 Sep 2008 23:16:45 +0000 (23:16 +0000)]
LinGui: simplify the makefile icon building command

git-svn-id: svn://localhost/HandBrake/trunk@1679 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoLinGui: Internalize all the icons so I don't have to install them in
jstebbins [Mon, 8 Sep 2008 23:11:15 +0000 (23:11 +0000)]
LinGui: Internalize all the icons so I don't have to install them in
a system directory.  One step closer to being able to build a binary
that can stand on it's own without a bunch of additional resource files.

git-svn-id: svn://localhost/HandBrake/trunk@1678 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoLinGui: yikes, this thing leaks worse than my roof, fixed
jstebbins [Mon, 8 Sep 2008 02:13:48 +0000 (02:13 +0000)]
LinGui: yikes, this thing leaks worse than my roof, fixed

git-svn-id: svn://localhost/HandBrake/trunk@1677 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoLinGui: fix memory issues found by valgrind
jstebbins [Mon, 8 Sep 2008 00:24:11 +0000 (00:24 +0000)]
LinGui: fix memory issues found by valgrind
one uninitialized variable
one missing free
one malloc that's 1 byte too small

git-svn-id: svn://localhost/HandBrake/trunk@1676 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoRemoved contrib pack from cygwin part of makefile.
sr55 [Sun, 7 Sep 2008 21:49:16 +0000 (21:49 +0000)]
Removed contrib pack from cygwin part of makefile.

git-svn-id: svn://localhost/HandBrake/trunk@1675 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoLinGui: Fix crash on ubuntu intrepid. Just luck it didn't crash on other
jstebbins [Sun, 7 Sep 2008 17:58:11 +0000 (17:58 +0000)]
LinGui: Fix crash on ubuntu intrepid.  Just luck it didn't crash on other
systems. Was freeing a GtkTreePath improperly.

Also fix spelling of "dependency"

git-svn-id: svn://localhost/HandBrake/trunk@1674 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoLinGui: Fix several strict-aliasing warnings and a null pointer dereference
jstebbins [Sun, 7 Sep 2008 17:06:39 +0000 (17:06 +0000)]
LinGui: Fix several strict-aliasing warnings and a null pointer dereference
that can happen if preferences don't yet exist and your running the app over
an ssh session.

git-svn-id: svn://localhost/HandBrake/trunk@1673 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoLinGui: Fix a crash with re-scanning prior to encoding. Incorrect title
jstebbins [Sat, 6 Sep 2008 22:43:10 +0000 (22:43 +0000)]
LinGui: Fix a crash with re-scanning prior to encoding.  Incorrect title
index was being used.  Must be sure to use title->index for this.

git-svn-id: svn://localhost/HandBrake/trunk@1672 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoLinGui: Fix a non-fatal Gtk assert when switching the source selection mode
jstebbins [Sat, 6 Sep 2008 19:13:25 +0000 (19:13 +0000)]
LinGui: Fix a non-fatal Gtk assert when switching the source selection mode
from file to folder.

git-svn-id: svn://localhost/HandBrake/trunk@1671 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoLinGui: missed adding a file with last commit
jstebbins [Sat, 6 Sep 2008 18:01:48 +0000 (18:01 +0000)]
LinGui: missed adding a file with last commit

git-svn-id: svn://localhost/HandBrake/trunk@1670 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoWinGui:
sr55 [Sat, 6 Sep 2008 17:00:09 +0000 (17:00 +0000)]
WinGui:
- Minor UI tweak to the Crop controls. Now uses radio buttons

git-svn-id: svn://localhost/HandBrake/trunk@1669 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoLinGui: Add queue save/restore
jstebbins [Sat, 6 Sep 2008 16:48:54 +0000 (16:48 +0000)]
LinGui: Add queue save/restore
- 2 instances of libhb are used. One for queue activities and one for scanning
new sources prior to adding to the queue.
- Improve chapter entry usability. In addition to "return" advancing to the
next chapter for editing, up and down arrows will advance to prev/next and
put the cell in edit mode.
- Add an accelerator key to jump to the destination entry box.
- Fix a queue window resize problem.

git-svn-id: svn://localhost/HandBrake/trunk@1668 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoWinGui:
sr55 [Fri, 5 Sep 2008 15:25:49 +0000 (15:25 +0000)]
WinGui:
- Select which log file to view from the Activity Window rather than the tools menu / task bar.

git-svn-id: svn://localhost/HandBrake/trunk@1667 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoWinGui:
sr55 [Fri, 5 Sep 2008 14:46:56 +0000 (14:46 +0000)]
WinGui:
- Code Cleanup
- Bugfix: PresetLoader incorrectly loading audio track number with user presets.

git-svn-id: svn://localhost/HandBrake/trunk@1666 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years ago - get rid of another deadlock: if there were more than 64 audio frames before the...
van [Fri, 5 Sep 2008 06:16:44 +0000 (06:16 +0000)]
 - get rid of another deadlock: if there were more than 64 audio frames before the first video frame we'd lock up the reader.
 - if we get a bogus timestamp at the end of some conversion just ignore it and don't try to generate minutes or hours of silence to fill the hole.

git-svn-id: svn://localhost/HandBrake/trunk@1665 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoRemoved old CYGWIN contrib pack files.
sr55 [Thu, 4 Sep 2008 11:28:37 +0000 (11:28 +0000)]
Removed old CYGWIN contrib pack files.

git-svn-id: svn://localhost/HandBrake/trunk@1664 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoCLI: Sanity check audio options in HandBrakeCLI to prevent NULL dereferences when...
eddyg [Wed, 3 Sep 2008 01:21:01 +0000 (01:21 +0000)]
CLI: Sanity check audio options in HandBrakeCLI to prevent NULL dereferences when invalid audio inputs are used.

git-svn-id: svn://localhost/HandBrake/trunk@1663 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoLinGui: Presets and preferences are now stored as plists
jstebbins [Tue, 2 Sep 2008 22:56:19 +0000 (22:56 +0000)]
LinGui: Presets and preferences are now stored as plists
This will also make saving/restoring the queue much easier.
It's a scary big change.  1400 new lines of code.  Due to efficiencies
of a better desing, 2400 lines of old code also gets refactored
down to 1600. Giving a final net +600 lines.
Along the way, I stumbled across a couple bugs and fixed them.
Chapter list entry would get wedged under certain circumstances.
Pausing encoding didn't display pause message in status bar.

git-svn-id: svn://localhost/HandBrake/trunk@1662 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoRemoved Cygwin info from BUILD file as it is no longer valid.
sr55 [Mon, 1 Sep 2008 19:48:30 +0000 (19:48 +0000)]
Removed Cygwin info from BUILD file as it is no longer valid.

git-svn-id: svn://localhost/HandBrake/trunk@1661 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoUpdated THANKS File
sr55 [Mon, 1 Sep 2008 19:25:39 +0000 (19:25 +0000)]
Updated THANKS File

git-svn-id: svn://localhost/HandBrake/trunk@1660 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoChange buffer reuse policy to MRU to hopefully improve cache and VM performance.
eddyg [Fri, 29 Aug 2008 00:16:22 +0000 (00:16 +0000)]
Change buffer reuse policy to MRU to hopefully improve cache and VM performance.

git-svn-id: svn://localhost/HandBrake/trunk@1659 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoTHANKS file updated, missed a name out, my bad.
sr55 [Thu, 28 Aug 2008 20:15:07 +0000 (20:15 +0000)]
THANKS file updated, missed a name out, my bad.

git-svn-id: svn://localhost/HandBrake/trunk@1658 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoAdded some names to THANKS file.
sr55 [Thu, 28 Aug 2008 20:13:05 +0000 (20:13 +0000)]
Added some names to THANKS file.
For those who have not yet been added, PM me please.

git-svn-id: svn://localhost/HandBrake/trunk@1657 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoWinGui:
sr55 [Thu, 28 Aug 2008 18:39:54 +0000 (18:39 +0000)]
WinGui:
- Fixed Custom Crop bug as per http://forum.handbrake.fr/viewtopic.php?f=12&t=6963

git-svn-id: svn://localhost/HandBrake/trunk@1656 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoWinGui:
sr55 [Wed, 27 Aug 2008 23:45:44 +0000 (23:45 +0000)]
WinGui:
- Code Refactoring and optimization to numerous files

git-svn-id: svn://localhost/HandBrake/trunk@1655 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoLinGui: plug small memory leak
jstebbins [Wed, 27 Aug 2008 15:26:26 +0000 (15:26 +0000)]
LinGui: plug small memory leak

git-svn-id: svn://localhost/HandBrake/trunk@1654 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoWinGui:
sr55 [Sun, 24 Aug 2008 17:57:54 +0000 (17:57 +0000)]
WinGui:
- Adds checkbox to enable decomb.
- Program Options updated with an option to customize decomb values.

- Queue Recovery feature. If you close the GUI without letting a queue complete, the user will be prompted if they'd like to recover the queue on next launch.
- Small bugfix with the queue HandBrakeCLI monitor thread not stopping when the GUI is closed.

git-svn-id: svn://localhost/HandBrake/trunk@1653 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoLinGui: oops. presets weren't saved after refreshing standard presets, so the
jstebbins [Sun, 24 Aug 2008 03:14:56 +0000 (03:14 +0000)]
LinGui: oops.  presets weren't saved after refreshing standard presets, so the
refresh got lost after restarting the app

git-svn-id: svn://localhost/HandBrake/trunk@1652 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoLinGui: bundle the standard presets in the exe. eliminates installing
jstebbins [Sun, 24 Aug 2008 02:10:15 +0000 (02:10 +0000)]
LinGui: bundle the standard presets in the exe.  eliminates installing
a separate file.

git-svn-id: svn://localhost/HandBrake/trunk@1651 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoLinGui: allow standard presets to be deleted and provide a button to reload
jstebbins [Sat, 23 Aug 2008 20:04:38 +0000 (20:04 +0000)]
LinGui: allow standard presets to be deleted and provide a button to reload
them.  This makes the lingui conform more closely to the macgui.

git-svn-id: svn://localhost/HandBrake/trunk@1650 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoLinGui: improve data entry method for deinterlace and denoise settings in
jstebbins [Fri, 22 Aug 2008 23:20:53 +0000 (23:20 +0000)]
LinGui: improve data entry method for deinterlace and denoise settings in
tweaks mode.  replaces GtkComboBox with GtkComboBoxEntry.
add easter egg that gives access to hidden preferences

git-svn-id: svn://localhost/HandBrake/trunk@1649 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoLinGui: add a hidden feature to allow tweaking some settings. currently
jstebbins [Thu, 21 Aug 2008 00:43:46 +0000 (00:43 +0000)]
LinGui: add a hidden feature to allow tweaking some settings.  currently
tweaks are available for detelecine, decomb, deinterlace, deblock, and denoise
to enable, you must manually edit preferences file and add "allow_tweaks=1"
to tweak a setting, right click on the widget, an entry dialog will appear.
minimal validity checking is done on the tweak's value.

git-svn-id: svn://localhost/HandBrake/trunk@1648 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoLinGui: force use of contrib libs. libtool seems to be pretty arbitrary
jstebbins [Wed, 20 Aug 2008 06:29:03 +0000 (06:29 +0000)]
LinGui: force use of contrib libs.  libtool seems to be pretty arbitrary
about where it picks libs from

git-svn-id: svn://localhost/HandBrake/trunk@1647 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoFix Solaris builds
eddyg [Wed, 20 Aug 2008 01:54:42 +0000 (01:54 +0000)]
Fix Solaris builds

git-svn-id: svn://localhost/HandBrake/trunk@1646 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agofix subtitle indepth scan abort & hang.
van [Tue, 19 Aug 2008 06:23:09 +0000 (06:23 +0000)]
fix subtitle indepth scan abort & hang.

git-svn-id: svn://localhost/HandBrake/trunk@1645 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoDon't allow theora to use pkg-config and use system versions of ogg and vorbis
eddyg [Mon, 18 Aug 2008 20:39:43 +0000 (20:39 +0000)]
Don't allow theora to use pkg-config and use system versions of ogg and vorbis

git-svn-id: svn://localhost/HandBrake/trunk@1644 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoThe per-stream timing changes (r1570) make the overall timing depend on which media...
van [Mon, 18 Aug 2008 20:05:47 +0000 (20:05 +0000)]
The per-stream timing changes (r1570) make the overall timing depend on which media streams we process. So we can't ignore audio during pass 1 or the video timing will change between passes & make x264 abort. (Thanks to jbrjake for pointing out the problem.)

git-svn-id: svn://localhost/HandBrake/trunk@1643 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years ago - To reliably find audio in 720p or 1080i TS streams we need to search through first...
van [Mon, 18 Aug 2008 06:15:17 +0000 (06:15 +0000)]
 - To reliably find audio in 720p or 1080i TS streams we need to search through first 50MB of file looking for the stream rather than first 18MB.
 - When we're looking for a PES header for some PID, check both that the TS 'start' bit is set and that the first 3 data bytes are an MPEG start code (the start bit may get set by an error not caught by the CRC).
 - Print the substream id when we reject a PID as "not audio" so we'll be able to debug TS streams using non-standard PES encapsulations.

git-svn-id: svn://localhost/HandBrake/trunk@1642 b64f7644-9d1e-0410-96f1-a4d463321fa5

15 years agoIf we try to release old frames in the loop that searches for a free one we may free...
van [Mon, 18 Aug 2008 06:07:19 +0000 (06:07 +0000)]
If we try to release old frames in the loop that searches for a free one we may free one that's in use & crash in avcodec_default_release_buffer. (Bug tracked down by eddyg).

git-svn-id: svn://localhost/HandBrake/trunk@1641 b64f7644-9d1e-0410-96f1-a4d463321fa5