]> granicus.if.org Git - handbrake/log
handbrake
11 years agomanicure: support new mixdowns added before 0.9.9.
Rodeo [Tue, 4 Jun 2013 21:21:13 +0000 (21:21 +0000)]
manicure: support new mixdowns added before 0.9.9.

Also, use "none" as the "None" mixdown; this is the name expected by libhb.

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

11 years agohb_video_encoders: cosmetics.
Rodeo [Mon, 3 Jun 2013 22:37:08 +0000 (22:37 +0000)]
hb_video_encoders: cosmetics.

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

11 years agolibhb/common: improve fallback mechanism.
Rodeo [Mon, 3 Jun 2013 15:37:38 +0000 (15:37 +0000)]
libhb/common: improve fallback mechanism.

API changes:

- added hb_global_init(), must be called before any other libhb function

- removed (somewhat pointless) hb_mixdown_t.internal_name

- some hb_*_get_from_name() functions now return 0 instead of -1.

Instead of hardcoded fallbacks, list items now have a specific fallback, and a generic ID for when the specific fallback is unavailable.

Encoder availability is checked at runtime (hb_global_init calling hb_common_global_init) and the item's value/fallback is sanity-checked and updated if necessary.

See https://reviews.handbrake.fr/r/506/ for more detailed information.

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

11 years agoWinGui: Put Lower / Placebo Quality (Higher quality for non x264) markers under the...
sr55 [Sun, 2 Jun 2013 17:20:04 +0000 (17:20 +0000)]
WinGui: Put Lower / Placebo Quality (Higher quality for non x264) markers under the quality slider.

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

11 years agoWinGui: Some usability improvements around presets. Also trying out a "Hide Presets...
sr55 [Sun, 2 Jun 2013 17:02:42 +0000 (17:02 +0000)]
WinGui: Some usability improvements around presets. Also trying out a "Hide Presets Panel" option similar to that of the macgui.

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

11 years agoMacGUI: Patch -Replace some deprecated API Calls https://reviews.handbrake.fr/r/504/
sr55 [Sat, 1 Jun 2013 21:39:49 +0000 (21:39 +0000)]
MacGUI: Patch -Replace some deprecated API Calls https://reviews.handbrake.fr/r/504/

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

11 years agoWinGui: Added option to AutoName functionality to remove common punctuation from...
sr55 [Sat, 1 Jun 2013 21:28:05 +0000 (21:28 +0000)]
WinGui: Added option to AutoName functionality to remove common punctuation from filenames (Comma, Period and Dash)

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

11 years agoWinGui: Don't crash if a corrupted source file causes the duration to be mis-detecte...
sr55 [Sat, 1 Jun 2013 15:06:46 +0000 (15:06 +0000)]
WinGui:  Don't crash if a corrupted source file causes the duration to be mis-detected. Note, in this case duration of the title / chapters will show as 00:00:00 and no chapters may display.

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

11 years agoWinGui: Change the Add button on the Audio/Subtitle tabs to DropButtons to better...
sr55 [Sat, 1 Jun 2013 14:21:10 +0000 (14:21 +0000)]
WinGui: Change the Add button on the Audio/Subtitle tabs to DropButtons to better expose the add options.

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

11 years agoWinGui: Add support for the 24bit flac encoder.
sr55 [Sat, 1 Jun 2013 13:00:11 +0000 (13:00 +0000)]
WinGui: Add support for the 24bit flac encoder.

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

11 years agocropscale: fix initial value of output width/height
jstebbins [Fri, 31 May 2013 15:35:28 +0000 (15:35 +0000)]
cropscale: fix initial value of output width/height
Since all the frontends specifiy all parameters to the cropscale filter,
this really has no effect.  But it was incorrect...

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

11 years agolibhb: fix problem with logging of crop/scale settings
jstebbins [Fri, 31 May 2013 15:30:20 +0000 (15:30 +0000)]
libhb: fix problem with logging of crop/scale settings

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

