OSDN Git Service

handbrake-jp/handbrake-jp-git.git
14 years agoremove pthread deatch calls
sr55 [Sat, 6 Feb 2010 21:22:04 +0000 (21:22 +0000)]
remove pthread deatch calls

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

14 years agoremoved test code
sr55 [Sat, 6 Feb 2010 21:10:44 +0000 (21:10 +0000)]
removed test code

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

14 years agolibhb dll fix by RandomEngy
sr55 [Sat, 6 Feb 2010 21:09:29 +0000 (21:09 +0000)]
libhb dll fix by RandomEngy

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

14 years agofix keyint mismatch between 1st and 2nd passes of a 2pass encode
jstebbins [Sat, 6 Feb 2010 20:24:11 +0000 (20:24 +0000)]
fix keyint mismatch between 1st and 2nd passes of a 2pass encode

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

14 years agoLinGui: remove % display from video quality slider. only show RF/QP
jstebbins [Sat, 6 Feb 2010 20:18:50 +0000 (20:18 +0000)]
LinGui: remove % display from video quality slider. only show RF/QP

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

14 years agodvdnav: fix seeking on some dvds that use multiple pgc's in a title
jstebbins [Sat, 6 Feb 2010 18:03:22 +0000 (18:03 +0000)]
dvdnav: fix seeking on some dvds that use multiple pgc's in a title
The code that was in place to handle this did not allow for the
possibility that there could be sector gaps between the segments

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

14 years agouse DTS generated by x264 when computing duration and offset in muxmp4
jstebbins [Sat, 6 Feb 2010 16:30:31 +0000 (16:30 +0000)]
use DTS generated by x264 when computing duration and offset in muxmp4
also fix an issue where ffmpeg generated negative PTS for initial
frames of video.

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

14 years agoMacGui: Fix issue where sources would round down 16 pixels from full width with some...
dynaflash [Fri, 5 Feb 2010 20:17:15 +0000 (20:17 +0000)]
MacGui: Fix issue where sources would round down 16 pixels from full width with some presets.
- i.e. 720 width would come out at 704.

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

14 years agoMacGui: Fix issue with six channel discreet presets where no bitrate was chosen there...
dynaflash [Fri, 5 Feb 2010 16:06:49 +0000 (16:06 +0000)]
MacGui: Fix issue with six channel discreet presets where no bitrate was chosen thereby borking the encode among other things.

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

14 years agox264 bump to r1416-fcf70c2
dynaflash [Wed, 3 Feb 2010 17:58:58 +0000 (17:58 +0000)]
x264 bump to r1416-fcf70c2
- Various fixes and enhancements.

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

14 years agoWinGui:
sr55 [Sun, 31 Jan 2010 14:41:28 +0000 (14:41 +0000)]
WinGui:
- Missed a file in the last checkin

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

14 years agoWinGui:
sr55 [Sun, 31 Jan 2010 14:40:06 +0000 (14:40 +0000)]
WinGui:
- More refactoring.

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

14 years agoWinGui:
sr55 [Sun, 31 Jan 2010 14:28:23 +0000 (14:28 +0000)]
WinGui:
- Refacotring Code.

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

14 years agoosx doesn't have fread_unlocked
jstebbins [Sun, 31 Jan 2010 00:57:46 +0000 (00:57 +0000)]
osx doesn't have fread_unlocked

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

14 years agofix problem with reading program streams
jstebbins [Sun, 31 Jan 2010 00:13:03 +0000 (00:13 +0000)]
fix problem with reading program streams
audio PES packets can have sequences that look like start codes in the data
so parse PES enough to get the length and skip the data.

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

14 years agoWinGui:
sr55 [Sat, 30 Jan 2010 23:52:47 +0000 (23:52 +0000)]
WinGui:
- Added some code to allow direct execution of the CLI rather than using CMD. This may be useful later on.
- Re-factoring. Added Many code comments / Cleaned up some code style issues.

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

14 years agoBuild System: disable avs, lavf, and ffms input to x264 as per j45
dynaflash [Tue, 26 Jan 2010 17:15:40 +0000 (17:15 +0000)]
Build System: disable avs, lavf, and ffms input to x264 as per j45

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

