]> granicus.if.org Git - handbrake/log
handbrake
11 years agoWinGui: Fixed burn-in checkbox for subtitles
sr55 [Fri, 25 Oct 2013 18:44:54 +0000 (18:44 +0000)]
WinGui: Fixed burn-in checkbox for subtitles

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

11 years agoMacGUI: Varius warnings fixes:
ritsuka [Fri, 25 Oct 2013 18:21:54 +0000 (18:21 +0000)]
MacGUI: Varius warnings fixes:
- NSUInteger and NSInteger instead of int (where the Cocoa 64bit api uses them).
- Cast to int when needed because NSInteger on 64bit is defined as long.
- NSURL instead of NSString when possible.
- Replaced some deprecated methods/functions.
- numberWithInteger instead of numberWithInt.

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

11 years agolibhb: Plug some leaks and clean up the buffer pool code a little.
jstebbins [Wed, 23 Oct 2013 20:33:32 +0000 (20:33 +0000)]
libhb: Plug some leaks and clean up the buffer pool code a little.
Filters were leaking buffers when a job is cancelled.
decavcodec could leak when job cancelled.
decavcodec leaked audio extradata in BSInfo
encavcodec and encavcodecaudio leaked AVCodecContext
sync leaked subtitle_sanitizer_t data

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

11 years agoAdd ubuntu 13.10 to nightly builds
jstebbins [Wed, 23 Oct 2013 15:51:10 +0000 (15:51 +0000)]
Add ubuntu 13.10 to nightly builds

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

11 years agoQSV: temporarily work around a bug in the Intel 33.x driver series.
Rodeo [Tue, 22 Oct 2013 18:13:45 +0000 (18:13 +0000)]
QSV: temporarily work around a bug in the Intel 33.x driver series.

Based on a patch by Maxym Dmytrychenko. Thanks!

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

11 years agolibhb: check AVIOContext.error for errors while muxing
jstebbins [Mon, 21 Oct 2013 21:00:22 +0000 (21:00 +0000)]
libhb: check AVIOContext.error for errors while muxing
libavformat doesn't always check this, so the return code from
av_interleaved_write_frame doesn't indicate an error when there
is a failure to write to disk.

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

11 years agolibhb: fix duration of initial audio frame when decoding with avcodec
jstebbins [Mon, 21 Oct 2013 20:57:38 +0000 (20:57 +0000)]
libhb: fix duration of initial audio frame when decoding with avcodec
For some codecs, the samplerate is not known until we decode some data.
So postpone calculation of frame duration till after we have decoded
some data.

The effect of this error is that the first 2 audio frames could have the
same start time.  This causes the "non monotonically increasing dts"
error in libavformat mp4 muxer.

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

11 years agoQSV: fix for normal processing
maxd [Mon, 21 Oct 2013 10:35:54 +0000 (10:35 +0000)]
QSV: fix for normal processing

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

11 years agoWinGui: Fix adding a new VobSub or PGS subtitle, default it to "Burned In" for MP4...
sr55 [Sun, 20 Oct 2013 20:17:44 +0000 (20:17 +0000)]
WinGui: Fix adding a new VobSub or PGS subtitle, default it to "Burned In" for MP4 files only. Also defaulted Foreign Audio Scan to Burned In for MP4's now.

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

11 years agoWinGui: Add a "Add 'Foreign Audio Scan'" option to the Automatic Subtitle track selec...
sr55 [Sun, 20 Oct 2013 19:54:51 +0000 (19:54 +0000)]
WinGui: Add a "Add 'Foreign Audio Scan'" option to the Automatic Subtitle track selection feature.

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

11 years agoLinGui: add gmodule dependency
jstebbins [Sun, 20 Oct 2013 16:43:20 +0000 (16:43 +0000)]
LinGui: add gmodule dependency

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

