]> granicus.if.org Git - handbrake/log
handbrake
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

10 years agoCLI: fix SRT passthru and add SRT burn option
jstebbins [Wed, 9 Apr 2014 15:33:33 +0000 (15:33 +0000)]
CLI: fix SRT passthru and add SRT burn option

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

10 years agoQSV: always use our own DTS.
Rodeo [Tue, 8 Apr 2014 15:20:06 +0000 (15:20 +0000)]
QSV: always use our own DTS.

Previously, the DTS provided by MSDK was used
if it was available and the frame rate was constant.

Our own DTS is indentical to MSDK's (when the
frame rate is constant), but MSDK will sometimes
provide 1 or 2 bogus DTS over the duration of a
file, causing the encode to abort (lavf is picky).

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

10 years agoQSV: fix logging of whether B-frames are enabled.
Rodeo [Mon, 7 Apr 2014 23:33:06 +0000 (23:33 +0000)]
QSV: fix logging of whether B-frames are enabled.

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

10 years agolibhb: add generic code for converting NAL
Rodeo [Mon, 7 Apr 2014 22:04:03 +0000 (22:04 +0000)]
libhb: add generic code for converting NAL
unit bitstreams (H.264, HEVC) to and from
Annex B format.

Only used by QSV for now, but could
always come in handy down the road.

May also fix an issue introduced
by the recent QSV cleanup patchset.

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

10 years agoFix previous commit again. This is not my day.
Rodeo [Sun, 6 Apr 2014 17:10:57 +0000 (17:10 +0000)]
Fix previous commit again. This is not my day.

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

