summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix mkv timestamps that derive from SimpleBlock and default track duration.jstebbins2011-03-111-0/+13
| | | | | | | | | | | | | | | | Since I've gotten no response to this patch yet on ffmpeg-devel, I'm committing it here till someone has the time to look at it. When a SimpleBlock has lacing (multiple frames in a block) the duration of each frame should come from the default track duration. An initialization error in ffmpeg causes them to set the duration to 0 which triggers code higher in the stack to estimate the duration based on bitrate and frame size. This is wildly inaccurate and leads to very bad timestamps. Fixes issues with MakeMKV audio timestamps. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3835 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Use ffmpeg's lock manager for locking needed by ffmpegjstebbins2011-03-103-19/+33
| | | | | | | | This lets ffmpeg tell us when it needs a lock instead of us trying to guess which functions we need to wrap in a mutex. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3834 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Remove a workaround for an ffmpeg bug that has been fixed.jstebbins2011-03-082-66/+0
| | | | | | | | | Removal of the workaround also removes the need for a patch that fails to apply cleanly to latest ffmpeg git. So remove the patch as well. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3833 b64f7644-9d1e-0410-96f1-a4d463321fa5
* add dbus-glib to configure lib checksjstebbins2011-03-082-4/+12
| | | | | | | ifdef libnotify call for compatibility with new 0.7 version. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3832 b64f7644-9d1e-0410-96f1-a4d463321fa5
* make keyint match between 1st and 2nd passes of vfr and pfr encodes.jstebbins2011-03-089-68/+102
| | | | | | | | | | | | make keyint and fps settings consistent across video encoders. make interjob->vrate changes for pfr mode like we do for vfr since pfr is the same as vfr except when it hits it's peak. in mkv, set track default duration to actual measured vrate on 2 pass encodes. thanks to Rodeo for the corrections in encx264 git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3831 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552011-03-064-254/+250
| | | | | | | - Another change to the video tab to make it consistent with the lingui. - Fix for the Audio Panel to correctly set the default bit-rate for each encoder. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3830 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Try to fix errors in readme file.sr552011-03-061-1/+3
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3829 b64f7644-9d1e-0410-96f1-a4d463321fa5
* A Readme file for github.sr552011-03-061-0/+32
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3828 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552011-03-052-9/+9
| | | | | | - Default to VFR in the preset loading code if CFR and PFR is not set. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3827 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552011-03-042-1/+9
| | | | | | - Fixed dodgy tooltip git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3826 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552011-03-045-95/+180
| | | | | | | | | | - Updated layout of the "Video" tab to empathises Constant Quality. * Added far better tooltips on the controls. - Added better control over the encoding methods (VFR, PFR, CFR) * "Same as source" can now be Constant or Variable * "5,10,15,20....." framerates can now be set as WConstant Framerate" or "Peak Framerates (VFR)" git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3825 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix display of "quality" units in queue when ffmpeg encoder is usedjstebbins2011-03-041-3/+10
| | | | | | | was showing "RF" when should have been "QP" git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3824 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Remove Target Size as a rate control option as it doesn't really ↵dynaflash2011-03-014-311/+347
| | | | | | | | | | | work correctly and should die an overdue death. - Also rearranged the video quality layout a bit. - Moved Constant Quality above Average Bitrate - Moved the entire Video Quality matrix down below frame rate where it belongs. - Presets are mapped accordingly internally in the macgui code so that they are unchanged across platforms. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3823 b64f7644-9d1e-0410-96f1-a4d463321fa5
* silence compiler warning about const char *jstebbins2011-03-011-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3822 b64f7644-9d1e-0410-96f1-a4d463321fa5
* initialize title->angle_count to 1jstebbins2011-03-011-0/+1
| | | | | | | sources that don't support multiple angles should default to 1 git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3821 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: missed removing a part of target file size codejstebbins2011-02-281-15/+4
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3820 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Fix PFR issue where there are different number of frames in 1st and 2nd pass.jstebbins2011-02-281-2/+2
| | | | | | | | | | | | | | | | | Waiting for a fill threshhold in the fifos causes some non-determinism in finding the first PTS value. Sometimes the fill level of one fifo would not be reached until after another fifo is completely full, causing an early exit in the loop that looks for the first PTS. When the initial PTS is different between passes, the duration of the first frame is different. This affects the PFR algorithm and can cause it to drop a different number of frames. The fill level was initially intended as a way to prevent thrashing between threads to improve performance. But my testing indicates no degradation when removing it. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3819 b64f7644-9d1e-0410-96f1-a4d463321fa5
* bump ffmpeg from git-185a155 to git-0b32da9jstebbins2011-02-276-26/+6
| | | | | | | fixes win64 crash git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3818 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552011-02-272-2/+8
| | | | | | - Fix an issue that was causing queue processing to crash out. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3817 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552011-02-271-1/+1
| | | | | | - Fix a possible crash on startup git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3816 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552011-02-273-10/+4
| | | | | | - Fix Build git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3815 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552011-02-2613-365/+369
| | | | | | - Few UI updates around the Help and Presets Menus and Presets Control Bar. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3814 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Remove depreciated cpu count from the apisr552011-02-263-22/+6
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3813 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Remove the set cpu count option as it doesn't do anything nowsr552011-02-264-30/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3812 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552011-02-261-0/+0
| | | | | | - Add new WPF toolkit Library git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3811 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552011-02-2613-30/+238
| | | | | | | - Started designing the Picture Settings Panel - Added a WindowManager. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3810 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552011-02-262-11/+11
| | | | | | - Bump the Control limitations for the picture settings once again. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3809 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: remove target file size optionjstebbins2011-02-267-119/+10
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3808 b64f7644-9d1e-0410-96f1-a4d463321fa5
* fix crash with bd lpcm audio decodingjstebbins2011-02-251-1/+2
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3807 b64f7644-9d1e-0410-96f1-a4d463321fa5
* bump x264 from r1900 to r1913jstebbins2011-02-251-1/+1
| | | | | | | | fixes memory leak when cancelling an encode various other bug fixes and improvements git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3806 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Improve audio labels for BD audio decoded by ffmpegjstebbins2011-02-251-6/+11
| | | | | | | Give lpcm and e-ac3 proper labels git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3805 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Add temporally overlapping subtitle support.davidfstr2011-02-255-34/+366
| | | | | | | | | | | | | | | | | * New subtitle sync algorithm added to sync work-object ("simultaneous"). Classic algorithm preserved but disabled. * Render work-object now supports queueing a /list/ of subtitles. * FIFOs have been extended to support pushing/popping buffer-lists as single elements. * Added SUBSYNC_VERBOSE_TIMING flag to debug timing issues related to subtitle display. Observable behaviors changed in the new subtitle sync algorithm: * Temporally overlapping subtitles are no longer trimmed to be non-overlapping. * Subtitles less than two seconds long are no longer artificially extended. Sorry, Indochine fans. * Subtitles that stop before they start will never be displayed. The old algorithm will display such subtitles if they begin in the future (relative to the current video frame being processed). git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3804 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Remove 2 unneeded lines.sr552011-02-201-4/+0
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3803 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552011-02-201-13/+43
| | | | | | - Add some locking onto the CLI Exited and CLI StdErr Message received threads to prevent exceptions. This is only a temporary fix as we may lose a few log messages off the end by cancelling the logging too early. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3802 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552011-02-198-52/+60
| | | | | | - Give more control over MP4 file extensions. (Automatic, Always use MP4, Always use M4v) git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3801 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552011-02-1933-16/+651
| | | | | | - Setting up the structure of the WPF UI. Just empty files with some basic wiring up between them. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3800 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGuisr552011-02-1812-664/+364
| | | | | | - Wire in the new preset service. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3799 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552011-02-177-75/+8
| | | | | | - Remove target file size option. This feature is being mis-used, doesn't really work well and is generally causing far too much confusion. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3798 b64f7644-9d1e-0410-96f1-a4d463321fa5
* plug some memory leaks.jstebbins2011-02-125-12/+36
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3797 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Improve loop detection in dvdnavjstebbins2011-02-112-0/+12
| | | | | | | | Loops in titles of only a single chapter were not being detected. We now also check the cell number for loops. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3796 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Remove unnecessary translation of string "LIBFAAD" to "AAC".jstebbins2011-02-111-4/+0
| | | | | | | | ffmpeg will never give us this name anymore since it no longer wraps faad. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3795 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Remove a couple more remnants of faad from make filesjstebbins2011-02-112-2/+2
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3794 b64f7644-9d1e-0410-96f1-a4d463321fa5
* remove libfaad from buildjstebbins2011-02-115-25/+4
| | | | | | | We don't use it anymore. We have been using ffaac decoder for a while now. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3793 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: do not uncheck chapter markers when single chapter selectedjstebbins2011-02-113-18/+17
| | | | | | | | | | Instead, grey out the chapter marker checkbox to indicate it is inactive (but leave it checked) and do not enable chapter markers in the job. This way, if the user modifies chapter selections, chapter markers will automatically be re-enabled when more than one chapter is selected again. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3792 b64f7644-9d1e-0410-96f1-a4d463321fa5
* fix sync issue introduced in 3786jstebbins2011-02-111-0/+5
| | | | | | | Thanks to mac_man_ad for pointing this out and providing a sample. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3791 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: Change "Blind" to "Simple" in weightp combo boxjstebbins2011-02-091-3/+3
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3790 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552011-02-081-121/+122
| | | | | | - Didn't quite get the tab order setup right in the last checkin. Should now be fixed. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3789 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552011-02-082-128/+127
| | | | | | | | - Enable TabStops on the Main Toolbar and Tabs Panel. - Reset some of the tab indexes. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3788 b64f7644-9d1e-0410-96f1-a4d463321fa5
* bump libbluray from 0.0.1-pre-16 to 0.0.1-pre-129jstebbins2011-02-081-1/+1
| | | | | | | | fixes segfault when there is a damaged clpi file. fixes segfault when title has no playmarks. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3787 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Improve timestamp handling in decavcodecjstebbins2011-02-081-53/+44
| | | | | | | | | | | | Use new ffmpeg facility for passing timestamps through from AVPackets to AVFrames during parsing and decoding. Also fix a bug in handling of the timestamp of the first audio frame. We were putting the timestamp of the second frame on the first and shifting all audio by one frame time. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3786 b64f7644-9d1e-0410-96f1-a4d463321fa5