]>
granicus.if.org Git - handbrake/log
John Stebbins [Tue, 12 Feb 2019 14:22:45 +0000 (07:22 -0700)]
LinGui: sanitize preset export filename
Removes illegal characters that may be in the preset name from the
suggested filename and trims leading and trailing white space.
Damiano Galassi [Tue, 12 Feb 2019 08:29:02 +0000 (09:29 +0100)]
MacGui: send integerForKey: instead of [objectForKey:] intValue]
Damiano Galassi [Tue, 12 Feb 2019 08:28:09 +0000 (09:28 +0100)]
MacGui: serialize the queue item status to disk.
Nomis101 [Mon, 11 Feb 2019 16:22:04 +0000 (17:22 +0100)]
MacGui: update German localization (housekeeping #1)
This is the housekeeping #1 2019 set of german localization changes from Transifex. It does not include new strings from recent macos patches, just fixes and corrections.
Bradley Sepos [Mon, 11 Feb 2019 21:40:20 +0000 (16:40 -0500)]
contrib: Restore FFmpeg VideoToolbox patch.
Mistakenly removed in
66a362ee92331fa1393fbdb0c1e1b26d8f39de6a .
Ewout ter Hoeven [Mon, 11 Feb 2019 11:26:20 +0000 (12:26 +0100)]
contrib: Update to x265 3.0.
Ewout ter Hoeven [Mon, 11 Feb 2019 16:12:33 +0000 (17:12 +0100)]
contrib: Update to FFmpeg 4.1.1.
sr55 [Mon, 11 Feb 2019 20:08:50 +0000 (20:08 +0000)]
WinGui: Remove hard coded ordering on the in-line presets selector.
Ewout ter Hoeven [Mon, 11 Feb 2019 11:38:30 +0000 (12:38 +0100)]
contrib: Update to nvenc 8.2.15.7
Ewout ter Hoeven [Mon, 11 Feb 2019 17:26:52 +0000 (18:26 +0100)]
contrib: Update to fdk-aac 0.1.6.
Ewout ter Hoeven [Mon, 11 Feb 2019 11:40:30 +0000 (12:40 +0100)]
contrib: Update to libvorbis-1.3.6
Bradley Sepos [Mon, 11 Feb 2019 17:41:58 +0000 (12:41 -0500)]
contrib: Correct upstream libogg url.
We use the source url, not the mirror/redirect.
Ewout ter Hoeven [Mon, 11 Feb 2019 16:02:00 +0000 (17:02 +0100)]
contrib: Update to libogg 1.3.3.
Bradley Sepos [Mon, 11 Feb 2019 17:08:02 +0000 (12:08 -0500)]
Revert "contrib: Update to libvorbis-1.3.6"
Reverting until we can sort out build issues / Travis glitch.
This reverts commit
8bb9566f213d5cb891e72c145824cb268cef0c68 .
Ewout ter Hoeven [Mon, 11 Feb 2019 11:40:30 +0000 (12:40 +0100)]
contrib: Update to libvorbis-1.3.6
John Stebbins [Mon, 11 Feb 2019 16:26:53 +0000 (09:26 -0700)]
LinGui: fix display of special characters in preset name
sr55 [Mon, 11 Feb 2019 16:13:43 +0000 (16:13 +0000)]
nvenc: silence a compiler warning.
mwayne [Fri, 25 Jan 2019 21:47:54 +0000 (22:47 +0100)]
gtk: Link to libbcrypt on mingw-w64
John Stebbins [Mon, 11 Feb 2019 15:15:18 +0000 (08:15 -0700)]
nvenc_common: fix compiler warning
John Stebbins [Mon, 11 Feb 2019 15:12:53 +0000 (08:12 -0700)]
encavcodec: fix potential use of uninitialized variable
John Stebbins [Mon, 11 Feb 2019 15:08:21 +0000 (08:08 -0700)]
dvdnav: fix potentially unterminated string
John Stebbins [Mon, 11 Feb 2019 15:04:24 +0000 (08:04 -0700)]
scan: fix potential buffer overflow in sprintf
Use snprintf
John Stebbins [Mon, 11 Feb 2019 14:30:23 +0000 (07:30 -0700)]
Fix return value of hb_blobal_init_no_hardware
control reaches end of non-void function
John Stebbins [Sun, 10 Feb 2019 20:04:21 +0000 (13:04 -0700)]
decavcodec: fix error when ffmpeg parser changes the codec_id
The ffmpeg mpeg2 parser changes AVCodecContext.codec_id on the fly based
on what it parses. Normally this results in correct switching of decoders
internally in ffmpeg. Due to some unfortunate ordering of how we initialize
things when HandBrake is using our own demuxers, avcodec_open gets called
with the original AVCodec and the AVCodecContext.codec_id that was changed
by the parser resulting in an error.
Further explanation... When using our own demuxers, there are some codecs that
we have to parse out the extradata for _prior_ to calling avcodec_open.
avcodec_open fails if extradata isn't initialized for these codecs prior to
the call. To initialize the extradata, we use parser->parser->split. I.e. the
parser must be initialized and used prior to calling avcodec_open. When
avcodec_open is called, it is using the original AVCodec that was used with
avcodec_alloc_context3 (it will fail if AVCodec is not the same between
avcodec_alloc_context3 and avccodec_open). The call to avcodec_open fails with
"Codec type or id mismatches" since AVCodecContext.codec_id no longer matches
AVCodec.id due to the parser changing the codec_id.
The solution is to reset AVCodec and reallocate the context when we
detect that the parser has changed codec_id on us.
John Stebbins [Sun, 10 Feb 2019 19:08:53 +0000 (12:08 -0700)]
dvd: Add support for MPEG-1 on DVD
Use video attributes from IFO file to set video stream type.
May fix https://github.com/HandBrake/HandBrake/issues/1880
John Stebbins [Sun, 10 Feb 2019 18:34:33 +0000 (11:34 -0700)]
stream: Improve probing of unknown streams
Fixes detection of MPEG-1 in program streams
sr55 [Mon, 11 Feb 2019 14:25:46 +0000 (14:25 +0000)]
WinGui: Utilise new hb_global_init_no_hardware when hb_global_init fails. The preferences Video tab now notes that hardware encoding options are disabled.
sr55 [Mon, 11 Feb 2019 14:05:27 +0000 (14:05 +0000)]
WinGui: Remove left over Advanced Tab checkbox
sr55 [Sat, 9 Feb 2019 18:12:44 +0000 (18:12 +0000)]
libhb: Add a hb_global_init_no_hardware that disables all the hardware encoder/decode init and check code. For users where drivers or other system issues prevent HandBrake from loading.
Damiano Galassi [Sat, 9 Feb 2019 08:59:34 +0000 (09:59 +0100)]
MacGui: fix queue table items expanded/collapsed state after an undo/redo.
Andrew Brezovsky [Thu, 7 Feb 2019 04:47:24 +0000 (23:47 -0500)]
libhb: Append input bitrate to end of audio source description. Closes #1718.
Signed-off-by: Andrew Brezovsky <abrezovsky@gmail.com>
Damiano Galassi [Thu, 7 Feb 2019 18:11:51 +0000 (19:11 +0100)]
MacGui: refactor some queue related properties out of HBJob to a new HBQueueItem class.
sr55 [Thu, 7 Feb 2019 16:51:51 +0000 (16:51 +0000)]
WinGui: Change the behaviour of the destination source alert to revert to the last change before the user triggered the alert.
Damiano Galassi [Sun, 3 Feb 2019 07:28:01 +0000 (08:28 +0100)]
libhb: do not set HB_STATE_WORKDONE before all the work threads are closed.
Damiano Galassi [Tue, 5 Feb 2019 14:43:26 +0000 (15:43 +0100)]
MacGui: correct revealSelectedQueueItemsSources: action validation.
Damiano Galassi [Tue, 5 Feb 2019 14:43:02 +0000 (15:43 +0100)]
MacGui: fix subtitles tab actions.
Damiano Galassi [Tue, 5 Feb 2019 13:03:27 +0000 (14:03 +0100)]
MacGui: use a view-based table view in the queue window.
sr55 [Sun, 3 Feb 2019 22:15:53 +0000 (22:15 +0000)]
WinGui: Fix instance handling in Libencode.
sr55 [Sat, 2 Feb 2019 10:56:34 +0000 (10:56 +0000)]
WinGui: Make the disposal of services more aggressive. May Fix or help in #1851
sr55 [Wed, 30 Jan 2019 18:56:35 +0000 (18:56 +0000)]
WinGui: Remove inline Destination check. It's more annoying than useful. Fixes #1857
Damiano Galassi [Wed, 30 Jan 2019 10:09:02 +0000 (11:09 +0100)]
MacGui: remove the old advanced x264 options view.
Damiano Galassi [Wed, 30 Jan 2019 08:55:12 +0000 (09:55 +0100)]
MacGui: made the preview hud a bit larger.
Bradley Sepos [Mon, 28 Jan 2019 03:17:56 +0000 (22:17 -0500)]
cli: Make --start-at and --stop-at strings more intuitive.
Inspired by https://github.com/HandBrake/HandBrake-docs/pull/70.
sr55 [Mon, 28 Jan 2019 20:24:17 +0000 (20:24 +0000)]
libhb: Temporarily log out the error code for unlink to figure out why previews are not being removed for a user. #1851
Bradley Sepos [Mon, 28 Jan 2019 02:44:48 +0000 (21:44 -0500)]
cli: Clarify --start-at and --stop-at help language.
https://github.com/HandBrake/HandBrake-docs/pull/70
sr55 [Sun, 27 Jan 2019 20:46:19 +0000 (20:46 +0000)]
WinGui: Basic implementation of Queue Up/Down Buttons. Does not yet handle post selection.
sr55 [Sun, 27 Jan 2019 17:12:16 +0000 (17:12 +0000)]
WinGui: Remove incorrect declaration in the app manifest.
sr55 [Sun, 27 Jan 2019 17:06:37 +0000 (17:06 +0000)]
WinGui: Update application manifest
sr55 [Fri, 25 Jan 2019 21:08:39 +0000 (21:08 +0000)]
WinGui: Move the Queue Recovery option from the source panel to the Queue Menu. It's not something that's frequently used and doesn't really belong on the Source Menu. Makes the source menu less cluttered.
sr55 [Fri, 25 Jan 2019 20:35:43 +0000 (20:35 +0000)]
WinGui: Adding some additional validation to the destination box.
Bradley Sepos [Sat, 26 Jan 2019 03:37:49 +0000 (22:37 -0500)]
scripts: Update to mingw-w64-build 5.0.0.
Bump to mingw-w64 6.0.0, gcc 8.2.0 and friends.
Damiano Galassi [Fri, 25 Jan 2019 10:46:58 +0000 (11:46 +0100)]
Set the right deployment target in xcconfig.
sr55 [Thu, 24 Jan 2019 21:49:18 +0000 (21:49 +0000)]
WinGui: Updated German translation
sr55 [Thu, 24 Jan 2019 21:47:40 +0000 (21:47 +0000)]
WinGui: Update Min Title Scan label
sr55 [Thu, 24 Jan 2019 21:42:14 +0000 (21:42 +0000)]
WinGui: Improve Add to queue error Handling. Combine 2 Dialog prompts into one. + Allow early exit from Add Selection.
#1833
Damiano Galassi [Thu, 24 Jan 2019 14:54:05 +0000 (15:54 +0100)]
MacGui: set the minimum macOS version to 10.11
Damiano Galassi [Wed, 23 Jan 2019 10:55:09 +0000 (11:55 +0100)]
Fix an annoying warning in Xcode.
Damiano Galassi [Wed, 23 Jan 2019 10:29:45 +0000 (11:29 +0100)]
Fix a few warnings.
John Stebbins [Tue, 22 Jan 2019 16:48:09 +0000 (08:48 -0800)]
encavcodec: enable "row-mt=1" for vp9
Improves encoding speed by about 20% for SD content and 35% for HD
content in my testing on a 4 core 8 thread system. CPU utilization is
around 60% as compared with 40% prior to the change.
Fixes https://github.com/HandBrake/HandBrake/issues/1830
Damiano Galassi [Tue, 22 Jan 2019 15:26:06 +0000 (16:26 +0100)]
MacGui: Update min title duration preferences label.
John Stebbins [Sat, 19 Jan 2019 00:40:14 +0000 (16:40 -0800)]
scan: only apply min duration filter to BD and DVD
Fixes https://github.com/HandBrake/HandBrake/issues/1590
Scott [Mon, 21 Jan 2019 18:44:45 +0000 (18:44 +0000)]
Updating the steps on the pull request template.
Try to encourage folks to talk to use before working on code!
Petri Hintukainen [Tue, 25 Dec 2018 13:06:30 +0000 (15:06 +0200)]
bd: Add support for UHD discs
Fixes #1301
John Stebbins [Wed, 16 Jan 2019 00:35:27 +0000 (16:35 -0800)]
Fix potential NULL pointer dereference
John Stebbins [Wed, 16 Jan 2019 00:29:05 +0000 (16:29 -0800)]
Align data in hb_buffer_t buffers
Use av_malloc/av_free for hb_buffer_t buffers since av_malloc always
aligns.
John Stebbins [Sat, 19 Jan 2019 18:41:59 +0000 (10:41 -0800)]
lapsharp: mirror image data into stride region
Adds a function to mirror image data into stride region. Mirroring the
data results in a less visible artefact down the right edge of the
image. Blanking resulted in a dark edge artefact.
Keeps function that blanks stride region and improves it's speed,
although it's not currently used.
John Stebbins [Fri, 18 Jan 2019 22:27:14 +0000 (14:27 -0800)]
lapsharp: blank frame buffer stride region
Zero is not black. Stride is used in computations and is assumed black.
Fixes https://github.com/HandBrake/HandBrake/issues/1751
Bradley Sepos [Wed, 16 Jan 2019 08:34:27 +0000 (03:34 -0500)]
libhb: Remove some NLMeans TODO comments.
NLMeans has used frame threading for years, so SIMD aside, these areas are sufficiently parallelized overall.
Bradley Sepos [Wed, 16 Jan 2019 06:38:37 +0000 (01:38 -0500)]
libhb: Reduce the number of threads NLMeans uses with many logical cores.
Too many threads increases CPU cache pressure, reducing performance.
Bradley Sepos [Tue, 8 Jan 2019 02:01:30 +0000 (21:01 -0500)]
contrib: Update x265 cross compilation directives.
Necessary for cross compiling with gcc 8.
John Stebbins [Sat, 19 Jan 2019 19:12:07 +0000 (11:12 -0800)]
configure: fix conftest turds
John Stebbins [Fri, 18 Jan 2019 20:19:14 +0000 (12:19 -0800)]
encavcodec: improve comment about ffmpeg timestamp handling
sr55 [Fri, 18 Jan 2019 20:14:44 +0000 (20:14 +0000)]
WinGui: Fix preset updates. Built in presets should now automatically update. It will try and preserve old prests but this may not always be possible.
John Stebbins [Thu, 17 Jan 2019 16:51:48 +0000 (08:51 -0800)]
encavcodec: Make VCE h.265 encoder emit an IDR for every GOP
John Stebbins [Wed, 16 Jan 2019 17:18:08 +0000 (09:18 -0800)]
work: fix videotoolbox encoder logging
Log h.264 profile and level, and h.265 profile
John Stebbins [Wed, 16 Jan 2019 16:49:47 +0000 (08:49 -0800)]
encavcodec: Fix dts timestamps in VT h.265 encoding
The VT h.265 encoder appears to enable b-pyramid, but doesn't expose any
method to modify the setting or query for its value. So we'll just
assume it's always on whenever there are b-frames.
Fixes https://github.com/HandBrake/HandBrake/issues/1689
John Stebbins [Tue, 15 Jan 2019 00:45:27 +0000 (16:45 -0800)]
encavcodec: set frame.key_frame for AMD VCE encoder
AMD VCE encoder needs this in order to force an IDR rather than an I
frame.
Fixes https://github.com/HandBrake/HandBrake/issues/1762
John Stebbins [Tue, 15 Jan 2019 00:40:17 +0000 (16:40 -0800)]
ffmpeg: enable pict_type setting in AMD VCE
This is required by HandBrake in order to place IDR frames
at chapter boundaries
John Stebbins [Wed, 16 Jan 2019 18:25:47 +0000 (10:25 -0800)]
muxavformat: use better approximation for duration of last video frame
Fixes https://github.com/HandBrake/HandBrake/issues/1802
Damiano Galassi [Tue, 15 Jan 2019 13:26:33 +0000 (14:26 +0100)]
MacGui: support SSA file import.
sr55 [Mon, 14 Jan 2019 22:21:54 +0000 (22:21 +0000)]
WinGui: Update EncoderHelpers for Subtitle changes
sr55 [Mon, 14 Jan 2019 22:17:45 +0000 (22:17 +0000)]
WinGui: Initial support for SSA file import.
John Stebbins [Mon, 14 Jan 2019 21:42:10 +0000 (13:42 -0800)]
LinGui: remove unused 'active' variable
John Stebbins [Mon, 14 Jan 2019 21:40:22 +0000 (13:40 -0800)]
encavcodec: remove unused 'job' variable
John Stebbins [Mon, 14 Jan 2019 21:38:10 +0000 (13:38 -0800)]
encavcodec: respect inline_parameter_sets setting
John Stebbins [Mon, 7 Jan 2019 19:34:29 +0000 (12:34 -0700)]
ssautil: fix strndup on mingw
John Stebbins [Mon, 7 Jan 2019 19:34:13 +0000 (12:34 -0700)]
ssautil: remove debug printf
John Stebbins [Mon, 7 Jan 2019 17:52:28 +0000 (10:52 -0700)]
ssa: improve SSA to TX3G conversion
We were only applying SSA inline override tags. With this patch we now
parse SSA style descritions in the SSA header and apply them per event.
John Stebbins [Sun, 6 Jan 2019 20:03:41 +0000 (13:03 -0700)]
ports: fix memory corruption in hb_getline
John Stebbins [Sun, 6 Jan 2019 18:41:18 +0000 (11:41 -0700)]
LinGui: fix position of subtitle radio buttons
John Stebbins [Sun, 6 Jan 2019 17:57:49 +0000 (10:57 -0700)]
ports: move hb_getline to ports.c where it belongs
John Stebbins [Sun, 6 Jan 2019 17:53:55 +0000 (10:53 -0700)]
Add hb_getline since mingw doesn't have getline function
John Stebbins [Sun, 6 Jan 2019 17:33:11 +0000 (10:33 -0700)]
LinGui: add SSA import
John Stebbins [Sun, 6 Jan 2019 17:31:44 +0000 (10:31 -0700)]
decssasub: fix crash when filename is invalid
John Stebbins [Sun, 6 Jan 2019 15:52:19 +0000 (08:52 -0700)]
decssasub: fix subtitle start/stop time offset
John Stebbins [Sat, 5 Jan 2019 23:53:50 +0000 (16:53 -0700)]
Add SSA subtitle import
sr55 [Mon, 14 Jan 2019 21:18:29 +0000 (21:18 +0000)]
WinGui: Make the toolbar customisation options more discoverable by making them preferences in the options screen.
sr55 [Mon, 14 Jan 2019 21:04:05 +0000 (21:04 +0000)]
WinGui: Removing a miss remnant of the old advanced tab.
sr55 [Sat, 12 Jan 2019 19:56:08 +0000 (19:56 +0000)]
WinGui: Make the MRU feature more useful. If the directory is not found, check to see if the Parent directory exists. #1795
sr55 [Sat, 12 Jan 2019 19:48:22 +0000 (19:48 +0000)]
WinGui: Minor tidyup in MVM.