]> granicus.if.org Git - handbrake/log
handbrake
12 years agoWinGui: Misc Fixes
sr55 [Sun, 30 Sep 2012 14:08:03 +0000 (14:08 +0000)]
WinGui: Misc Fixes

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

12 years agoWinGui: Fix broken log window.
sr55 [Sat, 29 Sep 2012 21:43:11 +0000 (21:43 +0000)]
WinGui: Fix broken log window.

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

12 years agoWinGui: Readded missing functionality that scans files dropped on the app icon when...
sr55 [Sat, 29 Sep 2012 21:40:46 +0000 (21:40 +0000)]
WinGui: Readded missing functionality that scans files dropped on the app icon when starting the app.

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

12 years agoMacGui: when creating a new preset, hide "Custom" when the anamorphic mode is Strict...
Rodeo [Sat, 29 Sep 2012 18:10:21 +0000 (18:10 +0000)]
MacGui: when creating a new preset, hide "Custom" when the anamorphic mode is Strict; is has no effect and therefore isn't applicable.

Use tags instead of the index to store correct preset values for each mode.

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

12 years agolibhb: fix calculation of sync->gain_factor.
Rodeo [Sat, 29 Sep 2012 17:55:37 +0000 (17:55 +0000)]
libhb: fix calculation of sync->gain_factor.

Revision 4976 simplified it, but it was still slightly incorrect.

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

12 years agoLingui: make hb icon more visible on Summary tab.
jstebbins [Fri, 28 Sep 2012 00:13:31 +0000 (00:13 +0000)]
Lingui: make hb icon more visible on Summary tab.

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

12 years agoLingui: update hb icon. Fix icon in notification bubble on fedora.
jstebbins [Thu, 27 Sep 2012 23:54:46 +0000 (23:54 +0000)]
Lingui: update hb icon. Fix icon in notification bubble on fedora.

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

12 years agoMacGUI: fix build after previous commit.
Rodeo [Thu, 27 Sep 2012 22:59:28 +0000 (22:59 +0000)]
MacGUI: fix build after previous commit.

The path to HandBrake.icns was set wrong in the Xcode project.

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

12 years agoMacGui: Use new dock icon created by Matt Johnson (mattdog.100 [at] gmail.com)
dynaflash [Thu, 27 Sep 2012 18:50:34 +0000 (18:50 +0000)]
MacGui: Use new dock icon created by Matt Johnson (mattdog.100 [at] gmail.com)
- Details can be found here https://forum.handbrake.fr/viewtopic.php?f=4&t=24639&start=125.
- Thanks!!!

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

12 years agoWinGui: Deploy the updated application icon.
sr55 [Thu, 27 Sep 2012 18:33:27 +0000 (18:33 +0000)]
WinGui: Deploy the updated application icon.

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

12 years agohb64.png resave to 64x64
sr55 [Thu, 27 Sep 2012 17:09:44 +0000 (17:09 +0000)]
hb64.png resave to 64x64

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

12 years agohb16.png is now 16x16
sr55 [Thu, 27 Sep 2012 17:08:36 +0000 (17:08 +0000)]
hb16.png is now 16x16

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

12 years agoGFX: Make all the logo image files square.
sr55 [Thu, 27 Sep 2012 12:48:19 +0000 (12:48 +0000)]
GFX: Make all the logo image files square.

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

12 years agoWinGui: Swap out the interface for IEncode in the preview window.
sr55 [Wed, 26 Sep 2012 21:34:17 +0000 (21:34 +0000)]
WinGui: Swap out the interface for IEncode in the preview window.

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

12 years agoMove the old logo for safe keeping.
sr55 [Wed, 26 Sep 2012 19:55:55 +0000 (19:55 +0000)]
Move the old logo for safe keeping.

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