11 years agoLinGui: remove oneiric from nightly builds
jstebbins [Fri, 31 May 2013 14:52:22 +0000 (14:52 +0000)]
LinGui: remove oneiric from nightly builds
Launchpad says: Rejected: oneiric is obsolete and will not accept new uploads.

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

11 years agohb_display_job_info: improve formatting of start and stop times.
Rodeo [Thu, 30 May 2013 20:35:16 +0000 (20:35 +0000)]
hb_display_job_info: improve formatting of start and stop times.

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

11 years agoChange AssemblyInfo.cs.tmpl 0.9.9.1
sr55 [Thu, 30 May 2013 18:41:23 +0000 (18:41 +0000)]
Change AssemblyInfo.cs.tmpl

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

11 years agoWinGui: Temp workaround for iPod preset.
sr55 [Thu, 30 May 2013 18:39:56 +0000 (18:39 +0000)]
WinGui: Temp workaround for iPod preset.

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

11 years agoPrep for patch release.
sr55 [Thu, 30 May 2013 18:29:22 +0000 (18:29 +0000)]
Prep for patch release.

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

11 years agoDon't expose rate, mixdown, dither and encoder arrays to the UIs.
Rodeo [Thu, 30 May 2013 13:57:37 +0000 (13:57 +0000)]
Don't expose rate, mixdown, dither and encoder arrays to the UIs.

- instead, make these lists available through enumerators:
--> hb_*_get_next(<type> *last);

- this should give us more flexibility to populate the lists at runtime, using the implementation(s) of our choice, whether they use arrays or not, without requiring UI modifications

- use consistent naming for getters
--> hb_get_best_foo() becomes hb_foo_get_best(), and so on

- hb_*_get_from_name() and hb_*_ sanitize_name() sanitize the requested value to a supported one if it's unavailable

- adds an additional, passthru-specific fallback mechanism

- adds a list of video containers

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

11 years agoWinGui: Picture Settings Tab and Preset Behaviours changed to be consistent with...
sr55 [Wed, 29 May 2013 20:32:25 +0000 (20:32 +0000)]
WinGui: Picture Settings Tab and Preset Behaviours changed to be consistent with the macgui.

- None:
Nothing will happen to the W/H/KeepAR when changing preset.
Changing Title or source will change the Width to the source width and turn Keep AR on.

- Custom
Changing preset will change the resolution to be no more than what the Max W and H were set to. Keep AR flag will be honour'd, so if it's turned off, the output AR could be incorrect.
Set the W/H to a large number for the equiv of No Limit.

- Source Max
Same idea as custom, but limited to the resolution of the current source instead of a custom W/H

This now means that importing a mac or linux preset provides consistent behaviour.

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

11 years agoWinGui: Use ISO639-2 Codes rather than language names for auto language selection
sr55 [Wed, 29 May 2013 17:31:58 +0000 (17:31 +0000)]
WinGui: Use ISO639-2 Codes rather than language names for auto language selection

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

11 years agoWinGui: Fix a potential crash in the options window for clearing log files if the...
sr55 [Wed, 29 May 2013 16:56:49 +0000 (16:56 +0000)]
WinGui: Fix a potential crash in the options window for clearing log files if the logs are currently in use.

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

11 years agoMake initialization of vfr filter work as I intended.
jstebbins [Tue, 28 May 2013 18:20:43 +0000 (18:20 +0000)]
Make initialization of vfr filter work as I intended.

Also fix signalling of framerate in output file when PFR is used.

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

11 years agoWinGui: Continuation of previous fix to the queue event handling.
sr55 [Mon, 27 May 2013 18:28:54 +0000 (18:28 +0000)]
WinGui: Continuation of previous fix to the queue event handling.

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

11 years agoWinGui: Fix an option in prefs that wasn't reloading
sr55 [Mon, 27 May 2013 18:19:55 +0000 (18:19 +0000)]
WinGui: Fix an option in prefs that wasn't reloading

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

