]> granicus.if.org Git - handbrake/log
handbrake
10 years agoMacGui: set the import/export chapters buttons size to small in an effort to use...
ritsuka [Sat, 2 Aug 2014 16:18:20 +0000 (16:18 +0000)]
MacGui: set the import/export chapters buttons size to small in an effort to use the same button size in the whole app (and the mini size on Yosemite is hard to read)

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

10 years agoMacGui: add drag & drop to rearrange languages in the subtitles default panel.
ritsuka [Sat, 2 Aug 2014 16:14:16 +0000 (16:14 +0000)]
MacGui: add drag & drop to rearrange languages in the subtitles default panel.

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

10 years agoWinGui: Force 2dp on Preview %
sr55 [Sat, 2 Aug 2014 15:48:55 +0000 (15:48 +0000)]
WinGui: Force 2dp on Preview %

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

10 years agoWinGui: Fix a styling issue on the preview window. Disable libhb encode for the...
sr55 [Sat, 2 Aug 2014 15:18:50 +0000 (15:18 +0000)]
WinGui:  Fix a styling issue on the preview window.  Disable libhb encode for the upcoming release so that users don't inadvertently turn it on.  Made the new preview window an optional setting, off by default as it's a Alpha feature. (See Preferences)

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

10 years agoMacGui: upgrade more xib files to the latest version.
ritsuka [Sat, 2 Aug 2014 08:26:00 +0000 (08:26 +0000)]
MacGui: upgrade more xib files to the latest version.

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

10 years agoMacGui: corrected the label alignment in the add preset window.
ritsuka [Fri, 1 Aug 2014 07:34:50 +0000 (07:34 +0000)]
MacGui: corrected the label alignment in the add preset window.

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

10 years agoMacGui: added some tooltips to the subtitles defaults window and made the defaults...
ritsuka [Fri, 1 Aug 2014 07:10:58 +0000 (07:10 +0000)]
MacGui: added some tooltips to the subtitles defaults window and made the defaults buttons in the subtitles tab more visible.

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

10 years agoMacGui: removed another duplicated method to get the Application Support path.
ritsuka [Thu, 31 Jul 2014 17:11:14 +0000 (17:11 +0000)]
MacGui: removed another duplicated method to get the Application Support path.

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

10 years agoMacGui: remove the DiskArbitration framework from the Xcode project and the MACOSX_DE...
ritsuka [Thu, 31 Jul 2014 17:02:24 +0000 (17:02 +0000)]
MacGui: remove the DiskArbitration framework from the Xcode project and the MACOSX_DEPLOYMENT_TARGET setting.

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

10 years agoMacGui: fixed a memory leak.
ritsuka [Thu, 31 Jul 2014 12:01:56 +0000 (12:01 +0000)]
MacGui: fixed a memory leak.

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

10 years agoMacGui: use the native language if available in the subtitles table and languages...
ritsuka [Thu, 31 Jul 2014 11:59:14 +0000 (11:59 +0000)]
MacGui: use the native language if available in the subtitles table and languages selection table.

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

10 years agofix comment in isIframe()
jstebbins [Wed, 30 Jul 2014 22:09:44 +0000 (22:09 +0000)]
fix comment in isIframe()

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

10 years agolibhb: add i-frame detection for mpeg4 ts/ps streams
jstebbins [Wed, 30 Jul 2014 22:08:34 +0000 (22:08 +0000)]
libhb: add i-frame detection for mpeg4 ts/ps streams

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

10 years agolibhb: fix potential seg fault in hb_hexdump
jstebbins [Wed, 30 Jul 2014 22:06:08 +0000 (22:06 +0000)]
libhb: fix potential seg fault in hb_hexdump

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

10 years agoLinGui: protect against failure to get preview image
jstebbins [Wed, 30 Jul 2014 18:54:46 +0000 (18:54 +0000)]
LinGui: protect against failure to get preview image

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

10 years agoMacGui: check if the image returned by hb_get_preview2 is null to avoid a crash....
ritsuka [Wed, 30 Jul 2014 06:30:21 +0000 (06:30 +0000)]
MacGui: check if the image returned by hb_get_preview2 is null to avoid a crash. The preview window will try to show the number of previews selected in the preferences, but an already loaded title might not have enough preview images.

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