12 years agoGFX: Some improvements to the updated HandBrake Icon by Matt Johnson (mattdog.100...
sr55 [Wed, 26 Sep 2012 17:45:30 +0000 (17:45 +0000)]
GFX: Some improvements to the updated HandBrake Icon by Matt Johnson (mattdog.100 [at] gmail.com)

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

12 years agoRemove Test.txt.
sr55 [Tue, 25 Sep 2012 16:52:53 +0000 (16:52 +0000)]
Remove Test.txt.

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

12 years agoWinGui: LibHb Encode and Scan support (off by default for the moment until I have...
sr55 [Tue, 25 Sep 2012 15:23:17 +0000 (15:23 +0000)]
WinGui: LibHb Encode and Scan support (off by default for the moment until I have time to test this and tidy up some of the code) Can be turned on in preferences.

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

12 years agoWinGui: Change hbicon.psd -> png. Psd was not layered since the icon was rendered...
sr55 [Sun, 23 Sep 2012 19:56:08 +0000 (19:56 +0000)]
WinGui: Change hbicon.psd -> png.  Psd was not layered since the icon was rendered in modelling software. Saves ~8MB download from source control.

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

12 years agoWinGui: Misc typos, tidyup
sr55 [Sun, 23 Sep 2012 19:53:07 +0000 (19:53 +0000)]
WinGui: Misc typos, tidyup

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

12 years agolibhb: remove unnecessary usage of hb_audio_remap.
Rodeo [Sun, 23 Sep 2012 14:14:38 +0000 (14:14 +0000)]
libhb: remove unnecessary usage of hb_audio_remap.

All decoders now output channels in Libav order.

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

12 years agolibhb: simplify calculation of sync->gain_factor.
Rodeo [Sun, 23 Sep 2012 13:57:21 +0000 (13:57 +0000)]
libhb: simplify calculation of sync->gain_factor.

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

12 years agocontrib/ffmpeg: update patch numbers after SVN revision 4950.
Rodeo [Sat, 22 Sep 2012 15:19:47 +0000 (15:19 +0000)]
contrib/ffmpeg: update patch numbers after SVN revision 4950.

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

12 years agoMacGui: miscellaneous cosmetics and consistency adjustments.
Rodeo [Sat, 22 Sep 2012 14:54:28 +0000 (14:54 +0000)]
MacGui: miscellaneous cosmetics and consistency adjustments.

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

12 years agoMacGui: Add the drag & drop features on both DockIcon and Handbrake Main Window
Rodeo [Fri, 21 Sep 2012 20:25:24 +0000 (20:25 +0000)]
MacGui: Add the drag & drop features on both DockIcon and Handbrake Main Window

- Patch courtesy of Jerome Lacube. Thanks Jerome!
- It handles dragging & dropping one file, and folders.
-- Please note that when dropping a folder, the files inside will be treated as titles.
- Specifics can be found here https://reviews.handbrake.fr/r/345/

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

12 years ago- fix issue:
konablend [Fri, 21 Sep 2012 18:45:29 +0000 (18:45 +0000)]
- fix issue:
    abort() called
    *** Terminating app due to uncaught exception 'NSInvalidArgumentException'
    reason: '*** -blueComponent not defined for the NSColor NSCustomColorSpace Generic RGB colorspace 0.5 0.5 0.5 1; need to first convert colorspace.'
- remove superfluous color conversions; according to NSGradient docs, any needed colorspace conversions of params are automatic
- use [NSColor colorWithAlphaComponent] to force alpha
- change [NSColor colorWithSRGBRed] to [NSColor colorWithDeviceRed] for 10.6 API compatibilty
- [cosmetic] rename parm withEndColor -> endColor
- [leak] release NSGradient

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

12 years agoInterop: Adding missing file from previous checkin.
randomengy [Fri, 21 Sep 2012 01:01:32 +0000 (01:01 +0000)]
Interop: Adding missing file from previous checkin.

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

12 years agodecpgssub: avoid dropping subtitles when we get broken timestamps.
Rodeo [Thu, 20 Sep 2012 14:59:14 +0000 (14:59 +0000)]
decpgssub: avoid dropping subtitles when we get broken timestamps.

Instead, use a default PTS difference of 3 seconds.

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

12 years agoInterop: Bring up to speed with libhb. Exposes more functions, accommodates channel...
randomengy [Thu, 20 Sep 2012 01:32:35 +0000 (01:32 +0000)]
Interop: Bring up to speed with libhb. Exposes more functions, accommodates channel layout and filter changes and allows setting CFR same as source.

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

12 years agoMacGUI: increase dock icon ETA badge's refresh rate from 0.5 to 0.1%.
Rodeo [Tue, 18 Sep 2012 17:26:18 +0000 (17:26 +0000)]
MacGUI: increase dock icon ETA badge's refresh rate from 0.5 to 0.1%.

Even with fast encoding settings, the previous value was a bit slow for full-length encodes.

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

12 years agoMacGui: Objective-C/cosmetics.
Rodeo [Sun, 16 Sep 2012 22:38:19 +0000 (22:38 +0000)]
MacGui: Objective-C/cosmetics.

Apologies if I break anything.

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

12 years agodeca52: ignore mix levels when dowmixing to Lt/Rt.
Rodeo [Sun, 16 Sep 2012 18:51:11 +0000 (18:51 +0000)]
deca52: ignore mix levels when dowmixing to Lt/Rt.

This matches liba52's built-in downmix code.

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

12 years agohb_audio_resample: remove unnecessary check.
Rodeo [Sun, 16 Sep 2012 18:33:09 +0000 (18:33 +0000)]
hb_audio_resample: remove unnecessary check.

Not sure why I thought this was needed.

Apologies if I break anything.

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

12 years agoMacGui: New dock icon progess behavior with percent & ETA "badges".
dynaflash [Sat, 15 Sep 2012 17:08:16 +0000 (17:08 +0000)]
MacGui: New dock icon progess behavior with percent & ETA "badges".
- Patch by Jerome Lacube Thanks !!
- Details can be found here https://reviews.handbrake.fr/r/344/

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

12 years agolibhb: fix a collection of small memory leaks
jstebbins [Thu, 13 Sep 2012 20:13:59 +0000 (20:13 +0000)]
libhb: fix a collection of small memory leaks

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

12 years agoRevert temporary code that silences valgrind warnings
jstebbins [Wed, 12 Sep 2012 15:56:47 +0000 (15:56 +0000)]
Revert temporary code that silences valgrind warnings
memsets silence silly valgrind warnings, but we don't want
them in "production"

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

12 years agolibhb: fix potential invalid memory access in decomb (again)
jstebbins [Wed, 12 Sep 2012 15:54:00 +0000 (15:54 +0000)]
libhb: fix potential invalid memory access in decomb (again)
I missed a spot where an even wider left/right margin is
needed.

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

12 years agolibhb: fix potential invalid memory access in decomb
jstebbins [Wed, 12 Sep 2012 13:09:21 +0000 (13:09 +0000)]
libhb: fix potential invalid memory access in decomb
YADIF_CHECK in MODE_CUBIC touches pixels -3 and +3 from the current position.
We had a conditional to bypass this check if we were 2 away from left
or right edges which was insuffecient for this mode.

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

12 years agoWinGui: Couple fixes to Pictures settings and add presets.
sr55 [Tue, 11 Sep 2012 19:27:40 +0000 (19:27 +0000)]
WinGui: Couple fixes to Pictures settings and add presets.

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

12 years agoWinGui: Missing comma with "Greek, Modern"
sr55 [Tue, 11 Sep 2012 18:49:05 +0000 (18:49 +0000)]
WinGui: Missing comma with "Greek, Modern"

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

12 years agolibhb: learn to spell "dilate"
jstebbins [Tue, 11 Sep 2012 13:58:50 +0000 (13:58 +0000)]
libhb: learn to spell "dilate"

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

12 years agolibhb: fix logs for decomb threads
jstebbins [Tue, 11 Sep 2012 13:51:59 +0000 (13:51 +0000)]
libhb: fix logs for decomb threads
Several threads used the exact same log message when starting which is
confusing.

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

12 years agohb_apply_h264_level: return 1 in case of warnings and make return values > 0 non...
Rodeo [Tue, 11 Sep 2012 11:58:47 +0000 (11:58 +0000)]
hb_apply_h264_level: return 1 in case of warnings and make return values > 0 non-fatal.

This could be used by a GUI to remove incompatible levels from a drop-down, for example.

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

12 years agohb_apply_h264_level: add a parameter to silence warnings.
Rodeo [Tue, 11 Sep 2012 11:46:51 +0000 (11:46 +0000)]
hb_apply_h264_level: add a parameter to silence warnings.

This can be used to avoid log pollution when e.g. using an x264 unparse function.

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

12 years agoRevert a part of revision 4950 which was not in the ReviewBoard patch.
Rodeo [Tue, 11 Sep 2012 11:34:39 +0000 (11:34 +0000)]
Revert a part of revision 4950 which was not in the ReviewBoard patch.

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

12 years agolibhb: handle overlapping timestamps better
jstebbins [Tue, 11 Sep 2012 09:45:21 +0000 (09:45 +0000)]
libhb: handle overlapping timestamps better
This shouldn't happen except in the case of bad sources or an hb bug.
But if encountered, it provoked a feedback loop of frame dropping and
duplication where there should have been a single frame drop.

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

12 years agolibhb: Fix error when setting timestamps for bobbed frames in decomb
jstebbins [Tue, 11 Sep 2012 08:13:16 +0000 (08:13 +0000)]
libhb: Fix error when setting timestamps for bobbed frames in decomb
is_combed flag was not getting updated, so the timestamp recalculation was
skipped even though 2 frames were output.

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

12 years agoRemove contrib/ffmpeg/A02-png-sequences.patch.
konablend [Mon, 10 Sep 2012 17:39:20 +0000 (17:39 +0000)]
Remove contrib/ffmpeg/A02-png-sequences.patch.

Set AVPacket flags indicating key-frame for avcodec_decode_video2() call. Specifically, libav documentation states:

 * @param[in] avpkt The input AVpacket containing the input buffer.
 *            You can create such packet with av_init_packet() and by then setting
 *            data and size, some decoders might in addition need other fields like
 *            flags&AV_PKT_FLAG_KEY. All decoders are designed to use the least
 *            fields possible.

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

12 years agoDisable format specification generation when building libtheora.
Rodeo [Mon, 10 Sep 2012 12:18:39 +0000 (12:18 +0000)]
Disable format specification generation when building libtheora.

Fixes cross-compile failure on hosts with pdfLaTeX, BibTeX and TransFig installed.

Patch by Arthur Liu. Thanks!

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

12 years agoTesting IRC BOT
sr55 [Sun, 9 Sep 2012 16:32:57 +0000 (16:32 +0000)]
Testing IRC BOT

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

12 years agoWinGui: Update a broken Property Changed notification in the AudioTrack model
sr55 [Sun, 9 Sep 2012 11:09:58 +0000 (11:09 +0000)]
WinGui: Update a broken Property Changed notification in the AudioTrack model

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

12 years agoencx264: make hb_x264_encopt_synonyms two-dimensional instead of faking it.
Rodeo [Sun, 9 Sep 2012 01:17:10 +0000 (01:17 +0000)]
encx264: make hb_x264_encopt_synonyms two-dimensional instead of faking it.

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

12 years agoencx264: use less generic names for some stuff.
Rodeo [Sun, 9 Sep 2012 01:03:33 +0000 (01:03 +0000)]
encx264: use less generic names for some stuff.

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

12 years agohb_apply_h264_level() update & cleanup.
Rodeo [Sun, 9 Sep 2012 00:55:59 +0000 (00:55 +0000)]
hb_apply_h264_level() update & cleanup.

The caller may specify any width & height now, rather than having to initialize the x264_param_t's fields directly.

Since it's reasonable to expect GUIs to only provide valid levels (if it doesn't, there's a bug that needs fixing), it's OK to abort when the requested level is not valid.

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

12 years agoUpdate the fmac scalar patch. Instead of a workaround, apply the fix from Libav,...
Rodeo [Sat, 8 Sep 2012 22:08:24 +0000 (22:08 +0000)]
Update the fmac scalar patch. Instead of a workaround, apply the fix from Libav, so that the patch can be dropped on the next bump.

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

12 years agoRemove mingw+libmkv dependency on libiberty.
konablend [Sat, 8 Sep 2012 20:59:47 +0000 (20:59 +0000)]
Remove mingw+libmkv dependency on libiberty.
Remove mingw+test dependency on libiberty.
Add build system support for propagating compiler DEFINES to contrib configure.

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

12 years agoWinGui: Couple Corrections to the Audiobitrate converter.
sr55 [Sat, 8 Sep 2012 18:16:46 +0000 (18:16 +0000)]
WinGui: Couple Corrections to the Audiobitrate converter.

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

12 years agoA patch for mpeg2 SetWindowLong() and GWL_USERDATA do not exist in recent versions...
sr55 [Sat, 8 Sep 2012 18:04:11 +0000 (18:04 +0000)]
A patch for mpeg2 SetWindowLong() and GWL_USERDATA do not exist in recent versions of mingw-w64. Since we don't output to the display anyway, I've just disabled the code so things build.

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

12 years agoWinGui: Hide the Debug Menu behind an option.
sr55 [Sat, 8 Sep 2012 17:54:15 +0000 (17:54 +0000)]
WinGui: Hide the Debug Menu behind an option.

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

12 years agoWinGui: Implement hb_get_audio_bitrate_limits() in the Windows UI to provide only...
sr55 [Sat, 8 Sep 2012 17:46:28 +0000 (17:46 +0000)]
WinGui: Implement hb_get_audio_bitrate_limits() in the Windows UI to provide only valid bitrate options.  Also disabled the bitrate selection control for flac.

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

12 years agoWinGui: Updated the Bitrate Converted to be a bit more intelligent about it's bitrate...
sr55 [Fri, 7 Sep 2012 21:40:41 +0000 (21:40 +0000)]
WinGui: Updated the Bitrate Converted to be a bit more intelligent about it's bitrate selection.

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

12 years agoWinGui: Make sure new Mixdowns get appropriate bitrate selections for aac
sr55 [Fri, 7 Sep 2012 21:05:02 +0000 (21:05 +0000)]
WinGui: Make sure new Mixdowns get appropriate bitrate selections for aac

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

12 years agoWinGui: Add new sample rates, 8, 11.025, 12 and 16 as options
sr55 [Fri, 7 Sep 2012 20:29:48 +0000 (20:29 +0000)]
WinGui: Add new sample rates, 8, 11.025, 12 and 16 as options

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

12 years agoWinGui: Add support for new Mixdowns (6.1, 7.1, 7.1 (5F/2R/LFE), Mono left only,...
sr55 [Fri, 7 Sep 2012 20:19:42 +0000 (20:19 +0000)]
WinGui: Add support for new Mixdowns (6.1, 7.1, 7.1 (5F/2R/LFE), Mono left only, Mono Right only). Please note this will break any presets that currently have 6ch (aka 5.1 or 6 Channels Discrete) Presets must be re-created.

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

12 years agoAdd autotools { autoconf, automake, libtool } as contribs.
konablend [Fri, 7 Sep 2012 20:10:37 +0000 (20:10 +0000)]
Add autotools { autoconf, automake, libtool } as contribs.

Primarily necessary for OSX platform after Xcode 4.2.x, but also useful for
any platform which is missing or has obsolete versions.

1. add configure option: --enable-local-autotools
2. --enable-local-autotools is automatically TRUE when any of { autoconf, automake, libtool } are not found in path.
3. --enable-local-autotools causes contribs of { m4, autoconf, automake, lib tool } to be built
4. add m4 to contrib (prerequisite for autoconf)
5. add autoconf to contrib (prerequisite for automaker and many contribs)
6. add automake to contrib (prerequisite for many contribs)
7. add libtool to contrib (prerequisite for many contribs)
8. All contribs (except the autotools themselves) automatically mark autotools as a prerequisite.
9. $(AUTOTOOL_MODULES) is available if other non-contrib modules need to mark as prerequisite.
10. PATH is automatically prefixed with contrib/bin for all modules, all targets.

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

12 years agoUpdate Libav -> HandBrake colorimetry translation after http://git.libav.org/?p=libav...
Rodeo [Fri, 7 Sep 2012 18:15:22 +0000 (18:15 +0000)]
Update Libav -> HandBrake colorimetry translation after http://git.libav.org/?p=libav.git;a=commit;h=ca93f0fa361c302e60455c5b82f88422ab66f589

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

12 years agoRemove redundant patch. It's been superseded by http://git.libav.org/?p=libav.git...
Rodeo [Fri, 7 Sep 2012 14:47:56 +0000 (14:47 +0000)]
Remove redundant patch. It's been superseded by http://git.libav.org/?p=libav.git;a=commit;h=14f063d294a18a31928d2167a66b1087910e14c8

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

12 years agoAudio improvements.
Rodeo [Mon, 3 Sep 2012 12:37:16 +0000 (12:37 +0000)]
Audio improvements.

New supported samplerates: 8, 11.025, 12, 16 kHz.
Now 8, 11.025, 12, 16, 22.05, 24, 42, 44.1, 48 Khz are supported.
Unsupported samplerates are sanitized to the closest samplerate for all encoders.

Samplerates < 32 kHz are now forbidden for AC3 encoding (sanitized to 32 kHz). Most AC3 decoders don't support such samplerates.

New upmixing: 3.0 (Front Left, Right & Center) can now be upmixed to 5.1 to preserve the center channel.

New mixdowns:

6.1 (Front Left, Right & Center, Surround Left, Right & Center, LFE)
7.1 (Front Left, Right & Center, Surround Left & Right, Rear Left & Right, LFE)
-> available to Vorbis & FLAC encoders for compatible input channel layouts
7.1 (Front Left, Right & Center, Front Left & Right of Center, Surround Left & Right, LFE)
-> available to AAC encoders (ca_aac, ca_haac, faac) for compatible input channel layouts

Mono (Left  Only): Stereo to Mono by discarding the Right channel
Mono (Right Only): Stereo to Mono by discarding the Left  channel
-> available to all encoders for non-Dolby Stereo input

The "6-channel discrete" mixdown becomes "5.1 Channels".

New bitrates: 960 - 1536 Kbps.
This lets users work around poor audio quality in crappy encoders by throwing more bits at them.

Bitrate limits have been re-worked and re-tested for all encoders.

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

12 years agoWinGui: Further work and fixes on the Process Isolation Service
sr55 [Sun, 2 Sep 2012 15:12:06 +0000 (15:12 +0000)]
WinGui: Further work and fixes on the Process Isolation Service

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

12 years agoWinGui: Fix preview window.
sr55 [Sun, 2 Sep 2012 13:14:56 +0000 (13:14 +0000)]
WinGui: Fix preview window.

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

12 years agoWinGui: Further work in the process isolation service.
sr55 [Sat, 1 Sep 2012 21:55:29 +0000 (21:55 +0000)]
WinGui: Further work in the process isolation service.

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

12 years agoWinGui: Fix culture issue with the framerate. Any non round number selection would...
sr55 [Sat, 1 Sep 2012 20:07:02 +0000 (20:07 +0000)]
WinGui: Fix culture issue with the framerate. Any non round number selection would fail.

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

12 years agoWinGui: Only allow 1 instance of the Queue, About, Log and Preview window to be opened.
sr55 [Sat, 1 Sep 2012 20:02:07 +0000 (20:02 +0000)]
WinGui: Only allow 1 instance of the Queue, About, Log and Preview window to be opened.

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

12 years agoCLI help: generate the list of available audio mixdowns, rather than naving it hardcoded.
Rodeo [Sat, 1 Sep 2012 16:03:45 +0000 (16:03 +0000)]
CLI help: generate the list of available audio mixdowns, rather than naving it hardcoded.

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

12 years agoMove mixdown-> channel_layout/matrix_encoding translation to hb_audio_resample_init().
Rodeo [Mon, 27 Aug 2012 22:00:28 +0000 (22:00 +0000)]
Move mixdown-> channel_layout/matrix_encoding translation to hb_audio_resample_init().

Unlike hb_audio_remap, hb_audio_resample will never be used in situations where we don't have a mixdown.

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

12 years agohb_audio_resample: move setters out of hb_audio_resample_update(), to dedicated funct...
Rodeo [Mon, 27 Aug 2012 21:17:59 +0000 (21:17 +0000)]
hb_audio_resample: move setters out of hb_audio_resample_update(), to dedicated functions.

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

12 years agoMacGui: Add support for a secondary audio language track.
dynaflash [Mon, 27 Aug 2012 18:36:17 +0000 (18:36 +0000)]
MacGui: Add support for a secondary audio language track.
- Patch courtesy of Dennis Frommknecht ... thank you!
- Adds a second language preference in Preferences > Audio
-- If the corresponding language is not available in the source, the group for this language is not added. If neither default nor alternate language is found, the first audio track would be added (as it is already). The alternate language can also be left empty in which case no second group is added.

-- The implementation ensures that the same track is not added twice (if default and alternate language are identical). It is also flexible enough to support an arbitrary number of languages. They just have to be added to array "preferredLanguages" at the beginning of method "addTracksFromPreset" (HBAudioController.m).

The original patch and explanation can be found at https://reviews.handbrake.fr/r/262/

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

12 years agoWinGui: Strip out the last traces of MEF since it's not going to be used.
sr55 [Mon, 27 Aug 2012 18:35:56 +0000 (18:35 +0000)]
WinGui: Strip out the last traces of MEF since it's not going to be used.

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

12 years agolibhb: decomb and deinterlace improvements
jstebbins [Mon, 27 Aug 2012 18:05:13 +0000 (18:05 +0000)]
libhb: decomb and deinterlace improvements

Use hb_buffer_t for reference buffers.
This is what eliminates extra buffer copies.

Simplified a lot of the code.
This resulted in some minor speed improvements and easier to read code.

Allow mcdeint+bob. Previously these could not be used together.

Thread the erode-dilate-erode-check steps in decomb3.  More speed improvement.

Speed of default decomb went from 62fps to 76fps.
Speed of fast decomb went from 90fps to 95fps.

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

12 years agoUse a more direct workaround for the DTS-ES XCh decoding issue.
Rodeo [Sun, 26 Aug 2012 14:35:54 +0000 (14:35 +0000)]
Use a more direct workaround for the DTS-ES XCh decoding issue.

The workaround committed in revision 4896 works for now, but if/when we add 6.1 encoding, we'll want to decode that discrete center surround channel. We could special-case it, but the issue would still be present under 64-bit Windows.

Instead, disable the buggy assembly optimizations until they are fixed.

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

12 years agoWinGui: Fix a second Integer overflow.
sr55 [Sat, 25 Aug 2012 19:43:58 +0000 (19:43 +0000)]
WinGui: Fix a second Integer overflow.

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

12 years agoWinGui: Fix an Integer overflow in the picture settings panel.
sr55 [Sat, 25 Aug 2012 19:42:49 +0000 (19:42 +0000)]
WinGui: Fix an Integer overflow in the picture settings panel.

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

12 years agoWinGui: General Tidyup of the Services Library API.
sr55 [Sat, 25 Aug 2012 14:05:56 +0000 (14:05 +0000)]
WinGui: General Tidyup of the Services Library API.

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

12 years agoWinGui: Initial Work to wire up Encode Process Isolation.
sr55 [Wed, 22 Aug 2012 20:11:18 +0000 (20:11 +0000)]
WinGui: Initial Work to wire up Encode Process Isolation.

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

12 years agoHandbrake Toolbar Icons by Nik Pawlak (holla@nikpawlak.com, @nikpawlak, http://nikpa...
sr55 [Mon, 20 Aug 2012 19:20:51 +0000 (19:20 +0000)]
Handbrake Toolbar Icons by Nik Pawlak  (holla@nikpawlak.com, @nikpawlak, http://nikpawlak.com)
For use only with Handbrake software and directly related non commercial projects.

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

12 years agoWinGui: Setup properties for the HandBrake.Server app.
sr55 [Sun, 19 Aug 2012 16:49:57 +0000 (16:49 +0000)]
WinGui: Setup properties for the HandBrake.Server app.

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

12 years agoWinGui: Prototype of process isolation support (to be used for libhb when this is...
sr55 [Sun, 19 Aug 2012 16:43:13 +0000 (16:43 +0000)]
WinGui: Prototype of process isolation support (to be used for libhb when this is fixed up). Uses WCF for process communication.
Initially for the scan service only, encode service proxy coming soon.
No changes required for the UI application. Two new implementations of IScan and IEncode will act as a proxy between the UI and the Server Service Layer.

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

12 years agoCosmetics.
Rodeo [Sun, 19 Aug 2012 13:26:16 +0000 (13:26 +0000)]
Cosmetics.

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

12 years agoRemove unused code.
Rodeo [Sun, 19 Aug 2012 13:24:07 +0000 (13:24 +0000)]
Remove unused code.

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

12 years agogfx: New Application Icon (Photoshop PSD and various sizes of png files) by Matt...
sr55 [Sat, 18 Aug 2012 19:21:40 +0000 (19:21 +0000)]
gfx: New Application Icon (Photoshop PSD and various sizes of png files) by Matt Johnson

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

12 years agoWinGui: Fixes to the Advanced Panel (8x8t and ref) and Picture Panel (Further Max...
sr55 [Wed, 15 Aug 2012 18:08:28 +0000 (18:08 +0000)]
WinGui: Fixes to the Advanced Panel (8x8t and ref) and Picture Panel (Further Max W/H fixes)

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

12 years agoDon't send empty audio packets downstream, as empty buffers are assumed to mark the...
Rodeo [Wed, 15 Aug 2012 15:43:33 +0000 (15:43 +0000)]
Don't send empty audio packets downstream, as empty buffers are assumed to mark the end of stream.

Such packets can result from samplerate or other types of audio conversion.

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

12 years agodeclpcm: modify hdr2layout.
Rodeo [Wed, 15 Aug 2012 15:25:06 +0000 (15:25 +0000)]
declpcm: modify hdr2layout.

AV_CH_LAYOUT_STEREO w/7 or 8 channels is invalid anyway, and will get sanitized in hb_ff_layout_xlat(). Doing it in declpcm directly avoids an unnecessary call to that function, with identical results.

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

12 years agoCheck the return code of hb_audio_resample_update(). This allows us to log an error...
Rodeo [Wed, 15 Aug 2012 15:15:35 +0000 (15:15 +0000)]
Check the return code of hb_audio_resample_update(). This allows us to log an error when it fails, so we know which decoder actually called the function.

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

12 years agoLet's hope this is the last of my stupid deca52 hb_audio_resample support mistakes.
Rodeo [Wed, 15 Aug 2012 14:22:15 +0000 (14:22 +0000)]
Let's hope this is the last of my stupid deca52 hb_audio_resample support mistakes.

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

12 years agoWinGui: Picture settings MaxWidth/Height fixes
sr55 [Mon, 13 Aug 2012 17:50:39 +0000 (17:50 +0000)]
WinGui: Picture settings MaxWidth/Height fixes

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

12 years agoInterop: Some refactoring, exposing list of video encoders, fixed const value, added...
randomengy [Sun, 12 Aug 2012 22:41:36 +0000 (22:41 +0000)]
Interop: Some refactoring, exposing list of video encoders, fixed const value, added some error checking.

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

12 years agoWinGui: Highlight the default preset in italics.
sr55 [Sun, 12 Aug 2012 10:35:46 +0000 (10:35 +0000)]
WinGui: Highlight the default preset in italics.

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

12 years agoImprove last commit. While the AC3 decoder doesn't use hb_ff_layout_xlat(), the code...
Rodeo [Sat, 11 Aug 2012 18:30:28 +0000 (18:30 +0000)]
Improve last commit. While the AC3 decoder doesn't use hb_ff_layout_xlat(), the code I added to it really belongs in hb_audio_resample.

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

12 years agoFix a bug where we were attempting to downmix Dolby Surround (AV_CH_LAYOUT_STEREO_DOW...
Rodeo [Sat, 11 Aug 2012 09:24:54 +0000 (09:24 +0000)]
Fix a bug where we were attempting to downmix Dolby Surround (AV_CH_LAYOUT_STEREO_DOWNMIX) to AV_CH_LAYOUT_STEREO via libavresample (which is not implemented).

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