11 years agoWinGui: Add an attached property to the source menu to handle drive detection rather...
sr55 [Sun, 26 May 2013 16:11:55 +0000 (16:11 +0000)]
WinGui: Add an attached property to the source menu to handle drive detection rather than relying on callbacks from the OS.

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

11 years agoWinGui: Disable End point affecting the start point for anything other than chapters.
sr55 [Sun, 26 May 2013 11:56:37 +0000 (11:56 +0000)]
WinGui: Disable End point affecting the start point for anything other than chapters.

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

11 years agoWinGui: Add Clear buttons back to the Audio/Subs tabs.
sr55 [Sat, 25 May 2013 15:35:29 +0000 (15:35 +0000)]
WinGui: Add Clear buttons back to the Audio/Subs tabs.

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

11 years agoWinGui: Attempt 2 at fixing text overlap and fixed lossless warning label not appearing.
sr55 [Sat, 25 May 2013 15:28:11 +0000 (15:28 +0000)]
WinGui: Attempt 2 at fixing text overlap and fixed lossless warning label not appearing.

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

11 years agoWinGui: Add some margin to prevent help prevent overlapping of CQ value and RF/CQ...
sr55 [Sat, 25 May 2013 15:23:54 +0000 (15:23 +0000)]
WinGui: Add some margin to prevent help prevent overlapping of CQ value and RF/CQ label.

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

11 years agoWinGui: Refactor the Presets Picture Size handling to make it a bit clearer what...
sr55 [Sat, 25 May 2013 15:22:10 +0000 (15:22 +0000)]
WinGui: Refactor the Presets Picture Size handling to make it a bit clearer what's actually happening.

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

11 years agoWinGui: End Point can not be greater than Start and vice versa for the chapters dropd...
sr55 [Sat, 25 May 2013 12:09:50 +0000 (12:09 +0000)]
WinGui: End Point can not be greater than Start and vice versa for the chapters dropdowns.

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

11 years agoWinGui: Some usability improvements and bug fixes around the queue window.
sr55 [Fri, 24 May 2013 19:13:09 +0000 (19:13 +0000)]
WinGui: Some usability improvements and bug fixes around the queue window.

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

11 years agoWinGui: Redesign the tooltip for the Queue items to show Source and Destination full...
sr55 [Fri, 24 May 2013 18:41:44 +0000 (18:41 +0000)]
WinGui: Redesign the tooltip for the Queue items to show Source and Destination full path. Also increase the default timeout to 10 seconds.

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

11 years agoWinGui: Add a warning about user presets not being updated until such time that we...
sr55 [Fri, 24 May 2013 18:12:40 +0000 (18:12 +0000)]
WinGui: Add a warning about user presets not being updated until such time that we handle this scenario better.

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

11 years agoWinGui: Fix Queue Job display count not refreshing after the window is closed and...
sr55 [Fri, 24 May 2013 17:56:41 +0000 (17:56 +0000)]
WinGui: Fix Queue Job display count not refreshing after the window is closed and re-opened.

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

11 years agoWinGui: Fix AutoName when no {title} tag is set.
sr55 [Fri, 24 May 2013 17:53:50 +0000 (17:53 +0000)]
WinGui: Fix AutoName when no {title} tag is set.

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

11 years agolibhb: fix hb_vfr_info() and refactor hb_vfr_init() a bit.
Rodeo [Wed, 22 May 2013 20:16:20 +0000 (20:16 +0000)]
libhb: fix hb_vfr_info() and refactor hb_vfr_init() a bit.

Since SVN revision 5058, hb_vfr_init didn't have access to title->rate, rate_base - which are needed to set the input framerate for CFR/PFR. It was therefore printing the output framerate in both cases, regardless of the input framerate:

[22:13:04]    + frame rate: 23.976 fps -> constant 30.000 fps
[22:13:04]    + filters
[22:13:04]      + Framerate Shaper (1:27000000:900000)
[22:13:04]        + frame rate: 30.000 fps -> constant 30.000 fps

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