14 years agoMacGui: Add Video Buffer Verifier (VBV) to the built in AppleTV preset as per test...
dynaflash [Tue, 26 Jan 2010 16:13:18 +0000 (16:13 +0000)]
MacGui: Add Video Buffer Verifier (VBV) to the built in AppleTV preset as per test results using HD Plane Earth Birds clip for testing.
- Settings: vbv-maxrate=9500:vbv-bufsize=9500
- Note, in testing vbv-maxrate=10000:vbv-bufsize=10000 worked when testing via sync, but dropping it a bit for safety in the preset.

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

14 years agoWinGui:
sr55 [Sun, 24 Jan 2010 17:39:17 +0000 (17:39 +0000)]
WinGui:
- Quick patch to allow "," to be used in CSV files when importing into the gui.

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

14 years agoWinGui:
sr55 [Sun, 24 Jan 2010 16:15:16 +0000 (16:15 +0000)]
WinGui:
More Keyboard ShortCuts
- Ctrl-A remapped to add to queue
- Ctrl-L for log window
- Ctrl-S to start an encode

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

14 years agoWinGui:
sr55 [Sun, 24 Jan 2010 16:08:09 +0000 (16:08 +0000)]
WinGui:
- Added keyboard shortcuts:
* Ctrl-O = Open File
* Ctrl-Shift-O = Open Folder
* Ctrl-A = Show Activity Log window

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

14 years agoMacGui: Queue Edit uncomment remove reloaded queue item since "somehow" I missed...
dynaflash [Fri, 22 Jan 2010 00:11:08 +0000 (00:11 +0000)]
MacGui: Queue Edit uncomment remove reloaded queue item since "somehow" I missed it on the first go round.

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

14 years agoWinGui:
sr55 [Thu, 21 Jan 2010 20:47:15 +0000 (20:47 +0000)]
WinGui:
- Some code refactoring.

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

14 years agoMacGui: Queued item editing initial implementation.
dynaflash [Thu, 21 Jan 2010 18:58:17 +0000 (18:58 +0000)]
MacGui: Queued item editing initial implementation.
- Sends a chosen queued item back to the main window for reload ( and rescan ) via contextual menu (right click)
- Deletes queued item from queue after being reloaded to main window ( after editing or whatever, send back to queue via Add To Queue Button same as a new source).
- New queue window contextual menu also includes delete and show options previously only available via separate icons.
- Note: Needs testing particularly in the subtitle area, which is not to say there aren't other bugs.

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

14 years agofix building x264 on mingw
jstebbins [Thu, 21 Jan 2010 04:39:58 +0000 (04:39 +0000)]
fix building x264 on mingw
x264 now tries to link to lavf if it thinks it can
explicitely disable lavf, avs and ffms support

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

14 years agofix cancel during p-to-p search
jstebbins [Wed, 20 Jan 2010 21:17:27 +0000 (21:17 +0000)]
fix cancel during p-to-p search
when canceling, video sync was closed, but audio sync was stuck waiting
on a condition variable.  so force audio sync to wake up when video sync
closes.

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

14 years agoWinGui:
sr55 [Mon, 18 Jan 2010 13:42:08 +0000 (13:42 +0000)]
WinGui:
- Just some re-factored code.

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

14 years agoWinGui:
sr55 [Sun, 17 Jan 2010 16:12:04 +0000 (16:12 +0000)]
WinGui:
- Fix: Correctly set KeepAR for presets with w&h and w only.

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

14 years agox264 bump to r1391-3d0f110
dynaflash [Sun, 17 Jan 2010 05:13:10 +0000 (05:13 +0000)]
x264 bump to r1391-3d0f110
- native vfr time stamp handling
- several opt speedups
- http://git.videolan.org/gitweb.cgi?p=x264.git;a=commit;h=3d0f1108f982867dde5079bbbf90553487de2ed0

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

14 years agoWinGui:
sr55 [Sat, 16 Jan 2010 21:37:10 +0000 (21:37 +0000)]
WinGui:
- Updated tooltip for new show cli window preference.

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

14 years agoWinGui:
sr55 [Sat, 16 Jan 2010 21:32:19 +0000 (21:32 +0000)]
WinGui:
- Improve the In-Gui encode status option. by default, the CLI window is not completely hidden when this is set however there is an option to show it to allow "ctrl-c" clean exits.

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

