]> granicus.if.org Git - handbrake/log
handbrake
13 years agoLinGui: ensure loose crop always crops even values
jstebbins [Mon, 19 Sep 2011 17:54:52 +0000 (17:54 +0000)]
LinGui: ensure loose crop always crops even values

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

13 years agoLinGui: oops! forgot to use existing filter
jstebbins [Mon, 19 Sep 2011 16:59:08 +0000 (16:59 +0000)]
LinGui: oops! forgot to use existing filter

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

13 years agoLinGui: add source type filter to source dialog
jstebbins [Mon, 19 Sep 2011 16:54:09 +0000 (16:54 +0000)]
LinGui: add source type filter to source dialog

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

13 years agohb_ff_layout_xlat: minor cleanup.
Rodeo [Mon, 19 Sep 2011 15:55:26 +0000 (15:55 +0000)]
hb_ff_layout_xlat: minor cleanup.

Slightly more meaningful log messages.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4233 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agoAdd fake keyframes for PIR encoding
jstebbins [Mon, 19 Sep 2011 15:39:48 +0000 (15:39 +0000)]
Add fake keyframes for PIR encoding

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

13 years agoFix corrupt first frame in BD point-to-point
jstebbins [Mon, 19 Sep 2011 15:35:46 +0000 (15:35 +0000)]
Fix corrupt first frame in BD point-to-point

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

13 years agoHandBrakeWPF: Switch from Caliburn to Caliburn Micro and Add a CastleWindsor Bootstra...
sr55 [Sat, 17 Sep 2011 20:49:08 +0000 (20:49 +0000)]
HandBrakeWPF: Switch from Caliburn to Caliburn Micro and Add a CastleWindsor Bootstrapper.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4230 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agoInterop: Add in a bunch of missing comments.
sr55 [Sat, 17 Sep 2011 19:23:28 +0000 (19:23 +0000)]
Interop: Add in a bunch of missing comments.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4229 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agoInterop: Added support for various audio encoding options that were missing from...
sr55 [Sat, 17 Sep 2011 19:15:51 +0000 (19:15 +0000)]
Interop: Added support for various audio encoding options that were missing from various functions.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4228 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agoWinGui: Correctly reload audio tracks on queue edit.
sr55 [Fri, 16 Sep 2011 18:56:16 +0000 (18:56 +0000)]
WinGui: Correctly reload audio tracks on queue edit.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4227 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agoWinGui: Workaround an issue with audio controls not updating when no audio tracks...
sr55 [Fri, 16 Sep 2011 18:42:24 +0000 (18:42 +0000)]
WinGui: Workaround an issue with audio controls not updating when no audio 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

13 years agoWinGui: Fixes to the Audio Panel.
sr55 [Fri, 16 Sep 2011 18:32:02 +0000 (18:32 +0000)]
WinGui: Fixes to the Audio Panel.
- 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

13 years agodon't pass unhandled TS/PS stream types to demux
jstebbins [Fri, 16 Sep 2011 00:15:37 +0000 (00:15 +0000)]
don't pass unhandled TS/PS stream types to demux

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

13 years agofix silly error in scanning BD
jstebbins [Thu, 15 Sep 2011 22:20:38 +0000 (22:20 +0000)]
fix silly error in scanning BD

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4223 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agoCLI: add missing newline in help text.
Rodeo [Wed, 14 Sep 2011 21:52:30 +0000 (21:52 +0000)]
CLI: add missing newline in help text.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4222 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agofix for broken lpcm streams
jstebbins [Wed, 14 Sep 2011 16:25:40 +0000 (16:25 +0000)]
fix for broken lpcm streams

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

13 years agoImprove mpeg PS support
jstebbins [Wed, 14 Sep 2011 16:03:52 +0000 (16:03 +0000)]
Improve mpeg PS support

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

13 years agoWinGui: Numerous fixes to Libhb based scanning and encoding. Aside from several non...
sr55 [Mon, 12 Sep 2011 20:09:55 +0000 (20:09 +0000)]
WinGui: Numerous fixes to Libhb based scanning and encoding. Aside from 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

