sr55 [Wed, 14 Jun 2017 21:07:14 +0000 (22:07 +0100)]
WinGui: Add checkbox for Legacy A/V alignment behaviour for players that don't support MP4 Edit Lists. #778
sr55 [Wed, 14 Jun 2017 20:08:49 +0000 (21:08 +0100)]
WinGui: Set Framework version to 4.6.1
John Stebbins [Wed, 14 Jun 2017 19:10:32 +0000 (12:10 -0700)]
muxavformat: override h.265 'hev1' with 'hvc1' (#782)
This provides compatibility with apple software
John Stebbins [Fri, 2 Jun 2017 15:51:21 +0000 (08:51 -0700)]
sync: work-around players with broken edit list support
This adds a preset key AlignAVStart that enables this work-around. When
enabled, blank frames are inserted or frames are dropped to force
alignment of the initial timestamp of every audio and video stream.
Aligning the start times minimizes the impact of broken edit list
support in players.
Closes #763.
Squashed:
sync: improve alignment when passthru audio is present
presets: enable AlignAVStart for General and Gmail presets
LinGui: Improve AlignAVStart tooltip
sync: avoid inserting a black frame < nominal frame duration
sync: fix start alignment when doing p-to-p encoding
sync: add comments
Bradley Sepos [Tue, 6 Jun 2017 19:43:09 +0000 (15:43 -0400)]
contrib: Update to Libav 12.1.
Closes #742 and closes #767.
Bradley Sepos [Tue, 6 Jun 2017 18:54:36 +0000 (14:54 -0400)]
contrib: Update to x265 2.4.
Closes #761 and closes #766.
Damiano Galassi [Tue, 13 Jun 2017 07:51:04 +0000 (09:51 +0200)]
MacGui: fix a small leak.
John Stebbins [Mon, 12 Jun 2017 23:54:13 +0000 (16:54 -0700)]
LinGui: Allow resizing window smaller
Make widget geometry changes that allow the window to be sized smaller.
Minimum size with Fedora's default Adwaita theme is 1080x698. Other
themes will vary in size.
John Stebbins [Mon, 12 Jun 2017 17:33:53 +0000 (10:33 -0700)]
presets: bump VersionMajor after opencl removal
I forgot to run rebuild script for the presets list
John Stebbins [Mon, 12 Jun 2017 17:21:46 +0000 (10:21 -0700)]
opencl: removit it (#777)
It was only used for scaling, it fails far too often and is only
faster on a limited selectoin of hardware.
Damiano Galassi [Mon, 12 Jun 2017 15:11:15 +0000 (17:11 +0200)]
MacGui: add none fallback.
Damiano Galassi [Mon, 12 Jun 2017 15:05:23 +0000 (17:05 +0200)]
MacGui: sort the keys of the exported json presets on 10.13 and later.
Damiano Galassi [Mon, 12 Jun 2017 15:04:04 +0000 (17:04 +0200)]
MacGui: call CVImageBufferCreateColorSpaceFromAttachments() to create the preview image color spaces on 10.11 and newer.
John Stebbins [Mon, 12 Jun 2017 14:44:14 +0000 (07:44 -0700)]
Allow audio fallback to be "None" (#623)
* Allow audio fallback to be "None"
When audio fallback is "None", a failure to do passthru will result in
no output audio track being added.
* simplify audio autopassthru fallback logic
Drop track when fallback codec is invalid instead of falling back to a
default. Since all presets have a fallback set, the default fallback
condition would only ever be triggered by an invalid setting.
sr55 [Sun, 11 Jun 2017 11:51:24 +0000 (12:51 +0100)]
WinGui: Update the assembly info / version numbers / manifest.
John Stebbins [Fri, 9 Jun 2017 21:17:14 +0000 (14:17 -0700)]
scan: improve support for very short source video streams
Fixes https://github.com/HandBrake/HandBrake/issues/779
sr55 [Thu, 8 Jun 2017 18:36:29 +0000 (19:36 +0100)]
WinGui: Fix an issue that prevented the static preview from updating as the user alters the resolution settings. Fixes #715
sr55 [Thu, 8 Jun 2017 18:35:59 +0000 (19:35 +0100)]
WinGui: Forgot to stage the tooltip seconds update.
sr55 [Thu, 8 Jun 2017 18:26:52 +0000 (19:26 +0100)]
WinGui: Set a app wide 15 second default for tooltips up from the standard 5 seconds. In some select cases it's overridden to 20. Seems like a more reasonable compromise vs being too short and requiring too many attempts to hover over controls. Fixes #718
sr55 [Wed, 7 Jun 2017 21:09:28 +0000 (22:09 +0100)]
WinGui: While Queue Jobs are in-progress, rotate the in-progress icon.
John Stebbins [Wed, 7 Jun 2017 20:02:56 +0000 (13:02 -0700)]
preset: fix importing some preset versions (#774)
If a preset file is read that has a version where no specific changes to
the preset format were made, we did not perform an import even though
some later preset version has changes.
sr55 [Wed, 7 Jun 2017 19:37:21 +0000 (20:37 +0100)]
WinGui: Prevent the export of built-in presets. There is little point in allowing this. The UI does not allow importing them. #768
sr55 [Wed, 7 Jun 2017 19:31:46 +0000 (20:31 +0100)]
WinGui: Support importing preset categories that can be exported from the MacGUI. Also fix a few minor bugs in the preset factory.
sr55 [Wed, 7 Jun 2017 18:38:42 +0000 (19:38 +0100)]
Remove the OpenCL Bicubic scaling option. Unfortunatly it's causing too many problems and it's maximum 5% performance improvement (in ideal circumstances) doesn't justify the effort to continue with it. The OpenCL framework will remain in place in case we decide to use it for something in the future. Closes #690
Bradley Sepos [Wed, 7 Jun 2017 16:31:15 +0000 (12:31 -0400)]
sharpen: Fix typos in tooltips.
John Stebbins [Wed, 31 May 2017 17:21:53 +0000 (10:21 -0700)]
filter: add frame parallelizing filter wrapper
This wrapper can be used to frame parallelize simple video filters. By
simple, I mean there can be no temporal context that is shared from one
frame to the next.
Wrap unsharp and lapsharp filters. unsharp required a small rework to
separate out temporary storage that is required when processing each
frame. We now need to duplicate this storage for each thread.
Closes #759.
John Stebbins [Mon, 5 Jun 2017 14:35:35 +0000 (07:35 -0700)]
LinGui: Increase max video bitrate entry allowed
Bradley Sepos [Sun, 4 Jun 2017 11:24:02 +0000 (07:24 -0400)]
libhb: Fix C const issue in lapsharp.c.
Simple runtime vs. compile time error, which Clang hid from me.
Bradley Sepos [Sat, 3 Jun 2017 17:08:22 +0000 (13:08 -0400)]
sharpen: Use better tune names.
Bradley Sepos [Sat, 3 Jun 2017 16:40:05 +0000 (12:40 -0400)]
libhb: Cosmetics in lapsharp.c.
sr55 [Fri, 2 Jun 2017 21:03:16 +0000 (22:03 +0100)]
WinGui: Support for the new sharpen filter.
Damiano Galassi [Fri, 2 Jun 2017 06:50:37 +0000 (08:50 +0200)]
MacGui: fix deinterlace presets and sharpen tune undo support.
Bradley Sepos [Thu, 1 Jun 2017 20:23:18 +0000 (16:23 -0400)]
mac: Revise sharpen filters tooltops.
Bradley Sepos [Thu, 1 Jun 2017 20:15:29 +0000 (16:15 -0400)]
libhb: Revise sharpen presets and tunes.
Adds verystrong presets to unsharp and lapsharp filters. Adds mediumfine and mediumcoarse tunes to unsharp filter. Fixes some values.
Bradley Sepos [Thu, 1 Jun 2017 18:20:10 +0000 (14:20 -0400)]
mac: Add support for sharpening filters. (#760)
Thanks @galad87 for assistance.
Bradley Sepos [Thu, 1 Jun 2017 17:39:43 +0000 (13:39 -0400)]
libhb: Add Lapsharp kernel isolap and use with Grain tune.
sr55 [Wed, 31 May 2017 19:56:25 +0000 (20:56 +0100)]
WinGui: Add "None" as an option to the fallback encoder dropdown. Setting this option to none will not add a passthru track when the passthru codec does not match the source track. #623
sr55 [Wed, 31 May 2017 19:31:11 +0000 (20:31 +0100)]
WinGui: Fix an issue with the start/stop buttons on the toolbar.
Damiano Galassi [Wed, 31 May 2017 09:53:59 +0000 (11:53 +0200)]
MacGui: use a newer api to get the disk free space.
Damiano Galassi [Wed, 31 May 2017 09:36:19 +0000 (11:36 +0200)]
MacGui: do not load an HBJob is there is no file URL.
Damiano Galassi [Wed, 31 May 2017 09:34:32 +0000 (11:34 +0200)]
cli: add an additional null check to silence a clang static analyizer warning.
Bradley Sepos [Wed, 5 Apr 2017 19:29:24 +0000 (15:29 -0400)]
cli: Avoid carriage return in progress output when piping.
John Stebbins [Tue, 30 May 2017 21:41:16 +0000 (14:41 -0700)]
nlmeans: fix prefilter passthru
This is an error that crept in when making nlmeans multithreaded
John Stebbins [Fri, 26 May 2017 21:16:18 +0000 (14:16 -0700)]
LinGui: Add UI support for BradleyS' sharpen filters
Bradley Sepos [Sat, 27 May 2017 12:46:11 +0000 (08:46 -0400)]
libhb: Add LapSharp sharpening filter.
Bradley Sepos [Tue, 23 May 2017 23:22:37 +0000 (19:22 -0400)]
libhb: Add Unsharp sharpening filter.
Closes #525.
sr55 [Mon, 29 May 2017 18:35:36 +0000 (19:35 +0100)]
WinGui: Improved error message on Starting an encode or queue when the destination drive is low on space. Fixes #748
sr55 [Mon, 29 May 2017 18:21:40 +0000 (19:21 +0100)]
WinGui: Remove the legacy XML based queue import/export funcitonality. One can still export to JSON for the CLI but currently import is still not supported for JSON.
sr55 [Sat, 27 May 2017 18:46:55 +0000 (19:46 +0100)]
WinGui: Add a log message whent he queue is paused due to low disk space. Improve handling of automated queue pausing. #748
John Stebbins [Thu, 25 May 2017 17:09:21 +0000 (10:09 -0700)]
stream: Improve stream type detection through probing
If the stream is damaged, a probe can fail due to bad data at the
start of the probe buffer. So try filling the probe buffer from
multiple start positions in the file.
sr55 [Wed, 24 May 2017 20:47:12 +0000 (21:47 +0100)]
WinGui: Change the "For Additional Tracks" dropdown. Remove the "None" option. It doesn't make sense. This fixes an issue where we couldn't load "all" due to the preset key for it being a 2 state bollean rather than a 3 state option.
Bradley Sepos [Sun, 21 May 2017 19:32:06 +0000 (15:32 -0400)]
preset: Fix surround audio bitrate for general presets.
Was supposed to be 640 when converting a non-AC3 source track.
John Stebbins [Thu, 11 May 2017 20:17:51 +0000 (13:17 -0700)]
encavcodecaudio: work around lame bug
On windows builds, there is an upstream bug in the lame
encoder that causes an extra output packet that has the same
timestamp as the second to last packet. This causes an error
during muxing. Drop the packet with the duplicate timestamp.
Fixes https://github.com/HandBrake/HandBrake/issues/726
sr55 [Tue, 2 May 2017 19:37:20 +0000 (20:37 +0100)]
WinGui: Fix an issue with long chapters causing scans to fail to complete. Fixes #713
sr55 [Tue, 2 May 2017 17:37:52 +0000 (18:37 +0100)]
WinGui: Improved logging around SCANDONE and some additional defensive programming to try track down this never ending scan.
sr55 [Sat, 29 Apr 2017 19:08:07 +0000 (20:08 +0100)]
WinGui: Minor change that might help #688
sr55 [Sat, 29 Apr 2017 18:32:50 +0000 (19:32 +0100)]
WinGui: Save file before committing :( #695
sr55 [Sat, 29 Apr 2017 18:28:12 +0000 (19:28 +0100)]
WinGui: Change to the queue duplicate detection. It currently filters by "Waiting" tasks. This now extends that to "In Progress". "Completed/Error" will continue to allow jobs to be added to the queue. Fixes #695
sr55 [Sat, 29 Apr 2017 17:27:20 +0000 (18:27 +0100)]
WinGui: Change a message box to an error window when exceptions occur in setting the destination.
Bradley Sepos [Fri, 28 Apr 2017 23:20:32 +0000 (19:20 -0400)]
scripts: Update to mingw-w64-build 2.3.2.
John Stebbins [Fri, 28 Apr 2017 17:29:54 +0000 (10:29 -0700)]
stream: fix chapter marker durations
libav isn't guaranteed to set AVChapter.end. So don't use it. Use
AVChapter.start instead.
aaronjeline [Thu, 27 Apr 2017 19:13:07 +0000 (15:13 -0400)]
Fixed IRC link in README.markdown (#712)
* Fixed IRC link in README.markdown
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.