Frederick Ding [Thu, 31 May 2018 07:35:03 +0000 (03:35 -0400)]
Update WinGUI build script: allow SignTool.exe location to be specified and assume x64 (#1376)
* WinGUI: fix `SignToolLocation` typos in build.xml
Previously, a mismatch between the condition (which checked for an empty `SignToolLocation`) and the action it took (by setting `SighToolLocation`) made it difficult to override the actual location of `SignTool.exe`. The bug was introduced in HandBrake/HandBrake@d375071be1158deb73ccb1d262310f15f231eca9
* WinGUI: Assume x64 platform in examples
Since 32-bit Windows is no longer supported (HandBrake/HandBrake@ecbd10efbdf286b9a5248fd0a870036cd4437360), the comment at the top of `build.xml` for WinGUI shouldn't need a platform property anymore. `build.xml` is already set to assume x64 as the default platform.
* WinGUI: minor typo fixes
Just a few aesthetic changes with no effect on functionality
John Stebbins [Wed, 30 May 2018 22:00:04 +0000 (15:00 -0700)]
scan: rationalize ffmpeg codec/profile names
ffmpeg is inconsistent in the format of returned profile names.
Sometimes the profile name includes the codec name and sometimes it does
not. So search for the codec name in the profile name and add codec
name if it's not there. Ugh!
John Stebbins [Wed, 30 May 2018 16:21:56 +0000 (09:21 -0700)]
encx264: fix encoding of very short duration frames
We had a hash of limited size where we stored frame durations in
encx264. This hash has not been necessary since we moved to using
libavformat for muxing. Since the limited size of the hash put
constraints on how short frame durations could be, I've eliminated it.
This means that after the encoder, hb_buffer_t s.stop and s.duration are
no longer valid. But since they are not used during muxing, this is not
a problem.
John Stebbins [Tue, 29 May 2018 21:27:13 +0000 (14:27 -0700)]
LinGui: remove Ubuntu xenial and trusty from nightly builds
Neither of these support a recent enough version of nasm to build x265
with assembly optimizations. Running without assembly optimizations
isn't acceptable, so just stop building these releases.
Sven Gothel [Fri, 12 Jan 2018 00:53:01 +0000 (01:53 +0100)]
FFMPEG: Use avcodec_free_context(..) instead of deprecated leaking avcodec_close(..)
Hence rename hb_avcodec_close -> hb_avcodec_free_context and pass the required ptr-ptr.
avcodec_free_context(..) ensures releasing of all resources attached to the context.
Sven Gothel [Thu, 28 Dec 2017 03:28:26 +0000 (04:28 +0100)]
Using AV_CODEC_ID_SUBRIP instead of AV_CODEC_ID_SRT (libav->ffmpeg)
This fixes issue https://trac.ffmpeg.org/ticket/6304
See https://github.com/HandBrake/HandBrake/pull/981#issuecomment-347364763
See https://github.com/HandBrake/HandBrake/issues/974#issuecomment-353986772
Sven Gothel [Mon, 25 Dec 2017 22:53:54 +0000 (23:53 +0100)]
FFMPEG #974: Use latest FFMPEG 3.4.1 (2/2)
Patch 2/2 for https://github.com/HandBrake/HandBrake/issues/974
moving to FFMPEG 3.4.1 from LIBAV 12.2.
All patches have been moved to subfolder 'old' since they do not apply cleanly anymore.
Work has to be performed to validate whether patches are still required.
sr55 [Thu, 24 May 2018 19:59:08 +0000 (20:59 +0100)]
WinGui: Add support for dropping .srt files onto the main window. When you do this, the Subtitles tab is activated and a subtitle track for each file dropped will be added.
sr55 [Wed, 16 May 2018 20:35:44 +0000 (21:35 +0100)]
WinGui: Improved behaviour of the Add Selection to Queue Window. Can now be resized to full screen and also now supports spacebar selection once a record is selected to toggle the selection checkbox. Fixes #1341
sr55 [Sun, 6 May 2018 18:41:30 +0000 (19:41 +0100)]
WinGui: Remove references to System.Drawing from Alpha.ApplicationServices. The WPF project now has a conversion utility to take the raw byte[] to convert to bitmapimage.
sr55 [Sun, 6 May 2018 12:44:35 +0000 (13:44 +0100)]
WinGui: For MP4 files, when subtitles are incompatible and we've already used a burn-in track, drop all additional subtitle tracks instead of adding them.
WinGui: Add support for setting mixdown, bitrate, sample rate, gain and DRC for the passthru encoder on the audio behaviour screen. This is used for the audio fallback encoder. #1291
John Stebbins [Thu, 19 Apr 2018 19:16:18 +0000 (12:16 -0700)]
LinGui: start adding Gtk4 support
Gtk4 drops support for a number of widget properties and APIs.
Fortunately these were all pretty much duplicate functionality that
could be replaced by other existing properties and APIs.
Building with Gtk4 is currently disabled due to several bugs in libgtk4.