11 years agoWinGui: Make the AutoNaming feature less trigger happy. It should not run for cases...
sr55 [Wed, 22 May 2013 19:03:53 +0000 (19:03 +0000)]
WinGui: Make the AutoNaming feature less trigger happy. It should not run for cases where it's not going to change the underlying filename.

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

11 years agoWinGui: Adding missing x264UseAdvancedOptions Key. Allow the Queue window to be...
sr55 [Wed, 22 May 2013 18:53:35 +0000 (18:53 +0000)]
WinGui: Adding missing x264UseAdvancedOptions Key.  Allow the Queue window to be resized.

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

11 years agoWinGui: Change the CLI Helper to use the application startup path rather than the...
sr55 [Sun, 19 May 2013 21:03:09 +0000 (21:03 +0000)]
WinGui: Change the CLI Helper to use the application startup path rather than the search path when looking for the CLI exe. Apparently OpenWith on windows causes the search path to be different.

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

11 years agoWinGui: Some additional work on my prototype batch add to queue feature.
sr55 [Sun, 19 May 2013 17:41:51 +0000 (17:41 +0000)]
WinGui: Some additional work on my prototype batch add to queue feature.

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

11 years agoWinGui: Rectored some Encode/Queue service code. This restoes "Quit HandBrake" when...
sr55 [Sun, 19 May 2013 16:49:50 +0000 (16:49 +0000)]
WinGui: Rectored some Encode/Queue service code. This restoes "Quit HandBrake" when done option.

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

11 years agoWinGui: Fix build script
sr55 [Sat, 18 May 2013 11:35:57 +0000 (11:35 +0000)]
WinGui: Fix build script

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

11 years agoWinGui: Fix typo
sr55 [Sat, 18 May 2013 09:42:36 +0000 (09:42 +0000)]
WinGui: Fix typo

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

11 years agox264: hardcode the version string so that the full and correct x264 version is used...
Rodeo [Fri, 17 May 2013 17:01:44 +0000 (17:01 +0000)]
x264: hardcode the version string so that the full and correct x264 version is used in encoder/set.c, regardless of the tarball (full git repo vs. git archive) or where HandBrake is built from (source tarball vs. svn or git checkout).

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

11 years agosync: fall back to drop_video_to_sync when hb_avcodec_open() fails, instesd of killin...
Rodeo [Fri, 17 May 2013 16:09:54 +0000 (16:09 +0000)]
sync: fall back to drop_video_to_sync when hb_avcodec_open() fails, instesd of killing the job.

Patch by John Stebbins. Thanks!

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

11 years agodecsrtsub: clear remnants of the previous line before progessing a new one.
Rodeo [Tue, 14 May 2013 20:19:48 +0000 (20:19 +0000)]
decsrtsub: clear remnants of the previous line before progessing a new one.

I don't really understand why, but this prevents miscellaneous subtitle corruption.

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

11 years agoBump Libav to v9.6.
Rodeo [Mon, 13 May 2013 00:49:46 +0000 (00:49 +0000)]
Bump Libav to v9.6.

Miscellaneous security and bug fixes, including support for mixed interlaced/non-interlaced ProRes video.

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

11 years agoMacGui: stop before the last ("None") subtitle track when converting incompatible...
Rodeo [Sun, 12 May 2013 21:49:54 +0000 (21:49 +0000)]
MacGui: stop before the last ("None") subtitle track when converting incompatible tracks to burn-in.

We were calling [[tempObject objectForKey:@"subtitleSourceTrackType"] intValue], so for "None", [nil intValue], which was returning 0. As it turns out, VOBSUB == 0 thus hb_subtitle_can_pass() was true out of sheer luck.

In a case where e.g. hb_subtitle_can_pass(VOBSUB, mux) is false (such as with the upcoming HB_MUX_AV_MP4 muxer), the None track would actually be deleted!

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