13 years agoWinGui: Some further work to enable libhb encode support.
sr55 [Sun, 11 Sep 2011 17:18:41 +0000 (17:18 +0000)]
WinGui: Some further work to enable libhb encode support.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4218 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agoWinGui: Remove bad auto-gen.
sr55 [Sun, 11 Sep 2011 17:15:07 +0000 (17:15 +0000)]
WinGui: Remove bad auto-gen.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4217 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agoWinGui: Remove bad auto-gen again.
sr55 [Sun, 11 Sep 2011 13:33:32 +0000 (13:33 +0000)]
WinGui: Remove bad auto-gen again.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4216 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agoWinGui: Some further work removing duplicate models, updating the libscan/encode...
sr55 [Sun, 11 Sep 2011 13:32:33 +0000 (13:32 +0000)]
WinGui: Some further work removing duplicate models, updating the libscan/encode services, fixes to the EnumHelper

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4215 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agoWinGui: Update the Interop Mixdown and Audio Encoder objects
sr55 [Sun, 11 Sep 2011 13:27:36 +0000 (13:27 +0000)]
WinGui: Update the Interop Mixdown and Audio Encoder objects

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4214 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agoWinGui: Correct an issue with updating old presets (from 0.9.5 or earlier) to the...
sr55 [Sun, 11 Sep 2011 10:41:48 +0000 (10:41 +0000)]
WinGui: Correct an issue with updating old presets (from 0.9.5 or earlier) 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

13 years agox264 bump from r2044 to r2074 - misc. fixes and improvements.
Rodeo [Sat, 10 Sep 2011 15:46:43 +0000 (15:46 +0000)]
x264 bump from r2044 to r2074 - misc. fixes and improvements.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4212 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agoWinGui: Missed a case where the queue recovery file was not being updated when the...
sr55 [Sat, 10 Sep 2011 10:25:37 +0000 (10:25 +0000)]
WinGui: Missed a case where the queue recovery file was not being updated when the queue finished.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4211 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agolibhb: fix incorrect decrementing of audio->config.out.track; it starts at 1, not...
Rodeo [Fri, 9 Sep 2011 23:32:53 +0000 (23:32 +0000)]
libhb: fix incorrect decrementing of audio->config.out.track; it starts at 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

13 years agolibhb: work around the lack of 6.1 support for DTS sources
Rodeo [Fri, 9 Sep 2011 02:37:16 +0000 (02:37 +0000)]
libhb: work around the lack of 6.1 support for DTS sources

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

13 years agoWinGui: Make sure the queue state is correctly state when it is done processing.
sr55 [Thu, 8 Sep 2011 18:02:10 +0000 (18:02 +0000)]
WinGui: Make sure the queue state is correctly state when it is done processing.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4208 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agoWinGui: Don't "recover" completed queue items when restarting.
sr55 [Thu, 8 Sep 2011 17:54:44 +0000 (17:54 +0000)]
WinGui: Don't "recover" completed queue items when restarting.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4207 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agoCLI: fix a case where DTS/DTS-HD Passthru was reaching code only meant for Auto Passthru.
Rodeo [Mon, 5 Sep 2011 23:17:10 +0000 (23:17 +0000)]
CLI: fix a case where DTS/DTS-HD Passthru was reaching code only meant for Auto Passthru.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4206 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agoWinGui: Add support for longer previews.
sr55 [Sun, 4 Sep 2011 14:02:58 +0000 (14:02 +0000)]
WinGui: Add support for longer previews.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4205 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agoCLI: fix a typo in the help text.
Rodeo [Sat, 3 Sep 2011 18:57:10 +0000 (18:57 +0000)]
CLI: fix a typo in the help text.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4204 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agoWinGui: Remove some bad auto-gen... again.
sr55 [Sat, 3 Sep 2011 12:40:06 +0000 (12:40 +0000)]
WinGui: Remove some bad auto-gen... again.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4203 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agoWinGui: Initial support for batch queueing.
sr55 [Fri, 2 Sep 2011 22:40:19 +0000 (22:40 +0000)]
WinGui: Initial support for batch queueing.
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

13 years agoMacGui: Behold that which is hidden ... Batch Queueing Support.
dynaflash [Fri, 2 Sep 2011 22:35:04 +0000 (22:35 +0000)]
MacGui: Behold that which is hidden ... Batch Queueing Support.
- 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