10 years agoQSV: fix previous commit (outdated version of the same patch, sorry9.
Rodeo [Sun, 6 Apr 2014 17:09:27 +0000 (17:09 +0000)]
QSV: fix previous commit (outdated version of the same patch, sorry9.

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

10 years agoQSV: reset the encoder at chapter points to force a keyframe
Rodeo [Sun, 6 Apr 2014 17:06:32 +0000 (17:06 +0000)]
QSV: reset the encoder at chapter points to force a keyframe

This replaces the mfxEncodeCtrl-based solution used up to this point,
as it's not guaranteed to work with some parameter combinations.

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

10 years agopgssubs: fix pgs passthru
jstebbins [Sun, 6 Apr 2014 16:53:32 +0000 (16:53 +0000)]
pgssubs: fix pgs passthru

Subtitles were being dropped because of the new condition I added that
drops subtitles when start == end.

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

10 years agoCLI: enable the --qsv-implementation option.
Rodeo [Sat, 5 Apr 2014 01:24:07 +0000 (01:24 +0000)]
CLI: enable the --qsv-implementation option.

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

10 years agoenc_qsv: cleanup encoding loop, part 3.
Rodeo [Sat, 5 Apr 2014 01:11:53 +0000 (01:11 +0000)]
enc_qsv: cleanup encoding loop, part 3.

Move encoding loop to its own function and simplify encqsvWork.

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

10 years agoenc_qsv: cleanup encoding loop, part 2.
Rodeo [Sat, 5 Apr 2014 01:11:34 +0000 (01:11 +0000)]
enc_qsv: cleanup encoding loop, part 2.

Move related code to separate functions whenever
possible; simplify or improve the code where applicable.

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

10 years agoenc_qsv: cleanup encoding loop, part 1.
Rodeo [Sat, 5 Apr 2014 01:11:10 +0000 (01:11 +0000)]
enc_qsv: cleanup encoding loop, part 1.

Mainly:

 - allocate frame surface data in qsv_enc_init
 - setup input frame surface outside the loop
 - remove unnecessary variable
 - handle errors via a common path

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

10 years agoenc_qsv: simplify qsv_enc_init.
Rodeo [Sat, 5 Apr 2014 01:10:32 +0000 (01:10 +0000)]
enc_qsv: simplify qsv_enc_init.

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

10 years agoenc_qsv: simplify encqsvClose.
Rodeo [Sat, 5 Apr 2014 01:10:11 +0000 (01:10 +0000)]
enc_qsv: simplify encqsvClose.

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

10 years agoenc_qsv: general cleanup.
Rodeo [Sat, 5 Apr 2014 01:09:43 +0000 (01:09 +0000)]
enc_qsv: general cleanup.

Mainly:

 - coding style
 - formatting
 - indentation

Also:

 - fix two warnings
 - remove unnecessary header
 - remove unused parameter in parse_nalus

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

10 years agodeccc608sub: fix roll-up subtitles
jstebbins [Thu, 3 Apr 2014 20:40:15 +0000 (20:40 +0000)]
deccc608sub: fix roll-up subtitles

Roll-up CC timestamps need similar treatment as the popup CC timestamps.
Also, the simulated carriage return command that was added during
a rollup command was inserting blank lines in the CC, so fix that.

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

10 years agodecccsub: fix timestamp of "clear" subtitles
jstebbins [Thu, 3 Apr 2014 01:16:42 +0000 (01:16 +0000)]
decccsub: fix timestamp of "clear" subtitles

This broke CC passthru and is probably the cause of
https://forum.handbrake.fr/viewtopic.php?f=11&t=29835

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

10 years agoInterop: Added methods to dynamically pull the preset, profile, level and tune values...
randomengy [Mon, 31 Mar 2014 03:17:42 +0000 (03:17 +0000)]
Interop: Added methods to dynamically pull the preset, profile, level and tune values. Replaced encoder-specific fields on EncodingProfile with general fields. Standardized the InteropUtilities conversion function names.

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

10 years agolibhb: enable burn-in of all supported text subtitle formats
jstebbins [Sun, 30 Mar 2014 17:27:18 +0000 (17:27 +0000)]
libhb: enable burn-in of all supported text subtitle formats

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

10 years agoWinGui: Fix x265 default preset in query generation.
sr55 [Sat, 29 Mar 2014 12:03:55 +0000 (12:03 +0000)]
WinGui: Fix x265 default preset in query generation.

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

10 years agoWinGui: Mapping fix for x265. (not "hvec")
sr55 [Fri, 28 Mar 2014 22:38:54 +0000 (22:38 +0000)]
WinGui: Mapping fix for x265. (not "hvec")

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

10 years agoWinGui: Update the Query Generator to use the new --encoder-{preset,tune,profile...
sr55 [Fri, 28 Mar 2014 22:32:23 +0000 (22:32 +0000)]
WinGui: Update the Query Generator to use the new --encoder-{preset,tune,profile,level} options as per rev 6135

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

10 years agoCLI: fix alignment after last commit
Rodeo [Fri, 28 Mar 2014 22:26:59 +0000 (22:26 +0000)]
CLI: fix alignment after last commit

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

10 years agoWinGui: Fix QuickSync and x265 quality slider.
sr55 [Fri, 28 Mar 2014 22:26:26 +0000 (22:26 +0000)]
WinGui: Fix QuickSync and x265 quality slider.

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

10 years agoCLI: clean up encoder preset/tune/profile/level option names
Rodeo [Fri, 28 Mar 2014 22:23:59 +0000 (22:23 +0000)]
CLI: clean up encoder preset/tune/profile/level option names

The new generic option names are:

--encoder-preset
--encoder-tune
--encoder-profile
--encoder-level

In addition, the supported values for these options can be listed via:

--encoder-preset-list  <encoder>
--encoder-tune-list    <encoder>
--encoder-profile-list <encoder>
--encoder-level-list   <encoder>

Existing encoder-specific option names are preserved so as not to break
existing scripts, but only the new generic names are documented and supported.

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

10 years agoWinGui: When Starting a job that fails one of the sanity checks, the Stop button...
sr55 [Fri, 28 Mar 2014 19:37:54 +0000 (19:37 +0000)]
WinGui: When Starting a job that fails one of the sanity checks, the Stop button was appearing when it should not.

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

10 years agoBump x264 to r2409-d6b4e63.
Rodeo [Thu, 27 Mar 2014 13:18:42 +0000 (13:18 +0000)]
Bump x264 to r2409-d6b4e63.

Miscellaneous fixes and improvements as
usual, plus a small performance improvement:

https://git.videolan.org/?p=x264.git;a=commit;h=d6b4e63

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

10 years agomuxavformat: override mp4 major brand, use "mp42"
jstebbins [Wed, 26 Mar 2014 22:01:05 +0000 (22:01 +0000)]
muxavformat: override mp4 major brand, use "mp42"
This fixes compatibility issues with Vegas Pro 8 NLE suite

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

10 years agoLinGui: fix problem cause by change in behavior of libgtk
jstebbins [Wed, 26 Mar 2014 14:42:09 +0000 (14:42 +0000)]
LinGui: fix problem cause by change in behavior of libgtk

gtk_buildable_get_name and gtk_widget_get_name now return a string
describing the widget type if the name has not been set instead of
NULL as they used to.  This of coarse breaks everything that depends
on looking up valid widget names.

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

10 years agoBump libav to v10.
Rodeo [Wed, 26 Mar 2014 14:13:08 +0000 (14:13 +0000)]
Bump libav to v10.

More of our patches have been merged upstream.

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