14 years agoWinGui:
sr55 [Fri, 15 Jan 2010 22:47:48 +0000 (22:47 +0000)]
WinGui:
- Send a job (which is not currently encoding) from the queue, back to the main window so that the user can alter the encode settings. Sending a job back causes a rescan of the source following by the current configuration being loaded back into the main gui window.

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

14 years agoWinGui:
sr55 [Fri, 15 Jan 2010 22:12:34 +0000 (22:12 +0000)]
WinGui:
- Bit of re-factoring to the encode / queue code.

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

14 years agoprevent duplicate audio list entries
jstebbins [Thu, 14 Jan 2010 23:27:58 +0000 (23:27 +0000)]
prevent duplicate audio list entries
when the user has an obscene number of audios in a custom preset that
are all passthru, duplicate audios would populate the audio list.

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

14 years agoMacGui: Raise the TextStorageUpperSizeLimit and TextStorageLowerSizeLimit x 3 to...
dynaflash [Wed, 13 Jan 2010 00:43:05 +0000 (00:43 +0000)]
MacGui: Raise the TextStorageUpperSizeLimit and TextStorageLowerSizeLimit x 3 to accomodate larger logs in the activity window. Recommended by BradleyS and approved by me.
- TextStorageUpperSizeLimit 125000
- TextStorageLowerSizeLimit 120000

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

14 years agoMacGui: Add the ability to send the finished encode to any application the user choos...
dynaflash [Tue, 12 Jan 2010 21:22:54 +0000 (21:22 +0000)]
MacGui: Add the ability to send the finished encode to any application the user chooses instead of just "Send to MetaX".
- Retains a checkbox to acivate sending the finished encode
- Adds a file name textfield and a browse button so user can choose the app to send the finished encode to.
- Defaults to MetaX as this would be the only app already existing in the users prefs.

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

14 years agoMacGui: Remove other errant subtitle log line for sub title tracks.
dynaflash [Tue, 12 Jan 2010 00:46:59 +0000 (00:46 +0000)]
MacGui: Remove other errant subtitle log line for sub title tracks.

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

14 years agoMacGui: remove errant subtitle track log mssg that was broken anyway.
dynaflash [Tue, 12 Jan 2010 00:16:33 +0000 (00:16 +0000)]
MacGui: remove errant subtitle track log mssg that was broken anyway.

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

14 years agoprevent hang during foreign audio search
jstebbins [Sun, 10 Jan 2010 17:05:11 +0000 (17:05 +0000)]
prevent hang during foreign audio search
was waiting for an audio pts during the indepth scan when there
is no audio being processed

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

14 years agoWinGui:
sr55 [Sat, 9 Jan 2010 23:23:33 +0000 (23:23 +0000)]
WinGui:
- Don't try set the quality slider when the preset doesn't use it.

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

14 years agoWinGui:
sr55 [Sat, 9 Jan 2010 23:01:46 +0000 (23:01 +0000)]
WinGui:
- Added a Label on the cropping panel to indicate that preset crop values are in use.

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

14 years agoWinGui:
sr55 [Sat, 9 Jan 2010 22:49:50 +0000 (22:49 +0000)]
WinGui:
- If crop values are stored in the preset and the user has decided to enable them in the preset, the gui will not longer reset the crop panel on title change.

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

14 years agoWinGui:
sr55 [Sat, 9 Jan 2010 22:22:13 +0000 (22:22 +0000)]
WinGui:
- Enabled the Frame to Frame encode mode.

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

14 years agoWinGui:
sr55 [Sat, 9 Jan 2010 21:57:54 +0000 (21:57 +0000)]
WinGui:
- Fix for the Chapters tab. It was not being enabled when a folder containing a Video_TS folder was being selected.

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

14 years agoWinGui:
sr55 [Sat, 9 Jan 2010 21:41:37 +0000 (21:41 +0000)]
WinGui:
- Fixed the preset loader. It would not set the quality slider if RF51 was used.

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

14 years agoWinGui:
sr55 [Sat, 9 Jan 2010 21:25:02 +0000 (21:25 +0000)]
WinGui:
- Don't throw errors when the activity window is disposing. Should probably find a better solution to this at some point.

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