13 years agoWinGui: Remove some remaining unused .NET settings code.
sr55 [Fri, 2 Sep 2011 20:24:26 +0000 (20:24 +0000)]
WinGui: Remove some remaining unused .NET settings code.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4200 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agoWinGui: Reverted Auto-Gen Resx change from previous commit
sr55 [Fri, 2 Sep 2011 20:11:44 +0000 (20:11 +0000)]
WinGui: Reverted Auto-Gen Resx change from previous commit

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4199 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agoWinGui: Fix a display issue with the Title Dropdown. The dropdown area width was...
sr55 [Fri, 2 Sep 2011 20:10:24 +0000 (20:10 +0000)]
WinGui: Fix a display issue with the Title Dropdown. The dropdown area width was too small.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4198 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agoLinGui: Show video codec name in summary tab
jstebbins [Thu, 1 Sep 2011 17:56:22 +0000 (17:56 +0000)]
LinGui: Show video codec name in summary tab

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

13 years agoWinGui: Some tweaks to the way the picture settings panel handles cropping and preset...
sr55 [Sat, 27 Aug 2011 22:04:54 +0000 (22:04 +0000)]
WinGui: Some tweaks to the way the picture settings panel handles cropping 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

13 years agoWinGui: Broke the preset loader in the last commit. Now Fixed.
sr55 [Sat, 27 Aug 2011 21:50:01 +0000 (21:50 +0000)]
WinGui: Broke the preset loader in the last commit. Now Fixed.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4195 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agoWinGui: Some refactoring of the preset services to make them simpler and restoring...
sr55 [Sat, 27 Aug 2011 21:39:15 +0000 (21:39 +0000)]
WinGui: Some refactoring of the preset services to make them simpler and 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

13 years agoMacGui: Live Preview ...
dynaflash [Wed, 24 Aug 2011 20:11:53 +0000 (20:11 +0000)]
MacGui: Live Preview ...
- 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

13 years agoLinGui: fix problem with preset updates
jstebbins [Wed, 24 Aug 2011 06:26:09 +0000 (06:26 +0000)]
LinGui: fix problem with preset updates

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

13 years agoLinGui: make values for preset key AudioEncoderFallback compatible with mac ui
jstebbins [Mon, 22 Aug 2011 16:10:31 +0000 (16:10 +0000)]
LinGui: make values for preset key AudioEncoderFallback compatible with mac ui

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4191 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agoCLI: standardize passthru fallbacks.
Rodeo [Fri, 19 Aug 2011 22:40:26 +0000 (22:40 +0000)]
CLI: standardize passthru fallbacks.

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

13 years agoCLI: fix a bug where gain wouldn't be initialized when there were more input audio...
Rodeo [Fri, 19 Aug 2011 22:25:06 +0000 (22:25 +0000)]
CLI: fix a bug where gain wouldn't be initialized when there were more input audio tracks than the number of gain values specified in the command line.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4189 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agoLinGui: compute passthru fallbacks
jstebbins [Fri, 19 Aug 2011 16:00:42 +0000 (16:00 +0000)]
LinGui: compute passthru fallbacks
if we have an encoder for a passthru codec, use that encoder when
passthru isn't possible.  for 'Auto Passthru' use the fallback
specified in the preset.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4188 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agolingui: fix issues with preset values
jstebbins [Fri, 19 Aug 2011 00:57:50 +0000 (00:57 +0000)]
lingui: fix issues with preset values

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4187 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agoMacGui: Make AAC and MP3 passthru fall back to the AAC and MP3 encoders, respectively...
Rodeo [Thu, 18 Aug 2011 23:04:02 +0000 (23:04 +0000)]
MacGui: Make AAC and MP3 passthru fall back to the AAC and MP3 encoders, respectively (instead of dropping them like DTS/DTS-HD).