11 years agoOpenCL: ship our own headers, to reduce our dependency on external OpenCL SDKs.
Rodeo [Sun, 20 Oct 2013 13:52:51 +0000 (13:52 +0000)]
OpenCL: ship our own headers, to reduce our dependency on external OpenCL SDKs.

Part 1 of a broader OpenCL refactoring.

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

11 years agolibhb: fix pgs timestamp problems
jstebbins [Sat, 19 Oct 2013 23:06:36 +0000 (23:06 +0000)]
libhb: fix pgs timestamp problems
Fixes "pts < dts" and "non-monotically increasing dts" errors in avformat
muxing.

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

11 years agoencx264: remove some long dead code.
Rodeo [Sat, 19 Oct 2013 12:20:23 +0000 (12:20 +0000)]
encx264: remove some long dead code.

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

11 years agoencx264: don't log unparsed options if the string is NULL.
Rodeo [Sat, 19 Oct 2013 12:19:19 +0000 (12:19 +0000)]
encx264: don't log unparsed options if the string is NULL.

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

11 years agoencx264: remove duplicate logging (libx264 already logs the SAR), and log the average...
Rodeo [Sat, 19 Oct 2013 12:16:13 +0000 (12:16 +0000)]
encx264: remove duplicate logging (libx264 already logs the SAR), and log the average bitrate to be consistent (we log the RF in CRF mode).

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

11 years agoencx264: log the unparsed advanced options string for informational purposes.
Rodeo [Sat, 19 Oct 2013 12:14:31 +0000 (12:14 +0000)]
encx264: log the unparsed advanced options string for informational purposes.

Patch by BradleyS. Thanks!

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

11 years agoMacGUI: fixed a number of leaks/null-deferences/dead-code found by clang static analyzer.
ritsuka [Tue, 15 Oct 2013 11:36:51 +0000 (11:36 +0000)]
MacGUI: fixed a number of leaks/null-deferences/dead-code found by clang static analyzer.

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

11 years agolibhb: remove dead code
jstebbins [Mon, 14 Oct 2013 16:08:19 +0000 (16:08 +0000)]
libhb: remove dead code
The unused portions of the opencl scaling code were not removed before commit

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

11 years agoInterop: Input/output paths are now encoded to UTF-8. Removed references to hb_list_s...
randomengy [Sun, 13 Oct 2013 19:15:54 +0000 (19:15 +0000)]
Interop: Input/output paths are now encoded to UTF-8. Removed references to hb_list_s, using the list functions to create and modify them. Added support for specifying the scaling method, QSV preset and DXVA decoding.

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

11 years agoWinGui: Fixed an issue with PGS subtitle detection.
sr55 [Sun, 13 Oct 2013 11:37:58 +0000 (11:37 +0000)]
WinGui: Fixed an issue with PGS subtitle detection.

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

11 years agoQSV: improve CopyFrame bug workaround a bit.
Rodeo [Sat, 12 Oct 2013 00:30:02 +0000 (00:30 +0000)]
QSV: improve CopyFrame bug workaround a bit.

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

11 years agoHW: fix for compile and runtime behavior and support of the features/RB601
maxd [Fri, 11 Oct 2013 15:29:29 +0000 (15:29 +0000)]
HW: fix for compile and runtime behavior and support of the features/RB601

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

11 years agohb_get_opencl_env: remove dead code.
Rodeo [Fri, 11 Oct 2013 13:50:31 +0000 (13:50 +0000)]
hb_get_opencl_env: remove dead code.

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

11 years agoQSV: use encode-only path when we have CPU filters enabled and CopyFrame is unavailable.
Rodeo [Fri, 11 Oct 2013 13:17:17 +0000 (13:17 +0000)]
QSV: use encode-only path when we have CPU filters enabled and CopyFrame is unavailable.

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

11 years agoscan: print CPU info, GPU info, then QSV info.
Rodeo [Fri, 11 Oct 2013 12:00:04 +0000 (12:00 +0000)]
scan: print CPU info, GPU info, then QSV info.

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