14 years agoWinGui:
sr55 [Sat, 9 Jan 2010 20:47:03 +0000 (20:47 +0000)]
WinGui:
- Compile error fixed.

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

14 years agoWinGui:
sr55 [Sat, 9 Jan 2010 20:44:10 +0000 (20:44 +0000)]
WinGui:
- Refactor the Activity window code. Hopefully the code is not thread-safe which should fix a couple of display problems with the log view.

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

14 years agoWinGui:
sr55 [Sat, 9 Jan 2010 14:52:47 +0000 (14:52 +0000)]
WinGui:
- Implemented the point to point - seconds mode.

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

14 years agoMacGui: Fix source duration display format when using time or frame based encoding.
dynaflash [Mon, 4 Jan 2010 17:15:08 +0000 (17:15 +0000)]
MacGui: Fix source duration display format when using time or frame based encoding.

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

14 years agoAdded some errors checks and a flush function to encode the remaining data in the...
ritsuka [Thu, 31 Dec 2009 08:44:20 +0000 (08:44 +0000)]
Added some errors checks and a flush function to encode the remaining data in the fifo.
It may fix the "0.5 seconds of digital noise" issue, but I was unable to reproduce it, so I don't know if it actually helps.

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

14 years agoMacGui: Move destination widgets up to realign back to pre point a to b postion.
dynaflash [Tue, 29 Dec 2009 19:57:02 +0000 (19:57 +0000)]
MacGui: Move destination widgets up to realign back to pre point a to b postion.

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

14 years agoMacGui: Re-arrange Source area to be all on one line instead of duration being on...
dynaflash [Tue, 29 Dec 2009 17:13:35 +0000 (17:13 +0000)]
MacGui: Re-arrange Source area to be all on one line instead of duration being on a second line under the Title NSPopUp.

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

14 years agoWinGui:
sr55 [Mon, 28 Dec 2009 19:47:34 +0000 (19:47 +0000)]
WinGui:
- Improve VLC detection for the preview window.
- Put in the infrastructure for the new Frame / Duration(Seconds) feature
- Some Re-factoring

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

14 years agoCREDITS:
sr55 [Sun, 27 Dec 2009 17:19:24 +0000 (17:19 +0000)]
CREDITS:
-libmkv / libtheora added.

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

14 years agoCREDITS:
sr55 [Sun, 27 Dec 2009 13:56:52 +0000 (13:56 +0000)]
CREDITS:
- Removed old libraries no longer in use.
- Renamed libdts to libdca
- Added faad2

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

14 years agoWinGui:
sr55 [Sun, 27 Dec 2009 12:36:00 +0000 (12:36 +0000)]
WinGui:
- Update Grown for Windows to 2.0.0.25

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

14 years agoWinGui:
sr55 [Sat, 26 Dec 2009 22:47:50 +0000 (22:47 +0000)]
WinGui:
- Select the first audio track instead of "Automatic" in the Audio Track Dropdown Menu.
- Cleaned up some subtitle code.

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

14 years agoWinGui:
sr55 [Fri, 25 Dec 2009 22:29:55 +0000 (22:29 +0000)]
WinGui:
- Make Parsers ReadLine() function even faster.

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

14 years agoWinGui:
sr55 [Fri, 25 Dec 2009 22:24:04 +0000 (22:24 +0000)]
WinGui:
- Hopefully a significant performance improvement in the Parser ReadLine() Function. This should help when the CLI is throwing out huge amounts of read errors / logging data.

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

14 years agoWinGui: Fix subtitle forced for foreign scan. Set it to "scan" instead of "Forced"
sr55 [Thu, 24 Dec 2009 15:04:11 +0000 (15:04 +0000)]
WinGui: Fix subtitle forced for foreign scan. Set it to "scan" instead of "Forced"

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

14 years agoMacGui: Interface changes to allow pts or frame based point to point encoding on...
dynaflash [Wed, 23 Dec 2009 00:13:03 +0000 (00:13 +0000)]
MacGui: Interface changes to allow pts or frame based point to point encoding on top of our existing chapters based encoding. ... Based upon jstebbins most excellent work.

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

14 years agoLinGui: add point-to-point
jstebbins [Wed, 23 Dec 2009 00:05:05 +0000 (00:05 +0000)]
LinGui: add point-to-point
the user can now select between chapter, seconds, or frame start and end
points for encoding.

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