10 years agoMacGui: use the new preview generation method hb_get_preview2.
ritsuka [Tue, 29 Jul 2014 20:19:38 +0000 (20:19 +0000)]
MacGui: use the new preview generation method hb_get_preview2.

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

10 years agolibhb: add new function for retrieving previews
jstebbins [Tue, 29 Jul 2014 18:40:38 +0000 (18:40 +0000)]
libhb: add new function for retrieving previews

This new function has a couple advantages over the old one (which we
should phase out).

It does not require hb_job_t as a parameter, instead it uses hb_ui_geometry_t
which is a smaller and simpler struct. The entire job struct is overkill as
input to this function.

It returns an hb_image_t that fully describes the returned image instead of
just a uint8_t array. The caller does not have to make assumptions about image
size, line stide, or pixel format since hb_image_t specifies these things.

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

10 years agoMacGui: Implemented a configuration panel similar to the win/lin gui one for the...
ritsuka [Tue, 29 Jul 2014 18:38:01 +0000 (18:38 +0000)]
MacGui: Implemented a configuration panel similar to the win/lin gui one for the subtitles defaults, and added some more options from the other guis (add all, remove all).
The SubtitleAddForeignAudioSubtitle setting will be added later after the automatic audio selection is done.
Fixed a bug where HandBrake used 50% of cpu time if the subtitles table view was selected.
Refactored a big part of HBSubtitlesController to make it works with the new automatic options and to cleaned the table view data source.

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

10 years agocli: always keep display aspect unless using custom anamorphic mode
jstebbins [Mon, 28 Jul 2014 01:10:04 +0000 (01:10 +0000)]
cli: always keep display aspect unless using custom anamorphic mode

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

10 years agoLinGui/CLI/libhb: add nlmeans denoise filter to lingui
jstebbins [Mon, 21 Jul 2014 15:01:13 +0000 (15:01 +0000)]
LinGui/CLI/libhb: add nlmeans denoise filter to lingui
Move nlmeans preset&tune parsing from cli to libhb

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

10 years agoMacGui: Used a different api in HBDVDDetector to avoid DiskArbitration crashes.
ritsuka [Sat, 19 Jul 2014 08:22:28 +0000 (08:22 +0000)]
MacGui: Used a different api in HBDVDDetector to avoid DiskArbitration crashes.

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

10 years agoMacGUI: removed an unneeded __bridge in HBDVDDetector. Might fix a crash in the nightly.
ritsuka [Thu, 17 Jul 2014 15:31:52 +0000 (15:31 +0000)]
MacGUI: removed an unneeded __bridge in HBDVDDetector. Might fix a crash in the nightly.

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

10 years agocli: allow user cli options to override defaults for fallback audio encoder
jstebbins [Wed, 16 Jul 2014 21:54:33 +0000 (21:54 +0000)]
cli: allow user cli options to override defaults for fallback audio encoder
Solves: https://forum.handbrake.fr/viewtopic.php?f=10&t=28074&sid=68d8c5bfffd7081625bcd56fb7c4dad1

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

10 years agolibhb: Improve handling of streams with broken video timestamps
jstebbins [Wed, 16 Jul 2014 21:48:11 +0000 (21:48 +0000)]
libhb: Improve handling of streams with broken video timestamps
Addresses https://forum.handbrake.fr/viewtopic.php?f=12&t=30307&p=140045#p139847

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

10 years agocli: Simplify output geometry calculation
jstebbins [Wed, 16 Jul 2014 21:46:03 +0000 (21:46 +0000)]
cli: Simplify output geometry calculation
Fix bug where non-anamorphic mode ignores modulus
Change default modulus to 2

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

10 years agoMacGui: Replaced some deprecated functions in HBDVDDetector and ignored the QTKit...
ritsuka [Wed, 16 Jul 2014 12:00:21 +0000 (12:00 +0000)]
MacGui: Replaced some deprecated functions in HBDVDDetector and ignored the QTKit deprecations warnings for now. Grouped some files in the Xcode project.

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