Drop the never-used AC3PassthruDefaultsToAC3 preference (it defaulted to true and was never wired to the GUI).

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4186 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agoMacGui: Fix crash when launching then cancelling new source and quitting would cause...
dynaflash [Thu, 18 Aug 2011 22:11:49 +0000 (22:11 +0000)]
MacGui: Fix crash when launching then cancelling new source and quitting would cause a crash due to there being no preview when calling windowWillClose in HBPreview.m

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4185 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agoMacGui: Fix a crash in live preview where upon closing the preview window during...
dynaflash [Wed, 17 Aug 2011 15:43:14 +0000 (15:43 +0000)]
MacGui: Fix a crash in live preview where upon closing the preview window during a live preview encode it was not being properly stopped so upon reopening and clicking on "Still Previews" there was a crashy.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4184 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agoWinGui: Finish migrating the settings over to the new user setting service.
sr55 [Wed, 17 Aug 2011 14:05:33 +0000 (14:05 +0000)]
WinGui: Finish migrating the settings over to the new user setting service.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4183 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agoBlu-ray: display playlist number in log, CLI scan output, and title drop-down.
Rodeo [Tue, 16 Aug 2011 15:45:41 +0000 (15:45 +0000)]
Blu-ray: display playlist number in log, CLI scan output, and title drop-down.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4182 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agoWinGui: Add support for upcoming changes to CLI scan output showing bluray playlist...
sr55 [Tue, 16 Aug 2011 15:36:39 +0000 (15:36 +0000)]
WinGui: Add support for upcoming changes to CLI scan output showing bluray playlist number.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4181 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agolibhb: Use h.264 recovery points as key frames when decoding
jstebbins [Tue, 16 Aug 2011 14:45:11 +0000 (14:45 +0000)]
libhb: Use h.264 recovery points as key frames when decoding

Many transport streams have few or zero IDR frames.  So scanning them
takes a long time, generates a lot of log spam, and results in poor
preview quality.  Often there will be several identical preview frames
because it will find the same IDR for several of the previews.  Using
recovery points helps all these problems.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4180 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agoMacGUI: Advanced panel: remove unnecessary checks when hiding the psy sliders.
Rodeo [Mon, 15 Aug 2011 22:13:21 +0000 (22:13 +0000)]
MacGUI: Advanced panel: remove unnecessary checks when hiding the psy sliders.

