]>
granicus.if.org Git - handbrake/log
John Stebbins [Mon, 11 Feb 2019 15:08:21 +0000 (08:08 -0700)]
dvdnav: fix potentially unterminated string
(cherry picked from commit
a54f09a9f1a292ac3b9e6699ea09d8e0239e6f7b )
John Stebbins [Mon, 11 Feb 2019 15:04:24 +0000 (08:04 -0700)]
scan: fix potential buffer overflow in sprintf
Use snprintf
(cherry picked from commit
67299770c013120ffdc4d86daffc9c48691ab802 )
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.
(cherry picked from commit
28934d9f0ba1a0e4adc76bcf90a3762429169ea8 )
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
(cherry picked from commit
58a15a0dc83afb10dcd48eb428b707e268e320e8 )
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
(cherry picked from commit
fd03d81a0c9de230cfc0f8040ab1b96cb2a62b81 )
mwayne [Thu, 3 Jan 2019 10:15:58 +0000 (11:15 +0100)]
gtk: Fix minor cross compile issue in callbacks
Fix undeclared variable introduced in commit
826d1a7fb862c292195d766f72c51dce120b47bd
(cherry picked from commit
f2075c0522ab11b1a67a65b3bdc4e9ff10d5635a )
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.
(cherry picked from commit
a8ef28a582283d34fda6dd81f4be60f810e0865d )
Damiano Galassi [Wed, 30 Jan 2019 08:55:12 +0000 (09:55 +0100)]
MacGui: made the preview hud a bit larger.
(cherry picked from commit
d1a9db0b1eb385f221e6fed7ffd0218a3ed71335 )
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
sr55 [Fri, 25 Jan 2019 20:35:43 +0000 (20:35 +0000)]
WinGui: Adding some additional validation to the destination box.
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.
(cherry picked from commit
45e783372b35fe39f8ae7f488dfed7796793665e )
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
(cherry picked from commit
563958843beb27b410df19a020e35e51afa298a0 )
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.
(cherry picked from commit
96e63ecf50d0bafd273ea17ff3f3bbf49ff42f7b )
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.
(cherry picked from commit
a7e9979c4af79b97cbc57a77ff96223a24731d0b )
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.
(cherry picked from commit
4f38d4782fd9d192cc3c5d3cce691990877ca64d )
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
(cherry picked from commit
96285fe66cbd4e03fcb88ac89245da8342c9292c )
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
(cherry picked from commit
1aa1278c0003fa8fee7b13b83ea81a1a851b10a2 )
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
(cherry picked from commit
271ad3952c54f46c0b2d6785a0a2f0830ae5c58e )
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
(cherry picked from commit
9e6f310208ff7df7345724c87ca8ef84fdaa7270 )
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
(cherry picked from commit
f0af7632557face2d516829386e01bf0c7a6c549 )
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 [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
(cherry picked from commit
71e73fec08f414574c74dd0b482c516faad2fbfb )
sr55 [Fri, 11 Jan 2019 21:59:32 +0000 (21:59 +0000)]
WinGui: Improve the quality of text rendering on the installer on high DPI displays.
sr55 [Fri, 11 Jan 2019 21:26:10 +0000 (21:26 +0000)]
WinGui: Improvements to the installer. Fixed the issue where the uninstaller could appear behind the installer. Updated the Background Image on the installer to the project logo.
Bradley Sepos [Tue, 8 Jan 2019 13:46:43 +0000 (08:46 -0500)]
contrib: Revert libvpx clang patch added in
e3817b13cfebce6f7542be6761bd9fa8b51e1005 .
I must have forgotten to `make libvpx.xclean` before building.
Bradley Sepos [Tue, 8 Jan 2019 00:08:48 +0000 (19:08 -0500)]
contrib: Fix potential assembly issues with libvpx and AVX-512.
Fixes cross compilation with gcc 8 and where clang is acting weird.
Tim Walker [Tue, 8 Jan 2019 17:57:40 +0000 (18:57 +0100)]
decavcodec: fix more potential uses of uninitialized variables
Fixes a crash I experienced locally following
76f14dad963db46961ce3d425a102ac3d898ce10
Inspired by
3c95342a8cdf5b3b03d8b5e94ec099b0bc6a4f35
Damiano Galassi [Sat, 5 Jan 2019 08:53:16 +0000 (09:53 +0100)]
MacGui: try to fix an hang on Sierra.
John Stebbins [Mon, 7 Jan 2019 22:30:05 +0000 (15:30 -0700)]
fix missing frames when transcoding m2ts files
Fixes https://github.com/HandBrake/HandBrake/issues/1611
(cherry picked from commit
76f14dad963db46961ce3d425a102ac3d898ce10 )
Bradley Sepos [Mon, 7 Jan 2019 21:43:15 +0000 (16:43 -0500)]
scripts: Update to mingw-w64-build 4.1.1.
Improves error reporting and allows use of sha256sum on systems without shasum.
(cherry picked from commit
58ed6c8a448ab61f55fcba4df03718346bfb81d4 )
John Stebbins [Sat, 5 Jan 2019 18:58:38 +0000 (11:58 -0700)]
decavcodec: fix potential use of uninitialized variables
(cherry picked from commit
3c95342a8cdf5b3b03d8b5e94ec099b0bc6a4f35 )
John Stebbins [Sat, 5 Jan 2019 15:56:39 +0000 (08:56 -0700)]
flatpak: fix access to gvfs mounted filesystems
An additional access permission is needed to access the gvfs mount
point.
For the record, the "Right" (TM) way to do this is to use
GtkFileChooserNative dialog which will automatically use the flatpak
file chooser portal to access files. But this portal currently is
missing features that would cripple HandBrake. These features are:
1. Folder selection. We require this for destination selection and for
batch processing.
2. Set current highlighted file in file chooser browser. Without this,
a user processing a series of videos that are all in the same foder has
to navigate from the default "Recent files" selection to the folder
where their files are for each file.
Also note that GtkFileChooserNative transparently falls back to a
regular file chooser when the action requested is not supported. So
sometimes the user would have access to remote filesystems, and
sometimes not with no obvious reason for the difference. Not a good
user experience.
(cherry picked from commit
d4761a9f2f07fe02935089356fd847530a8eec57 )
sr55 [Fri, 4 Jan 2019 21:37:11 +0000 (21:37 +0000)]
WinGui: Fix a potential crash in the OptionsTabNameConverter. Fixes #1784
sr55 [Thu, 3 Jan 2019 19:38:46 +0000 (19:38 +0000)]
WinGui: Remove support for loading legacy settings files AND add VideoScaler to the reset legacy settings list to avoid crash issues. Fixes #1782
sr55 [Tue, 1 Jan 2019 16:50:12 +0000 (16:50 +0000)]
WinGui: Add CPU info back into the log header as it's not always available in the log body.
sr55 [Tue, 1 Jan 2019 15:24:46 +0000 (15:24 +0000)]
WinGui: Fix restriction on the picture settings tab after setting a preset. It will use whatever is smaller. Source, or Preset #1773
Diego Elio Pettenò [Mon, 31 Dec 2018 16:22:25 +0000 (16:22 +0000)]
setup: don't require the user to agree to GPL-3 to complete setup.
As @foone complains on twitter often enough, this should not require
agreement for use since GPL is not an EULA.
The definitions are inspired from the similar NSIS setup file from VLC.
sr55 [Tue, 1 Jan 2019 15:15:09 +0000 (15:15 +0000)]
WinGui: Fix erroneous log message error about invalid x264 preset when not using an x264 encoder.
Bradley Sepos [Tue, 1 Jan 2019 00:00:00 +0000 (00:00 +0000)]
Update copyright dates to 2019.
(cherry picked from commit
5a65df0d5838a3c8896ca0f5ce077cdf051358dc )
sr55 [Sun, 30 Dec 2018 21:30:30 +0000 (21:30 +0000)]
WinGui: Fix Detelecine tooltip. Fixes #1760
sr55 [Sun, 30 Dec 2018 21:25:51 +0000 (21:25 +0000)]
WinGui: Fix issues with "Any" language selection with the "First" option used. For both Audio and Subtitle tabs, this should now only provide 1 track. Fixes #1735 and makes the behaviour consistent with the Mac/Linux GUI's
sr55 [Sun, 30 Dec 2018 19:58:13 +0000 (19:58 +0000)]
WinGui: Fix an issue where picture settings (crop and anamorphic) are not correctly restored on queue edit. Fixes #1771
Scott [Sun, 30 Dec 2018 13:08:59 +0000 (13:08 +0000)]
Change the Transifex link to include /public which doesn't require a login.
sr55 [Sun, 30 Dec 2018 16:42:22 +0000 (16:42 +0000)]
Update the mfx dispatch library to the head revision
a7d95e5 to fix issues with newer Intel Drivers.
sr55 [Fri, 28 Dec 2018 21:11:33 +0000 (21:11 +0000)]
WinGui: Restore the options dropdown on the legacy queue design.
sr55 [Fri, 28 Dec 2018 20:55:08 +0000 (20:55 +0000)]
WinGui: Tighten up the UI for marginal displays and move the "Back" button on the options pane near the top.
John Stebbins [Fri, 28 Dec 2018 17:24:54 +0000 (10:24 -0700)]
avfilter: fix yadif options
'mode' still worked, but I've changed to use mnemonic string values.
'parity' still worked, but I've changed to use mnemonic string values.
'auto' failed, was replaced by 'deint=deinterlaced'.
Fixes https://forum.handbrake.fr/viewtopic.php?f=6&t=38564
(cherry picked from commit
2965a5c02901e8ac1e4c5f6e637996c8576b2e7f )
John Stebbins [Thu, 27 Dec 2018 19:04:00 +0000 (12:04 -0700)]
encavcodecaudio: fix AAC 5.1 encoding
Use 5.1 back for AAC because 5.1 side uses a not-so-universally
supported feature to signal the non-standard layout
Fixes https://github.com/HandBrake/HandBrake/issues/1744
(cherry picked from commit
bd4dc1dde6948389b0b7d98e501791a5ec6ec8c7 )
sr55 [Wed, 26 Dec 2018 16:31:44 +0000 (16:31 +0000)]
WinGui: Bump version to 1.2.1
Bradley Sepos [Wed, 26 Dec 2018 02:08:50 +0000 (21:08 -0500)]
libhb: Remove duplicate lines added to param.c in
822ce4df33f7550078688f86a68460bdfb4d2c90 .
#1754.
(cherry picked from commit
9508b5483739301dad112fd074b44362e0b34d2b )
Damiano Galassi [Sat, 22 Dec 2018 07:41:28 +0000 (08:41 +0100)]
Fix macOS codesign script.
(cherry picked from commit
25215bfa5a6d185bbc99a5d7e37753c623d0072a )
Damiano Galassi [Sat, 22 Dec 2018 06:52:46 +0000 (07:52 +0100)]
MacGui: fix file extension when setting a preset.
(cherry picked from commit
84d552b7bb44bf65c680deeb6f40e91453398248 )
John Stebbins [Tue, 25 Dec 2018 16:23:38 +0000 (09:23 -0700)]
Fix rotation of video flagged with 0 rotation
Only breaks in cases that video is *explicitely* flagged with 0 rotation.
Fixes https://github.com/HandBrake/HandBrake/issues/1750
(cherry picked from commit
a482041565c5ce3f6756b50062a3226505589e45 )
John Stebbins [Sat, 22 Dec 2018 18:03:17 +0000 (10:03 -0800)]
LinGui: bump ubuntu version number epoch
Overrides a bad version number for ubuntu cosmic in launchpad
(cherry picked from commit
cd289c78397e5c207fa63c23e7a626e00f8ca88d )
sr55 [Sun, 16 Dec 2018 17:16:51 +0000 (17:16 +0000)]
WinGui: Where the system language isn't English, allow English language to be used in GUI.
sr55 [Sun, 16 Dec 2018 16:55:26 +0000 (16:55 +0000)]
WinGui: Quick Fix of shutdown option for German translation.
sr55 [Sun, 16 Dec 2018 10:30:52 +0000 (10:30 +0000)]
WinGui: Fix an error when trying to encode an item with no destination.
sr55 [Sat, 15 Dec 2018 21:14:47 +0000 (21:14 +0000)]
WinGui: Try to work-around broken shell extensions breaking the Shutdown feature.
sr55 [Sat, 15 Dec 2018 20:35:34 +0000 (20:35 +0000)]
WinGui: Reset the cancel flag on the Countdown Window for post-encode actions. #1729
Bradley Sepos [Sat, 15 Dec 2018 19:24:30 +0000 (14:24 -0500)]
Nits in 1.2.0 release News.
Scott [Sat, 15 Dec 2018 16:27:57 +0000 (16:27 +0000)]
Remove source-path, it's not new to windows 1.2
Bradley Sepos [Sat, 15 Dec 2018 01:51:16 +0000 (20:51 -0500)]
Clarify source-path automatic path setting in News for 1.2.0 release.
sr55 [Fri, 14 Dec 2018 21:00:21 +0000 (21:00 +0000)]
WinGui: Focus the preview window when the button is pressed while it is still open.
sr55 [Fri, 14 Dec 2018 20:57:01 +0000 (20:57 +0000)]
WinGui: Don't allow multiple preview windows to be opened.
Bradley Sepos [Fri, 14 Dec 2018 19:54:38 +0000 (14:54 -0500)]
contrib: Add FFmpeg patch fixing decoding for certain MPEG streams.
Fixes #1563.
Bradley Sepos [Thu, 13 Dec 2018 14:56:54 +0000 (09:56 -0500)]
Another minor revision to News for 1.2.0.
This was only ever an issue in the nightly builds, and not released.
Damiano Galassi [Thu, 13 Dec 2018 12:24:29 +0000 (13:24 +0100)]
MacGui: refactor HBStateFormatter.
Damiano Galassi [Thu, 13 Dec 2018 12:23:34 +0000 (13:23 +0100)]
MacGui: add a touch bar button to open a new source when all the windows are closed.
Damiano Galassi [Thu, 13 Dec 2018 12:23:04 +0000 (13:23 +0100)]
MacGui: write a log message when sleep is prevented/allowed.
Bradley Sepos [Thu, 13 Dec 2018 01:32:27 +0000 (20:32 -0500)]
Sort Thanks and add liblzma (xz).
Bradley Sepos [Thu, 13 Dec 2018 01:29:12 +0000 (20:29 -0500)]
Revise News for 1.2.0 release based on feedback.
Scott [Wed, 12 Dec 2018 22:04:06 +0000 (22:04 +0000)]
Update README.markdown
Scott [Wed, 12 Dec 2018 22:02:17 +0000 (22:02 +0000)]
Updating Thanks
Scott [Wed, 12 Dec 2018 22:00:47 +0000 (22:00 +0000)]
Typo
Scott [Wed, 12 Dec 2018 22:00:22 +0000 (22:00 +0000)]
Update README.markdown
Scott [Wed, 12 Dec 2018 22:00:04 +0000 (22:00 +0000)]
Updating information about translations.
Bradley Sepos [Wed, 12 Dec 2018 20:52:00 +0000 (15:52 -0500)]
Add new Chromecast 1080p60 preset to News for 1.2.0 release.
Bradley Sepos [Wed, 12 Dec 2018 20:48:34 +0000 (15:48 -0500)]
preset: Add Chromecast 1080p60 Surround preset and update some descriptions.
New Chromecast 3rd Generation supports 60 fps.
sr55 [Wed, 12 Dec 2018 20:31:23 +0000 (20:31 +0000)]
WinGui: Consistency tweak. "Reload" instead of "Reload Defaults"
Bradley Sepos [Wed, 12 Dec 2018 20:31:44 +0000 (15:31 -0500)]
Fix typo in News for 1.2.0 release.
Bradley Sepos [Wed, 12 Dec 2018 20:30:01 +0000 (15:30 -0500)]
Update News for 1.2.0 release.
John Stebbins [Wed, 12 Dec 2018 19:59:56 +0000 (11:59 -0800)]
LinGui: accept {source-path} in addition to {source_path}
Standardize on '-' but accept legacy '_'
sr55 [Tue, 11 Dec 2018 20:07:36 +0000 (20:07 +0000)]
Extend the range of allowed bitrate inputs to allow Opus to go down as low as 6kbit #1725
sr55 [Mon, 10 Dec 2018 18:40:17 +0000 (18:40 +0000)]
VideoToolbox: Remove unsupported main10 mode #1719
sr55 [Sun, 9 Dec 2018 21:15:40 +0000 (21:15 +0000)]
WinGui: Some further tidyup of HandBrake.Interop. Remove the instance manager. The consumers should manage this themselves.
sr55 [Sun, 9 Dec 2018 21:06:45 +0000 (21:06 +0000)]
WinGui: FIx a small bug in the HTTP Service
Scott [Sat, 8 Dec 2018 17:40:12 +0000 (17:40 +0000)]
Add Build Status to the Readme
Scott [Sat, 8 Dec 2018 17:38:56 +0000 (17:38 +0000)]
Remove unneeded sudo
Scott [Sat, 8 Dec 2018 17:23:50 +0000 (17:23 +0000)]
Initial support for Travis builds
To start off with, Linux CLI only.
sr55 [Sat, 8 Dec 2018 15:28:38 +0000 (15:28 +0000)]
WinGui: Fix a number of build warnings. Fixes #1720 and #1721 and a few other warnings in the code.
sr55 [Fri, 7 Dec 2018 23:36:19 +0000 (23:36 +0000)]
VCE: Fix an issue with where the h264 stream was not correctly written to the container. #1706
Simon Lämmle [Mon, 3 Dec 2018 14:36:59 +0000 (15:36 +0100)]
MacGui: update German localization (Dec 2018).
Update german localization to Transifex status of December 2018.
sr55 [Sun, 2 Dec 2018 20:49:43 +0000 (20:49 +0000)]
WinGui: Completely hide the 2pass control for all hardware encoders.
sr55 [Sat, 1 Dec 2018 13:45:31 +0000 (13:45 +0000)]
Default Nvenc to use slower, higher quality settings. Fix some issues around the rate control, profile and level settings.
sr55 [Thu, 29 Nov 2018 19:29:21 +0000 (19:29 +0000)]
WinGui: Fix a minor cosmetic issue on the extra args box on the video tab. Fixes #1705
John Stebbins [Thu, 29 Nov 2018 18:21:31 +0000 (10:21 -0800)]
nvenc: fix chapter mark positions
Set flag that forces nvenc to produce IDR frames when a keyframe is
forced. We require IDR frames at chapter marks.
Yuichiro NAITO [Tue, 27 Nov 2018 13:45:43 +0000 (22:45 +0900)]
build: Remove GCC.I and GCC.L for FreeBSD.
It is too strong configuration that forces to search for the specific path first.
If contrib library (ex. x265) is installed from Ports, and Ports library
version is different from contrib, "GCC.I=/usr/local/include" look up Ports
library headers first and it can be different definitions from contrib headers.
We should look up contrib headers before Ports library headers.
Yuichiro NAITO [Mon, 19 Nov 2018 02:19:19 +0000 (11:19 +0900)]
build: Respect CC environment variable on all platforms.