sr55 [Sat, 8 Oct 2011 15:13:45 +0000 (15:13 +0000)]
Interop: Add some models for upcoming x264 preset/tune/profile & audio encoder ffflac.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4271
b64f7644-9d1e-0410-96f1-
a4d463321fa5
randomengy [Sat, 8 Oct 2011 02:12:46 +0000 (02:12 +0000)]
Interop: Updating structs to keep up with libhb. Adding support for x264 profile/preset/tune and updating to use built in auto-passthrough.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4270
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Fri, 7 Oct 2011 23:17:15 +0000 (23:17 +0000)]
LinGui: change window type hint for popup windows
Fedora 16 does not put a close button on windows that have the dialog
hint. So change the hint to 'utility'.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4269
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Fri, 7 Oct 2011 23:17:09 +0000 (23:17 +0000)]
Check for negative stop times in subtitles
A subtitle may not have a stop time. Set it to something reasonable
when missing.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4268
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Fri, 7 Oct 2011 17:57:48 +0000 (17:57 +0000)]
WinGui: Rename Mixdown Passthru to None
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4267
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Wed, 5 Oct 2011 14:52:50 +0000 (14:52 +0000)]
LinGui: Add oneiric, remove karmic from nightlies
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4266
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Sun, 2 Oct 2011 21:28:45 +0000 (21:28 +0000)]
CLI: x264 preset, tuning, and profile support
New cli options --x264-preset, --x264-tune, and --x264-profile. x264
preset and tune are set first, followed by any custom x264 option string,
and finally the profile is applied.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4265
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Fri, 30 Sep 2011 22:52:29 +0000 (22:52 +0000)]
LinGui: fix some widget dependencies
When we added the audio tables that are now defining audio widget values
I missed updating dependencies that enable/disable widgets.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4264
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Fri, 30 Sep 2011 16:52:35 +0000 (16:52 +0000)]
handle PCR discontinuities better
The PCR comparison we were doing could cause us to drop all the
timestamps for an audio stream when the audio packets are very widely
spaced. Now, it detects PCR changes explicitely and only drops the
timestamps if a discontinuity PCR prior to the packets current PCR has
already been sent to the reader.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4263
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Thu, 29 Sep 2011 18:18:13 +0000 (18:18 +0000)]
log printable ascii with hexdumps
Provides similar output to 'hexdump -C' *nix command.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4262
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Wed, 28 Sep 2011 21:50:01 +0000 (21:50 +0000)]
bump x264 from r2074 to r2085
some small speed improvements and a couple bug fixes
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4261
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Tue, 27 Sep 2011 15:58:35 +0000 (15:58 +0000)]
fix a crash in HandBrakeCLI
When the audio tracks are omitted (no -a), the cli uses the first source
audio track and replicates it for each audio output codec. The way it
knows what to replicate is to look at audio->in.track for the last audio
that was added to the job. This track number was being copied from the
title's in.track. But title track numbers are not guaranteed to be
sequential (e.g. scan drops tracks it can't decode). So when adding an
audio to a job, set in.track to the value of in.track that is passed in
the audio_config structure passed to hb_audio_add.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4260
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Tue, 27 Sep 2011 00:48:35 +0000 (00:48 +0000)]
add utility function for doing hexdumps to log
I find myself re-writing a quick and dirty hexdump function far too
often when debugging. This will save some time in the future.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4259
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Tue, 27 Sep 2011 00:46:21 +0000 (00:46 +0000)]
LinGui: use monospace font for activity window
makes text align as better and improves readability.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4258
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Mon, 26 Sep 2011 21:00:52 +0000 (21:00 +0000)]
Extract common mcdeint code from decomb/deint
Extracts duplicated code from decomb.c and deinterlace.c and puts
it in a shared module. Fixes a bug that existed in the decomb
version of mcdeint_filter.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4257
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Mon, 26 Sep 2011 20:57:50 +0000 (20:57 +0000)]
WinGui: Some refactoring of code that throws exceptions.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4256
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Mon, 26 Sep 2011 20:52:19 +0000 (20:52 +0000)]
CLI: add loose cropping option
Adds --loose-crop option. Loose croping rounds up (or down) the crop
values to the specified mod so that scaling is not required. One
noteworthy efect of this is that both display aspect and pixel aspect in
the output will be exactly the same as the source when anamorphic is
enabled.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4255
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Mon, 26 Sep 2011 20:48:11 +0000 (20:48 +0000)]
handle TS streams that have no PCRs better
For TS streams that don't have PCRs, we substitute the DTS timestamp
from the video track (or PTS if we don't see DTS). But these can bounce
around or be wider spaced in the stream that PCRs are meant to be. So I
have added a test to see if the timestamp looks like a discontinuity.
Then I only pass the timestamp as a PCR if there appears to be a
discontinuity. This prevents a lot of scr_offset thrashing.
I have also fixed an error in our scr_offset processing. It is rarely
triggered and it's effects are so minor with well behaved streams that
it would be completely unnoticed. But with the test stream I was using,
it caused a factor of 10 times more "audio went backwards" errors.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4254
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Mon, 26 Sep 2011 20:39:24 +0000 (20:39 +0000)]
WinGui: Add a parameter-less constructor to the QueueManger
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4253
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Mon, 26 Sep 2011 20:37:46 +0000 (20:37 +0000)]
Fix for DVD's that have broken udf filenames
A new obfuscation technique it to add UDF-16 filenames that have junk in
the high byte and things like "VIDEO_TS.IFO" in the low byte.
libdvdread throws away the high byte which results in references to the
bogus copy of the file.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4252
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Sun, 25 Sep 2011 16:40:26 +0000 (16:40 +0000)]
WinGui: Added implementation of IWindsorInstaller to the AppServices library and updated the installers to use wildcards instead of hard coded files.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4251
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Sun, 25 Sep 2011 15:57:28 +0000 (15:57 +0000)]
WinGui: Couple of fixes and updates to the Plist parser.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4250
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Sat, 24 Sep 2011 22:39:50 +0000 (22:39 +0000)]
LinGui: oops, forgot to re-enable audio encoders
... after they had been disabled for any reason
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4249
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Sat, 24 Sep 2011 22:24:42 +0000 (22:24 +0000)]
LinGui: use hb_*_encoders table to disable options
Which encoders where active for which muxer was hard coded. Now it
relies on the information in the encoder tables.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4248
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Sat, 24 Sep 2011 22:15:17 +0000 (22:15 +0000)]
WinGui: Some further fixes to the preset code. Plist import fixes. (Still need to update the imported to work with new settings)
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4247
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Sat, 24 Sep 2011 21:52:17 +0000 (21:52 +0000)]
WinGui: Some bug fixes and re-factoring of the preset code.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4246
b64f7644-9d1e-0410-96f1-
a4d463321fa5
sr55 [Sat, 24 Sep 2011 19:38:44 +0000 (19:38 +0000)]
Update Growl to 1.2.2
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4245
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Sat, 24 Sep 2011 18:42:05 +0000 (18:42 +0000)]
Fix parsing of SSA layer field
SSA subtitles have an empty layer field (bare ','). The
scanf format specifier "%*128[^,]" will not match on a
bare ','. There must be at least one non ',' character in
the match. So the format specifier is placed directly next
to the 'Dialogue:' string so that the next expected ' '
after the ':' will be the character it matches on when
there is no layer field.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4244
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Sat, 24 Sep 2011 06:01:38 +0000 (06:01 +0000)]
fix silly patch error
i let part of another patch leak in
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4243
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Sat, 24 Sep 2011 01:16:28 +0000 (01:16 +0000)]
fix framerate detection for AVCHD-Lite
The AVCHD-Lite specification only supports 50 or 60 fps. So to get
25 or 30 fps, they double every frame using repeat flags. Detect
this and adjust the framerate accordingly.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4242
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Fri, 23 Sep 2011 21:18:40 +0000 (21:18 +0000)]
LinGui: remember filter setting in source selection dialog
I was resetting it every time the dialog is opened which is annoying
if you are trying to open a collection of a single file type (e.g. TS
files).
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4241
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Tue, 20 Sep 2011 16:14:26 +0000 (16:14 +0000)]
LinGui: tweak to loose crop
I like how Yeasah ensures that top and left crop will be even pixel
aligned in his cli patch. Do the same for the lingui. This ensures
that even if the input crop values are not even pixel aligned, the
result will be.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4240
b64f7644-9d1e-0410-96f1-
a4d463321fa5
jstebbins [Mon, 19 Sep 2011 23:19:30 +0000 (23:19 +0000)]
Force title dimensions to be even
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
Rodeo [Mon, 19 Sep 2011 21:51:00 +0000 (21:51 +0000)]
MacGui: since Auto Passthru isn't enabled yet, we still need to fall back to 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
Rodeo [Mon, 19 Sep 2011 21:15:01 +0000 (21:15 +0000)]
libhb: Auto Passthru and audio/video encoder lists.
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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