11 years agoMacGui: fix a bug where the iPod 5G checkbox would be disabled for x264 in MP4.
Rodeo [Sun, 12 May 2013 20:38:45 +0000 (20:38 +0000)]
MacGui: fix a bug where the iPod 5G checkbox would be disabled for x264 in MP4.

This would happen when switching from MKV with a Theora encoder to MP4: the encoder would be reset to x264, but we failed to detect the change of encoder and therefore didn't call videoEncoderPopUpChanged.

Also, don't needlessly call twoPassCheckboxChanged after videoEncoderPopUpChanged since the latter calls the former.

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

11 years agoMacGui: refactor handling on chapter titles.
Rodeo [Sat, 11 May 2013 19:38:49 +0000 (19:38 +0000)]
MacGui: refactor handling on chapter titles.

job->list_chapters is reset by any call to hb_job_reset(), so store chapter titles in an NSArray instead.

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

11 years agoWinGui: Fix a number of cosmetic issues and a bug with the Check for updates dropdown...
sr55 [Sat, 11 May 2013 12:45:45 +0000 (12:45 +0000)]
WinGui: Fix a number of cosmetic issues and a bug with the Check for updates dropdown on a clean system.

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

11 years agoLinGui: fix a problem with batch enqueue
jstebbins [Fri, 10 May 2013 17:16:07 +0000 (17:16 +0000)]
LinGui: fix a problem with batch enqueue

The current chapter start/end was applied to all titles.  So if the
currently selected title has fewer chapters than other titles, chapters
would be missing in the encoded titles.

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

11 years agoLinGui: Fix a bug in audio panel
jstebbins [Thu, 9 May 2013 16:15:39 +0000 (16:15 +0000)]
LinGui: Fix a bug in audio panel
When changing the output track selection, the available bitrates and
mixdowns did not update properly.

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

11 years agoImprove upon previous commit.
Rodeo [Wed, 8 May 2013 22:02:05 +0000 (22:02 +0000)]
Improve upon previous commit.

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

11 years agodecsrtsub: rework character substitution logic.
Rodeo [Wed, 8 May 2013 21:51:00 +0000 (21:51 +0000)]
decsrtsub: rework character substitution logic.

Don't pointlessly convert a line break to a space if it's the last character.

Also, only skip a CR character if it's followed by an LF character. Otherwise, replace it with an LF character or a space, depending on the line number.

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

11 years agoCLI: fix broken code for preserving libhb's default muxer.
Rodeo [Wed, 8 May 2013 17:49:17 +0000 (17:49 +0000)]
CLI: fix broken code for preserving libhb's default muxer.

It was checking if (job->mux) instead of if (mux)…

Also move setting the muxer and muxer options earlier, as we need to know the final muxer when e.g. setting audio settings.

Also, don't set the default audio codec before we have all relevant information.

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

12 years agomuxmkv: fix audio track private data for 24-bit FLAC.
Rodeo [Sun, 5 May 2013 01:54:42 +0000 (01:54 +0000)]
muxmkv: fix audio track private data for 24-bit FLAC.

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

12 years agoLinGui: Fix live preview reset for previews > 10
jstebbins [Fri, 3 May 2013 20:37:47 +0000 (20:37 +0000)]
LinGui: Fix live preview reset for previews > 10

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

12 years agoLinGui: fix live preview "encoded" array size.
jstebbins [Fri, 3 May 2013 16:57:32 +0000 (16:57 +0000)]
LinGui: fix live preview "encoded" array size.
Forgot to bump this when we increased max preview count to 60.

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

12 years agoFix typo in previous commit.
Rodeo [Tue, 30 Apr 2013 23:32:31 +0000 (23:32 +0000)]
Fix typo in previous commit.

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

12 years agoCLI: minor help text updates in preparation for the next release.
Rodeo [Tue, 30 Apr 2013 23:22:45 +0000 (23:22 +0000)]
CLI: minor help text updates in preparation for the next release.

Remove some outdated comments, simplify and clarify a bit.

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

