]> granicus.if.org Git - handbrake/log
handbrake
10 years agoMacGui: fixed the bitrates popup in the audio default panel, it didn’t update properl...
ritsuka [Sat, 16 Aug 2014 18:26:24 +0000 (18:26 +0000)]
MacGui: fixed the bitrates popup in the audio default panel, it didn’t update properly when the sample rate was set to auto.

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

10 years agoMacGui: forgot a file in rev 6300 commit.
ritsuka [Sat, 16 Aug 2014 16:12:16 +0000 (16:12 +0000)]
MacGui: forgot a file in rev 6300 commit.

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

10 years agoMacGui: select the default preset in the presets drawer at start up. Added a missing...
ritsuka [Sat, 16 Aug 2014 16:09:25 +0000 (16:09 +0000)]
MacGui: select the default preset in the presets drawer at start up. Added a missing NSAlert release.

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

10 years agoMacGui: Fixed the languages selection in the built in presets for languages with...
ritsuka [Sat, 16 Aug 2014 16:05:26 +0000 (16:05 +0000)]
MacGui: Fixed the languages selection in the built in presets for languages with a native name.

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

10 years agoLinGui: make video preset/tune/profile/level tooltips more general
jstebbins [Fri, 15 Aug 2014 22:09:59 +0000 (22:09 +0000)]
LinGui: make video preset/tune/profile/level tooltips more general

...so they apply to x265 as well.

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

10 years agoLinGui: improve denoise filter tooltip
jstebbins [Fri, 15 Aug 2014 21:53:35 +0000 (21:53 +0000)]
LinGui: improve denoise filter tooltip

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

10 years agoLinGui: remove video qualite range warning
jstebbins [Fri, 15 Aug 2014 21:47:15 +0000 (21:47 +0000)]
LinGui: remove video qualite range warning

It just causes confusion

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

10 years agolibav: fix problem decoding broken rv40 sample
jstebbins [Thu, 14 Aug 2014 17:25:24 +0000 (17:25 +0000)]
libav: fix problem decoding broken rv40 sample

The sample begins with a bframe which causes the rv40 to throw an error
at the beginning of decode.  This error leaves frame threading in a bad
state that is never recovered from.

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

10 years agoLinGui: oops forgot to svn add files
jstebbins [Wed, 13 Aug 2014 20:19:25 +0000 (20:19 +0000)]
LinGui: oops forgot to svn add files

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

10 years agoMacGUI: Replace deprecated NSBeginCriticalAlertSheet / NSRunAlertPanel / NSRunCritica...
ritsuka [Wed, 13 Aug 2014 08:40:45 +0000 (08:40 +0000)]
MacGUI: Replace deprecated NSBeginCriticalAlertSheet / NSRunAlertPanel / NSRunCriticalAlertPanel with NSAlert. Patch https://reviews.handbrake.fr/r/711/ by Alexander Zautke with a few modifications by me.

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

10 years agoLinGui: generalize video preset/tune/profile/level handling
jstebbins [Tue, 12 Aug 2014 18:46:41 +0000 (18:46 +0000)]
LinGui: generalize video preset/tune/profile/level handling

This generalization enables x265 preset/tune/profile/level which
did not work previously.

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

10 years agolibhb: Sanitize BD chapter durations
jstebbins [Mon, 11 Aug 2014 18:05:36 +0000 (18:05 +0000)]
libhb: Sanitize BD chapter durations
It appears some BDs have invalid chapter durations, see
https://forum.handbrake.fr/viewtopic.php?f=12&t=30479

This compares chapter start time deltas and title duration to chapter
duration to make best guess corrections.

Note that chapter events generated by libbluray are based on the chapter
start times. So the start time should be trusted more than the duration.

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

10 years agoLinGui: Fix initialization of audio quality widget limits
jstebbins [Mon, 11 Aug 2014 17:48:19 +0000 (17:48 +0000)]
LinGui: Fix initialization of audio quality widget limits
When opening the audio edit dialog for a track in the audio list,
the audio quality was set to a bad value because the limits were
not set correctly.

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

10 years agoLinGui: Fix a problem with audio quality slider
jstebbins [Mon, 11 Aug 2014 17:16:23 +0000 (17:16 +0000)]
LinGui: Fix a problem with audio quality slider
It was getting reset to default value every time another audio
widget changed.

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

10 years agoMacGui: changed the layout of the UI in the video panel to be similar to the other...
ritsuka [Mon, 11 Aug 2014 15:58:42 +0000 (15:58 +0000)]
MacGui: changed the layout of the UI in the video panel to be similar to the other guis. Plus small alignments fixes.

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

