]>
granicus.if.org Git - handbrake/log
sr55 [Sat, 11 Feb 2017 15:11:06 +0000 (15:11 +0000)]
WinGui: Change the following libraries to use NuGet sources.
- Gong-WPF-DragDrop (Upgraded to 0.1.4.3 -> 1.1.0)
- NewtonSoft.Json (Upgraded to 7.0.0 -> 9.0.1)
- Ookii.Dialogs 1.0
- Caliburn Micro (Upgraded to 2.0.2 -> 3.0.3)
sr55 [Sat, 11 Feb 2017 14:44:46 +0000 (14:44 +0000)]
WinGui: Add StyleCop.Analyzers NuGet package
sr55 [Sat, 11 Feb 2017 13:48:03 +0000 (13:48 +0000)]
WinGui: Further CProj Cleanup
sr55 [Sat, 11 Feb 2017 13:35:23 +0000 (13:35 +0000)]
WinGui: Tidy up Solution file builds.
sr55 [Sat, 11 Feb 2017 13:33:08 +0000 (13:33 +0000)]
WinGui: Remove Stylecop Classic. (As a side note, HandBrake.ApplicationServices now compiles cleanly under Mono)
sr55 [Sat, 11 Feb 2017 13:28:57 +0000 (13:28 +0000)]
WinGui: Remove HandBrake.Server library. We don't use it.
John Stebbins [Fri, 10 Feb 2017 18:26:59 +0000 (11:26 -0700)]
libav: fix mp4 audio sync problem
Initial CTS (composition offset) was essentially getting added twice to
the computed PTS
Fixes https://github.com/HandBrake/HandBrake/issues/568
Here's a description of how mp4 timestamps work and what is going wrong
for the curious.
Terminology:
pts = presentation timestamp, when a frame is displayed
dts = decode timestamp, when a frame is decoded
cts = composition offset, pts - dts
empty edit = defines the pts of the first frame in an mp4 track
mp4 timestamps are computed from 3 primary values that are in the mp4
stream.
An "empty edit" in the track edit list
per frame duration
per frame cts
Here's where things get messy. How do you compute pts(N) and dts(N) for
some frame N from only the above 3 values in the mp4 file?
empty edit == pts(0) and is read from the mp4 file (EDTS table)
duration(N) is read from the mp4 file (STTS table)
cts(N) is read from the mp4 file (CTTS table)
We know cts(0) = pts(0) - dts(0) by definition of cts
And cts(0) and pts(0) are known since they can be read from the mp4 file
This is the step libav gets wrong!
Therefore we can compute dts(0) = pts(0) - cts(0).
libav computes dts(0) = pts(0) which shifts all frames by cts(0)
After that dts(N) = dts(0) + duration(0) + ... + duration(N-1)
And finally pts(N) = dts(N) + cts(N)
John Stebbins [Fri, 10 Feb 2017 17:53:11 +0000 (10:53 -0700)]
LinGui: fix crash when changing video encoders
Attempt to access invalid encoder preset index accesses invalid memory
sr55 [Thu, 9 Feb 2017 18:54:21 +0000 (18:54 +0000)]
WinGui: Fix Tape, Sprite and HighMotion Denoise Tunes. #571
John Stebbins [Thu, 9 Feb 2017 17:23:19 +0000 (10:23 -0700)]
libhb: fix Bob + CFR Same As Source + 2 Pass encode
The bob filter predicts the resulting output framerate as 2 * input
framerate. So during 2 pass encoding, we must adjust the framerate with
the knows 1st pass values *after* any predictions made by filters.
Fixes https://github.com/HandBrake/HandBrake/issues/556
John Stebbins [Thu, 9 Feb 2017 16:29:16 +0000 (09:29 -0700)]
libav: fix h.264 initial recovery point detection
Initial GOP of video was dropped during decode.
Fixes https://github.com/HandBrake/HandBrake/issues/520
sr55 [Mon, 6 Feb 2017 19:50:25 +0000 (19:50 +0000)]
WinGui: Allow Title Specific Scan for DVD / Bluray Discs. Fixes #559
sr55 [Sat, 4 Feb 2017 16:06:10 +0000 (16:06 +0000)]
Updating NEWS file
sr55 [Sat, 4 Feb 2017 15:51:34 +0000 (15:51 +0000)]
WinGui: Order By Name R-Click option on Add to queue selection window.
Damiano Galassi [Sat, 4 Feb 2017 13:04:37 +0000 (14:04 +0100)]
MacGui: allow to sort by title/name/duration in the title selections sheet.
Damiano Galassi [Sat, 4 Feb 2017 09:27:20 +0000 (10:27 +0100)]
MacGui: make it possible to create a new folder in the destination open panel.
Damiano Galassi [Sat, 4 Feb 2017 09:26:35 +0000 (10:26 +0100)]
MacGui: add a "Add titles to queue" toolbar button.
Damiano Galassi [Sat, 4 Feb 2017 09:25:08 +0000 (10:25 +0100)]
MacGui: set toolbar images dpi to 72, so Xcode doesn't go crazy and resize things randomly.
sr55 [Sun, 29 Jan 2017 17:33:59 +0000 (17:33 +0000)]
WinGui: Remove further unneeded references from HandBrake.ApplicationServices
sr55 [Sun, 29 Jan 2017 17:29:27 +0000 (17:29 +0000)]
WinGui: Change the services library dll imports to be "hb" rather than "hb.dll". This will allow libhb.dylib and libhb.so to be loaded.
sr55 [Sun, 29 Jan 2017 17:19:16 +0000 (17:19 +0000)]
WinGui: Remove System.Windows.Forms, PresentationCore, PresentationFramework and WindowsBase from the Services library. This makes the library more portable.
maxd [Tue, 31 Jan 2017 09:35:37 +0000 (10:35 +0100)]
qsv: Allocate planes contiguously.
Better performance and less prone to crashing.
Fixes #540 and closes #558.
John Stebbins [Sun, 29 Jan 2017 18:30:38 +0000 (11:30 -0700)]
LinGui: fix widget focus problem
John Stebbins [Sun, 29 Jan 2017 17:21:02 +0000 (10:21 -0700)]
preset: fix behavior of AudioSecondaryEncoderMode
When true, this is meant to use the secondary encoder only for the first
selected audio track. It was completely broken :(
sr55 [Wed, 25 Jan 2017 19:17:42 +0000 (19:17 +0000)]
WinGui: Adding missing Tape and Sprite Denoise Tunes #544
John Stebbins [Wed, 25 Jan 2017 18:47:15 +0000 (11:47 -0700)]
encca_aac: Fix initial start time
encca_aac assumed the first packet start time is 0 which is no longer
the case. We now use edit lists to adjust non-zero start times.
Damiano Galassi [Wed, 25 Jan 2017 10:03:00 +0000 (11:03 +0100)]
MacGui: improve management of security scoped resources. Fix external SRT in the sandboxed build.
Damiano Galassi [Wed, 25 Jan 2017 09:43:59 +0000 (10:43 +0100)]
MacGui: select the right title when editing a queue job, libhb avoids rescanning if the same file/folder is loaded.
John Stebbins [Tue, 24 Jan 2017 22:44:03 +0000 (15:44 -0700)]
LinGui: clear extra options when video codec changes
Some valid options (e.g. vp9 qmin=0) can crash some libav encoders (mpeg4).
sr55 [Tue, 24 Jan 2017 19:12:46 +0000 (19:12 +0000)]
WinGui: Always use iso639 for srt language code rather than name. #541
John Stebbins [Tue, 24 Jan 2017 18:01:48 +0000 (11:01 -0700)]
decavcodec: fix avcodec_open failure upon bad extradata
If extradata is improperly parsed, avcodec_open may fail. Keep trying
avcodec_open as long as there is more data to parse.
Fixes https://github.com/HandBrake/HandBrake/issues/542
John Stebbins [Tue, 24 Jan 2017 17:59:58 +0000 (10:59 -0700)]
decavcodec: fix crash in decavcodecvInfo
If avcodec_open fails, pv->context->codec is NULL, but work->info may
still be called by scan.
sr55 [Mon, 23 Jan 2017 21:00:15 +0000 (21:00 +0000)]
WinGui: Another fix to WhenDone. Should reset when the main window opens, not when preferences opens.
sr55 [Sun, 22 Jan 2017 17:53:40 +0000 (17:53 +0000)]
WinGui: Bump version to 1.0.3 for the future release.
Bradley Sepos [Sun, 22 Jan 2017 16:46:32 +0000 (11:46 -0500)]
Revise and extend NEWS.markdown for 1.0.2.
Bradley Sepos [Sun, 22 Jan 2017 16:43:36 +0000 (11:43 -0500)]
Revise and extend NEWS.markdown for 1.0.2.
sr55 [Sun, 22 Jan 2017 16:12:52 +0000 (16:12 +0000)]
WinGui: Fix an issue with QueueEdit not restoring PointToPoint settings correctly.
Damiano Galassi [Sun, 22 Jan 2017 11:40:32 +0000 (12:40 +0100)]
Fixed a typo
sr55 [Sat, 21 Jan 2017 22:51:40 +0000 (22:51 +0000)]
Initial draft of NEWS for 1.0.2
John Stebbins [Sat, 21 Jan 2017 21:39:24 +0000 (13:39 -0800)]
dvdread: Don't ignore errors from UDFReadBlocks
Fixes https://github.com/HandBrake/HandBrake/issues/535
sr55 [Sat, 21 Jan 2017 20:14:51 +0000 (20:14 +0000)]
WinGui: Set a min height on the queue selection window.
Damiano Galassi [Fri, 20 Jan 2017 17:52:22 +0000 (18:52 +0100)]
MacGui: initial sandbox support. Added two new scheme RELEASE-SANDBOX and DEBUG-SANDBOX to build HandBrake with sandbox enabled.
Damiano Galassi [Thu, 19 Jan 2017 14:01:20 +0000 (15:01 +0100)]
MacGui: reload the queue outline view action column when an encode is done (the one with the x or the show in finder icon)
Damiano Galassi [Wed, 18 Jan 2017 09:47:13 +0000 (10:47 +0100)]
disable fontconfig on macOS
John Stebbins [Mon, 16 Jan 2017 22:54:13 +0000 (14:54 -0800)]
libhb: force title rescan after completing a job encode (#488)
Fixes https://forum.handbrake.fr/viewtopic.php?f=12&t=35583
sr55 [Sun, 15 Jan 2017 20:16:51 +0000 (20:16 +0000)]
cli: Adding hb_opencl_set_enable when --use-opencl is set. #496
sr55 [Sun, 15 Jan 2017 18:22:48 +0000 (18:22 +0000)]
WinGui: Pause on Low Diskspace is for local drives only. Disabling check for UNC paths. #527
sr55 [Sun, 15 Jan 2017 18:13:52 +0000 (18:13 +0000)]
WinGui: Remove extension check as it can cause an erroneous error when setting the filename manually.
sr55 [Sun, 15 Jan 2017 14:47:47 +0000 (14:47 +0000)]
WinGui: Fix typo in #496
sr55 [Sun, 15 Jan 2017 14:31:40 +0000 (14:31 +0000)]
WinGui: Use new hb_opencl_set_enable function. #496
Scott [Sun, 15 Jan 2017 14:25:55 +0000 (14:25 +0000)]
opencl: Workaround broken drivers that crash when you call clGetPlatformIDs with valid inputs. #496
sr55 [Sun, 15 Jan 2017 14:07:26 +0000 (14:07 +0000)]
WinGui: SplitButton was broken. #524
sr55 [Sat, 14 Jan 2017 21:52:18 +0000 (21:52 +0000)]
WinGui: Fix erroneous path and filename handling. #515
sr55 [Sat, 14 Jan 2017 19:16:46 +0000 (19:16 +0000)]
WinGui: Fix a crash when saving presets for video encoders that don't have preset or profile options. #516
sr55 [Fri, 13 Jan 2017 21:44:08 +0000 (21:44 +0000)]
WinGui: Fix an issue which prevented the GUI from parsing presets with hb_presets_read_file_json becaused it returned an unnamed list when reading plist files. It can now handle PresetList or just unnamed Json List []
Also made the parser more tolerant to casing and unset and unexpected values.
sr55 [Thu, 12 Jan 2017 21:21:33 +0000 (21:21 +0000)]
WinGui: Put up a clearer error when we can't read older presets rather than just showing a stack trace. #513
Damiano Galassi [Thu, 12 Jan 2017 18:56:14 +0000 (19:56 +0100)]
MacGui: fix string encoding when converting chapters titles to NSString.
John Stebbins [Wed, 11 Jan 2017 21:52:14 +0000 (14:52 -0700)]
qsv: fix building with qsv disabled
sr55 [Wed, 11 Jan 2017 21:48:31 +0000 (21:48 +0000)]
WinGui: Update EndPoint for API Change.
John Stebbins [Wed, 11 Jan 2017 21:25:07 +0000 (14:25 -0700)]
json: revise range "End" for time and frame ranges
"End" was a duration. It is now the actual "End" position in 90khz
ticks or frames.
sr55 [Wed, 11 Jan 2017 20:41:08 +0000 (20:41 +0000)]
WinGui: Fix for the Queue Item Tooltip. Would erroneously display "2Pass" for CRF encodes.
Scott [Wed, 11 Jan 2017 19:34:19 +0000 (19:34 +0000)]
json: Decoding JSON now checks if QSV is available before setting QSV… (#509)
json: Decoding JSON now checks if QSV is available before setting QSV… #509
John Stebbins [Wed, 11 Jan 2017 19:27:38 +0000 (12:27 -0700)]
libav: fix EIO error when reaching EOF of DV files
John Stebbins [Wed, 11 Jan 2017 18:32:30 +0000 (11:32 -0700)]
reader: fix incorrect duration of UTF8 subtitles
The stop time for these was not getting adjusted by the scr_offset
John Stebbins [Wed, 11 Jan 2017 18:00:52 +0000 (11:00 -0700)]
preset: fix "all" AudioTrackSelectionBehavior
When all tracks are requested, do not filter out secondary audio types.
This should only be done when only the "first" track is requested.
maxd [Wed, 11 Jan 2017 15:47:01 +0000 (16:47 +0100)]
added support of Kaby Lake CPU recognition
sr55 [Mon, 9 Jan 2017 19:07:21 +0000 (19:07 +0000)]
WinGui: Fix a stack overflow exception in Options screen that was causing a settings reset.
Damiano Galassi [Mon, 9 Jan 2017 08:18:03 +0000 (09:18 +0100)]
libhb: check if decvobsub.c private_data is not null before accessing one of its member. Fix a crash when calling decsubClose if the decoder had not been initialized yet.
Damiano Galassi [Mon, 9 Jan 2017 07:48:01 +0000 (08:48 +0100)]
MacGui: sleep prevention in HBCore should be on by default.
John Stebbins [Sun, 8 Jan 2017 19:30:55 +0000 (12:30 -0700)]
json: fix use of freed memory
audio.out.name was getting assigned a string from a json object that
could be freed resulting in a double free.
also make unpack_s check for const char * type to help prevent such
abuses in the future.
sr55 [Sun, 8 Jan 2017 17:51:05 +0000 (17:51 +0000)]
WinGui: Allow the log window to be opened from the Scan Status Overlay.
sr55 [Sun, 8 Jan 2017 10:43:47 +0000 (10:43 +0000)]
WinGui: Correctly synchronise the WhenDone dropdowns in the Queue, MainWindow and Preferences
sr55 [Sat, 7 Jan 2017 20:24:07 +0000 (20:24 +0000)]
WinGui: Workaround a bug in libhb where if the audio track name == "", the engine crashes when initially writing the mp4 file.
sr55 [Sat, 7 Jan 2017 19:58:01 +0000 (19:58 +0000)]
WinGui: Make sure to set libdvdnav setting before encoding. This fixes an issue where reloading the queue would result in this setting being ignored.
sr55 [Sat, 7 Jan 2017 18:50:57 +0000 (18:50 +0000)]
WinGui: Adding Queue Start/Pause Context Menu options to the In-line queue and queue window. #489
sr55 [Fri, 6 Jan 2017 20:43:05 +0000 (20:43 +0000)]
qsv: Fix a crash that can occur in hb_qsv_info_print() when QSV hardware exists in the system but is disabled in the bios.
Damiano Galassi [Thu, 5 Jan 2017 09:14:58 +0000 (10:14 +0100)]
MacGui: prevent sleep at queue start, and reallow it at the end of the queue..
Damiano Galassi [Thu, 5 Jan 2017 09:12:30 +0000 (10:12 +0100)]
MacGui: add an option to disable HBCore automatic sleep prevention behaviour.
John Stebbins [Wed, 4 Jan 2017 18:47:17 +0000 (11:47 -0700)]
decsrtsub: fix extra blank lines
This only happened with embedded UTF8 subtitles in mkv.
Damiano Galassi [Wed, 4 Jan 2017 18:42:21 +0000 (19:42 +0100)]
MacGui: fix NSSecureCoding for the HBSubtitles class.
Damiano Galassi [Mon, 2 Jan 2017 16:57:27 +0000 (17:57 +0100)]
libhb: better bound checking in ParseControls.
John Stebbins [Wed, 4 Jan 2017 00:03:13 +0000 (17:03 -0700)]
LinGui: fix use of gtk 3.22 deprecated functions
John Stebbins [Mon, 2 Jan 2017 18:06:36 +0000 (11:06 -0700)]
libhb: allow removal of tags
Setting an empty string tag allows removal of existing tags.
Note that setting a NULL string does not remove an existing tag but
instead results in the tag getting passed through from the source.
maxd [Mon, 2 Jan 2017 21:45:40 +0000 (22:45 +0100)]
qsv: fix for memory leak for decode
Closes #490.
sr55 [Mon, 2 Jan 2017 13:59:32 +0000 (13:59 +0000)]
WinGui: Improve the SourceMax / Custom Picture Settings modes. Fixes a numer of edge causes and problems with this code #455
Damiano Galassi [Mon, 2 Jan 2017 13:38:51 +0000 (14:38 +0100)]
MacGui: always use the last selected source parent directory for the open panel.
Damiano Galassi [Mon, 2 Jan 2017 13:37:23 +0000 (14:37 +0100)]
MacGui: use the bundle name as the title name for .eyetv bundles.
sr55 [Sun, 1 Jan 2017 22:38:22 +0000 (22:38 +0000)]
WinGui: Change the name of the night build start menu shortcut to "HandBrake Nightly" to distinguish it from the public release builds.
sr55 [Sun, 1 Jan 2017 22:21:13 +0000 (22:21 +0000)]
WinGui: Set version to 1.0.2
Damiano Galassi [Sun, 1 Jan 2017 14:44:35 +0000 (15:44 +0100)]
MacGui: [HBUtilities writeToActivityLog:] wants a c string, not a NSString.
Damiano Galassi [Sun, 1 Jan 2017 10:57:30 +0000 (11:57 +0100)]
MacGui: fix the tests, an external file is required to run them now.
Damiano Galassi [Sun, 1 Jan 2017 10:55:09 +0000 (11:55 +0100)]
MacGui: write the job preset name to the activity log.
Bradley Sepos [Sun, 1 Jan 2017 00:00:00 +0000 (00:00 +0000)]
Update copyright dates to 2017.
sr55 [Sat, 31 Dec 2016 13:04:46 +0000 (13:04 +0000)]
WinGui: Store the Extra Args when switching video encoders. This prevents invalid arguments getting passed to the encoder and as a bonus, remembers the users setting if they switch back
sr55 [Sat, 31 Dec 2016 12:45:56 +0000 (12:45 +0000)]
WinGui: Fixes to Subtitle Default behaviours.
Damiano Galassi [Sat, 31 Dec 2016 11:04:06 +0000 (12:04 +0100)]
MacGui: check if a file overwrites its source before adding it to the queue.
Damiano Galassi [Sat, 31 Dec 2016 08:06:58 +0000 (09:06 +0100)]
MacGui: reset the video encoder additional options when switching to a different encoder.
Damiano Galassi [Sat, 31 Dec 2016 07:40:51 +0000 (08:40 +0100)]
MacGui: allow only .app to be selected in the "send file to" open panel.
Damiano Galassi [Fri, 30 Dec 2016 17:48:08 +0000 (18:48 +0100)]
MacGui: make possible to configure on which queue HBCore will call the callback blocks.
John Stebbins [Fri, 30 Dec 2016 16:32:44 +0000 (09:32 -0700)]
Revert "Update es.po (#460)"
This reverts commit
d58bb7a17d1a3e5978f16c363c361dc832c5acec .
The po file is broken and does not build properly. It contains multiple
duplicate message id definitions.