summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* muxavformat: Inform muxer of encoder delayJohn Stebbins2017-02-151-0/+2
| | | | | | | initial_padding is used to inform libav muxers of initial encoder delay duration. When set for mkv it can be used to remove the silence samples during playback since the delay value gets stored in the mkv CodecDelay element.
* libav: fix mkv timestamps when initial_padding is setJohn Stebbins2017-02-151-0/+12
| | | | | | initial_padding is used to inform libav muxers of initial encoder delay duration. When set for mkv it can be used to remove the silence samples during playback.
* libav: fix mp4 edit list A/V sync properlyJohn Stebbins2017-02-151-7/+69
|
* libav: fix failure to scan wmv fileJohn Stebbins2017-02-151-0/+117
| | | | | | | | | Fixes problem reported here https://forum.handbrake.fr/viewtopic.php?f=11&t=35690 Also possibly related https://github.com/HandBrake/HandBrake/issues/466 https://github.com/HandBrake/HandBrake/issues/495
* libav: fix crash when scanning wmv fileJohn Stebbins2017-02-151-0/+31
| | | | | | | | | | | Fixes crash reported here https://forum.handbrake.fr/viewtopic.php?f=11&t=35690 Does not fix scan problem, but follow-up commit will. Also possibly related https://github.com/HandBrake/HandBrake/issues/466 https://github.com/HandBrake/HandBrake/issues/495
* mux: revert shift timestamps by largest encoder delayJohn Stebbins2017-02-141-35/+0
| | | | | | | | Ugh! I need a brain transplant! This would have cause a properly functioning player to insert silence at the start of playback that wasn't in the original source. reverts 5429a92c51682240acbbe7b150d314d993d7d3a0
* mux: shift timestamps by largest encoder delayJohn Stebbins2017-02-148-13/+49
| | | | | This prevents libav from adding an mp4 edit list entry that causes a properly functioning player to drop the first couple of audio frames.
* Fixed Botton to Bottomsupachris282017-02-121-2/+2
|
* WinGui: Further Relax the stylecop rules.sr552017-02-111-0/+12
|
* WinGui: Fix a number of stylecop warnings.sr552017-02-1147-167/+162
|
* WinGui: Remove old AssemblyInfo Templates.sr552017-02-113-96/+0
|
* WinGui: Setup the Stylecop rules to be a bit more relaxed.sr552017-02-113-1/+23
|
* WinGui: Remove CSV Reader library as we no longer use it.sr552017-02-113-1538/+0
|
* WinGui: Change the following libraries to use NuGet sources.sr552017-02-1122-16959/+29
| | | | | | | - 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)
* WinGui: Add StyleCop.Analyzers NuGet packagesr552017-02-116-2/+36
|
* WinGui: Further CProj Cleanupsr552017-02-113-14/+3
|
* WinGui: Tidy up Solution file builds.sr552017-02-111-21/+1
|
* WinGui: Remove Stylecop Classic. (As a side note, ↵sr552017-02-115-358/+0
| | | | HandBrake.ApplicationServices now compiles cleanly under Mono)
* WinGui: Remove HandBrake.Server library. We don't use it.sr552017-02-114-159/+0
|
* libav: fix mp4 audio sync problemJohn Stebbins2017-02-101-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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)
* LinGui: fix crash when changing video encodersJohn Stebbins2017-02-101-7/+28
| | | | Attempt to access invalid encoder preset index accesses invalid memory
* WinGui: Fix Tape, Sprite and HighMotion Denoise Tunes. #571sr552017-02-091-1/+7
|
* libhb: fix Bob + CFR Same As Source + 2 Pass encodeJohn Stebbins2017-02-091-4/+5
| | | | | | | | 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
* libav: fix h.264 initial recovery point detectionJohn Stebbins2017-02-091-0/+20
| | | | | Initial GOP of video was dropped during decode. Fixes https://github.com/HandBrake/HandBrake/issues/520
* WinGui: Allow Title Specific Scan for DVD / Bluray Discs. Fixes #559sr552017-02-061-1/+1
|
* Updating NEWS filesr552017-02-041-0/+20
|
* WinGui: Order By Name R-Click option on Add to queue selection window.sr552017-02-042-0/+33
|
* MacGui: allow to sort by title/name/duration in the title selections sheet.Damiano Galassi2017-02-044-51/+68
|
* MacGui: make it possible to create a new folder in the destination open panel.Damiano Galassi2017-02-041-0/+1
|
* MacGui: add a "Add titles to queue" toolbar button.Damiano Galassi2017-02-041-15/+49
|
* MacGui: set toolbar images dpi to 72, so Xcode doesn't go crazy and resize ↵Damiano Galassi2017-02-0420-0/+0
| | | | things randomly.
* WinGui: Remove further unneeded references from HandBrake.ApplicationServicessr552017-02-031-7/+0
|
* WinGui: Change the services library dll imports to be "hb" rather than ↵sr552017-02-031-92/+92
| | | | "hb.dll". This will allow libhb.dylib and libhb.so to be loaded.
* WinGui: Remove System.Windows.Forms, PresentationCore, PresentationFramework ↵sr552017-02-036-31/+64
| | | | and WindowsBase from the Services library. This makes the library more portable.
* qsv: Allocate planes contiguously.maxd2017-02-021-6/+4
| | | | | | Better performance and less prone to crashing. Fixes #540 and closes #558.
* LinGui: fix widget focus problemJohn Stebbins2017-01-291-0/+1
|
* preset: fix behavior of AudioSecondaryEncoderModeJohn Stebbins2017-01-291-2/+2
| | | | | When true, this is meant to use the secondary encoder only for the first selected audio track. It was completely broken :(
* WinGui: Adding missing Tape and Sprite Denoise Tunes #544sr552017-01-251-0/+8
|
* encca_aac: Fix initial start timeJohn Stebbins2017-01-251-2/+8
| | | | | 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.
* MacGui: improve management of security scoped resources. Fix external SRT in ↵Damiano Galassi2017-01-2513-94/+219
| | | | the sandboxed build.
* MacGui: select the right title when editing a queue job, libhb avoids ↵Damiano Galassi2017-01-251-1/+17
| | | | rescanning if the same file/folder is loaded.
* LinGui: clear extra options when video codec changesJohn Stebbins2017-01-241-0/+1
| | | | Some valid options (e.g. vp9 qmin=0) can crash some libav encoders (mpeg4).
* WinGui: Always use iso639 for srt language code rather than name. #541sr552017-01-243-2/+48
|
* decavcodec: fix avcodec_open failure upon bad extradataJohn Stebbins2017-01-241-2/+6
| | | | | | | 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
* decavcodec: fix crash in decavcodecvInfoJohn Stebbins2017-01-241-1/+1
| | | | | If avcodec_open fails, pv->context->codec is NULL, but work->info may still be called by scan.
* WinGui: Another fix to WhenDone. Should reset when the main window opens, ↵sr552017-01-231-0/+6
| | | | not when preferences opens.
* WinGui: Bump version to 1.0.3 for the future release.sr552017-01-226-8/+8
|
* Revise and extend NEWS.markdown for 1.0.2.Bradley Sepos2017-01-221-0/+1
|
* Revise and extend NEWS.markdown for 1.0.2.Bradley Sepos2017-01-221-22/+27
|
* WinGui: Fix an issue with QueueEdit not restoring PointToPoint settings ↵sr552017-01-221-6/+7
| | | | correctly.