]> granicus.if.org Git - handbrake/log
handbrake
11 years agoWinGui: Started work on API improvements in the Application services dll. Removing...
sr55 [Tue, 19 Nov 2013 21:55:44 +0000 (21:55 +0000)]
WinGui: Started work on API improvements in the Application services dll. Removing the concept of user settings and replacing it with a Configuration object.

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

11 years agolibhb: fix reporting of buffer allocation statistics during scan
jstebbins [Mon, 18 Nov 2013 19:15:38 +0000 (19:15 +0000)]
libhb: fix reporting of buffer allocation statistics during scan
Put hb_buffer_pool_free() in the right position after all buffers
allocated during scan are free.

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

11 years agoLinGui: fix widget dependency rule for lavc advanced options
jstebbins [Mon, 18 Nov 2013 17:15:43 +0000 (17:15 +0000)]
LinGui: fix widget dependency rule for lavc advanced options

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

11 years agoBuildSystem: OSX, add osx10.9 xcconfig files to project.
konablend [Sun, 10 Nov 2013 02:29:25 +0000 (02:29 +0000)]
BuildSystem: OSX, add osx10.9 xcconfig files to project.

This was missed in r5872 and is necessary for SDK selection
from within Xcode IDE.

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

11 years agoWinGui: Regenerate the handbrakepineapple.ico file. Improves the icon appearance...
sr55 [Sat, 9 Nov 2013 16:28:56 +0000 (16:28 +0000)]
WinGui: Regenerate the handbrakepineapple.ico file. Improves the icon appearance on windows substantially.

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

11 years agolibhb: don't use DXYVA2-accelerated decoding when QSV-accelerated decoding is enabled...
Rodeo [Fri, 8 Nov 2013 23:22:52 +0000 (23:22 +0000)]
libhb: don't use DXYVA2-accelerated decoding when QSV-accelerated decoding is enabled. The latter is ebtter and faster.

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

11 years agolibhb: make avformat-based muxers the default.
Rodeo [Fri, 8 Nov 2013 23:09:51 +0000 (23:09 +0000)]
libhb: make avformat-based muxers the default.

They've matured enough by now.

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

11 years agoWinGui: use libhb presets for QSV.
Rodeo [Fri, 8 Nov 2013 23:04:44 +0000 (23:04 +0000)]
WinGui: use libhb presets for QSV.

This replaces the built-in QSV presets.

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

11 years agoWinGui: don't ignore the H.264 profile and level when the encoder is QSV.
Rodeo [Fri, 8 Nov 2013 23:00:19 +0000 (23:00 +0000)]
WinGui: don't ignore the H.264 profile and level when the encoder is QSV.

The QSV encoder can also honor those settings.

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

11 years agoBump x264 to r2377 1ca7bb9.
Rodeo [Fri, 8 Nov 2013 22:49:56 +0000 (22:49 +0000)]
Bump x264 to r2377 1ca7bb9.

Miscellaneous bugfixes and improvements.

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

11 years agoOpenCL: use the new library loading architecture for all OpenCL code.
Rodeo [Fri, 8 Nov 2013 21:21:02 +0000 (21:21 +0000)]
OpenCL: use the new library loading architecture for all OpenCL code.

An OpenCL SDK is no longer needed to build OpenCL support.
Note: as a result, the --enable-opencl configure option is removed.

Also, libOpenCL is no longer needed to run the application (it is still necessary to use OpenCL features, of course).

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

11 years agoWinGui: Remove AV_MKV option. Now default for the build
sr55 [Fri, 8 Nov 2013 19:52:56 +0000 (19:52 +0000)]
WinGui: Remove AV_MKV option. Now default for the build

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

11 years agoMacGui: update to the new preset getter API.
Rodeo [Fri, 8 Nov 2013 15:55:23 +0000 (15:55 +0000)]
MacGui: update to the new preset getter API.

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

11 years agoNew getters for video presets, tunes, profiles and levels.
Rodeo [Fri, 8 Nov 2013 15:45:03 +0000 (15:45 +0000)]
New getters for video presets, tunes, profiles and levels.

x264 is no longer the only encoder with a built-in preset system; QSV has its own presets, and supports setting the H.264 profile and level, too.

