summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Force title dimensions to be evenjstebbins2011-09-191-8/+13
| | | | | | | | HandBrake's video pipeline uses yuv420 color which requires even dimensions. The input video may be a diffent color space that allows odd dimensions. So crop a row or colomn if necessary. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4239 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: since Auto Passthru isn't enabled yet, we still need to fall back to ↵Rodeo2011-09-193-2/+10
| | | | | | | | | | AC3 Passthru when loading a preset. Also, update an outdated comment. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4238 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb: Auto Passthru and audio/video encoder lists.Rodeo2011-09-1911-609/+731
| | | | | | | | | | | | | | This adds Auto Passthru as another encoder in libhb. Used in LinGUI and CLI. MacGUI features a partial impplmentation (with hardcoded values), which is disabled for now. Also, audio and video encoders are now stored in "lists", like we previously did for mixdowns. New mixdown "None" (HB_AMIXDOWN_NONE) added to hb_audio_mixdowns (was previously declared in MacGUI/LinGUI). git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4237 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: ensure loose crop always crops even valuesjstebbins2011-09-191-4/+16
| | | | | | | | Subsampled chroma (i.e. yuv420) requires that you do all cropping on even boundaries and that the result has even dimensions. There were cases where my cropping could violate this. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4236 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: oops! forgot to use existing filterjstebbins2011-09-191-2/+1
| | | | | | | | I was creating a new filter with pattern "*" when opening the source file chooser. Don't need to do that since I have a pre-existing one now. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4235 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: add source type filter to source dialogjstebbins2011-09-192-0/+122
| | | | | | | Lets you filter down the list to just the files you are interested in seeing. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4234 b64f7644-9d1e-0410-96f1-a4d463321fa5
* hb_ff_layout_xlat: minor cleanup.Rodeo2011-09-191-16/+15
| | | | | | | | Slightly more meaningful log messages. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4233 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Add fake keyframes for PIR encodingjstebbins2011-09-191-10/+18
| | | | | | | | Periodic intra refresh has no IDR frames, but x264 signals a keyframe at recovery points. Use this flag to fake keyframes in the container so that seeking in these files works properly. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4232 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Fix corrupt first frame in BD point-to-pointjstebbins2011-09-196-116/+128
| | | | | | | | | | | Seek point may be a recovery point which will not be a complete clean frame. So consume frames till we reach the recovery frame count. Patches Libav so it can tell us when the recovery point has been reached. Also improves detection of recovery points in TS files. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4231 b64f7644-9d1e-0410-96f1-a4d463321fa5
* HandBrakeWPF: Switch from Caliburn to Caliburn Micro and Add a CastleWindsor ↵sr552011-09-1762-484/+16438
| | | | | | Bootstrapper. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4230 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Interop: Add in a bunch of missing comments.sr552011-09-179-25/+121
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4229 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Interop: Added support for various audio encoding options that were missing ↵sr552011-09-175-14/+65
| | | | | | from various functions. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4228 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui: Correctly reload audio tracks on queue edit.sr552011-09-162-2/+8
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4227 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui: Workaround an issue with audio controls not updating when no audio ↵sr552011-09-161-0/+4
| | | | | | tracks are selected. Controls will not update after a track is added. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4226 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui: Fixes to the Audio Panel.sr552011-09-165-91/+115
| | | | | | | | - Fix a display issue with Encoder and Mixdown on the data grid. - Don't try to load tracks if there isn't any. - Fix an issue with auto-correction of Passthru option. (DTS-HD would not auto-correct to the correct passthru for the source track type) git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4225 b64f7644-9d1e-0410-96f1-a4d463321fa5
* don't pass unhandled TS/PS stream types to demuxjstebbins2011-09-161-0/+3
| | | | | | | | I ran across a stream that has bad timestamps in the Teletext track which causes the demux to think there are discontinuities and drop packets. makes a real mess of things. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4224 b64f7644-9d1e-0410-96f1-a4d463321fa5
* fix silly error in scanning BDjstebbins2011-09-151-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4223 b64f7644-9d1e-0410-96f1-a4d463321fa5
* CLI: add missing newline in help text.Rodeo2011-09-141-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4222 b64f7644-9d1e-0410-96f1-a4d463321fa5
* fix for broken lpcm streamsjstebbins2011-09-141-41/+109
| | | | | | | | fixes streams that have broken frame count field. since this value can be computed from the frame size, we can ignore it. Also fixes some decode errors in 20 and 24bit lpcm. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4221 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Improve mpeg PS supportjstebbins2011-09-1411-1179/+2886
| | | | | | | | | | | | | | | | | | | | | | Adds support for MPEG-1 PS, HDDVD EVOB, and video codecs other than mpeg1/2 in PS Improves probing of unknown stream types by using Libav's probing utilities Use Libav to probe for dts profile in TS and PS files when profile is unknown Improves framerate detection (improved telecine detection) Fixes preview generation for mpeg video that has only a single sequence header Patches Libav to handle VC-1 pulldown flags properly Improve PS and TS stream log information git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4220 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui: Numerous fixes to Libhb based scanning and encoding. Aside from ↵sr552011-09-126-11/+24
| | | | | | several non-critical bugs, the code is now "usable" but should be considered experimental. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4219 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui: Some further work to enable libhb encode support.sr552011-09-117-62/+359
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4218 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui: Remove bad auto-gen.sr552011-09-111-1/+0
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4217 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui: Remove bad auto-gen again.sr552011-09-111-27/+0
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4216 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui: Some further work removing duplicate models, updating the ↵sr552011-09-1119-232/+216
| | | | | | libscan/encode services, fixes to the EnumHelper git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4215 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui: Update the Interop Mixdown and Audio Encoder objectssr552011-09-112-2/+23
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4214 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui: Correct an issue with updating old presets (from 0.9.5 or earlier) ↵sr552011-09-111-0/+1
| | | | | | to the latest. Presets were getting duplicated rather than replaced. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4213 b64f7644-9d1e-0410-96f1-a4d463321fa5
* x264 bump from r2044 to r2074 - misc. fixes and improvements.Rodeo2011-09-101-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4212 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui: Missed a case where the queue recovery file was not being updated ↵sr552011-09-101-0/+1
| | | | | | when the queue finished. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4211 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb: fix incorrect decrementing of audio->config.out.track; it starts at ↵Rodeo2011-09-091-5/+4
| | | | | | | | | | | | | | | | | | | 1, not 0. Also, explicitly log that we are dropping the track when we find an incompatible passthru. Fixes: [01:26:41] Sample rate 24000 not supported (ca_haac). Using 32kHz for track 1 track 1 suddenly becomes track 0: [01:26:41] work: sanitizing track 0 mixdown Dolby Pro Logic II to Stereo [01:26:41] work: sanitizing track 0 audio bitrate 160 to 80 […] [01:26:41] * audio track 0 git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4210 b64f7644-9d1e-0410-96f1-a4d463321fa5
* libhb: work around the lack of 6.1 support for DTS sourcesRodeo2011-09-094-0/+46
| | | | | | | | | | | | libhb doesn't support 6.1 sources and assumes they're 7.0 instead. This breaks downmixing. Libav can decode the DTS-ES 6.1 core of DTS-HD 6.1 audio tracks; tell it to not process the additional channel so that such tracks can be re-encoded correctly. See https://reviews.handbrake.fr/r/200/ for more information. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4209 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui: Make sure the queue state is correctly state when it is done processing.sr552011-09-081-0/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4208 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui: Don't "recover" completed queue items when restarting.sr552011-09-081-2/+4
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4207 b64f7644-9d1e-0410-96f1-a4d463321fa5
* CLI: fix a case where DTS/DTS-HD Passthru was reaching code only meant for ↵Rodeo2011-09-051-29/+40
| | | | | | Auto Passthru. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4206 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui: Add support for longer previews.sr552011-09-041-9/+5
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4205 b64f7644-9d1e-0410-96f1-a4d463321fa5
* CLI: fix a typo in the help text.Rodeo2011-09-031-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4204 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui: Remove some bad auto-gen... again.sr552011-09-031-1/+0
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4203 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui: Initial support for batch queueing.sr552011-09-029-153/+345
| | | | | | A new option "Add All" which will add all scanned titles using the current settings. Ideally used with batch scanned sources. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4202 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Behold that which is hidden ... Batch Queueing Support.dynaflash2011-09-023-5/+91
| | | | | | | | | | | | - Add batch queueing support to the macgui. - Currently accessed under File > Add All Titles To Queue - No toolbar button yet since it needs to soak for a while and needs refinement. - Applies all current settings to all titles. - Best used with batch scanning flat files. - Works with a dvd scan where the dvd titles are in the title structure ... but not recommended. - Use at your own peril! git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4201 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui: Remove some remaining unused .NET settings code.sr552011-09-028-82/+0
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4200 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui: Reverted Auto-Gen Resx change from previous commitsr552011-09-021-27/+0
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4199 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui: Fix a display issue with the Title Dropdown. The dropdown area width ↵sr552011-09-022-73/+102
| | | | | | was too small. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4198 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: Show video codec name in summary tabjstebbins2011-09-014-10/+46
| | | | | | | | | | I found myself wanting to know what the source video codec was when I discovered that several of my VC-1 trancodes were crap. So this adds the video codec name to the summary information I display on the summary tab. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4197 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui: Some tweaks to the way the picture settings panel handles cropping ↵sr552011-08-271-2/+10
| | | | | | and preset stored values. Check if the preset has values, before ignoring the source values. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4196 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui: Broke the preset loader in the last commit. Now Fixed.sr552011-08-273-1/+9
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4195 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui: Some refactoring of the preset services to make them simpler and ↵sr552011-08-273-25/+22
| | | | | | restoring old functionality that allowed storing of crop settings to match the macgui. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4194 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Live Preview ...dynaflash2011-08-242-24/+36
| | | | | | | | | - Use the first subs track that has been specified to display in the live preview. -- Tested against TX3G (3GPP) subs in mp4 and vobsubs in mkv. - Also change Live Preview durations to less granular yet longer durations to: (seconds) 15, 30, 45, 60 90, 105 and 120. - Subs patch by Rodeo. Thanks! git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4193 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: fix problem with preset updatesjstebbins2011-08-241-8/+12
| | | | | | | | When presets update due to new hb version, custom presets were being stepped on badly. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4192 b64f7644-9d1e-0410-96f1-a4d463321fa5
* LinGui: make values for preset key AudioEncoderFallback compatible with mac uijstebbins2011-08-221-1/+13
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4191 b64f7644-9d1e-0410-96f1-a4d463321fa5
* CLI: standardize passthru fallbacks.Rodeo2011-08-191-33/+81
| | | | | | | | | | | | | | | | copy:aac -> faac copy:ac3 -> ac3 copy:mp3 -> lame copy -> --audio-fallback, else aac, ac3 or lame (if found in the audio copy mask), else dropped copy:dts and copy:dtshd are always dropped. When --audio-copy-mask contains only one codec, 'copy' behaves exactly like codec-specific passthru and --audio-fallback is ignored. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4190 b64f7644-9d1e-0410-96f1-a4d463321fa5