12 years agocontrib: patch libbluray to fix "duplicate" filter
jstebbins [Tue, 30 Apr 2013 22:56:34 +0000 (22:56 +0000)]
contrib: patch libbluray to fix "duplicate" filter
Titles with the same video clips but different stream lists got marked
as duplicate.  Caused valid titles to be filtered out.
Example: Frankenweenie

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

12 years agolibhb: fix crash when EOF is found before first video frame
jstebbins [Tue, 30 Apr 2013 18:35:05 +0000 (18:35 +0000)]
libhb: fix crash when EOF is found before first video frame
buffer got closed twice, once in sync close and once in muxer.

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

12 years agoWinGui: Fix a reset issue on the log window.
sr55 [Tue, 30 Apr 2013 17:39:42 +0000 (17:39 +0000)]
WinGui: Fix a reset issue on the log window.

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

12 years agoWinGui: Fix build
sr55 [Mon, 29 Apr 2013 17:52:43 +0000 (17:52 +0000)]
WinGui: Fix build

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

12 years agoWinGui: Fix Lock System action and hide the quit handbrake option from when done...
sr55 [Mon, 29 Apr 2013 17:46:38 +0000 (17:46 +0000)]
WinGui: Fix Lock System action and hide the quit handbrake option from when done actions.  Quit will return after the release. Won't fix now due to required re factoring work to fix it.

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

12 years agoRefactor add_ffmpeg_audio.
Rodeo [Sun, 28 Apr 2013 21:39:48 +0000 (21:39 +0000)]
Refactor add_ffmpeg_audio.

Simplify, set bitrate to 0 - scan will then call decavcodecaBSInfo,
decode some audio and set the other input parameters, including samples_per_frame.

decavcodec and scan fixes by John Stebbins. Thanks!

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

12 years agosync: fix a hang when the avcodec encoder for silence insertion fails to open.
Rodeo [Sun, 28 Apr 2013 21:13:47 +0000 (21:13 +0000)]
sync: fix a hang when the avcodec encoder for silence insertion fails to open.

This affects e.g. AAC Passthru with more than 6 channels.

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

12 years agoMacGui: harmonize audio configuration code in prepareJob and prepareAudioForJob.
Rodeo [Sun, 28 Apr 2013 21:05:55 +0000 (21:05 +0000)]
MacGui: harmonize audio configuration code in prepareJob and prepareAudioForJob.

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

12 years agoFix log pollution when Auto Passthru is not possible and uses the fallback audio...
Rodeo [Sun, 28 Apr 2013 20:38:20 +0000 (20:38 +0000)]
Fix log pollution when Auto Passthru is not possible and uses the fallback audio encoder, if that encoder does not accept s16(p) input samples.

"work: track 1, dithering not supported by codec"

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

12 years agohb_get_best_mixdown: fix out-of-array reads.
Rodeo [Sun, 28 Apr 2013 20:33:22 +0000 (20:33 +0000)]
hb_get_best_mixdown: fix out-of-array reads.

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

12 years agoBump VPoint to 9
sr55 [Sun, 28 Apr 2013 16:05:09 +0000 (16:05 +0000)]
Bump VPoint to 9

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

12 years agoMacGui: bugfix: set video framerate mode (vfr, pfr, cfr) when editing queue items.
Rodeo [Sun, 28 Apr 2013 12:42:53 +0000 (12:42 +0000)]
MacGui: bugfix: set video framerate mode (vfr, pfr, cfr) when editing queue items.

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

12 years agoTidy up and corrections to the NEWS file.
sr55 [Sat, 27 Apr 2013 13:12:42 +0000 (13:12 +0000)]
Tidy up and corrections to the NEWS file.

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

12 years agomuxmp4: update MP4AddAudioTrack usage as per mp4v2 documentation.
Rodeo [Sat, 27 Apr 2013 02:33:47 +0000 (02:33 +0000)]
muxmp4: update MP4AddAudioTrack usage as per mp4v2 documentation.

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