11 years agoWinGui: Use a specific culture to make sure . is used rather than ,
sr55 [Thu, 10 Oct 2013 19:54:03 +0000 (19:54 +0000)]
WinGui: Use a specific culture to make sure . is used rather than ,

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

11 years agoWinGui: Fix a culture issue with the samplerate query generation.
sr55 [Thu, 10 Oct 2013 19:52:18 +0000 (19:52 +0000)]
WinGui: Fix a culture issue with the samplerate query generation.

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

11 years agoWinGUI: Add a notice for XP users letting them know the app is not currently compatible.
sr55 [Thu, 10 Oct 2013 19:06:38 +0000 (19:06 +0000)]
WinGUI: Add a notice for XP users letting them know the app is not currently compatible.

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

11 years agoWinGui: Make Lanczos the default scaler in the WinGUI again.
sr55 [Thu, 10 Oct 2013 17:25:41 +0000 (17:25 +0000)]
WinGui: Make Lanczos the default scaler in the WinGUI again.

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

11 years agoWinGui: Handle libhb dll errors.
sr55 [Tue, 8 Oct 2013 20:02:41 +0000 (20:02 +0000)]
WinGui: Handle libhb dll errors.

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

11 years agoQSV: added check for dimensions
maxd [Tue, 8 Oct 2013 13:33:21 +0000 (13:33 +0000)]
QSV: added check for dimensions

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

11 years agoWinGui: Add some sanity checks around the Gpu Info checker.
sr55 [Sun, 6 Oct 2013 14:01:10 +0000 (14:01 +0000)]
WinGui: Add some sanity checks around the Gpu Info checker.

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

11 years agoWinGui: Mising CsvReader library files.
sr55 [Sun, 6 Oct 2013 10:07:36 +0000 (10:07 +0000)]
WinGui: Mising CsvReader library files.

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

11 years agoQSV: fix for stream(s) with no-SPS available
maxd [Sat, 5 Oct 2013 22:24:07 +0000 (22:24 +0000)]
QSV: fix for stream(s) with no-SPS available

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

11 years agoWinGui: Use the LumenWorks CsvReader library for the chapters tab. (MIT License)
sr55 [Sat, 5 Oct 2013 14:48:33 +0000 (14:48 +0000)]
WinGui: Use the LumenWorks CsvReader library for the chapters tab. (MIT License)

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

11 years agoBuildSystem: fix Xcode when building w/ clang targeting 10.6
konablend [Tue, 1 Oct 2013 01:38:19 +0000 (01:38 +0000)]
BuildSystem: fix Xcode when building w/ clang targeting 10.6

When using clang (the new project default compiler), disable
implicit objc-runtime linking for 10.6 only.

Before fix, the following error is produced:

Undefined symbols for architecture x86_64:
  "_objc_retain", referenced from:
      ___ARCLite__load in libarclite_macosx.a(arclite.o)
     (maybe you meant: _objc_retainedObject)
ld: symbol(s) not found for architecture x86_64

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

11 years agoWinGui: All the hardware acceleration options are now available view a new tab on...
sr55 [Sat, 28 Sep 2013 12:44:05 +0000 (12:44 +0000)]
WinGui: All the hardware acceleration options are now available view a new tab on the Options screen.  This includes the OpenCL scaling, QuickSync and DXVA decode support.

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

11 years agoMacGUI: Replace deprecated NSWorkspace API calls. Patch by Alexander Zautke.
ritsuka [Sat, 28 Sep 2013 06:34:34 +0000 (06:34 +0000)]
MacGUI: Replace deprecated NSWorkspace API calls. Patch by Alexander Zautke.

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

11 years agoWinGui: Fix an index problem with the angles dropdown.
sr55 [Fri, 27 Sep 2013 18:48:24 +0000 (18:48 +0000)]
WinGui: Fix an index problem with the angles dropdown.

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