Fixes an issue where hiding the psy-rd slider would fail to reset the slider's positition to its default value.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4179 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agoMacGUI: HBAudioController.m: remove two stray newlines which my patch inexplicably...
Rodeo [Mon, 15 Aug 2011 20:30:55 +0000 (20:30 +0000)]
MacGUI: HBAudioController.m: remove two stray newlines which my patch inexplicably introduced in revision 4054.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4178 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agoWinGui: Add a service manager to maintain single instances of services & update the...
sr55 [Mon, 15 Aug 2011 19:23:58 +0000 (19:23 +0000)]
WinGui: Add a service manager to maintain single instances of services & update the user settings service to import defaults from an xml file.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4177 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agoWinGui: Couple of minor bug fixes in the user settings code.
sr55 [Mon, 15 Aug 2011 16:58:58 +0000 (16:58 +0000)]
WinGui: Couple of minor bug fixes in the user settings code.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4176 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agoWinGui: Finished re-writing the user settings service to use xml file storage rather...
sr55 [Mon, 15 Aug 2011 16:54:19 +0000 (16:54 +0000)]
WinGui: Finished re-writing the user settings service to use xml file storage rather than built-in settings. Moved all the Services Library settings over to use the service. Main application will be done later.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4175 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agoWinGui: Remove a duplicate model object.
sr55 [Mon, 15 Aug 2011 16:00:22 +0000 (16:00 +0000)]
WinGui: Remove a duplicate model object.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4174 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agoWinGui: Clear all option on the queue.
sr55 [Mon, 15 Aug 2011 13:05:50 +0000 (13:05 +0000)]
WinGui: Clear all option on the queue.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4173 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agoWinGui: Fix an issue with Multi-instance detection.
sr55 [Sun, 14 Aug 2011 10:53:41 +0000 (10:53 +0000)]
WinGui: Fix an issue with Multi-instance detection.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4172 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agoInterop: Struct changes to keep up with libhb and passthrough updates. Also fixing...
randomengy [Sat, 13 Aug 2011 01:53:01 +0000 (01:53 +0000)]
Interop: Struct changes to keep up with libhb and passthrough updates. Also fixing a problem where the audio passthrough mask wasn't applied when creating the passthrough codec value.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4171 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agolibhb: fix setting Libav codec private options
jstebbins [Fri, 12 Aug 2011 22:00:51 +0000 (22:00 +0000)]
libhb: fix setting Libav codec private options
and logging of Libav advanced options.
Thanks to Rodeo for spotting

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4170 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agoWinGui: Added in release installer support to the msbuild file.
sr55 [Fri, 12 Aug 2011 19:50:47 +0000 (19:50 +0000)]
WinGui: Added in release installer support to the msbuild file.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4169 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agoMacGui: Fix borked "When Done" Preference drop down which was inexplicably lost in...
dynaflash [Fri, 12 Aug 2011 15:21:09 +0000 (15:21 +0000)]
MacGui: Fix borked "When Done" Preference drop down which was inexplicably lost in rev 3757.
- Patch by Rodeo ... thanks!
- Addresses https://reviews.handbrake.fr/r/168/

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4168 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agoWinGui: Disable the "Run HandBrake" option after the installer. Running under elevate...
sr55 [Thu, 11 Aug 2011 12:36:49 +0000 (12:36 +0000)]
WinGui: Disable the "Run HandBrake" option after the installer. Running under elevated permissions is bad.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4167 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agoWinGui: Add support for performing a silent install. (Patch by cookie23 - Jeremy...
sr55 [Thu, 11 Aug 2011 12:32:37 +0000 (12:32 +0000)]
WinGui: Add support for performing a silent install. (Patch by cookie23 - Jeremy. Thanks!)

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4166 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agoWinGui: Fix a NullPointerException in the AudioPanel that was causing some funny...
sr55 [Thu, 11 Aug 2011 12:22:56 +0000 (12:22 +0000)]
WinGui: Fix a NullPointerException in the AudioPanel that was causing some funny behaviour when switching presets and scanning sources.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4165 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agolibhb: allow changing colorimetry in x264 options
jstebbins [Mon, 8 Aug 2011 20:24:30 +0000 (20:24 +0000)]
libhb: allow changing colorimetry in x264 options

    Setting "colorprim", "transfer", or "colormarix" in the x264 advanced
    options will no longer be ignored and will propagate to the mp4 muxer
    where those values also get set in the container.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4164 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agoWinGui: Build fix
sr55 [Mon, 8 Aug 2011 18:55:30 +0000 (18:55 +0000)]
WinGui: Build fix

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4163 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agoWinGui: Removed some unneeded code
sr55 [Sun, 7 Aug 2011 21:33:19 +0000 (21:33 +0000)]
WinGui: Removed some unneeded code

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4162 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agoWinGui: Change the Queue to work in the same way as the Mac/Lin Queue. Retain Complet...
sr55 [Sun, 7 Aug 2011 21:31:14 +0000 (21:31 +0000)]
WinGui: Change the Queue to work in the same way as the Mac/Lin Queue. Retain Completed jobs and mark them as such.
- Added option to clear completed jobs.
- Added option to re-encode a completed/errored job.
- In-progress/Waiting jobs get saved into queue recovery.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4161 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agoWinGui: Support DTS-HD in MP4.
sr55 [Sun, 7 Aug 2011 14:58:00 +0000 (14:58 +0000)]
WinGui: Support DTS-HD in MP4.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4160 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agoWinGui: Add support for DTS passthru in MP4 and add smarter fallback audio encoder...
sr55 [Sun, 7 Aug 2011 14:08:52 +0000 (14:08 +0000)]
WinGui: Add support for DTS passthru in MP4 and add smarter fallback audio encoder selection for incorrectly selected passthru tracks.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4159 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agoWinGui: Support for AAC and MP3 Passthru added + change default audio mode setting...
sr55 [Sun, 7 Aug 2011 13:28:43 +0000 (13:28 +0000)]
WinGui: Support for AAC and MP3 Passthru added + change default audio mode setting to 0 to prevent crash.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4158 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agoWinGui: Refactored the Automatic Audio Selection so that it is more intuitive. Now...
sr55 [Sun, 7 Aug 2011 12:54:52 +0000 (12:54 +0000)]
WinGui: Refactored the Automatic Audio Selection so that it is more intuitive. Now, it will use your preferred language for the preset tracks, then add either all additional tracks, or all additional tracks for your selected additional languages. This should avoid any confusion as to why the previous setup as overriding presets.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4157 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agoWinGui: Subme 11 support.
sr55 [Sat, 6 Aug 2011 12:04:07 +0000 (12:04 +0000)]
WinGui: Subme 11 support.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4156 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agolibhb: tighten up dvd program stream detection
jstebbins [Thu, 4 Aug 2011 03:23:24 +0000 (03:23 +0000)]
libhb: tighten up dvd program stream detection
so that we don't misdetect mpeg1 program streams as dvd program streams

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4155 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agoLinGui: fix hud rendering issue
jstebbins [Wed, 3 Aug 2011 22:17:14 +0000 (22:17 +0000)]
LinGui: fix hud rendering issue

On some display drivers, the rounded corners of the hud would retain
the previous preview image when the preview was changed.  This adds
a region mask to compensate for buggy drivers.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4154 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agoMacGui / LinGui: Add subme 11 to both ui's now that x264 has it. This way ... we...
dynaflash [Wed, 3 Aug 2011 15:02:49 +0000 (15:02 +0000)]
MacGui / LinGui: Add subme 11 to both ui's now that x264 has it. This way ... we "can go to 11..."

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4153 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agox264 bump from r1995 to r2044
dynaflash [Wed, 3 Aug 2011 14:31:33 +0000 (14:31 +0000)]
x264 bump from r1995 to r2044
- various bugfixes and enhancement, one of which is subme 11.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4152 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agoWinGui: Add a warning to the "Audio and Subtitles" tab to notify people that automati...
sr55 [Mon, 1 Aug 2011 18:58:19 +0000 (18:58 +0000)]
WinGui: Add a warning to the "Audio and Subtitles" tab to notify people that automatic audio settings will override those stored in presets.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4151 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agolibhb: fix mis-detection of mov files as mpeg PS
jstebbins [Mon, 1 Aug 2011 18:18:52 +0000 (18:18 +0000)]
libhb: fix mis-detection of mov files as mpeg PS
Tightens the mpeg PS detection further to prevent mis-detection
of mov files as mpeg PS. Hopefully doesn't cause faulures to
detect real mpeg PS files.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4150 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agoadd more audio passthru options
jstebbins [Mon, 1 Aug 2011 18:06:22 +0000 (18:06 +0000)]
add more audio passthru options
adds aac and mp3 passthru for mp4 and mkv containers
adds dts and dtshd for mp4 container (mkv already had it)
Note: The only player known (to me) to support dts(hd) in mp4 is ff/avplay

In LinGui there is a new option to limit which passthru codecs
will be used by the "Auto Passthru" audio codec options. The CLI
already has this ability with "--audio_copy-mask" which is use
in conjunction with the "copy" audio codec option.

Also corrects some A/V sync issues when video frames are dropped due to
a gap detected in the audio.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4149 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agobump Libav from git-v0.7b2-406-g7b20d35 to release 0.7.1
jstebbins [Mon, 1 Aug 2011 17:48:28 +0000 (17:48 +0000)]
bump Libav from git-v0.7b2-406-g7b20d35 to release 0.7.1
It includes the following fixes:
- MKV seek issue: http://git.libav.org/?p=libav.git;a=commit;h=c29c609
- crash when decoding corrupt MPEG-2 streams: http://git.libav.org/?p=libav.git;a=commit;h=20153fb
- other misc. fixes: http://git.libav.org/?p=libav.git;a=shortlog;h=refs/heads/release/0.7

It includes the following new feature:
- support for DTS in MP4 and MOV files: http://git.libav.org/?p=libav.git;a=commit;h=26f4875

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4148 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agolibhb: fix some log spam when scanning h.264 BDs
jstebbins [Mon, 1 Aug 2011 17:14:49 +0000 (17:14 +0000)]
libhb: fix some log spam when scanning h.264 BDs
Some residual data from the previous preview was being sent to the
decoder after a seek causing the decoder to complain.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4147 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agoWinGui: Temporary fix for the audio panel not accepting preset audio tracks due to...
sr55 [Sun, 31 Jul 2011 21:16:26 +0000 (21:16 +0000)]
WinGui: Temporary fix for the audio panel not accepting preset audio tracks due to the Automatic audio options overriding it. This is going to require a bit of thought for a full fix but should restore previous functionality.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4146 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agoWinGui: Usability Improvements on the Audio and Subtitle tabs.
sr55 [Sun, 31 Jul 2011 18:57:31 +0000 (18:57 +0000)]
WinGui: Usability Improvements on the Audio and Subtitle tabs.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4145 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agolibhb: fix an avcodec error check
jstebbins [Sat, 30 Jul 2011 00:39:41 +0000 (00:39 +0000)]
libhb: fix an avcodec error check
They changed the error value returned

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4144 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agoWinGui: Small fix to Max Width and Height settings from presets. Presets without...
sr55 [Thu, 28 Jul 2011 19:04:14 +0000 (19:04 +0000)]
WinGui: Small fix to Max Width and Height settings from presets. Presets without both Max width and height set may have a problem when changing source and may not always obey the max width or height.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4143 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agoMacGui: Widen the encoding progress bar to fit the widened main window ... duh.
dynaflash [Thu, 28 Jul 2011 16:03:50 +0000 (16:03 +0000)]
MacGui: Widen the encoding progress bar to fit the widened main window ... duh.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4142 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agolibhb: fix or simplify several hacks involved with Libav support
jstebbins [Wed, 27 Jul 2011 15:09:49 +0000 (15:09 +0000)]
libhb: fix or simplify several hacks involved with Libav support

For files that are demuxed by Libav, we must share the format context
with the decoder iso that it can obtain the codec context for each stream.
The code that did this was very convoluted and difficult to understand.
It is simplified by simply passing the context in hb_title_t.

Reader was closing stream files before the decoder was finished with the
context.  This created the need to delay the actual close and cache
the context.  Changed reader so it behaves more like the rest of handbrake's
work objects which lets us explicitly close after the decoders are finished.

Libav does some probing of the file when av_find_stream_info is called.
This probing leaves the format context in a bad state for some files and
causes subsequent reads or seeks to misbehave.  So open 2 contexts in
ffmpeg_open.  One is used only for probing, and the other only for reading.

decavcodec.c had 2 separate decoders for files demuxed by hb and files
demuxed by Libav.  They have been combined and simplified.

Previously, it was not possible to decode one source audio track multiple
times in order to fan it out to multiple output tracks if the file is
demuxed by Libav.  We were using the codec context from the format context.
Since there is only one of these for each stream, we could only do one
decode for each stream.  Use avcodec_copy_context to make copies of
the codec context and allow multiple decodes. This allows removal of
a lot of special case code for Libav streams that was necessary to
duplicate the output of the decoder.

Patch Libav's mkv demux to fix a seek problem.  This has been pushed
upstreams, so the next time we update Libav, we must remove this patch.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4141 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agoMin Duration now uses Seconds rather than ticks.
sr55 [Sun, 24 Jul 2011 20:32:13 +0000 (20:32 +0000)]
Min Duration now uses Seconds rather than ticks.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4140 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agoWinGui: Increase the max number on the Min scan length numeric control.
sr55 [Sun, 24 Jul 2011 20:29:17 +0000 (20:29 +0000)]
WinGui: Increase the max number on the Min scan length numeric control.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4139 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agoAdd DTS-HD and DRC to HandBrakeInterop. Update libhb audio structures. Fix test proje...
randomengy [Sun, 24 Jul 2011 19:04:13 +0000 (19:04 +0000)]
Add DTS-HD and DRC to HandBrakeInterop. Update libhb audio structures. Fix test project build failures.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4138 b64f7644-9d1e-0410-96f1-a4d463321fa5

13 years agoWinGui: Improvements and bug fixes to the installer, including better support for...
sr55 [Sun, 24 Jul 2011 18:26:11 +0000 (18:26 +0000)]
WinGui: Improvements and bug fixes to the installer, including better support for the 64bit version.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4137 b64f7644-9d1e-0410-96f1-a4d463321fa5