10 years agoMacGui: moved two methods used by the whole app to HBUtilities.m:
ritsuka [Wed, 16 Jul 2014 06:20:57 +0000 (06:20 +0000)]
MacGui: moved two methods used by the whole app to HBUtilities.m:
- appSupportPath:
- writeToActivityLog:

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

10 years agoMacGUI: Refactored the controller code for the video/audio/subtitles/chapters view:
ritsuka [Tue, 15 Jul 2014 18:30:51 +0000 (18:30 +0000)]
MacGUI: Refactored the controller code for the video/audio/subtitles/chapters view:
Added a xib file and a NSViewController subclass for each tab of the main HandBrake window.
Each view controller now to responds to the HBContainerChangedNotification and HBTitleChangedNotification notifications instead of using a custom way to notify changes.
Converted the modified .xibs to the Xcode 5.1 format.

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

10 years agoLinGui: work around bug in GtkScaleButton
jstebbins [Tue, 15 Jul 2014 17:41:00 +0000 (17:41 +0000)]
LinGui: work around bug in GtkScaleButton
When the button value is updated programatically, the update event is not
sent and therefore the label is not updated.  So update the label manually
instead of relying on the event to trigger the update.

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

10 years agolibhb: work around libav decoder error durint p-to-p encoding
jstebbins [Mon, 14 Jul 2014 16:46:40 +0000 (16:46 +0000)]
libhb: work around libav decoder error durint p-to-p encoding

In some cases, initial data when in p-to-p mode causes libav decoder
initialization to fail.  This only happens when multi-threaded encoding
is enabled.

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

10 years agoMacGUI: Expanded the auto name feature to make it as powerful as the WinGUI counterpart.
ritsuka [Fri, 11 Jul 2014 18:22:43 +0000 (18:22 +0000)]
MacGUI: Expanded the auto name feature to make it as powerful as the WinGUI counterpart.

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

10 years agoWinGui: Adding support for Nlmeans to the front-end. Plist keys still tbd.
sr55 [Sat, 5 Jul 2014 14:37:53 +0000 (14:37 +0000)]
WinGui: Adding support for Nlmeans to the front-end.  Plist keys still tbd.

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

10 years agolibhb: fix typo in flag definition
jstebbins [Tue, 1 Jul 2014 17:21:05 +0000 (17:21 +0000)]
libhb: fix typo in flag definition
NO_IDR and SCAN_COMPLETE values overlapped

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

10 years agolibav: fix decoding of multi-object PGS
jstebbins [Mon, 30 Jun 2014 16:15:52 +0000 (16:15 +0000)]
libav: fix decoding of multi-object PGS

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

10 years agolibhb: Improve nlmeans edgeboost prefilter.
bradleys [Sat, 28 Jun 2014 16:41:51 +0000 (16:41 +0000)]
libhb: Improve nlmeans edgeboost prefilter.

Fixes a typo (1/27 instead of 1/127) that caused edgeboost to match on nearly everything, and tweaks this number slightly.
Adds a post-processing step to handle marked pixels having too few marked neighboring pixels as false positives.

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

10 years agolibhb: Add median prefilter to nlmeans.
bradleys [Fri, 27 Jun 2014 22:11:31 +0000 (22:11 +0000)]
libhb: Add median prefilter to nlmeans.

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

10 years agomanicure: Allow manicure to be included in other scripts.
bradleys [Wed, 25 Jun 2014 22:29:45 +0000 (22:29 +0000)]
manicure: Allow manicure to be included in other scripts.

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

10 years agobd: fix long delays caused by updated libbluray
jstebbins [Wed, 25 Jun 2014 16:26:21 +0000 (16:26 +0000)]
bd: fix long delays caused by updated libbluray

bd_seek and the new m2ts_filter in libbluray have a bad interaction.
So use bd_seek_time instead.

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

10 years agoLinGui: cleanup
jstebbins [Tue, 24 Jun 2014 22:06:06 +0000 (22:06 +0000)]
LinGui: cleanup
use hb_set_anamorphic_size2 instead of hb_set_anamorphic_size
simplify preview generation code.

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

10 years agoWinGui: unbreak interop job structure
jstebbins [Tue, 24 Jun 2014 17:50:05 +0000 (17:50 +0000)]
WinGui: unbreak interop job structure
I broke it here https://trac.handbrake.fr/changeset/6215

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

