summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* LinGui: add point-to-pointjstebbins2009-12-238-223/+554
| | | | | | | | the user can now select between chapter, seconds, or frame start and end points for encoding. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3041 b64f7644-9d1e-0410-96f1-a4d463321fa5
* CLI: add point-to-point capabilityjstebbins2009-12-231-17/+69
| | | | | | | new option --start-at sets the start point in seconds, pts, or frames git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3040 b64f7644-9d1e-0410-96f1-a4d463321fa5
* add point-to-point encodingjstebbins2009-12-238-37/+449
| | | | | | | | | | | | | | 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://svn.handbrake.fr/HandBrake/trunk@3039 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix an issue with picture settings sensitivity when no source has ↵jstebbins2009-12-201-1/+1
| | | | | | | | | yet been scanned Widgets were active and modifiable that should have been disabled. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3038 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552009-12-191-4/+8
| | | | | | - Fix a crash when a preset with crop values is selected before the first source is scanned. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3037 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Adds a very crude, CLI-only rotation filter to flip pixels vertically (mode ↵jbrjake2009-12-194-1/+409
| | | | | | 1), horizontally (mode 2), or both (mode 3, default). Called with --rotate. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3036 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552009-12-193-20/+25
| | | | | | | - 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://svn.handbrake.fr/HandBrake/trunk@3035 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552009-12-182-3/+5
| | | | | | | | - 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://svn.handbrake.fr/HandBrake/trunk@3034 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552009-12-183-47/+81
| | | | | | | | | | - 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://svn.handbrake.fr/HandBrake/trunk@3033 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Fix subtitle code in Live Preview that borked Live Preview encodes ↵dynaflash2009-12-161-4/+2
| | | | | | which was broken in svn 3024. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3032 b64f7644-9d1e-0410-96f1-a4d463321fa5
* x264 bump to r1376-3feaec2dynaflash2009-12-151-1/+1
| | | | | | - 2 pass rate control improvements git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3031 b64f7644-9d1e-0410-96f1-a4d463321fa5
* fix potential runaway buffer usagejstebbins2009-12-154-3/+40
| | | | | | | | | | 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://svn.handbrake.fr/HandBrake/trunk@3030 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix m4v file extension selection when the source has only 1 chapterjstebbins2009-12-143-13/+110
| | | | | | | | | | 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://svn.handbrake.fr/HandBrake/trunk@3029 b64f7644-9d1e-0410-96f1-a4d463321fa5
* bump ffmpeg to svn 20817jstebbins2009-12-142-1/+5
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3028 b64f7644-9d1e-0410-96f1-a4d463321fa5
* fix crash with vobsub passthrujstebbins2009-12-131-1/+3
| | | | | | | | the last subtitle buffer was getting added to the buffer pool twice and ultimately freed twice. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3027 b64f7644-9d1e-0410-96f1-a4d463321fa5
* documentation: Update linux distributions supported and dependenciesjstebbins2009-12-112-18/+37
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3026 b64f7644-9d1e-0410-96f1-a4d463321fa5
* x264 bump to r1373-4322f63dynaflash2009-12-111-1/+1
| | | | | | | - Some lookahead optimizations - Fixes some bugs introduced in r1369 git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3025 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Fix issue with subtitle changes affecting all encodes in the queue ↵dynaflash2009-12-103-4/+4
| | | | | | | | by being less stupid. - Thanks to Rodeo for bringing it to my attention. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3024 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Only display mux stats oncejstebbins2009-12-101-42/+42
| | | | | | | | 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://svn.handbrake.fr/HandBrake/trunk@3023 b64f7644-9d1e-0410-96f1-a4d463321fa5
* fix dvdnav read error retry jstebbins2009-12-101-1/+1
| | | | | | | | | 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://svn.handbrake.fr/HandBrake/trunk@3022 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: remove b-pyramid/mbtree dependencyjstebbins2009-12-092-6/+0
| | | | | | | b-pyramid is now allowed with mbtree git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3021 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Avert a rare race condition.jstebbins2009-12-091-5/+6
| | | | | | | | | | | | | | | | | 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://svn.handbrake.fr/HandBrake/trunk@3020 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Disables chapter markers when there is only one chapter. Most interfaces ↵jbrjake2009-12-091-0/+6
| | | | | | already do this, but now they have no choice. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3019 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Removes obsolete check for mbtree being off before adjusting render offsets ↵jbrjake2009-12-091-3/+3
| | | | | | for b-pyramid. Also corrects a bit of coding style. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3018 b64f7644-9d1e-0410-96f1-a4d463321fa5
* x264 bump to 1369-ec8e586dynaflash2009-12-091-1/+1
| | | | | | | | | - 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://svn.handbrake.fr/HandBrake/trunk@3017 b64f7644-9d1e-0410-96f1-a4d463321fa5
* fix buffer leak during indepth scan jstebbins2009-12-083-0/+23
| | | | | | | and fix a couple potential leaks if the timing is just right in work loops git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3016 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Faster combing detection through slightly less stupid use of pointers. Also ↵jbrjake2009-12-081-68/+61
| | | | | | realigns boundary points for the combing mask checker to match what the code actually does. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3015 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Removes references to outdated codecs and variables, updates for new filter ↵jbrjake2009-12-081-76/+63
| | | | | | 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://svn.handbrake.fr/HandBrake/trunk@3014 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Use the correct render offset when b-pyramid is enabled in the x264 ↵jbrjake2009-12-081-39/+24
| | | | | | 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://svn.handbrake.fr/HandBrake/trunk@3013 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552009-12-081-20/+53
| | | | | | - 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://svn.handbrake.fr/HandBrake/trunk@3012 b64f7644-9d1e-0410-96f1-a4d463321fa5
* fix detection of forced subtitles during foreign audio searchjstebbins2009-12-071-1/+1
| | | | | | | | | | 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://svn.handbrake.fr/HandBrake/trunk@3011 b64f7644-9d1e-0410-96f1-a4d463321fa5
* fix a double free of an hb_buffer in syncjstebbins2009-12-061-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3010 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552009-12-061-1/+4
| | | | | | - 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://svn.handbrake.fr/HandBrake/trunk@3009 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552009-12-061-1/+2
| | | | | | - Fix a compile time error. (Thanks slaingod) git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3008 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Reduce the amount of buffering used and eliminate hb_snooze in the encoding ↵jstebbins2009-12-0511-1049/+1396
| | | | | | | | | | | | | | | | | | | | | | 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://svn.handbrake.fr/HandBrake/trunk@3007 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552009-12-056-108/+135
| | | | | | - Some improvements to error messages, about window, minor code style fixes. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3006 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix mbtree x264 option sanitizerjstebbins2009-12-041-8/+1
| | | | | | | forgot to remove the code that set the default to 0 when there are b-frames git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3005 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552009-12-041-5/+15
| | | | | | - Hidden feature: Allow user presets to be categorised if they are manually editing the user_presets.xml git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3004 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552009-12-041-0/+1
| | | | | | | - Make sure a default preview is selected on the preview window git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3003 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552009-12-041-105/+104
| | | | | | - Fix a few tooltips in options. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3002 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552009-12-047-96/+117
| | | | | | - Implement new option: "--previews" allowing a range of 10 to 30 to be selected on the preview window. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3001 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552009-12-033-87/+63
| | | | | | - Some minor code refactoring git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3000 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui: sr552009-12-031-5/+4
| | | | | | - Prevent the Download window from collapsing in on itself. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2999 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552009-12-021-10/+13
| | | | | | - Make sure the Activity window resets correctly on action or source change. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2998 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552009-12-021-48/+24
| | | | | | - Re-enabled UNC path support in the GUI. Seems the switch to MinGW enabled UNC paths to work correctly. Note: This is not supported for CygWin users. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2997 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix a mingw compile issuejstebbins2009-12-021-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2996 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552009-12-012-91/+92
| | | | | | - Something got a but nuked with regards to images in the last checkin. Fixed. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2995 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552009-11-306-96/+114
| | | | | | - Few UI usability tweaks. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2994 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552009-11-302-11/+33
| | | | | | | - ActivityWindow Make sure the correct log is selected (Last action: scan or encode) - Make closing the window more responsive. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2993 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: set property in file chooser that allows opening "non-local" filesjstebbins2009-11-301-0/+3
| | | | | | | non-local is anything mounted transparently by gvfs git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2992 b64f7644-9d1e-0410-96f1-a4d463321fa5