14 years agoCLI: add point-to-point capability
jstebbins [Wed, 23 Dec 2009 00:03:23 +0000 (00:03 +0000)]
CLI: add point-to-point capability
new option --start-at sets the start point in seconds, pts, or frames

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

14 years agoadd point-to-point encoding
jstebbins [Wed, 23 Dec 2009 00:02:17 +0000 (00:02 +0000)]
add point-to-point encoding

allows frame and pts based start points.  end points were already
previously supported.

New job variables pts_to_start and frame_to_start specify the start point.
There can be a period during the encode where it has to search for
the start point. During this period, libhb sets a new state
HB_STATE_SEARCHING and sets progress and eta till start point found.

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

14 years agoLinGui: fix an issue with picture settings sensitivity when no source has yet been...
jstebbins [Sun, 20 Dec 2009 18:17:25 +0000 (18:17 +0000)]
LinGui: fix an issue with picture settings sensitivity when no source has yet been scanned
Widgets were active and modifiable that should have been disabled.

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

14 years agoWinGui:
sr55 [Sat, 19 Dec 2009 21:15:38 +0000 (21:15 +0000)]
WinGui:
- Fix a crash when a preset with crop values is selected before the first source is scanned.

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

14 years agoAdds a very crude, CLI-only rotation filter to flip pixels vertically (mode 1), horiz...
jbrjake [Sat, 19 Dec 2009 15:19:12 +0000 (15:19 +0000)]
Adds a very crude, CLI-only rotation filter to flip pixels vertically (mode 1), horizontally (mode 2), or both (mode 3, default). Called with --rotate.

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

14 years agoWinGui:
sr55 [Sat, 19 Dec 2009 00:00:41 +0000 (00:00 +0000)]
WinGui:
- Shave ~0.5s of the application startup time by not initialising an XmlSerializer when it's not needed. This is quite expensive.
- Make sure the Activity window is initialised before we try set it's title.

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

14 years agoWinGui:
sr55 [Fri, 18 Dec 2009 20:58:56 +0000 (20:58 +0000)]
WinGui:
- Move the Queue Recovery file to HandBrakes appdata folder. Queue Recovery file won't be deleted when temp folder is cleared now.

Note that it will not detect the old hb_queue_recovery.xml file in the systems temp folder.

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

14 years agoWinGui:
sr55 [Fri, 18 Dec 2009 20:42:24 +0000 (20:42 +0000)]
WinGui:
- Audio Panel fixes and Usability improvements.
- Disabled DRC control which shouldn't have been active when AC3/DTS was selected
- Greyed out text labels for Mixdown, Samplerate, bitrate and DRC to help make it clearer the controls are disabled when AC3/DTS is selected.
- Changed the values which those controls are reset to when AC3/DTS are selected so they are not showing the first value in the dropdown. (e.g 32 for the bitrate. This was a little mis-leading)
- Changed Mixdown from Automatic to "AC3 Passthru" to match the MacGui when AC3 is selected. Same for DTS

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

14 years agoMacGui: Fix subtitle code in Live Preview that borked Live Preview encodes which...
dynaflash [Wed, 16 Dec 2009 16:37:55 +0000 (16:37 +0000)]
MacGui: Fix subtitle code in Live Preview that borked Live Preview encodes which was broken in svn 3024.

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

14 years agox264 bump to r1376-3feaec2
dynaflash [Tue, 15 Dec 2009 22:10:24 +0000 (22:10 +0000)]
x264 bump to r1376-3feaec2
- 2 pass rate control improvements

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

14 years agofix potential runaway buffer usage
jstebbins [Tue, 15 Dec 2009 01:28:55 +0000 (01:28 +0000)]
fix potential runaway buffer usage
pthread_cond_timedwait can wake early.  under certain system load conditions, this
happens often.  I was going ahead and adding buffers whenever it woke, regardless
of whether the condition had actually been met. so the fifo depth would
increase until memory ran out.

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