10 years agoCLI: Remove unnecessary include in last commit.
bradleys [Sun, 22 Jun 2014 18:16:08 +0000 (18:16 +0000)]
CLI: Remove unnecessary include in last commit.

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

10 years agoCLI: Improve nlmeans-tune logging and error handling.
bradleys [Sun, 22 Jun 2014 18:11:55 +0000 (18:11 +0000)]
CLI: Improve nlmeans-tune logging and error handling.

The latter fixes a compiler issue.

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

10 years agolibhb: New denoiser, nlmeans.
bradleys [Thu, 19 Jun 2014 21:44:37 +0000 (21:44 +0000)]
libhb: New denoiser, nlmeans.

Non-local means averages multiple patches of similar pixels together, preserving similarities and attenuating variance (usually noise). This is typically more effective than lowpass and more faithfully restores the appearance of structure and detail found in the original source, especially in the high frequency range. Parameters for origin patch weight tuning and pre-filtering further improve on the original algorithm.

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

10 years agomacui/cli/libhb: cleanup
jstebbins [Wed, 18 Jun 2014 21:26:44 +0000 (21:26 +0000)]
macui/cli/libhb: cleanup

macui: Simplifies code in Controller.m and fixes a few bugs
macui: Fixes "Windows 8 Phone" preset aspect ratio problem
macui: round up to next mod boundary when limiting to title dimensions - crop
libhb: Eliminates hb_fix_aspect and hb_set_size functions.
libhb: Makes hb_validate_size a passthru to hb_set_anamorphic_size
cli: eliminage use of hb_validate_size

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

10 years agoWinGui: One more missing change.
sr55 [Sat, 14 Jun 2014 19:06:44 +0000 (19:06 +0000)]
WinGui: One more missing change.

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

10 years agoWinGui: Missing file from last checkin.
sr55 [Sat, 14 Jun 2014 18:59:35 +0000 (18:59 +0000)]
WinGui: Missing file from last checkin.

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

10 years agoWinGui: Minor interop update.
sr55 [Sat, 14 Jun 2014 18:58:22 +0000 (18:58 +0000)]
WinGui: Minor interop update.

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

10 years agodecpgssub: partial fix for "multi-object" PGS subs
jstebbins [Fri, 13 Jun 2014 20:37:56 +0000 (20:37 +0000)]
decpgssub: partial fix for "multi-object" PGS subs

We were packaging multiple subtitle packets with the same pts and passing
down to rendersub which would then throw away all but the last sub with
a given pts. So put all AVSubtitleRects into the same hb_buffer_t.

A patch to libav is also required to fix the multi-object problem.

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

10 years agoInterop: Fixed a bug that was causing crashes on AAC passthrough. We were clobbering...
randomengy [Wed, 11 Jun 2014 03:45:16 +0000 (03:45 +0000)]
Interop: Fixed a bug that was causing crashes on AAC passthrough. We were clobbering the private data section with zeroes. Also added support for passing through a track if it's possible.

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

10 years agomacui: fix PcitureController geometry calculations
jstebbins [Tue, 10 Jun 2014 17:17:13 +0000 (17:17 +0000)]
macui: fix PcitureController geometry calculations

simplifies the code and makes it work better
also updates preview window size calculations

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

10 years agoWinGui: Fix bad tooltip style
sr55 [Sat, 7 Jun 2014 12:56:22 +0000 (12:56 +0000)]
WinGui: Fix bad tooltip style

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

10 years agolibhb: Fix decoding avi with palette
jstebbins [Thu, 29 May 2014 19:59:57 +0000 (19:59 +0000)]
libhb: Fix decoding avi with palette

... and probably other formats that use a palette.
The palette is stored in AVPacket side data which we did not read.  So
read the side data and stash it in hb_buffer_t so that it can be used
later by the decoder.

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

10 years agolibhb: fix overwriting of source path
jstebbins [Tue, 27 May 2014 18:40:27 +0000 (18:40 +0000)]
libhb: fix overwriting of source path

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

