Damiano Galassi [Sat, 22 Apr 2017 07:09:57 +0000 (09:09 +0200)]
MacGui: fix the "alert when done sound", it was checking the wrong key.
Damiano Galassi [Fri, 21 Apr 2017 13:17:57 +0000 (15:17 +0200)]
MacGui: do not use NSSecureCoding on 10.8, it crashes.
Damiano Galassi [Fri, 21 Apr 2017 11:48:25 +0000 (13:48 +0200)]
MacGui: do not load a job from disk if one or more job objects are missing.
Damiano Galassi [Fri, 21 Apr 2017 11:47:20 +0000 (13:47 +0200)]
MacGui: NSUUID is not available on 10.7, replace it with CFUUIDRef
John Stebbins [Wed, 19 Apr 2017 17:27:23 +0000 (10:27 -0700)]
LinGui: fix POTFILE list
When I changed a file name I forgot to change this list.
This list is used to generate the translation template file.
sr55 [Sun, 16 Apr 2017 09:59:40 +0000 (10:59 +0100)]
WinGui: Fix a possible exception when cancelling and rescanning a source that would cause it to never complete the second time. Fixes #671
John Stebbins [Sat, 15 Apr 2017 19:20:21 +0000 (13:20 -0600)]
decsrt: fix p-to-p start time after seeking
Reader can skip data at the beginning of the file. We were not
informing decsrt how much was skipped when pts_to_start caused the skip.
Fixes https://forum.handbrake.fr/viewtopic.php?f=11&t=36258
sr55 [Sat, 15 Apr 2017 11:26:59 +0000 (12:26 +0100)]
WinGui: Handle HB_STATE_MUXING and HB_STATE_SEARCHING for better progress indication in the UI. #676
John Stebbins [Fri, 14 Apr 2017 23:13:38 +0000 (17:13 -0600)]
avfilter: fix handling of bad settings
After encountering a bad setting, it was removing all filters starting
with the one with bad settings.
Damiano Galassi [Fri, 14 Apr 2017 16:45:22 +0000 (18:45 +0200)]
MacGui: fix tests for the sandboxed schemes.
Damiano Galassi [Fri, 14 Apr 2017 16:38:45 +0000 (18:38 +0200)]
preset: fix audio settings when samplerate == auto
sr55 [Thu, 13 Apr 2017 18:46:15 +0000 (19:46 +0100)]
WinGui: Strip out some out some legacy code that was causing some threading issues.
Damiano Galassi [Thu, 13 Apr 2017 06:10:15 +0000 (08:10 +0200)]
MacGui: fix auto mixdown.
John Stebbins [Wed, 12 Apr 2017 21:09:26 +0000 (15:09 -0600)]
scan: fix very slow scanning for some files
The threshold in bytes for when to give up trying to decode a frame was
too big for a lot of streams. It was made large to accomodate 4K raw
video. Instead of counting bytes, count frames fed to the decoder.
This is more consistant regardless of video resolution and codec.
John Stebbins [Wed, 12 Apr 2017 19:22:24 +0000 (13:22 -0600)]
preset: fix sanitizing audio settings when samplerate != Auto
The samplerate was incorrectly copied to the job as a string instead of
an int which caused invalid sanitizing of audio settings.
John Stebbins [Tue, 11 Apr 2017 19:25:51 +0000 (13:25 -0600)]
libav: fix h264 decode error
Fixes https://github.com/HandBrake/HandBrake/issues/602
John Stebbins [Tue, 11 Apr 2017 18:23:56 +0000 (12:23 -0600)]
scan: enable HBTF_NO_IDR when not enough previews found
Setting this flag signals to libav to not wait for IDR or recovery
points before returning frames to us. Some videos have neither IDRs or
recovery points, so this fixes transcoding such video.
Fixes https://github.com/HandBrake/HandBrake/issues/456
sr55 [Tue, 11 Apr 2017 15:27:24 +0000 (16:27 +0100)]
WinGui: Handle auto-passthru correctly in the mixdown sanatising code.
sr55 [Tue, 11 Apr 2017 14:01:55 +0000 (15:01 +0100)]
WinGui: Fix a potential crash in the audio track mixdown handling code.
sr55 [Tue, 11 Apr 2017 13:24:38 +0000 (14:24 +0100)]
WinGui: Cancel Scan will now close the status panel if the scan cancellation fails for any reason. Rejigged the logging in the scan service to help debug intermittent failures of the scan completed event from firing.
sr55 [Mon, 10 Apr 2017 16:03:32 +0000 (17:03 +0100)]
WinGui: Audio Defaults: Improve the Mixdown dropdown. Only show supported mixdowns and automatically select the highest available mixdown if the encoder is limited and doesn't support the current selection.
sr55 [Mon, 10 Apr 2017 15:50:24 +0000 (16:50 +0100)]
WinGui: Audio Defaults: Don't allow the user to set "None" as a mixdown. It's not a valid option and breaks the bitrate dropdown.
sr55 [Mon, 10 Apr 2017 15:37:23 +0000 (16:37 +0100)]
WinGui: Audio Defaults: If the mixdown is not supported, get the best default mixdown for the source track / encoder. #661
Bradley Sepos [Sun, 9 Apr 2017 20:23:36 +0000 (16:23 -0400)]
Update NEWS.markdown for HandBrake 1.0.7 release.
Really.
Bradley Sepos [Sun, 9 Apr 2017 20:01:06 +0000 (16:01 -0400)]
Update NEWS.markdown for 1.0.6 release.
Hopefully.
Bradley Sepos [Sun, 9 Apr 2017 19:14:52 +0000 (15:14 -0400)]
Update NEWS.markdown for 1.0.5 release.
John Stebbins [Sun, 9 Apr 2017 18:11:23 +0000 (12:11 -0600)]
LinGui: add Ubuntu Zesty nightly builds
Bradley Sepos [Sun, 9 Apr 2017 17:55:47 +0000 (13:55 -0400)]
Update NEWS.markdown for 1.0.4 release.
John Stebbins [Sun, 9 Apr 2017 16:33:26 +0000 (10:33 -0600)]
Fix raw video timestamps
Raw video has no timestamps. But we drop frames in sync that have no
timestamps. So detect raw video and extrapolate timestamps from
framerate.
Bradley Sepos [Thu, 23 Mar 2017 08:54:34 +0000 (04:54 -0400)]
build: Update to config.guess 2017-03-05.
Closes #652.
maxd [Fri, 7 Apr 2017 09:49:32 +0000 (11:49 +0200)]
qsv: hevc10 fix for correct declaration of data/zero bits
maxd [Wed, 22 Mar 2017 10:22:52 +0000 (11:22 +0100)]
qsv: fix for latest MSS support
maxd [Tue, 21 Mar 2017 17:03:25 +0000 (18:03 +0100)]
qsv: better options handling for cross compilation
maxd [Tue, 21 Mar 2017 16:09:35 +0000 (17:09 +0100)]
qsv: fixing mfx compilation options for Linux support
Bradley Sepos [Wed, 29 Mar 2017 20:24:22 +0000 (16:24 -0400)]
scripts: Update to mingw-w64-build 2.3.1.
Resolves an issue building libgmp on newer Linux distros with hardened GCC.
John Stebbins [Wed, 29 Mar 2017 16:44:51 +0000 (10:44 -0600)]
LinGui: fix application of SRT offset
John Stebbins [Tue, 28 Mar 2017 19:19:01 +0000 (13:19 -0600)]
batch: fix crash when a stream scan fails
sr55 [Sun, 26 Mar 2017 11:19:05 +0000 (12:19 +0100)]
WinGui: Remove fonts directory from installer.
sr55 [Sun, 26 Mar 2017 10:57:57 +0000 (11:57 +0100)]
WinGui: Fix a number of stylecop warnings.
sr55 [Fri, 24 Mar 2017 21:05:20 +0000 (21:05 +0000)]
Build: Fix to the build scripts to no longer include font directory in mingw builds. It's no longer needed.
sr55 [Wed, 22 Mar 2017 21:16:21 +0000 (21:16 +0000)]
WinGui: Change the default behaviour for the WinGui to automatically use fallback track in situations where the selected passthru is not valid. The UI will by default select the fallback now. Fixes #646
sr55 [Wed, 22 Mar 2017 20:37:18 +0000 (20:37 +0000)]
WinGui: Fix an issue with the EnumHelper that was causing some dropdowns not to render correctly.
John Stebbins [Wed, 22 Mar 2017 18:24:03 +0000 (11:24 -0700)]
CLI: don't override preset subtitle burn defaults...
Unless user explicitly overrides with command line options
John Stebbins [Tue, 31 Jan 2017 16:09:00 +0000 (08:09 -0800)]
CLI: clean up when exiting early
"HandBrakeCLI --help" and other options didn't delete temp directories
sr55 [Sat, 18 Mar 2017 15:36:51 +0000 (15:36 +0000)]
WinGui: Inlcude portable.ini.template with the WinGUI installer.
sr55 [Fri, 17 Mar 2017 22:53:12 +0000 (22:53 +0000)]
WinGui: Remove unnecessary libraries folder.
sr55 [Fri, 17 Mar 2017 22:42:00 +0000 (22:42 +0000)]
WinGui: Remove some unused service references.
sr55 [Fri, 17 Mar 2017 22:41:45 +0000 (22:41 +0000)]
WinGui: Remove a couple instances of VistaOpenFileDialog in favour of the native WPF api.
sr55 [Fri, 17 Mar 2017 22:33:48 +0000 (22:33 +0000)]
WinGui: Remove Usage of System.ComponentModel.DataAnnotations - DisplayName as it's not currently compatible with .NET standard.
sr55 [Fri, 17 Mar 2017 22:32:27 +0000 (22:32 +0000)]
WinGui: Fix a crash in the Notify Icon Service when Notify Icon is not enabled.
sr55 [Fri, 17 Mar 2017 21:33:51 +0000 (21:33 +0000)]
WinGui: Make the Queue Storage Nightly aware. Also fix an issue with Queue and Log Files not being stored correctly for Portable mode. #267
Damiano Galassi [Fri, 17 Mar 2017 14:01:00 +0000 (15:01 +0100)]
MacGui: do not duplicate the subtitle source track each time the job is read again from disk.
Damiano Galassi [Fri, 17 Mar 2017 14:00:26 +0000 (15:00 +0100)]
MacGui: improve the job description in the queue.
sr55 [Thu, 16 Mar 2017 21:00:37 +0000 (21:00 +0000)]
WinGui: Add a new option to play Sound when queue or single encode completes
sr55 [Thu, 16 Mar 2017 20:26:05 +0000 (20:26 +0000)]
WinGui: Add option to show progress percentage in app title bar, and the task tray header and system tray tooltip. (Configured via preferences). #630
Damiano Galassi [Thu, 16 Mar 2017 10:03:25 +0000 (11:03 +0100)]
MacGui: end the textfields editing before adding a job to queue or creating a preset, so all the current job settings will be saved.
Damiano Galassi [Wed, 15 Mar 2017 17:10:02 +0000 (18:10 +0100)]
libhb: initialize sleep prevention reasonForActivity CFStringRef inside a function, fix build with icc mac compiler. Patch by jwardnh.
Damiano Galassi [Wed, 15 Mar 2017 15:33:46 +0000 (16:33 +0100)]
MacGui: add a message in the panel to select the external app.
Damiano Galassi [Wed, 15 Mar 2017 15:32:36 +0000 (16:32 +0100)]
MacGui: remove two unused vars.
Damiano Galassi [Wed, 15 Mar 2017 15:31:57 +0000 (16:31 +0100)]
MacGui: fix a possible race condition with the multiprocess queue when editing a job.
maximd33 [Tue, 14 Mar 2017 23:22:31 +0000 (00:22 +0100)]
qsv: fixing variable re-use (#627)
Closes #625.
maximd33 [Tue, 14 Mar 2017 23:20:29 +0000 (00:20 +0100)]
opencl: cleaning more leaks (#628)
opencl: cleaning more leaks
John Stebbins [Sun, 12 Mar 2017 19:50:25 +0000 (13:50 -0600)]
LinGui: fix audio copy mask updates
Updates to the mask would not be applied till it was saved to a preset
John Stebbins [Sun, 12 Mar 2017 17:17:16 +0000 (11:17 -0600)]
LinGui: Update translations
New translations come from transifex HandBrake 1.0.0 project.
https://ataaw.transifex.com/victorr2007/handbrake-100/
(cherry picked from commit
c6896fe967b0a5c95c645646c2a7a9c60e7cc52b)
Olivier Humbert [Sun, 12 Mar 2017 16:49:46 +0000 (17:49 +0100)]
Adds FR localisation to the desktop file (#552)
Oleg Oshmyan [Sun, 12 Mar 2017 16:31:36 +0000 (18:31 +0200)]
Remove Fontconfig on Windows (#610)
* Remove Fontconfig on Windows
Let libass use its DirectWrite font provider backend instead of Fontconfig.
This eliminates Fontconfig's font cache generation delay that occurred
at the start of an encode after a system font was (un)installed or when
HandBrake was installed and used to burn text subtitles for the first time.
* Remove LibHB's dependency on Fontconfig when it's not used
John Stebbins [Sat, 11 Mar 2017 20:38:19 +0000 (13:38 -0700)]
libvpx: fix building with our pthreadw32 contrib
John Stebbins [Fri, 10 Mar 2017 19:56:55 +0000 (12:56 -0700)]
subtitles: simplify and shorten subtitle descriptions (#591)
* subtitles: simplify and shorten subtitle descriptions
Generally, it eliminates parens to make things more readable.
I.e. it turns this:
English (Closed Caption)(Wide Screen)(Bitmap)(VOBSUB)
Into this:
English, Closed Caption [Wide Screen, VOBSUB]
* Revise punctuation per BradleyS request
* fix subtitle description formatting
* incorporate suggestions from PR
Oleg Oshmyan [Fri, 10 Mar 2017 19:54:32 +0000 (21:54 +0200)]
HarfBuzz: disable Fontconfig (#609)
HarfBuzz uses Fontconfig only in command-line utilities, which we don't need.
Oleg Oshmyan [Fri, 10 Mar 2017 19:53:33 +0000 (21:53 +0200)]
Actually set Fontconfig configuration path (#611)
Option --with-fcpath does not exist and never did.
We had a patch that added it, but the patch has been removed.
Use the standard option instead.
John Stebbins [Fri, 10 Mar 2017 19:47:50 +0000 (12:47 -0700)]
text subs: use generic font family names (#614)
* text subs: use generic font family names
Allows the platform more flexibility in choosing the "best" font for the
platform.
* rendersub: make font configurable per platform
Use Lucida Console for mono font on windows since it chooses ugly,
difficult to read Courier New when using monospace family name.
Sebastian Ramacher [Fri, 10 Mar 2017 16:31:17 +0000 (17:31 +0100)]
Fix various spelling mistakes (#613)
* Fix spelling of 'source'
* Fix spelling of 'specify'
* Fix spelling of 'internal'
* Fix spelling of 'quitting'
maxd [Fri, 10 Mar 2017 10:03:57 +0000 (11:03 +0100)]
opencl: fixing more resource leaks
Bradley Sepos [Sat, 4 Mar 2017 13:13:23 +0000 (08:13 -0500)]
contrib: Update to libvpx 1.6.1.
Closes #518.
John Stebbins [Fri, 10 Mar 2017 16:10:14 +0000 (09:10 -0700)]
x265: bump to version 2.3 (#437)
* x265: bump to version 2.2
Encoder enhancements
----------------------------------
1. Enhancements to TU selection algorithm with early-outs for improved
speed; use --limit-tu to exercise.
2. New motion search method SEA (Successive Elimination Algorithm)
supported now as –me 4
3. Bit-stream optimizations to improve fields in PPS and SPS for
bit-rate savings through --[no-]opt-qp-pps,
--[no-]opt-ref-list-length-pps, and --[no-]multi-pass-opt-rps.
4. Enabled using VBV constraints when encoding without WPP.
5. All param options dumped in SEI packet in bitstream when info
selected.
6. x265 now supports POWERPC-based systems. Several key functions also
have optimized ALTIVEC kernels.
API changes
-------------------
1. Options to disable SEI and optional-VUI messages from bitstream made
more descriptive.
2. New option --scenecut-bias to enable controlling bias to mark
scene-cuts via cli.
3. Support mono and mono16 color spaces for y4m input.
4. --min-cu-size of 64 no-longer supported for reasons of visual quality
(was crashing earlier anyways.)
5. API for CSV now expects version string for better integration of x265
into other applications.
Bug fixes
--------------
1. Several fixes to slice-based encoding.
2. --log2-max-poc-lsb‘s range limited according to HEVC spec.
3. Restrict MVs to within legal boundaries when encoding.
* x265: bump to version 2.3
Encoder enhancements
----------------------------------
1. New SSIM-based RD-cost computation for improved visual quality,
and efficiency; use --ssim-rd to exercise.
2. Multi-pass encoding can now share analysis information from prior
passes (in addition to rate-control information) to improve performance
and quality of subsequent passes; to your multi-pass command-lines that
use the --pass option, add --multi-pass-opt-distortion to share
distortion information, and --multi-pass-opt-analysis to share other
analysis information.
3. A dedicated thread pool for lookahead can now be specified with
--lookahead-threads.
4. --dynamic-rd dynamically increase analysis in areas where the bitrate
is being capped by VBV; works for both CRF and ABR encodes with VBV
settings.
5. The number of bits used to signal the delta-QP can be optimized with
the --opt-cu-delta-qp option; found to be useful in some scenarios for
lower bitrate targets.
6. Experimental feature option:–aq-motion adds new QP offsets based on
relative motion of a block with respect to the movement of the frame.
API changes
-------------------
1. Reconfigure API now supports signalling new scaling lists.
2. x265 application’s csv functionality now reports time (in milliseconds)
taken to encode each frame.
3. --strict-cbr enables stricter bitrate adherence by adding filler bits
when achieved bitrate is lower than the target; earlier, it was only
reacting when the achieved rate was higher.
4. --hdr can be used to ensure that max-cll and max-fall values are
always signaled (even if 0,0).
Bug fixes
--------------
1. Fixed incorrect HW thread counting on MacOS platform.
2. Fixed scaling lists support for 4:4:4 videos.
3. Inconsistent output fix for --opt-qp-pss by removing last slice’s
QP from cost calculation.
4. VTune profiling (enabled using ENABLE_VTUNE CMake option) now also
works with 2017 VTune builds.
* x265: remove unnecessary module.defs defines
John Stebbins [Thu, 9 Mar 2017 19:39:47 +0000 (12:39 -0700)]
LinGui: fix video preset slider updates
Fixes https://github.com/HandBrake/HandBrake/issues/621
maxd [Wed, 8 Mar 2017 19:08:32 +0000 (20:08 +0100)]
opencl: Fix resource leak.
Closes #617 and closes #618.
John Stebbins [Wed, 8 Mar 2017 16:31:14 +0000 (09:31 -0700)]
libav: a more robust fix for aac encoder crash
Damiano Galassi [Wed, 8 Mar 2017 10:17:06 +0000 (11:17 +0100)]
MacGui: fix "add titles to queue" toolbar item size
sr55 [Sun, 5 Mar 2017 22:02:26 +0000 (22:02 +0000)]
WinGui: Remove disk space warning from browser and allow the low level to be configurable in options. Resolves #590
sr55 [Sun, 5 Mar 2017 19:48:35 +0000 (19:48 +0000)]
WinGui: Add support in the UI for QSV 10bit H.265 encoder.
maxd [Tue, 28 Feb 2017 17:27:59 +0000 (18:27 +0100)]
qsv: only main10 profile supported for HEVC 10b encode
maxd [Tue, 28 Feb 2017 17:15:00 +0000 (18:15 +0100)]
qsv: added HEVC 10-bit as encoder, should help for GUI integration
maxd [Wed, 8 Feb 2017 12:39:21 +0000 (13:39 +0100)]
qsv: libav's patch fix
maxd [Wed, 8 Feb 2017 12:17:00 +0000 (13:17 +0100)]
qsv: adding hevc10 support starting from KBL platform
sr55 [Sat, 4 Mar 2017 17:22:26 +0000 (17:22 +0000)]
WinGui: Rework of the preset system
- Better support for categories.
- Switched from a List to Treeview Control.
- Remember the expansion state of each group
- Put User Presets on top after next save.
Closes #445
maxd [Fri, 3 Feb 2017 19:32:14 +0000 (20:32 +0100)]
qsv: adding hevc decode support
cclauss [Sun, 8 Jan 2017 10:23:45 +0000 (11:23 +0100)]
configure: Modernize Python in configure.py.
file is a Python built-in (https://docs.python.org/2/library/functions.html?highlight=file#file) so it should be avoided as a variable name.
Use "with open" syntax to automate file close where possible.
os.getenv() will return None if the key is not in os.environ.
Use ternary if to simplify conditional assignment where it improves, not hinders, readability.
Closes #500.
qarkai [Sat, 10 Sep 2016 12:57:27 +0000 (15:57 +0300)]
scripts: Modernize Python.
Replace getopt with argparse
Remove useless globals
Fix PEP8 warnings
Replace top() with native list index
Handle Expat exceptions
Closes #321.
Bradley Sepos [Sat, 4 Mar 2017 11:49:53 +0000 (06:49 -0500)]
contrib: Remove x265 Windows XP support.
We stopped supporting XP awhile back. Removal is necessary for NUMA. Closes #539.
Wouter van Kesteren [Thu, 2 Mar 2017 20:21:40 +0000 (21:21 +0100)]
Unbreak non-mingw cross.
Strings in python are immutable and it results in:
Traceback (most recent call last):
File "make/configure.py", line 1592, in <module>
action.run()
File "make/configure.py", line 287, in run
self._action()
File "make/configure.py", line 506, in _action
self.systemf[0] = self.systemf[0].upper()
TypeError: 'str' object does not support item assignment
John Stebbins [Fri, 3 Mar 2017 21:19:36 +0000 (14:19 -0700)]
sync: fix small video dejitter error
This very small error snowballs into a crash in x264 :-p
If the amount of jitter on the first frame in the queue was small
(about 1 tick) then jitter would not be removed from that frame.
This extra tick of jitter can appear on different frames depending
on when frame arrives and how much has been queued. This very small
amount of randomness lead to problems in the VFR filter. A frame
duration difference as small as 1 tick can lead to an extra frame
getting duplicated when doing CFR. When doing 2 pass encoding, this
extra frame causes x264 to crash at the end of the 2nd pass.
Damiano Galassi [Thu, 2 Mar 2017 17:10:18 +0000 (18:10 +0100)]
MacGui: forgot an else block in the previous commit
Damiano Galassi [Thu, 2 Mar 2017 17:06:21 +0000 (18:06 +0100)]
MacGui: do not remove a job from the queue if the rescan to the main window fails.
John Stebbins [Wed, 1 Mar 2017 15:00:15 +0000 (08:00 -0700)]
libav: simplify patch for corrupt raw video
John Stebbins [Tue, 28 Feb 2017 21:59:06 +0000 (14:59 -0700)]
work: set orig_vrate correctly
It was getting set to the title's rate instead of the rate that the
filter chain sets.
An incorrect vrate causes x265 rate control breakage.
Fixes https://github.com/HandBrake/HandBrake/issues/600
John Stebbins [Mon, 27 Feb 2017 20:05:12 +0000 (13:05 -0700)]
batch: Support --min-duration when doing batch scans
Fixes https://github.com/HandBrake/HandBrake/issues/501
John Stebbins [Mon, 27 Feb 2017 19:01:35 +0000 (12:01 -0700)]
libav: gracefully handle a broken AVI index
Fixes https://github.com/HandBrake/HandBrake/issues/439
John Stebbins [Sun, 26 Feb 2017 23:39:59 +0000 (16:39 -0700)]
libav: fix rawvideo in mkv corruption
fixes https://github.com/HandBrake/HandBrake/issues/128
John Stebbins [Sun, 26 Feb 2017 19:42:01 +0000 (12:42 -0700)]
vfr: fix invalid read/write
Probably the cause of crash seen in nightly builds
fixes https://github.com/HandBrake/HandBrake/issues/597