14 years agoLinGui: fix m4v file extension selection when the source has only 1 chapter
jstebbins [Mon, 14 Dec 2009 19:49:26 +0000 (19:49 +0000)]
LinGui: fix m4v file extension selection when the source has only 1 chapter
the chapter markers settings wasn't actually disabled, even though
it was being filtered out of the job settings.  This caused the m4v file
extension selection logic to use m4v. And there was no way to change it
since the chapter markers widget was hidden.

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

14 years agobump ffmpeg to svn 20817
jstebbins [Mon, 14 Dec 2009 16:45:30 +0000 (16:45 +0000)]
bump ffmpeg to svn 20817

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

14 years agofix crash with vobsub passthru
jstebbins [Sun, 13 Dec 2009 19:01:12 +0000 (19:01 +0000)]
fix crash with vobsub passthru
the last subtitle buffer was getting added to the buffer pool twice
and ultimately freed twice.

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

14 years agodocumentation: Update linux distributions supported and dependencies
jstebbins [Fri, 11 Dec 2009 23:28:46 +0000 (23:28 +0000)]
documentation: Update linux distributions supported and dependencies

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

14 years agox264 bump to r1373-4322f63
dynaflash [Fri, 11 Dec 2009 19:09:32 +0000 (19:09 +0000)]
x264 bump to r1373-4322f63
- Some lookahead optimizations
- Fixes some bugs introduced in r1369

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

14 years agoMacGui: Fix issue with subtitle changes affecting all encodes in the queue by being...
dynaflash [Thu, 10 Dec 2009 19:31:01 +0000 (19:31 +0000)]
MacGui: Fix issue with subtitle changes affecting all encodes in the queue by being less stupid.
- Thanks to Rodeo for bringing it to my attention.

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

14 years agoOnly display mux stats once
jstebbins [Thu, 10 Dec 2009 17:44:05 +0000 (17:44 +0000)]
Only display mux stats once
Close prints mux stats and gets called for each stream.  So only
print the stats when the last stream is closed.

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

14 years agofix dvdnav read error retry
jstebbins [Thu, 10 Dec 2009 00:17:46 +0000 (00:17 +0000)]
fix dvdnav read error retry
the error count was being reset on dvdnav events that didn't involve
any actual reading.  So we got caught in an very long loop alternating
between read failures and valid events.

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

14 years agoLinGui: remove b-pyramid/mbtree dependency
jstebbins [Wed, 9 Dec 2009 19:59:49 +0000 (19:59 +0000)]
LinGui: remove b-pyramid/mbtree dependency
b-pyramid is now allowed with mbtree

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

14 years agoAvert a rare race condition.
jstebbins [Wed, 9 Dec 2009 19:45:57 +0000 (19:45 +0000)]
Avert a rare race condition.

A bad source can cause reader to call hb_stream_close before
decavcodecviWork ever starts. This causes hb_ffmpeg_context
to access an invalid pointer.  So move the call to hb_ffmpeg_context
to after we check for a 0 length buffer in decavcodecvoiWork
since reader will have sent this to signal that it has reached
the end of the stream.

This does not eliminate the race condition, but it does make it
much less likely to happen and fixes the specific case where we
found this occuring.

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

14 years agoDisables chapter markers when there is only one chapter. Most interfaces already...
jbrjake [Wed, 9 Dec 2009 19:12:05 +0000 (19:12 +0000)]
Disables chapter markers when there is only one chapter. Most interfaces already do this, but now they have no choice.

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

14 years agoRemoves obsolete check for mbtree being off before adjusting render offsets for b...
jbrjake [Wed, 9 Dec 2009 18:21:16 +0000 (18:21 +0000)]
Removes obsolete check for mbtree being off before adjusting render offsets for b-pyramid. Also corrects a bit of coding style.

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

14 years agox264 bump to 1369-ec8e586
dynaflash [Wed, 9 Dec 2009 17:42:34 +0000 (17:42 +0000)]
x264 bump to 1369-ec8e586
- Introduces mbtree + bpyramid
- Brings back slice-based threading support
- Many other enhancements and fixes
- http://git.videolan.org/gitweb.cgi?p=x264.git;a=commit;h=ec8e58637b97edaea00f022e11d15ee8a81466ab

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

14 years agofix buffer leak during indepth scan
jstebbins [Tue, 8 Dec 2009 23:48:54 +0000 (23:48 +0000)]
fix buffer leak during indepth scan
and fix a couple potential leaks if the timing is just right in work loops

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