Old getters still in place for compatibility with the old API..

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

11 years agoports: cosmetics.
Rodeo [Fri, 8 Nov 2013 15:33:00 +0000 (15:33 +0000)]
ports: cosmetics.

Also, previous patch is by icchan. Thanks!

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

11 years agoports: cast return result from getpid().
Rodeo [Fri, 8 Nov 2013 15:29:03 +0000 (15:29 +0000)]
ports: cast return result from getpid().

Fixes a warning caused by a type mismatch (int vs. pid_t).

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

11 years agoDenoise (hqdn3d) syntax change: accept settings for individual chroma channels.
Rodeo [Fri, 8 Nov 2013 12:45:25 +0000 (12:45 +0000)]
Denoise (hqdn3d) syntax change: accept settings for individual chroma channels.

Patch by BradleyS. Thanks!

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

11 years agoInterop: Exposed properties and methods on subtitle tracks to determine if they can...
randomengy [Thu, 7 Nov 2013 18:25:29 +0000 (18:25 +0000)]
Interop: Exposed properties and methods on subtitle tracks to determine if they can be burnt in, passed through or marked "forced only".

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

11 years agoFix a small leak in encca_aac.
ritsuka [Tue, 5 Nov 2013 17:11:27 +0000 (17:11 +0000)]
Fix a small leak in encca_aac.

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

11 years agoMacGUI: validate the toolbars items after a scan. This used to be done but got lost...
ritsuka [Tue, 5 Nov 2013 17:02:38 +0000 (17:02 +0000)]
MacGUI: validate the toolbars items after a scan. This used to be done but got lost somewhere along the way.

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

11 years agoRB626: return code support added
maxd [Tue, 5 Nov 2013 13:46:42 +0000 (13:46 +0000)]
RB626: return code support added

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

11 years agodecomb: don't use frame flags to modify deinterlace behavior
jstebbins [Tue, 5 Nov 2013 00:27:30 +0000 (00:27 +0000)]
decomb: don't use frame flags to modify deinterlace behavior
They are not a reliable indicator that the frame is truly progressive.

Also, fix mask mode. It generated nothing but black frames.

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

11 years agoMacGUI: Refactor HBPreviewController. Rename the actual class to HBPreviewController...
ritsuka [Mon, 4 Nov 2013 07:09:50 +0000 (07:09 +0000)]
MacGUI: Refactor HBPreviewController. Rename the actual class to HBPreviewController, and move the image and video creation code to a separate HBPreviewGenerator class. Update the preview duration list as Rodeo suggested.

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

11 years agoMacGUI: fixed OutputPanel.xib warnings.
ritsuka [Sun, 3 Nov 2013 12:19:19 +0000 (12:19 +0000)]
MacGUI: fixed OutputPanel.xib warnings.

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

11 years agofix a52dec and mpeg2dec duplicate symbols w/ OSX 10.9 SDK
konablend [Sat, 2 Nov 2013 23:48:48 +0000 (23:48 +0000)]
fix a52dec and mpeg2dec duplicate symbols w/ OSX 10.9 SDK

- disable AC_C_ALWAYS_INLINE for a52dec (patch activates on darwin only)
- disable AC_C_ALWAYS_INLINE for mpeg2dec (patch activates on darwin only)
- enable mpeg2dec autoreconf (darwin only)

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

11 years agoWinGui: fix an issue where the value of the H.264 level and profile widgets was used...
Rodeo [Sat, 2 Nov 2013 22:29:23 +0000 (22:29 +0000)]
WinGui: fix an issue where the value of the H.264 level and profile widgets was used even though the advanced panel was enabled (and thus the widgets were disabled and not settable by the user).

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

11 years agoOpenCL: initial work on a new OpenCl wrapper, which will eventually phase out the...
Rodeo [Sat, 2 Nov 2013 20:48:34 +0000 (20:48 +0000)]
OpenCL: initial work on a new OpenCl wrapper, which will eventually phase out the existing one.

Based on an x264 patch by Anton Mitrofanov.

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

11 years agoMacGUI: refactor PictureController. kill a bit of dead code (~500 lines), switch...
ritsuka [Sat, 2 Nov 2013 18:09:06 +0000 (18:09 +0000)]
MacGUI: refactor PictureController. kill a bit of dead code (~500 lines), switch some ivars to properties, hide the private methods and rework the deinterlace logic. Plus UI alignment.

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