12 years agoWinGui: Quick fix to the preset export cancel option.
sr55 [Fri, 26 Apr 2013 19:57:57 +0000 (19:57 +0000)]
WinGui: Quick fix to the preset export cancel option.

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

12 years agoWinGui: Change the Audio Automatic behaviour to be a bit more sane. When Add All...
sr55 [Fri, 26 Apr 2013 17:16:44 +0000 (17:16 +0000)]
WinGui: Change the Audio Automatic behaviour to be a bit more sane.  When Add All Remaining/Selected is turned on, changing title will now clear down first, then add the preset tracks with the preferred language, then add the remaining after with default settings.

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

12 years agoLinGui: Add Ubuntu 13.04 (Raring Ringtail) to nightly builds
jstebbins [Thu, 25 Apr 2013 22:10:22 +0000 (22:10 +0000)]
LinGui: Add Ubuntu 13.04 (Raring Ringtail) to nightly builds
Remove Ubuntu 11.04 (Natty Narwhal) from nightlies.

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

12 years agowork: pass the crop settings to the subtitle renderer when adding it to the flter...
Rodeo [Wed, 24 Apr 2013 19:56:47 +0000 (19:56 +0000)]
work: pass the crop settings to the subtitle renderer when adding it to the flter chain.

Fixes an issue where subtitles would not be re-positioned and be cut off.

Fix by John Stebbins.

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

12 years agoDisable Libav's AVX and FMA4 optimizations under Windows x86_64.
Rodeo [Wed, 24 Apr 2013 19:11:35 +0000 (19:11 +0000)]
Disable Libav's AVX and FMA4 optimizations under Windows x86_64.

They cause crashes in avresample.

SSE* optimizations are still enabled, so the performance hit should be pretty minimal.

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

12 years agomuxmp4: compute audio frame durations when the frame size isn't known.
Rodeo [Wed, 24 Apr 2013 17:43:24 +0000 (17:43 +0000)]
muxmp4: compute audio frame durations when the frame size isn't known.

Otherwise, mp4v2 would assume a duration of zero and never write any audio chunk, causing excessive memory usage and a noticeable performance decrease in some cases.

The issue was introduced in SVN revision 4825, when libavcodec stopped setting AVCodecContext.frame_size for some codecs.

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