10 years agoMacGui: fixed the validation of the File menu. The validateMenuItem: method was using...
ritsuka [Mon, 11 Aug 2014 15:39:58 +0000 (15:39 +0000)]
MacGui: fixed the validation of the File menu. The validateMenuItem: method was using the wrong hb_handle_t .

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

10 years agoLinGui: protect against possible divide by 0
jstebbins [Mon, 11 Aug 2014 14:49:33 +0000 (14:49 +0000)]
LinGui: protect against possible divide by 0

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

10 years agoLinGui: Fix title numbers in auto destination filename
jstebbins [Mon, 11 Aug 2014 14:49:04 +0000 (14:49 +0000)]
LinGui: Fix title numbers in auto destination filename

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

10 years agoMacGui: implemented the HBViewValidation protocol in each of the main window view...
ritsuka [Sun, 10 Aug 2014 16:05:07 +0000 (16:05 +0000)]
MacGui: implemented the HBViewValidation protocol in each of the main window view controllers.

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

10 years agoMacGui: fixed gain validation in the audio panel. Remove the drc validation because...
ritsuka [Sun, 10 Aug 2014 15:15:10 +0000 (15:15 +0000)]
MacGui: fixed gain validation in the audio panel. Remove the drc validation because it’s not possible to insert the value manually.

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

10 years agoWinGui: Add new preset keys for the Audio and Subtitle default behaviours. Updated...
sr55 [Sun, 10 Aug 2014 14:43:30 +0000 (14:43 +0000)]
WinGui: Add new preset keys for the Audio and Subtitle default behaviours. Updated existing preset parser to work with the current version of the plist preset format.

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

10 years agoMacGui: fixed some audio presets key: AudioSamplerate -> string, AudioTrackDRCSlider...
ritsuka [Sun, 10 Aug 2014 14:33:15 +0000 (14:33 +0000)]
MacGui: fixed some audio presets key: AudioSamplerate -> string, AudioTrackDRCSlider -> float.

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

10 years agoMacGui: removed the “Show Presets Drawer” preference. The state of the drawer is...
ritsuka [Sun, 10 Aug 2014 10:03:12 +0000 (10:03 +0000)]
MacGui: removed the “Show Presets Drawer” preference. The state of the drawer is now saved automatically.

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

10 years agoMacGui: don’t allow to drop a preset before the built in ones.
ritsuka [Sat, 9 Aug 2014 18:56:29 +0000 (18:56 +0000)]
MacGui: don’t allow to drop a preset before the built in ones.

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

10 years agoMacGui: add a divider in the menu after the last built in preset and make the default...
ritsuka [Sat, 9 Aug 2014 18:43:28 +0000 (18:43 +0000)]
MacGui: add a divider in the menu after the last built in preset and make the default preset bold.

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

10 years agoMacGui: added the list of the presets at the bottom of the preset menu and a “New...
ritsuka [Sat, 9 Aug 2014 17:10:45 +0000 (17:10 +0000)]
MacGui: added the list of the presets at the bottom of the preset menu and a “New Folder” menu item. Removed the “delete built-in presets” item because it takes just two clicks to remove them manually.
Refactored part of HBPreset to a separate HBTreeNode class.

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

10 years agoMacGui: replaced the few remaining enumerators in Controller.m with fast enumerators.
ritsuka [Fri, 8 Aug 2014 06:31:06 +0000 (06:31 +0000)]
MacGui: replaced the few remaining enumerators in Controller.m with fast enumerators.

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

10 years agoMacGui: removed the last remaining of the code to load a custom application icon...
ritsuka [Fri, 8 Aug 2014 06:12:55 +0000 (06:12 +0000)]
MacGui: removed the last remaining of the code to load a custom application icon. It was used to load a specific icon for the 64bit version, but it’s now unused.

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

10 years agoMacGui: use a shorter NSString method to remove the prefix from the bsdName, as repor...
ritsuka [Fri, 8 Aug 2014 05:57:38 +0000 (05:57 +0000)]
MacGui: use a shorter NSString method to remove the prefix from the bsdName, as reported by denisx on irc, in HBDVDDetector and and a boxing expression to convert a c string to NSString.

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