11 years agoWinGui: Flip the dvdnav option back to the correct way round.
sr55 [Fri, 27 Sep 2013 18:38:57 +0000 (18:38 +0000)]
WinGui: Flip the dvdnav option back to the correct way round.

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

11 years agoBump libx264 to r2358 9e941d1.
Rodeo [Wed, 25 Sep 2013 17:40:24 +0000 (17:40 +0000)]
Bump libx264 to r2358 9e941d1.

Miscellaneous fixes and improvements.

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

11 years agoQSV: move LookAheadDepth miminum to commmon code.
Rodeo [Wed, 25 Sep 2013 00:21:21 +0000 (00:21 +0000)]
QSV: move LookAheadDepth miminum to commmon code.

Unlike the maximum limit, which is HandBrake-specific, this is not our bug, and we can't fix it, short of dropping support for all old Haswell drivers.

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

11 years agoQSV: miscellaneous option-related improvements.
Rodeo [Tue, 24 Sep 2013 23:49:44 +0000 (23:49 +0000)]
QSV: miscellaneous option-related improvements.

All user-controlled settings except GOP-related ones now have an explicit default value (it's never "unknown").

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

11 years agoQSV: improve ExtBRC workaround.
Rodeo [Tue, 24 Sep 2013 23:33:05 +0000 (23:33 +0000)]
QSV: improve ExtBRC workaround.

It doesn't play well with CQP either.

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

11 years agoQSV: remove RateDistortionOpt control.
Rodeo [Tue, 24 Sep 2013 23:25:16 +0000 (23:25 +0000)]
QSV: remove RateDistortionOpt control.

The option seems to have no effect in my testing, and is of limited usefulness, so let's leave it unknown (up to the implementation).

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

11 years agoQSV: fix a hang with lookahead RC and some graphics drivers.
Rodeo [Tue, 24 Sep 2013 23:16:50 +0000 (23:16 +0000)]
QSV: fix a hang with lookahead RC and some graphics drivers.

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

11 years agoQSV: ExtBRC/MBBRC and lookahead are mutually exclusive, plus miscelleanous stuff...
Rodeo [Tue, 24 Sep 2013 22:48:03 +0000 (22:48 +0000)]
QSV: ExtBRC/MBBRC and lookahead are mutually exclusive, plus miscelleanous stuff found in testing.

Thanks to gmb for pointing it out, and Nina Kurina for pointing out the ExtBRC/AsyncDepth issue.

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

11 years agoQSV: fix stupid mistake; MBBRC requires API version 1.6, not 1.7.
Rodeo [Tue, 24 Sep 2013 15:58:11 +0000 (15:58 +0000)]
QSV: fix stupid mistake; MBBRC requires API version 1.6, not 1.7.

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

11 years agoQSV: libhb-based preset system.
Rodeo [Tue, 24 Sep 2013 13:22:19 +0000 (13:22 +0000)]
QSV: libhb-based preset system.

Modeled after x264's preset system.

MMBRC and LookAhead RC are now enabled by default, whereas Trellis is disabled by default.

Please note that Windows GUI support will come later, and that preset names are not definitive.

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

11 years agoQSV: use ifdefs rather than filtering to bypass libmfx references during compilation...
Rodeo [Tue, 24 Sep 2013 13:00:25 +0000 (13:00 +0000)]
QSV: use ifdefs rather than filtering to bypass libmfx references during compilation without --enable-qsv.

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

11 years agoPrettify CPU info in the log.
Rodeo [Tue, 24 Sep 2013 12:47:54 +0000 (12:47 +0000)]
Prettify CPU info in the log.

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

11 years agoQSV: fix cropping with some brainfart sources.
Rodeo [Tue, 24 Sep 2013 12:27:09 +0000 (12:27 +0000)]
QSV: fix cropping with some brainfart sources.

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

11 years agoQSV: MBBRC is actually Haswell-only.
Rodeo [Tue, 24 Sep 2013 11:53:29 +0000 (11:53 +0000)]
QSV: MBBRC is actually Haswell-only.

This is confirmed by marketing material and testing with the 3257 driver on Ivy Bridge hardware.

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

11 years agoQSV: re-use the encqsvInit MFX session when using the encode-only path.
Rodeo [Tue, 24 Sep 2013 11:48:25 +0000 (11:48 +0000)]
QSV: re-use the encqsvInit MFX session when using the encode-only path.

This seems to work around a weird and obscure issue on some systems.

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

11 years agoBuildSystem: initial Xcode5 support
konablend [Tue, 24 Sep 2013 00:14:48 +0000 (00:14 +0000)]
BuildSystem: initial Xcode5 support

Tested on MacOSX 10.8.5 w/ Xcode 5.0, 4.6.3 and 4.5.2, various builds,
including terminal Xcode, terminal no Xcode and Xcode IDE,
and permutations with/without mp4v2 and mkv.

- push defs for optional static libraries (OSL) to respective modules
- adjust make-driven linking to use OSL
- adjust Xcode-driven linking to use OSL via ld -filelist option
- add Xcode project group for all OSL
- set Xcode project to use clang compiler
- add osx 10.8 xcconfig files
- add "supplemental" xcconfig file where EXTERNAL_CONFIGURE may be used
  to specify configure-time options
- patch mp4v2 to compile with clang

Intructions for custom configure-options within Xcode IDE:

1. edit macosx/xcconfig/supplemental.xcconfig
2. save file (unsure how long it takes IDE to see change but it does)
3. build clean
4. build
5. never commit supplemental.xcconfig to repository - it is meant to
   exist but not effect the build on a clean checkout, and to be used
   only as a developer transient developer customization file.

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

11 years agoQSV: fix for VPP if VFR
maxd [Mon, 23 Sep 2013 21:36:35 +0000 (21:36 +0000)]
QSV: fix for VPP if VFR

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

11 years agolibhb: make libhb internal character code utf8
jstebbins [Sun, 22 Sep 2013 17:19:38 +0000 (17:19 +0000)]
libhb: make libhb internal character code utf8

This makes libhb expect all strings passed to it to be in utf8 format.
The cli converts the converts from the current code page to utf8.  libhb
converts back to the current code page when necessary for libraries that
expect it.

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

11 years agolibhb: remove windows ^M line endings
jstebbins [Sun, 22 Sep 2013 17:18:42 +0000 (17:18 +0000)]
libhb: remove windows ^M line endings

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

11 years agoFix test.c after merge.
sr55 [Sat, 21 Sep 2013 22:51:18 +0000 (22:51 +0000)]
Fix test.c  after merge.

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

11 years agoWinGui: Fix typo
sr55 [Sat, 21 Sep 2013 22:13:58 +0000 (22:13 +0000)]
WinGui: Fix typo

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

11 years agoWinGui: Added a new tab in Options to host "Video" related settings including hardwar...
sr55 [Sat, 21 Sep 2013 22:12:56 +0000 (22:12 +0000)]
WinGui: Added a new tab in Options to host "Video" related settings including hardware acceleration.  Only showing the QuickSync options. DXVA/OpenCl options are hidden for now.

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

11 years agoTidyup a warning in oclscale.c
sr55 [Sat, 21 Sep 2013 20:21:47 +0000 (20:21 +0000)]
Tidyup a warning in oclscale.c

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

11 years agoMerging-in the OpenCL Scaling code from the OpenCL branch to trunk.
sr55 [Sat, 21 Sep 2013 20:16:51 +0000 (20:16 +0000)]
Merging-in the OpenCL Scaling code from the OpenCL branch to trunk.
Patch originally by the Multicoreware Inc team, followed by improvements and fixes by Micheal Wootton from AMD Inc,

OpenCL:
This patch implements Bicubic Scaling in OpenCL.
Note that HandBrake currently uses Lanczos so the performance difference appears to be much more significant. We may offer an option of BiCubic in software later.
Bicubic scaling may appear a bit sharper than the equivalent Lanczos encode and may increase file size a bit. Quality may be better or worse depending on the scaling and content and personal preference towards sharpness.
When comparing performance with a custom HandBrake build that runs Software Bicubic to OpenCL Bicubic, performance increase is about 5~7% on average on a modern GPU.

Hardware Decode via DXVA:
We also have optional DXVA decoding which may come in useful for slower/lower end systems that have a capable GPU.
This is only available on input sources that use the libav decode path.
Most GPU hardware for decoding is designed for playback, so if you are running on a high end CPU, it will bottleneck the encode process.

Requires OpenCL 1.1 or later supporting GPU.

Front end changes and testing framework are not included in this patch. This will be resolved later.

Patch will be revised further before the UI is implemented.

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

11 years agoWinGui: Remove now unneeded debug menu
sr55 [Sat, 21 Sep 2013 17:54:33 +0000 (17:54 +0000)]
WinGui: Remove now unneeded debug menu

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

11 years agoWinGui: Fix up libhb encode feature.
sr55 [Sat, 21 Sep 2013 17:47:12 +0000 (17:47 +0000)]
WinGui: Fix up libhb encode feature.

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

11 years agoWinGui: Remove the scan service wrapper as it's no longer needed.
sr55 [Sat, 21 Sep 2013 16:25:39 +0000 (16:25 +0000)]
WinGui: Remove the scan service wrapper as it's no longer needed.

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

11 years agoMacGui: fix compil<tion with clang.
Rodeo [Fri, 20 Sep 2013 15:35:51 +0000 (15:35 +0000)]
MacGui: fix compil<tion with clang.

Implementing a protocol is not enough, we need to actually tell the compiler that we are doing it.

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

11 years agolibhb: fix scanning some dvds
jstebbins [Thu, 19 Sep 2013 02:06:20 +0000 (02:06 +0000)]
libhb: fix scanning some dvds
e.g. star trek into darkness

This reverts part of a patch that was originally written for dvdread
access.  So we need to watch for regressions.

The patch was originally written for dvdread access and my not actually be
a bug in dvdnav.  So I have reverted it in dvdnav only. I also tried to
reproduce the original bug in dvdread, but was unsuccessful. So I'm
wondering if the original bug also got "fixed" by subsequent changes.

The original bug report is here:
https://forum.handbrake.fr/viewtopic.php?f=4&t=9758&start=0

The original fix is here:
https://trac.handbrake.fr/changeset/2256

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

11 years agoInterop: Removed unused structs and constants and added warnings in libhb code to...
randomengy [Thu, 19 Sep 2013 01:40:05 +0000 (01:40 +0000)]
Interop: Removed unused structs and constants and added warnings in libhb code to update the ones that are used. Broke out types for each struct into their own file. Switched all references to hb_handle_s to IntPtr and deleted that non-working struct.

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

11 years agoWinGui: Remove the option to disable libhb features as it's now vital to have this...
sr55 [Tue, 17 Sep 2013 21:06:20 +0000 (21:06 +0000)]
WinGui: Remove the option to disable libhb features as it's now vital to have this dll present.

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

11 years agoQSV: adjust trellis logging when B- or P-frames are disabled.
Rodeo [Sun, 15 Sep 2013 22:31:50 +0000 (22:31 +0000)]
QSV: adjust trellis logging when B- or P-frames are disabled.

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

11 years agoQSV: minor refactoring.
Rodeo [Sun, 15 Sep 2013 22:10:57 +0000 (22:10 +0000)]
QSV: minor refactoring.

Address the easy issues first.

Apologies if I broke HandBrakeInterop.

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

11 years agoInterop: Various fixes/improvements
randomengy [Sat, 14 Sep 2013 18:13:52 +0000 (18:13 +0000)]
Interop: Various fixes/improvements
* Exposed container list and changing compatible containers from an enum to an int to allow pulling the container list dynamically.
* Removed a few unused and out-of-date functions and structs.
* Updated a few structs to better track with the QSV changes.
* Added a method to create a pointer to a UTF-8 encoded string.
* Dither now is chosen automatically rather than turned off, which helps with FDK AAC.
* Fixed unicode custom chapter names.

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

11 years agoWinGui: Remove the AV_MP4 option so we now only have the AV Format Muxer as "MP4...
sr55 [Sat, 14 Sep 2013 17:21:24 +0000 (17:21 +0000)]
WinGui: Remove the AV_MP4 option so we now only have the AV Format Muxer as "MP4 File".   The AV_MKV option will be removed at a later date.

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

11 years agoQSV: use git diff formatting for the QSV/Libav patch.
Rodeo [Fri, 13 Sep 2013 18:56:12 +0000 (18:56 +0000)]
QSV: use git diff formatting for the QSV/Libav patch.

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

11 years agoWinGui: Fix the Audio Track selection again.
sr55 [Tue, 10 Sep 2013 17:49:56 +0000 (17:49 +0000)]
WinGui: Fix the Audio Track selection again.

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

11 years agoWinGui: Remove some unused References
sr55 [Sun, 8 Sep 2013 14:18:06 +0000 (14:18 +0000)]
WinGui: Remove some unused References

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

11 years agoWinGui: Remove system info from about window.
sr55 [Sun, 8 Sep 2013 14:17:50 +0000 (14:17 +0000)]
WinGui: Remove system info from about window.

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

11 years agolibhb: unbreak probe_dts_profile
jstebbins [Sat, 7 Sep 2013 18:51:14 +0000 (18:51 +0000)]
libhb: unbreak probe_dts_profile
When doing codec probes, the title hasn't been set yet.

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

11 years agoWinGui: Add System Information to the About Window and Log header.
sr55 [Sat, 7 Sep 2013 16:54:52 +0000 (16:54 +0000)]
WinGui: Add System Information to the About Window and Log header.

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

11 years agoWinGui: Fix the Automatic Auto selection when a preset is selected. Honour the preset...
sr55 [Sat, 7 Sep 2013 16:18:50 +0000 (16:18 +0000)]
WinGui: Fix the Automatic Auto selection when a preset is selected. Honour the preset using the primary track, then follow the rules of the automatic selection.

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

11 years agoQSV: add an option to control B-pyramid.
Rodeo [Thu, 5 Sep 2013 20:30:07 +0000 (20:30 +0000)]
QSV: add an option to control B-pyramid.

Since there is no way to control it directly, output settings need to be adjusted a bit.

Disabled by default for improved compatibility.

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

11 years agolibhb: svn rm mcdeint.*
jstebbins [Tue, 3 Sep 2013 22:11:03 +0000 (22:11 +0000)]
libhb: svn rm mcdeint.*

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

11 years agolibhb: remove mcdeint deinterlacer
jstebbins [Tue, 3 Sep 2013 22:00:30 +0000 (22:00 +0000)]
libhb: remove mcdeint deinterlacer

It's slow and it's quality isn't perticularly impressive... and it relies
on the snow encoder which no longer exists in libav.

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

11 years agoWinGui: Change the implementation of the Source Menu Image handling. Hopefully this...
sr55 [Tue, 3 Sep 2013 17:01:14 +0000 (17:01 +0000)]
WinGui: Change the implementation of the Source Menu Image handling. Hopefully this might workaround a crash some people are seeing in the .NET BitmapDecoder object.

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

11 years agoWinGui: Fix around logging when the TextWriter is closed and Removed an unneeded...
sr55 [Sun, 1 Sep 2013 15:42:24 +0000 (15:42 +0000)]
WinGui:  Fix around logging when the TextWriter is closed and Removed an unneeded error handler in Interop library. (libavformat mp4 muxer does not have a large file size option)

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

11 years agoWinGui: Another small fix around point to point mode setting of start and end points.
sr55 [Sun, 1 Sep 2013 15:33:40 +0000 (15:33 +0000)]
WinGui: Another small fix around point to point mode setting of start and end points.

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

11 years agoWinGui: Fix an issue with the Seconds mode (not setting end point correctly)
sr55 [Sun, 1 Sep 2013 15:31:24 +0000 (15:31 +0000)]
WinGui: Fix an issue with the Seconds mode (not setting end point correctly)

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

11 years agoWinGui: Fix an issue with cropping param not being send to the CLI in AutoMode. This...
sr55 [Sun, 1 Sep 2013 15:01:23 +0000 (15:01 +0000)]
WinGui: Fix an issue with cropping param not being send to the CLI in AutoMode. This is an issue where scan previewer count >10.
Fixed an Auto-Name issue for DVD drives.

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

11 years agoQSV: minor cleanup.
Rodeo [Sun, 1 Sep 2013 09:44:45 +0000 (09:44 +0000)]
QSV: minor cleanup.

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

11 years agoQSV: choose and re-use a "preferred" implementation instead of using MFX_IMPL_AUTO_ANY.
Rodeo [Sun, 1 Sep 2013 08:56:50 +0000 (08:56 +0000)]
QSV: choose and re-use a "preferred" implementation instead of using MFX_IMPL_AUTO_ANY.

This fixes a rare issue where hardware support was detected as available and used in encqsvInit, but MFXInit silently fell back to software in qsv_enc_init (still don't know what that's all about though).

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

11 years agoWinGui: Possible fix for the main feature detection.
sr55 [Fri, 30 Aug 2013 10:45:03 +0000 (10:45 +0000)]
WinGui: Possible fix for the main feature detection.

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

11 years agoInterop: Add Path to the Title object
sr55 [Thu, 29 Aug 2013 16:02:06 +0000 (16:02 +0000)]
Interop: Add Path to the Title object
WinGui: Set the SourceName in the Title object so auto-naming works correctly for folder scans.

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

11 years agoWinGui: Some more work on the Instant HandBrake prototype.
sr55 [Tue, 27 Aug 2013 19:11:43 +0000 (19:11 +0000)]
WinGui: Some more work on the Instant HandBrake prototype.

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

11 years agoWinGui: Update the new radio buttons to work with the presets changing.
sr55 [Tue, 27 Aug 2013 17:57:14 +0000 (17:57 +0000)]
WinGui: Update the new radio buttons to work with the presets changing.

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

11 years agoWinGui: Show a radio button on the filters tab to select between Deinterlace and...
sr55 [Tue, 27 Aug 2013 17:53:01 +0000 (17:53 +0000)]
WinGui: Show a radio button on the filters tab to select between Deinterlace and Decomb mode similar to the Mac/Linux UI's

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

11 years agolibhb: fix potential pgs timestamp problem
jstebbins [Mon, 26 Aug 2013 21:27:39 +0000 (21:27 +0000)]
libhb: fix potential pgs timestamp problem
Under rare circumstances, the computed start time would jump backward.

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

11 years agoenc_qsv: fix crash.
Rodeo [Mon, 26 Aug 2013 20:23:30 +0000 (20:23 +0000)]
enc_qsv: fix crash.

This was caused by trying to encode even when encoder initialization failed (qsv_enc_init).

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

11 years agoPrint QSV info in all logs in a libhb-friendly manner, via hb_scan (was printed in...
Rodeo [Mon, 26 Aug 2013 00:12:11 +0000 (00:12 +0000)]
Print QSV info in all logs in a libhb-friendly manner, via hb_scan (was printed in hb_init).

Also, print an error to the log if attempting to print uninitialized QSV info.

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