12 years agoWinGui: Disable Custom Anamorphic calculations (Will implement these via libhb after...
sr55 [Sun, 21 Apr 2013 14:49:48 +0000 (14:49 +0000)]
WinGui: Disable Custom Anamorphic calculations (Will implement these via libhb after the next release) but leave the options as passthru only.  Hide the Keep AR checkbox when it's not applicable.

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

12 years agoWinGui: Added some additional sanity checking around preset import/export code.
sr55 [Sun, 21 Apr 2013 14:28:52 +0000 (14:28 +0000)]
WinGui: Added some additional sanity checking around preset import/export code.

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

12 years agoMacGui: Bump year to 2013
sr55 [Sun, 21 Apr 2013 13:51:46 +0000 (13:51 +0000)]
MacGui: Bump year to 2013

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

12 years agoAttempt to fix SymLinks
sr55 [Sat, 20 Apr 2013 13:38:11 +0000 (13:38 +0000)]
Attempt to fix SymLinks

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

12 years agoMacGui: Bump the Growl SDK to 2.0.1 bringing notification centre support for those...
sr55 [Sat, 20 Apr 2013 13:24:15 +0000 (13:24 +0000)]
MacGui: Bump the Growl SDK to 2.0.1 bringing notification centre support for those not running the growl application.

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

12 years agoCLI: improve help for video filters.
Rodeo [Fri, 12 Apr 2013 21:17:25 +0000 (21:17 +0000)]
CLI: improve help for video filters.

Includes mention of the new "bob" mode for decomb and deinterlace.

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

12 years agoWinGui: Fix the Preset exporter. (VideoFramerateMode was missing)
sr55 [Fri, 12 Apr 2013 20:25:05 +0000 (20:25 +0000)]
WinGui: Fix the Preset exporter. (VideoFramerateMode was missing)

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

12 years agoMacGui: simplify queue display code.
Rodeo [Fri, 12 Apr 2013 20:14:05 +0000 (20:14 +0000)]
MacGui: simplify queue display code.

Add detailed summaries to the queue item dictionary and use them in HBQueueController.
This helps remove a lot of duplicate logic.

Uses existing methods pictureSettingsSummary, pictureFiltersSummary and new muxerOptionsSummary.

Also add a few height rows for long lines that often wrap to a second row.

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

12 years agoWinGui: Fix the x264 preset/tune/profile tooltip so that it now shows the equivalent...
sr55 [Fri, 12 Apr 2013 20:07:08 +0000 (20:07 +0000)]
WinGui: Fix the x264 preset/tune/profile tooltip so that it now shows the equivalent x264 query. Also added an option to disable libhb features such as this incase this turns out to be problematic.

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

12 years agoWinGui: Fix Modulus option in preset import.
sr55 [Fri, 12 Apr 2013 19:16:18 +0000 (19:16 +0000)]
WinGui: Fix Modulus option in preset import.

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

12 years agoMacGui: main and queue window improvements.
Rodeo [Fri, 12 Apr 2013 19:06:06 +0000 (19:06 +0000)]
MacGui: main and queue window improvements.

Merge fPictureSizeField and fPictureCroppingField into fPictureSettingsField (fits on a single line).

Rename fVideoFiltersField to fPictureFiltersField.

Move the two text fields closer to each other now that there is more room.
Also align their contents using tabs.
This should look better overall.

Add pictureSettingsSummary and pictureFiltersSummary to generate the text summaries used in the fields above.

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

12 years agoMacGui: don't mention grayscale twice in the queue display.
Rodeo [Fri, 12 Apr 2013 18:55:41 +0000 (18:55 +0000)]
MacGui: don't mention grayscale twice in the queue display.

Since it's mentioned in the filter summary, we don't need to repeat it in the picture summary.

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

12 years agoMacGui: rename a variable.
Rodeo [Fri, 12 Apr 2013 14:58:19 +0000 (14:58 +0000)]
MacGui: rename a variable.

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

12 years agoMacGui: fix loading preset which specify an advanced options string (rather than...
Rodeo [Fri, 12 Apr 2013 14:06:32 +0000 (14:06 +0000)]
MacGui: fix loading preset which specify an advanced options string (rather than using the x264 preset system).

Also miscellaneous cleanup and improvement.

The issue was introduced in SVN revision 5388.

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

12 years agoMacGui: widen the preview window's HUD display by 10 pixels.
Rodeo [Wed, 10 Apr 2013 19:34:02 +0000 (19:34 +0000)]
MacGui: widen the preview window's HUD display by 10 pixels.

The info string "Source: 1920x1080, Output: 1920x1080, Anamorphic: 1920x1080 Custom" was being wrapped.

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

12 years agodecssasub, dectx3gsub: fix writing past hb_buffer_t data[size - 1].
Rodeo [Wed, 10 Apr 2013 12:56:31 +0000 (12:56 +0000)]
decssasub, dectx3gsub: fix writing past hb_buffer_t data[size - 1].

This is not safe and causes subtitle corruption.

Same fix as SVN revision 5346 for the remaining text-based subtitle deocders.

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

12 years agoUpdate Mac build instructions.
Rodeo [Tue, 9 Apr 2013 15:37:39 +0000 (15:37 +0000)]
Update Mac build instructions.

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

12 years agoMacGui: when switching from the x264 system to the advanced panel, populate the advan...
Rodeo [Tue, 9 Apr 2013 12:21:38 +0000 (12:21 +0000)]
MacGui: when switching from the x264 system to the advanced panel, populate the advanced panel's options string with the unparsed x264 system options.

Also, don't reset the x264 system widgets, so that the x264 system settings are not lost when switching back.

When loading a preset whic uses the advanced panel, do reset the x264 system widgets, however.

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