14 years agoFaster combing detection through slightly less stupid use of pointers. Also realigns...
jbrjake [Tue, 8 Dec 2009 18:39:03 +0000 (18:39 +0000)]
Faster combing detection through slightly less stupid use of pointers. Also realigns boundary points for the combing mask checker to match what the code actually does.

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

14 years agoRemoves references to outdated codecs and variables, updates for new filter value...
jbrjake [Tue, 8 Dec 2009 17:39:43 +0000 (17:39 +0000)]
Removes references to outdated codecs and variables, updates for new filter value orders and the lack of subtitle keys in new presets, and adds better deblock support along with a stub for custom ana support.

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

14 years agoUse the correct render offset when b-pyramid is enabled in the x264 parameter string...
jbrjake [Tue, 8 Dec 2009 15:48:40 +0000 (15:48 +0000)]
Use the correct render offset when b-pyramid is enabled in the x264 parameter string but is being disabled inside libx264 due to mb-tree. Thanks, Rodeo, and good catch! Also adds a logging message to note weight-p being disabled in bframeless encodes.

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

14 years agoWinGui:
sr55 [Tue, 8 Dec 2009 15:12:12 +0000 (15:12 +0000)]
WinGui:
- Added some code to recover from corrupted preset files. This will hopefully fix at least 1 cause of the CLR20r3 .NET error

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

14 years agofix detection of forced subtitles during foreign audio search
jstebbins [Mon, 7 Dec 2009 00:37:51 +0000 (00:37 +0000)]
fix detection of forced subtitles during foreign audio search
reader drops all buffers till it finds video or audio.
but since video and audio fifos are null when indepth_scan is
set, we never see video or audio.
Solution is to not drop buffers in indepth scan mode

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

14 years agofix a double free of an hb_buffer in sync
jstebbins [Sun, 6 Dec 2009 23:54:31 +0000 (23:54 +0000)]
fix a double free of an hb_buffer in sync

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

14 years agoWinGui:
sr55 [Sun, 6 Dec 2009 17:37:19 +0000 (17:37 +0000)]
WinGui:
- Make SourceName a bit smarter when dealing with autonaming and folders. If Video_TS folder is the selected source, autoname will now use the upper level folder name instead. (thanks slaingod)

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

14 years agoWinGui:
sr55 [Sun, 6 Dec 2009 14:35:13 +0000 (14:35 +0000)]
WinGui:
- Fix a compile time error. (Thanks slaingod)

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

14 years agoReduce the amount of buffering used and eliminate hb_snooze in the encoding pipeline
jstebbins [Sat, 5 Dec 2009 17:15:57 +0000 (17:15 +0000)]
Reduce the amount of buffering used and eliminate hb_snooze in the encoding pipeline

For HD sources on an 8 core system with hyperthreading, we were using 1.5GB
of ram.  Add to that the 600MB x264 uses for rc-lookahead, pushes it north of 2GB.

To reduce our memory usage, the fifo depths have been reduced are are no longer
a multiple of cpu count.  Use of hb_snooze has been eliminated in the encoding
pipeline so that performance doesn't fall as a result of the reduced fifo depths.

In sync, each audio and video were given separate threads so that each can wait on
it's respective input fifo without blocking the others.  In muxcommon, each stream
being muxed was given a separate thread so that each can wait on it's respective fifo.
This allows the removal of hb_snooze in the sync and muxer work loops. In both sync
and muxer, there is common data that is shared by all threads, so special init
routines allocate this shared data and initialize the threads.

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

14 years agoWinGui:
sr55 [Sat, 5 Dec 2009 17:01:08 +0000 (17:01 +0000)]
WinGui:
- Some improvements to error messages, about window, minor code style fixes.

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

14 years agoLinGui: fix mbtree x264 option sanitizer
jstebbins [Fri, 4 Dec 2009 23:31:26 +0000 (23:31 +0000)]
LinGui: fix mbtree x264 option sanitizer
forgot to remove the code that set the default to 0 when there are b-frames

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

14 years agoWinGui:
sr55 [Fri, 4 Dec 2009 18:51:30 +0000 (18:51 +0000)]
WinGui:
- Hidden feature: Allow user presets to be categorised if they are manually editing the user_presets.xml

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