sr55 [Fri, 15 Jun 2018 18:45:17 +0000 (19:45 +0100)]
WinGui: Fix a crash in a converter.
sr55 [Thu, 14 Jun 2018 18:56:44 +0000 (19:56 +0100)]
WinGui: Fix an integer overflow in the UI layer for the start/stop controls. Fixes #1327
Sam H [Wed, 13 Jun 2018 21:16:20 +0000 (22:16 +0100)]
WinGui: Soften the colour of the grid lines in the chapters table
Sam H [Wed, 13 Jun 2018 21:27:27 +0000 (22:27 +0100)]
WinGui: Make MenuItems the same height as the Menu
sr55 [Thu, 14 Jun 2018 16:00:52 +0000 (17:00 +0100)]
WinGui: Add HintPath to newtonsoft json in the worker process project. It shouldn't be needed but some VS installs appear to have issues without it. Fixes #1420
ilovezfs [Fri, 8 Jun 2018 16:44:35 +0000 (16:44 +0000)]
libopus: run autoreconf
configure.ac is modified by the patch from #1380
John Stebbins [Wed, 13 Jun 2018 22:07:25 +0000 (15:07 -0700)]
Fix PGS subtitle decoding...
...And add a timebase to every stream.
ffmpeg's subtitle decoder internally converts the packet pts to
AV_TIME_BASE units based on AVCodecContext.pkt_timebase. If
pkt_timebase is not set, the PGS subtitle decoder only returns
AV_NOPTS_VALUE for timestamps. So setting pkt_timebase in decpgssub.c
fixes PGS subtitle decoding.
Confusingly, the subtitle decoder does not convert the pts *back* to the
input timebase, but instead leaves them in AV_TIME_BASE units upon
returning a decoded subtitle.
To get a head start on fixing any other such issues that might arrise, I
have also set pkt_timebase in all other avcodec decoders.
John Stebbins [Wed, 13 Jun 2018 17:11:30 +0000 (10:11 -0700)]
libhb: fix snprintf compiler warnings
Our handling of temporary directory paths could truncate resulting
filenames. This fixes the warnings and prevents possible truncation.
John Stebbins [Wed, 13 Jun 2018 15:13:44 +0000 (08:13 -0700)]
libhb: eliminate use of deprecated av_register_all...
...and avformat_register_all
John Stebbins [Wed, 13 Jun 2018 15:07:23 +0000 (08:07 -0700)]
libhb: eliminate use of deprecated ffmpeg lockmgr
It's a NOP and does nothing in current code
John Stebbins [Wed, 13 Jun 2018 15:01:55 +0000 (08:01 -0700)]
muxavformat: fix use of deprecated AVFormat.filename
The new way is AVFormat.url. AVFormat.filename had lenght limitations
that url does not since it is allocated by the caller (and freed by
libavformat).
Damiano Galassi [Wed, 13 Jun 2018 11:04:41 +0000 (13:04 +0200)]
MacGui: do not play a sound for notification if alerts are disabled in prefs.
Damiano Galassi [Wed, 13 Jun 2018 11:04:02 +0000 (13:04 +0200)]
MacGui: fix x264 unparsed string and advanced panel.
John Stebbins [Tue, 12 Jun 2018 19:09:59 +0000 (12:09 -0700)]
LinGui: change language lists from GtkListBox to GtkTreeView
The GtkTreeView is more flexible and more capable. Languages can be
searched for in the GtkTreeView by focusing the widget and typing what
you want to find. Double clicking an item in the list will add or
remove it from the "selected" languages list in audio and subtitle track
selection settings.
John Stebbins [Mon, 11 Jun 2018 22:36:52 +0000 (15:36 -0700)]
comb_detect: fix crash when no valid frames are passed
John Stebbins [Mon, 11 Jun 2018 22:15:01 +0000 (15:15 -0700)]
LinGui: add search function to language popups
The language list is long and displays native names while sorted by
English names, so it is difficult to find a language. This adds the
ability to "search" for a language based on it's initial character.
Typing a character will jump to the next entry that starts with that
character in its native name.
John Stebbins [Mon, 11 Jun 2018 17:39:33 +0000 (10:39 -0700)]
flatpak: update appstream snapshot images
sr55 [Mon, 11 Jun 2018 17:52:01 +0000 (18:52 +0100)]
WinGui: Don't compile the AppX project when building the solution. It's not currently in use.
Damiano Galassi [Mon, 11 Jun 2018 09:54:49 +0000 (11:54 +0200)]
MacGui: do not use NSMatrix for radio buttons, fix some layout issues.
John Stebbins [Mon, 11 Jun 2018 01:47:55 +0000 (18:47 -0700)]
encavcodec: fix encoding with vp8 and vp8 encoders
Was broken by the AMF merge
Bradley Sepos [Mon, 11 Jun 2018 01:34:59 +0000 (21:34 -0400)]
contrib: Add macOS 10.13 High Sierra detection patch to libvpx.
Seems like libvpx should have a generic target for future/unknown macOS versions.
Bradley Sepos [Mon, 11 Jun 2018 01:22:43 +0000 (21:22 -0400)]
contrib: Add compatibility patches for libvpx.
The avx-512 patch should avoid breakage with wonky compilers and older systems such as macOS <= 10.11. The pthread detection patch can be applied more generally but really is a safety check targeting win32.
sr55 [Sun, 10 Jun 2018 20:21:45 +0000 (21:21 +0100)]
WinGui: Implement most of the HTTP Worker Process stubs.
Damiano Galassi [Sun, 10 Jun 2018 15:25:35 +0000 (17:25 +0200)]
MacGui: remove unused localization files.
Damiano Galassi [Sun, 10 Jun 2018 15:02:23 +0000 (17:02 +0200)]
MacGui: Change the "Picture Size" label to "Dimensions" to avoid confusion on the Add Preset View. #1309
Damiano Galassi [Sun, 10 Jun 2018 14:55:57 +0000 (16:55 +0200)]
MacGui: update Sparkle to 1.19.0.
sr55 [Sun, 10 Jun 2018 12:46:17 +0000 (13:46 +0100)]
WinGui: Stub the RemoteInstance implementation of IEncodeInstance.
sr55 [Sun, 10 Jun 2018 12:38:13 +0000 (13:38 +0100)]
WinGui: Split out the encode portion of IHandBrakeInstance into IEncodeInstance. API remains compatible.
sr55 [Sun, 10 Jun 2018 12:34:39 +0000 (13:34 +0100)]
WinGui: HandBrake.Worker tidyup.
sr55 [Sun, 10 Jun 2018 12:25:53 +0000 (13:25 +0100)]
WinGui: Stub out a background worker process.
Sam H [Sun, 10 Jun 2018 08:32:53 +0000 (09:32 +0100)]
Remove the unused "rows" header from the chapters DataGrid
Damiano Galassi [Sun, 10 Jun 2018 07:12:18 +0000 (09:12 +0200)]
MacGui: fix another round of deprecation warnings. Remove drawer code.
John Stebbins [Sun, 10 Jun 2018 00:36:19 +0000 (17:36 -0700)]
muxavformat: Fix muxing SSA subtitles
ffmpeg expect SSA packets in matroska format.
Fixes https://github.com/HandBrake/HandBrake/issues/1379
John Stebbins [Sat, 9 Jun 2018 17:11:08 +0000 (10:11 -0700)]
decssasub: Fix decoding SSA subtitles
ffmpeg delivers the SSA subtitles in the matroska packet format we
require, so no parsing is necessary now.
Fixes https://github.com/HandBrake/HandBrake/issues/1406
Scott [Sat, 9 Jun 2018 12:02:32 +0000 (13:02 +0100)]
Another typo
Scott [Sat, 9 Jun 2018 12:02:03 +0000 (13:02 +0100)]
Typos
Damiano Galassi [Sat, 9 Jun 2018 11:51:45 +0000 (13:51 +0200)]
MacGui: improve UI layout when localised.
Scott [Sat, 9 Jun 2018 11:29:09 +0000 (12:29 +0100)]
Create PULL_REQUEST_TEMPLATE.md
Scott [Sat, 9 Jun 2018 11:14:17 +0000 (12:14 +0100)]
Create CODE_OF_CONDUCT.md
Damiano Galassi [Sat, 9 Jun 2018 10:10:36 +0000 (12:10 +0200)]
MacGui: convert HBPictureViewController.xib to autolayout.
Damiano Galassi [Sat, 9 Jun 2018 09:47:22 +0000 (11:47 +0200)]
MacGui: avoid calling boolForKey on NSUserDefaults values.
Damiano Galassi [Sat, 9 Jun 2018 09:46:50 +0000 (11:46 +0200)]
MacGui: use auto layout in the filters xib.
Damiano Galassi [Sat, 9 Jun 2018 09:13:13 +0000 (11:13 +0200)]
MacGui: enable some additional static analyser options, made two header files public.
Damiano Galassi [Sat, 9 Jun 2018 09:12:21 +0000 (11:12 +0200)]
MacGui: add a few more comments.
Damiano Galassi [Sat, 9 Jun 2018 08:26:57 +0000 (10:26 +0200)]
Fix: fix another deprecation warning and add a missing alloc message.
Damiano Galassi [Sat, 9 Jun 2018 08:06:52 +0000 (10:06 +0200)]
MacGui: improve NSLocalizedString comments.
Damiano Galassi [Sat, 9 Jun 2018 07:07:46 +0000 (09:07 +0200)]
MacGui: show the copy protection alert at most once each time HandBrake is run.
sr55 [Fri, 8 Jun 2018 22:14:02 +0000 (23:14 +0100)]
VCE: Add support for fetching levels for H.264 and H.265
sr55 [Fri, 8 Jun 2018 22:04:22 +0000 (23:04 +0100)]
WinGui: Add Support for the VCE Encoders.
sr55 [Fri, 8 Jun 2018 22:03:56 +0000 (23:03 +0100)]
VCE: Stub out VCE available methods for the UI. This will need to check for hardware and potentially driver. TBD
sr55 [Fri, 8 Jun 2018 21:47:31 +0000 (22:47 +0100)]
VCE: Fix a case sensitivity issue in the build script
Bradley Sepos [Fri, 8 Jun 2018 20:33:23 +0000 (16:33 -0400)]
libhb: test: Guard VCE encoders behind USE_VCE.
Fixes #1403.
Bradley Sepos [Fri, 8 Jun 2018 20:23:16 +0000 (16:23 -0400)]
libhb: Restore HB_VCODEC_MASK value.
Change
4456e3390ce40d9cff98efc8afd888e4d52a60d5 is unnecessary.
John Stebbins [Fri, 8 Jun 2018 17:47:03 +0000 (10:47 -0700)]
flatpak: add --filesystem=host to sandbox permissions
GtkFileChooserNative is required in order to use the document portal.
Using this file chooser will require significant rework of source
selection, so enable host filesystem access until I can do this.
The CLI will need host filesystem access anyway since it can't use the
document portal.
Damiano Galassi [Fri, 8 Jun 2018 15:38:17 +0000 (17:38 +0200)]
MacGui: forgot to add back a xib in the previous commit.
Damiano Galassi [Fri, 8 Jun 2018 15:26:40 +0000 (17:26 +0200)]
MacGui: move the xib files to Base.Iproj to make localiation easier.
Bradley Sepos [Sun, 3 Jun 2018 04:00:42 +0000 (00:00 -0400)]
contrib: Add x264 patch fixing asm segfaults with clang.
Fixes -mavx which fixes -march=native as used by Homebrew on macOS. Fixes #1351.
Damiano Galassi [Fri, 8 Jun 2018 14:59:25 +0000 (16:59 +0200)]
MacGui: set the minimum deployment target to 10.10. Remove Growl and use macOS standard notifications. Remove deprecated API usage and code that doesn't compile anymore (QTKit).
John Stebbins [Fri, 8 Jun 2018 14:44:54 +0000 (07:44 -0700)]
flatpak: Add OARS metadata to HandBrakeCLI appdata
Copied from https://github.com/HandBrake/HandBrake/commit/
5738051afb008d880d85e90ce1a0fd536e9a4058
OARS https://hughsie.github.io/oars/ is a content description
system that allows software stores (such as GNOME Software) to
categorise and classify applications. Having the markup available
is a flathub requirement.
Thanks to Nick Richards
Nick Richards [Fri, 8 Jun 2018 14:41:47 +0000 (15:41 +0100)]
Add OARS metadata to appdata (#1397)
OARS https://hughsie.github.io/oars/ is a content description system that allows software stores (such as GNOME Software) to categorise and classify applications. Having the markup available is a flathub requirement.
John Stebbins [Thu, 7 Jun 2018 21:59:54 +0000 (14:59 -0700)]
flatpak: automatically add <release> tag to LinGui appdata
Also add translation support for appdata
John Stebbins [Thu, 7 Jun 2018 21:49:45 +0000 (14:49 -0700)]
flatpak: automatically add <release> tag to cli appdata
John Stebbins [Thu, 7 Jun 2018 15:30:00 +0000 (08:30 -0700)]
flatpak: disable update checks
John Stebbins [Thu, 7 Jun 2018 15:29:04 +0000 (08:29 -0700)]
build: move --flatpak option into configure "Build Options"
Bradley Sepos [Thu, 7 Jun 2018 20:53:13 +0000 (16:53 -0400)]
graphics: Add single toolbar icon for testing on macOS Mojave dark theme.
#1392.
Damiano Galassi [Thu, 7 Jun 2018 12:28:57 +0000 (14:28 +0200)]
MacGui: set the rendering intent of the monochromatic toolbar images to "template".
Damiano Galassi [Thu, 7 Jun 2018 12:28:07 +0000 (14:28 +0200)]
MaGui: fix activity text color in dark mode.
Damiano Galassi [Thu, 7 Jun 2018 11:40:31 +0000 (13:40 +0200)]
Mac: enable a compiler option recommended by Xcode 9.4.
Damiano Galassi [Thu, 7 Jun 2018 11:39:42 +0000 (13:39 +0200)]
Mac: Use the legacy build system in Xcode 10, the new one requiress some changes to make it work.
Bradley Sepos [Thu, 7 Jun 2018 02:08:56 +0000 (22:08 -0400)]
contrib: Only enable FFmpeg AMF configure options when VCE enabled.
John Stebbins [Wed, 6 Jun 2018 23:20:34 +0000 (16:20 -0700)]
scripts: add script for creating flatpak manifests
This script can generate manifests that are suitable for submitting to
flathub for publishing to their repository. It can also be used for
generating manifests suitable for building local flatpak bundles and is
used during 'make pkg.create.flatpak'
Bradley Sepos [Sun, 3 Jun 2018 22:35:12 +0000 (18:35 -0400)]
libhb: Cosmetic in encavcodec.c.
Michael Wootton [Tue, 23 Jan 2018 23:01:03 +0000 (17:01 -0600)]
Add support for VCE hardware encoding.
John Stebbins [Wed, 6 Jun 2018 15:03:33 +0000 (08:03 -0700)]
bd: Don't fail titles with unknown aspect
Assum 16:9 instead
Fixes https://forum.handbrake.fr/viewtopic.php?f=11&t=37836
Damiano Galassi [Wed, 6 Jun 2018 10:36:59 +0000 (12:36 +0200)]
MacGui: make it possible to resize down the "add titles to queue" toolbar button icon. It won't get as small as the others toolbar icon, but it's as good as it can get now. Fixes #1318
Scott [Tue, 5 Jun 2018 21:13:48 +0000 (22:13 +0100)]
Remove old issue template
Scott [Tue, 5 Jun 2018 21:13:04 +0000 (22:13 +0100)]
Adding Feature Request Template.
Scott [Tue, 5 Jun 2018 21:09:10 +0000 (22:09 +0100)]
Adding Bug Report Template
Scott [Tue, 5 Jun 2018 21:07:10 +0000 (22:07 +0100)]
Create CONTRIBUTING.md
Adding an GitHub CONTRIBUTING.md file
sr55 [Tue, 5 Jun 2018 20:56:23 +0000 (21:56 +0100)]
WinGui: cproj tidyup
sr55 [Tue, 5 Jun 2018 20:52:23 +0000 (21:52 +0100)]
WinGui: Rename HandBrake.ApplicationServices back to HandBrake.Interop. It's moving back to being more of an libhb interop/abstraction library only.
sr55 [Tue, 5 Jun 2018 18:32:36 +0000 (19:32 +0100)]
WinGui: Additional Error Handling in EnumHelper
John Stebbins [Tue, 5 Jun 2018 17:07:57 +0000 (10:07 -0700)]
flatpak: keep CLI in GUI package
HandBrake-<version>.flatpak contains GUI and CLI
HandBrakeCLI-<version>.flatpak is CLI only
John Stebbins [Tue, 5 Jun 2018 17:06:04 +0000 (10:06 -0700)]
flatpak: change package names
new names conform better to current win/osx snapshot names
John Stebbins [Tue, 5 Jun 2018 17:00:20 +0000 (10:00 -0700)]
flatpak: change "appdata" dir to "metainfo"
The specificaion for where appstream files go changed
John Stebbins [Tue, 5 Jun 2018 15:50:03 +0000 (08:50 -0700)]
CLI: add flatpak manifest
John Stebbins [Tue, 5 Jun 2018 15:49:16 +0000 (08:49 -0700)]
LinGui: conform to newer flatpak manifest standards
John Stebbins [Tue, 5 Jun 2018 15:08:24 +0000 (08:08 -0700)]
flatpak: uses fr.handbrake.ghb app id consistently
Damiano Galassi [Tue, 5 Jun 2018 11:46:02 +0000 (13:46 +0200)]
libhb: allow muxing E-AC3 in mp4.
John Stebbins [Tue, 5 Jun 2018 03:30:51 +0000 (20:30 -0700)]
LinGui: make flatpak pgp signature optional
To sign flatpak during build:
make pkg.create.flatpak PGP_ID=<key id>
John Stebbins [Tue, 5 Jun 2018 00:31:03 +0000 (17:31 -0700)]
LinGui: update flatpak gnome sdk version to 3.28
John Stebbins [Mon, 4 Jun 2018 22:51:36 +0000 (15:51 -0700)]
LinGui: open URLs with flatpak portal aware API
John Stebbins [Mon, 4 Jun 2018 22:26:47 +0000 (15:26 -0700)]
flatpak: add nasm to modules
nasm is a build requirement that is not provided by any of the flatpak
SDKs
John Stebbins [Mon, 4 Jun 2018 21:48:30 +0000 (14:48 -0700)]
LinGui: handle legacy preferences file better
"show_presets" key could cause the preset window to be shown at every
startup.
John Stebbins [Mon, 4 Jun 2018 18:04:11 +0000 (11:04 -0700)]
decavcodec: fix issues with audio that has no explicit channel_layout
ffmpeg doesn't set a default channel layout for audio that has no
explicit layout (e.g. pcm_216le). So we need to guess it from the
number of channels.
Fixes "no audio" in https://github.com/HandBrake/HandBrake/issues/1387
John Stebbins [Mon, 4 Jun 2018 18:02:06 +0000 (11:02 -0700)]
sync: don't drop short frames in OutputBuffer()
*really* fix https://github.com/HandBrake/HandBrake/issues/1374 this
time.
John Stebbins [Fri, 1 Jun 2018 20:56:14 +0000 (13:56 -0700)]
LinGui: Add opus for flatpak builds
flatpak sdk doesn't include opus
Bradley Sepos [Sun, 3 Jun 2018 22:30:42 +0000 (18:30 -0400)]
contrib: Remove --enable-lzma from FFmpeg.
It is the default.
John Stebbins [Sun, 3 Jun 2018 21:19:46 +0000 (14:19 -0700)]
libvpx: fix vpx.pc pkg-config file for static builds (#1385)
The generated vpx.pc file results in undefined symbols during ffmpeg's
configure tests. libpthread is not getting added to the link line as
required. The vpx.pc file needs to include -lpthread in the Libs instead
of Libs.private when generating only a static library.
Fixes https://github.com/HandBrake/HandBrake/issues/1383
Bradley Sepos [Sun, 3 Jun 2018 21:08:56 +0000 (17:08 -0400)]
contrib: Move FFmpeg dep AMF into conditional.
Practically, there is no difference. But this is how QSV was done and is easy to read.