10 years agoMacGui: removed a old check on the scan count from the era when the MacGui used a...
ritsuka [Fri, 8 Aug 2014 05:55:01 +0000 (05:55 +0000)]
MacGui: removed a old check on the scan count from the era when the MacGui used a single libhb instance to encode and scan, and fixed a bug it was hiding: spurious calls to hb_get_state outside the updateUI loop were masking the HB_STATE_WORKDONE and HB_STATE_SCANDONE states, replaced them with hb_get_state2.

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

10 years agoMacGui: improved the presets management
ritsuka [Thu, 7 Aug 2014 13:54:14 +0000 (13:54 +0000)]
MacGui: improved the presets management
Added a class to manage the presets (HBPresetsManager) and moved the presets drawer code to a new view controller (HBPresetsViewController).
Removed the limitation of two nested folders and added a way to add to custom folders.

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

10 years agolibav: fix decoding of mpeg4 in transport streams
jstebbins [Wed, 6 Aug 2014 20:24:23 +0000 (20:24 +0000)]
libav: fix decoding of mpeg4 in transport streams

There was a chicken & egg problem in the initialization sequence.  mpeg4 only
worked in non-transport streams because we use libav for demuxing these.
The initializion of libav demux causes an additional initialization of the
codec which hides the problem.

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

10 years agolibav: fix mp4 chapter character encoding
jstebbins [Wed, 6 Aug 2014 17:38:05 +0000 (17:38 +0000)]
libav: fix mp4 chapter character encoding

The encoding was not being flagged as UTF8

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

10 years agolibhb: fix mp4 audio track titles
jstebbins [Wed, 6 Aug 2014 17:34:08 +0000 (17:34 +0000)]
libhb: fix mp4 audio track titles

mp4 audio track titles were not being applied by libavformat

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

10 years agolibhb: fix mp4 post tagging problems
jstebbins [Wed, 6 Aug 2014 17:11:41 +0000 (17:11 +0000)]
libhb: fix mp4 post tagging problems

A couple common mp4 taggers (mp3Tag and iTunes) fail to tag files
that have the Nero chapter atom (chpl).  This atom was added when
we switched to libavformat for muxing.  I haven't found any players
yet that rely on this for chapters.  If we ever find any, we can
consider adding an option somewhere to enable chpl.

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

10 years agoMacGui: Modernized the objc syntax of HBAudio/HBAudioController and avoided the use...
ritsuka [Tue, 5 Aug 2014 07:49:22 +0000 (07:49 +0000)]
MacGui: Modernized the objc syntax of HBAudio/HBAudioController and avoided the use of KVO to observer changes inside the same class.

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

10 years agoMacGui: simplified the way the audio tracks are stored in the queue.
ritsuka [Mon, 4 Aug 2014 16:46:17 +0000 (16:46 +0000)]
MacGui: simplified the way the audio tracks are stored in the queue.

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

10 years agoLinGui: Don't allow adding embedded subtitls when there are none
jstebbins [Mon, 4 Aug 2014 15:05:43 +0000 (15:05 +0000)]
LinGui: Don't allow adding embedded subtitls when there are none
Fixes a crash when attempting to switch subtitle dialog to embedded
subtitle view.

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

10 years agoLinGui: fix width of deblock slider
jstebbins [Mon, 4 Aug 2014 14:45:53 +0000 (14:45 +0000)]
LinGui: fix width of deblock slider

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

10 years agoMacGui: Adds a new sheet for audio defaults (presets), uses the same preset keys...
ritsuka [Mon, 4 Aug 2014 07:12:12 +0000 (07:12 +0000)]
MacGui: Adds a new sheet for audio defaults (presets), uses the same preset keys as the LinGui.
The built-in presets still use the languages from the Audio preferences.

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

10 years agoMacGui: fixed a number of missing release.
ritsuka [Mon, 4 Aug 2014 07:05:06 +0000 (07:05 +0000)]
MacGui: fixed a number of missing release.

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

10 years agoMacGui: updated Preferences.xib to the new format.
ritsuka [Sun, 3 Aug 2014 11:24:20 +0000 (11:24 +0000)]
MacGui: updated Preferences.xib to the new format.

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

10 years agoMacGui: enabled type select in the languages table view.
ritsuka [Sun, 3 Aug 2014 11:00:34 +0000 (11:00 +0000)]
MacGui: enabled type select in the languages table view.
Improved the subtitles defaults selection to avoid adding the same track twice.

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

10 years agoInterop: Added support for NL-Means denoise.
randomengy [Sun, 3 Aug 2014 04:33:09 +0000 (04:33 +0000)]
Interop: Added support for NL-Means denoise.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

The latter fixes a compiler issue.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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