11 years agoPush 2 new folder/file icons into the main gfx folder.
sr55 [Sat, 2 Nov 2013 14:40:45 +0000 (14:40 +0000)]
Push 2 new folder/file icons into the main gfx folder.

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

11 years agoWinGui: Update the video preview window icon. Was using the wrong one.
sr55 [Sat, 2 Nov 2013 14:34:50 +0000 (14:34 +0000)]
WinGui: Update the video preview window icon. Was using the wrong one.

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

11 years agoWinGui: Changed the Source Menu file icon to something that scales down a bit better.
sr55 [Sat, 2 Nov 2013 12:55:16 +0000 (12:55 +0000)]
WinGui: Changed the Source Menu file icon to something that scales down a bit better.

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

11 years agoWinGui: Fixed an issue with the Queue toolbar where resizing the widow to a smaller...
sr55 [Sat, 2 Nov 2013 12:36:12 +0000 (12:36 +0000)]
WinGui: Fixed an issue with the Queue toolbar where resizing the widow to a smaller side made the toolbar hide the buttons in the dropdown.
Added new icons for "Folder" and "Copy" based on the current style.

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

11 years agolibhb: fix problem with SSA render when muxer is avformat
jstebbins [Fri, 1 Nov 2013 17:51:52 +0000 (17:51 +0000)]
libhb: fix problem with SSA render when muxer is avformat

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

11 years agolibhb: fix BD audio detection problem
jstebbins [Mon, 28 Oct 2013 23:44:52 +0000 (23:44 +0000)]
libhb: fix BD audio detection problem
BDs can (and occasionally do) have different audio stream types in
different clips that compose a playlist.  We try to pick the audios that
appear in the most clips, but this breaks down when there are only 2
clips to choose from.  So in the case of only 2 clips, choose audio
from the longest clip.

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

11 years agolibhb: fix another case of spurious "missing start code" messages
jstebbins [Mon, 28 Oct 2013 22:13:12 +0000 (22:13 +0000)]
libhb: fix another case of spurious "missing start code" messages
I have a poorly mastered BD that does not pad the adaptation field
of the PCR PID properly.  Since these packets are only used to extract
the PCR, we can drop them early before the code that would generate
these error messages.

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

11 years agolibhb: fix double hb_buffer_close
jstebbins [Mon, 28 Oct 2013 19:01:28 +0000 (19:01 +0000)]
libhb: fix double hb_buffer_close
Don't close a list of buffers then also close the last item in the list :-\

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

11 years agolibhb: fix "missing start code" error message when encoding BD
jstebbins [Mon, 28 Oct 2013 17:48:15 +0000 (17:48 +0000)]
libhb: fix "missing start code" error message when encoding BD
CC subtitles which are embedded in the video stream have an id
of 0 assigned.  We should ignore these when setting up the PID
filter list since they do not use an independent PID.

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

11 years agolibhb: fix compiler warnings
jstebbins [Mon, 28 Oct 2013 17:18:18 +0000 (17:18 +0000)]
libhb: fix compiler warnings
unused variables in denoise.c

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

11 years agoDenoise (hqdn3d) performance improvements.
Rodeo [Mon, 28 Oct 2013 16:05:40 +0000 (16:05 +0000)]
Denoise (hqdn3d) performance improvements.

Based on http://git.libav.org/?p=libav.git;a=commit;h=0f583e6 by Loren Merritt.

Patch by BradleyS. Thanks!

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

11 years agoDenoise (hqdn3d) optimizations.
Rodeo [Mon, 28 Oct 2013 16:03:09 +0000 (16:03 +0000)]
Denoise (hqdn3d) optimizations.

Based on http://git.libav.org/?p=libav.git;a=commit;h=85e228c by Loren Merritt.

Patch by BradleyS. Thanks!

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

11 years agoWinGui: Couple of cosmetic fixes / minor improvements.
sr55 [Sun, 27 Oct 2013 14:12:30 +0000 (14:12 +0000)]
WinGui: Couple of cosmetic fixes / minor improvements.

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

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