10 years agoWinGui: Don't grab previews when the preview window hasn't been opened. (Note, there...
sr55 [Sat, 24 May 2014 17:25:48 +0000 (17:25 +0000)]
WinGui: Don't grab previews when the preview window hasn't been opened.  (Note, there is still a crash that sometimes happens for some resolutions that needs fixed, but the UI shouldn't crash anymore if the window hasn't been opened)

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

10 years agodeccc608sub: fix positioning once again
jstebbins [Fri, 23 May 2014 15:58:12 +0000 (15:58 +0000)]
deccc608sub: fix positioning once again
after last change, CCs were getting positioned too far into the middle of
the image.

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

10 years agodeccc608sub: fix invalid subtitle position when extreme cropping applied.
jstebbins [Thu, 22 May 2014 23:33:10 +0000 (23:33 +0000)]
deccc608sub: fix invalid subtitle position when extreme cropping applied.

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

10 years agoWinGui: Handle Zero Pointer better in the NativeList. This can happen sometimes durin...
sr55 [Thu, 22 May 2014 20:15:29 +0000 (20:15 +0000)]
WinGui: Handle Zero Pointer better in the NativeList. This can happen sometimes during previews.

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

10 years agoWinGui: Fix QSV preset loading of RF Slider
sr55 [Wed, 21 May 2014 18:37:49 +0000 (18:37 +0000)]
WinGui: Fix QSV preset loading of RF Slider

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

10 years agoLinGui: Improve auto destination file name behavior
jstebbins [Wed, 21 May 2014 17:03:24 +0000 (17:03 +0000)]
LinGui: Improve auto destination file name behavior
Don't change the destination file name when a setting changes that is
not in the auto-name template.  I.e. if quality changes and "{quality}" is
not in the template, leave the destination file name alone.

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

10 years agoLinGui: layout changes
jstebbins [Tue, 20 May 2014 18:44:20 +0000 (18:44 +0000)]
LinGui: layout changes
Reduce height of presets list box.  This allows room for making settings
tabs wider.

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

10 years agoWinGui: Minor tidy up of options. Cleanup of some code warnings and some initial...
sr55 [Sun, 18 May 2014 19:56:12 +0000 (19:56 +0000)]
WinGui: Minor tidy up of options. Cleanup of some code warnings and some initial DPIAwareness code.

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

10 years agoWinGui: Give the preview window a presence on the picture settings tab. Added some...
sr55 [Sat, 17 May 2014 21:27:20 +0000 (21:27 +0000)]
WinGui: Give the preview window a presence on the picture settings tab. Added some initial code to manage the window size. (Note, this is not complete or DPI aware yet)

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

10 years agoLinGui: fix some glib warning messages in log
jstebbins [Fri, 16 May 2014 09:52:04 +0000 (09:52 +0000)]
LinGui: fix some glib warning messages in log

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

10 years agoLinGui: make the StackSwitcher fill the available width
jstebbins [Thu, 15 May 2014 16:53:47 +0000 (16:53 +0000)]
LinGui: make the StackSwitcher fill the available width

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

10 years agoLinGui: work around bonehead Gtk developer decision
jstebbins [Thu, 15 May 2014 16:39:08 +0000 (16:39 +0000)]
LinGui: work around bonehead Gtk developer decision
The width of radio buttons in GtkStackSwitcher are hard coded to 100.
Parse the container to get the buttons and fix this idiocy.

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

10 years agoLinGui: change main page GtkNotebook to GtkStack
jstebbins [Thu, 15 May 2014 14:59:37 +0000 (14:59 +0000)]
LinGui: change main page GtkNotebook to GtkStack
GtkStack's allow animation effects.  So now pages slide-in/slide-out :D

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

10 years agoLinGui: add "Reload" and "Reload All" toolbar buttons to queue window
jstebbins [Thu, 15 May 2014 10:45:36 +0000 (10:45 +0000)]
LinGui: add "Reload" and "Reload All" toolbar buttons to queue window
This allow reseting queue entries to the pending status so that they
make be re-encoded.

I'm not sure when a user might use these, but I have had many occasions where
I wish I had this capability during debugging and testing.

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

10 years agoLinGui: allow hh:mm:ss.ms input for P-to-P "Seconds"
jstebbins [Thu, 15 May 2014 09:19:19 +0000 (09:19 +0000)]
LinGui: allow hh:mm:ss.ms input for P-to-P "Seconds"

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

10 years agoWinGui: Another fix to the pause feature.
sr55 [Wed, 14 May 2014 19:50:33 +0000 (19:50 +0000)]
WinGui: Another fix to the pause feature.

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

10 years agoWinGui: Fix up Pausing when using libhb encode.
sr55 [Wed, 14 May 2014 19:48:54 +0000 (19:48 +0000)]
WinGui: Fix up Pausing when using libhb encode.

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

10 years agoLinGui: add preference option to remove completed queue jobs from queue
jstebbins [Wed, 14 May 2014 16:58:20 +0000 (16:58 +0000)]
LinGui: add preference option to remove completed queue jobs from queue

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

10 years agomux: fix problems created by >32 track limit patch
jstebbins [Wed, 14 May 2014 09:32:09 +0000 (09:32 +0000)]
mux: fix problems created by >32 track limit patch

First problem was pre-existing, but hidden.  Interleaving was severely
broken because we relied on buf->s.stop to determin interleave points.
stop is not guaranteed to be set.

Other problems with the new bit vector code caused failure to complete
muxing.

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

10 years agoRemove empty file faster last commit.
Rodeo [Tue, 13 May 2014 20:27:24 +0000 (20:27 +0000)]
Remove empty file faster last commit.

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

10 years agoBump x265 to version 1.0
Rodeo [Tue, 13 May 2014 20:26:56 +0000 (20:26 +0000)]
Bump x265 to version 1.0

Miscellaneous bugfixes and performance improvements.

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

10 years agoBump libav to version 10.1
Rodeo [Tue, 13 May 2014 14:31:03 +0000 (14:31 +0000)]
Bump libav to version 10.1

Miscellaneous bugfixes and security fixes.

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

10 years agodemux: fix problem with widely spaced SCRs
jstebbins [Tue, 13 May 2014 10:27:36 +0000 (10:27 +0000)]
demux: fix problem with widely spaced SCRs

Fixes this bug report https://forum.handbrake.fr/viewtopic.php?f=12&t=30032

Split MPEG demuxer into TS demuxer and PS demuxer to allow using different
PCR/SCR delta tolerance in each scenario.

We were using a PCR/SCR delta tolerance that was a bit of a compromise
between the max allowed by the specification for TS vs PS streams.  But
the spec for TS PCR is 100ms and the spec for PS SCR is 700ms, so we
risked false detection of discontinuities in PS.  In PS streams that pack
multiple frames into one PES packet, the detection of a discontinuity
causes recalculation of an scr offset which jumps around wildly.

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

10 years agoMacGUI: fix line endings after last commit.
Rodeo [Sun, 11 May 2014 17:08:43 +0000 (17:08 +0000)]
MacGUI: fix line endings after last commit.

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

10 years agomux: eliminate 32 track limit
jstebbins [Sun, 11 May 2014 15:19:52 +0000 (15:19 +0000)]
mux: eliminate 32 track limit

The limit was due to using an uint32_t as a bit vector.  This solves
the limitation by introducing an hb_bitvec_t struct for bit vectors
of unlimited size.

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

10 years agoWinGui: Cosmetic improvement to the SplitButton Control. It no longer appears for...
sr55 [Sun, 11 May 2014 12:18:47 +0000 (12:18 +0000)]
WinGui: Cosmetic improvement to the SplitButton Control. It no longer appears for a split second when the control initialises.

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

10 years agoXcode: another small cleanup.
Rodeo [Sat, 10 May 2014 20:45:44 +0000 (20:45 +0000)]
Xcode: another small cleanup.

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

10 years agoWinGui: Pre-populate the add preset custom width/height when custom is used.
sr55 [Sat, 10 May 2014 19:53:46 +0000 (19:53 +0000)]
WinGui: Pre-populate the add preset custom width/height when custom is used.

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

10 years agoXcode: small cleanup after libvpx support commit.
Rodeo [Sat, 10 May 2014 19:50:54 +0000 (19:50 +0000)]
Xcode: small cleanup after libvpx support commit.

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

10 years agoencx265: fix chapter insertion.
Rodeo [Sat, 10 May 2014 19:24:03 +0000 (19:24 +0000)]
encx265: fix chapter insertion.

Checking whether we should attach a chapter to
the output buffer is not enough, we actually
have to attach it too.

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

10 years agoBump x264 to r2431 ac76440.
Rodeo [Sat, 10 May 2014 18:42:44 +0000 (18:42 +0000)]
Bump x264 to r2431 ac76440.

Miscellaneous bugfixes and improvements, as usual.

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

10 years agoLinGui: improved auto destination naming
jstebbins [Tue, 6 May 2014 17:03:33 +0000 (17:03 +0000)]
LinGui: improved auto destination naming

Allows auto name template like WinGui

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

10 years agoLinGui: fix linking with mingw
jstebbins [Tue, 6 May 2014 15:02:07 +0000 (15:02 +0000)]
LinGui: fix linking with mingw

Fedora's mingw pthreads no longer has pthread_win32_process_attach_np,
so force linking to the pthreadw32 contrib package.

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

10 years agodeccc608sub: fix cropping of CCs
jstebbins [Tue, 6 May 2014 13:55:49 +0000 (13:55 +0000)]
deccc608sub: fix cropping of CCs

If the CC was in the crop area at the top of the image, it's position
was not moved properly.

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

10 years agoWinGui: Custom W/H check should be for custom only.
sr55 [Sat, 26 Apr 2014 17:41:13 +0000 (17:41 +0000)]
WinGui: Custom W/H check should be for custom only.

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

10 years agoWinGui: Add a warning on the add preset window if both custom width/height are empty...
sr55 [Thu, 24 Apr 2014 15:53:40 +0000 (15:53 +0000)]
WinGui: Add a warning on the add preset window if both custom width/height are empty in custom mode.

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

10 years agoWinGui: Fix an issue on the Audio panel that was resetting the audio selection mode...
sr55 [Sat, 19 Apr 2014 20:58:11 +0000 (20:58 +0000)]
WinGui: Fix an issue on the Audio panel that was resetting the audio selection mode on title change, if there were no audio tracks on the selected title.

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

10 years agoWinGui: Adding support for the VP8 encoder. Changing "CQ" to "RF" for x265
sr55 [Sat, 19 Apr 2014 20:16:12 +0000 (20:16 +0000)]
WinGui: Adding support for the VP8 encoder. Changing "CQ" to "RF" for x265

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

10 years agocontrib: fix ffmpeg dependencies to include libvpx
jstebbins [Wed, 16 Apr 2014 21:06:26 +0000 (21:06 +0000)]
contrib: fix ffmpeg dependencies to include libvpx

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

10 years agocontrib: fix building libvpx on mingw
jstebbins [Wed, 16 Apr 2014 17:24:33 +0000 (17:24 +0000)]
contrib: fix building libvpx on mingw

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

10 years agoAdd VP8 support
jstebbins [Tue, 15 Apr 2014 18:42:17 +0000 (18:42 +0000)]
Add VP8 support

Thanks to Matthew Harvey for this patch

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

10 years agodoc: fix duplicate libdvdread entry in lib list.
jstebbins [Mon, 14 Apr 2014 16:33:44 +0000 (16:33 +0000)]
doc: fix duplicate libdvdread entry in lib list.

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

10 years agoConvert all text subtitles to ASS subs
jstebbins [Sun, 13 Apr 2014 16:22:16 +0000 (16:22 +0000)]
Convert all text subtitles to ASS subs
Add support for font color to tx3g.
Allow more than one style flag at time in tx3g.
Add positioning support to CC subs

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

10 years agoFix livavcodec-based downmixing of DTS-ES 6.1 to Stereo.
Rodeo [Sun, 13 Apr 2014 00:56:50 +0000 (00:56 +0000)]
Fix livavcodec-based downmixing of DTS-ES 6.1 to Stereo.

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

10 years agoInterop: Support for rotation and reflection.
randomengy [Fri, 11 Apr 2014 06:54:33 +0000 (06:54 +0000)]
Interop: Support for rotation and reflection.

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

10 years agorendersub: fix rendering SRT markup in CC subs
jstebbins [Wed, 9 Apr 2014 23:34:31 +0000 (23:34 +0000)]
rendersub: fix rendering SRT markup in CC subs

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