]> granicus.if.org Git - handbrake/log
handbrake
8 years agosync: set start and stop when resampling audio
John Stebbins [Wed, 18 May 2016 15:19:20 +0000 (09:19 -0600)]
sync: set start and stop when resampling audio

It's not strictly necessary because it gets done elsewhere as well.  But
putting it here makes the code more understandable.

8 years agosync: fix progress statistics when title longer than sum of chapters
John Stebbins [Wed, 18 May 2016 15:15:55 +0000 (09:15 -0600)]
sync: fix progress statistics when title longer than sum of chapters

8 years agosync: dejitter larger video jitters
John Stebbins [Wed, 18 May 2016 15:11:34 +0000 (09:11 -0600)]
sync: dejitter larger video jitters

8 years agosync: handle coarsely interleaved streams better
John Stebbins [Wed, 18 May 2016 15:06:47 +0000 (09:06 -0600)]
sync: handle coarsely interleaved streams better

... by allowing a deeper initial buffer when looking for the fist PTS of
each stream.

8 years agosync: add timestamp logging
John Stebbins [Wed, 18 May 2016 15:01:59 +0000 (09:01 -0600)]
sync: add timestamp logging

... at log level 11 ;)

8 years agosync: move comment to more appropriate location
John Stebbins [Wed, 18 May 2016 14:55:32 +0000 (08:55 -0600)]
sync: move comment to more appropriate location

8 years agosync: do not drop audio before frame p-to-p start
John Stebbins [Wed, 18 May 2016 14:36:21 +0000 (08:36 -0600)]
sync: do not drop audio before frame p-to-p start

We were dropping all buffers before the start frame was found regardless
of the buffers start time.  Now we keep track of the start time of the
last video frame seen and only drop buffers that start before that
frame.

8 years agosync: estimate video frame drop duration better
John Stebbins [Tue, 17 May 2016 22:46:01 +0000 (16:46 -0600)]
sync: estimate video frame drop duration better

8 years agosync: cosmetics
John Stebbins [Tue, 17 May 2016 22:43:34 +0000 (16:43 -0600)]
sync: cosmetics

8 years agosync: drop overlapping subtitles
John Stebbins [Tue, 17 May 2016 22:41:32 +0000 (16:41 -0600)]
sync: drop overlapping subtitles

8 years agosync: interleave subtitle output with other streams
John Stebbins [Tue, 17 May 2016 22:31:16 +0000 (16:31 -0600)]
sync: interleave subtitle output with other streams

8 years agosync: send output directly to sync output fifos
John Stebbins [Tue, 17 May 2016 22:19:06 +0000 (16:19 -0600)]
sync: send output directly to sync output fifos

since sync interleaves it's output by PTS, the stream of the incoming
buffer is mostly not the same as the stream of the outgoing buffer.  This
causes a delay in the data to get to it's respective fifo until the sync
work function for the output stream is called next.  Writing directly to
the output fifo fixes this.

8 years agosync: sanitize subtitles in OutputBuffer
John Stebbins [Tue, 17 May 2016 22:06:26 +0000 (16:06 -0600)]
sync: sanitize subtitles in OutputBuffer

8 years agosync: handle initial pts < 0 better
John Stebbins [Tue, 17 May 2016 21:46:32 +0000 (15:46 -0600)]
sync: handle initial pts < 0 better

8 years agosync: fix race condition that caused double free
John Stebbins [Tue, 17 May 2016 20:59:10 +0000 (14:59 -0600)]
sync: fix race condition that caused double free

8 years agosync: handle very short streams better
John Stebbins [Tue, 17 May 2016 20:57:07 +0000 (14:57 -0600)]
sync: handle very short streams better

If the entire stream fits in the sync queues, the first PTS was not
detected and initial offsets were not applied.

8 years agosync: fix conversions of AV_NOPTS_VALUE to double
John Stebbins [Tue, 17 May 2016 20:45:14 +0000 (14:45 -0600)]
sync: fix conversions of AV_NOPTS_VALUE to double

The way the constant is defined requires an (int64_t) cast to force it
to be signed.

8 years agosync: remove unused variable
John Stebbins [Tue, 17 May 2016 20:39:20 +0000 (14:39 -0600)]
sync: remove unused variable

8 years agosync: fix merging of multiple SSA to tx3g
John Stebbins [Tue, 17 May 2016 20:05:23 +0000 (14:05 -0600)]
sync: fix merging of multiple SSA to tx3g

When more than 2 subtitles overlapped in time, they were not merged
properly and could result in cases where the subtitle time went
backwards

8 years agosync: move chapter logging to sync.c
John Stebbins [Tue, 17 May 2016 19:42:50 +0000 (13:42 -0600)]
sync: move chapter logging to sync.c

8 years agomove cadence (Film->Video) logging to sync.c
John Stebbins [Tue, 17 May 2016 19:28:23 +0000 (13:28 -0600)]
move cadence (Film->Video) logging to sync.c

8 years agolibhb: remove unused hb_buffer_t sequence number
John Stebbins [Tue, 17 May 2016 18:46:38 +0000 (12:46 -0600)]
libhb: remove unused hb_buffer_t sequence number

8 years agodecavcodec: remove unused frame_duration_set
John Stebbins [Tue, 17 May 2016 18:33:56 +0000 (12:33 -0600)]
decavcodec: remove unused frame_duration_set

8 years agodecavcodec: cosmetics
John Stebbins [Tue, 17 May 2016 18:30:17 +0000 (12:30 -0600)]
decavcodec: cosmetics

8 years agolibhb: send initial chapter through pipeline
John Stebbins [Tue, 17 May 2016 17:51:25 +0000 (11:51 -0600)]
libhb: send initial chapter through pipeline

Eliminate the need for everyone to assume that the first chapter starts
at the first frame.

8 years agodeccc608sub: fix last_pts data type
John Stebbins [Tue, 17 May 2016 17:00:19 +0000 (11:00 -0600)]
deccc608sub: fix last_pts data type

8 years agodeccc608sub: remove function get_last_pts
John Stebbins [Tue, 17 May 2016 16:36:15 +0000 (10:36 -0600)]
deccc608sub: remove function get_last_pts

Pointless indirection to variable access

8 years agostream: fix libav initial timestamp calculation
John Stebbins [Tue, 17 May 2016 16:17:37 +0000 (10:17 -0600)]
stream: fix libav initial timestamp calculation

libav may deliver an initial timestamp that is negative which we were
not handling well.

8 years agomuxavformat: fix last subtitle persistence in mp4
John Stebbins [Mon, 9 May 2016 15:03:18 +0000 (08:03 -0700)]
muxavformat: fix last subtitle persistence in mp4

libav doesn't seems to honor the duration of the subtitle AVPacket.  It
is required to send an "empty" subtitle packet to terminate all
subtitles, including the last one.

8 years agobuffers: add more buffer allocation debugging
John Stebbins [Wed, 11 May 2016 16:30:45 +0000 (09:30 -0700)]
buffers: add more buffer allocation debugging

8 years agodemux: cosmetics
John Stebbins [Tue, 17 May 2016 16:04:26 +0000 (10:04 -0600)]
demux: cosmetics

8 years agodemux: make demux functions static
John Stebbins [Tue, 17 May 2016 16:00:40 +0000 (10:00 -0600)]
demux: make demux functions static

8 years agodecpgssub: allow PGS to have negative timestamps
John Stebbins [Sat, 23 Apr 2016 19:16:23 +0000 (13:16 -0600)]
decpgssub: allow PGS to have negative timestamps

This can happen due to poorly muxed MTS files that result in a
suboptimal scr offset calculation in reader.c

8 years agolibhb: remove unused subtitle fifo_sync
John Stebbins [Tue, 17 May 2016 15:27:34 +0000 (09:27 -0600)]
libhb: remove unused subtitle fifo_sync

8 years agolibhb: add hb_buffer_list_rem()
John Stebbins [Tue, 17 May 2016 15:24:55 +0000 (09:24 -0600)]
libhb: add hb_buffer_list_rem()

8 years agolibhb: fix buffer list size calculation
John Stebbins [Tue, 17 May 2016 15:22:06 +0000 (09:22 -0600)]
libhb: fix buffer list size calculation

8 years agoremove dxva hw decode (#189)
John Stebbins [Tue, 17 May 2016 15:12:33 +0000 (08:12 -0700)]
remove dxva hw decode (#189)

* remove dxva hw decode

It provides practically no speed increase even on a slow CPU and results
in a speed decrease on fast CPUs.  And the code is exceptionally fugly.

* cli: remove USE_HWD

8 years agodoc: Update BUILD-Linux with instructions for Ubuntu 16.04.
Bradley Sepos [Tue, 3 May 2016 12:15:33 +0000 (08:15 -0400)]
doc: Update BUILD-Linux with instructions for Ubuntu 16.04.

8 years agotx3g: fix conversion of empty SSA subtitle
John Stebbins [Wed, 11 May 2016 17:06:32 +0000 (10:06 -0700)]
tx3g: fix conversion of empty SSA subtitle

an empty SSA caused a crash

8 years agoWinGui: Language tweak to make the UI clearer.
sr55 [Sat, 14 May 2016 20:30:14 +0000 (21:30 +0100)]
WinGui: Language tweak to make the UI clearer.

8 years agoWinGui: UI improvements to the Audio Defaults panel.
sr55 [Sat, 14 May 2016 20:26:03 +0000 (21:26 +0100)]
WinGui: UI improvements to the Audio Defaults panel.

8 years agoWinGui: Bug fix in the new behaviour tracks preset loading.
sr55 [Sat, 14 May 2016 19:48:33 +0000 (20:48 +0100)]
WinGui: Bug fix in the new behaviour tracks preset loading.

8 years agoWinGui: Don't allow the user to enter invalid filename characters in the "File Format...
sr55 [Fri, 13 May 2016 18:11:16 +0000 (19:11 +0100)]
WinGui: Don't allow the user to enter invalid filename characters in the "File Format" autoname text box. Also sanitise the input on startup for legacy users which bad options.  Fixes #182

8 years agoWinGui: Add a track list on the Audio Defaults screen. This changes the behaviour...
sr55 [Thu, 12 May 2016 18:48:41 +0000 (19:48 +0100)]
WinGui: Add a track list on the Audio Defaults screen. This changes the behaviour to match the Mac and Linux GUIs. So you no longer have to have a source audio track before you can create presets.

8 years agoWinGui: Update the UpdateSourceTrigger on the AddPresetView so you don't need to...
sr55 [Thu, 12 May 2016 18:06:19 +0000 (19:06 +0100)]
WinGui: Update the UpdateSourceTrigger on the AddPresetView so you don't need to tab out of the controls for it to recognise the name. Fixes #183

8 years agoremove debug printf
John Stebbins [Sun, 8 May 2016 17:40:01 +0000 (10:40 -0700)]
remove debug printf

8 years agomux: eliminate 2048 byte size limit of SSA subtitles
John Stebbins [Sun, 8 May 2016 17:33:22 +0000 (10:33 -0700)]
mux: eliminate 2048 byte size limit of SSA subtitles

8 years agoLinGui: allow the main window to be taller
John Stebbins [Thu, 5 May 2016 18:40:08 +0000 (12:40 -0600)]
LinGui: allow the main window to be taller

8 years agoLinGui: add {preset} auto-file naming option
John Stebbins [Thu, 5 May 2016 18:19:22 +0000 (12:19 -0600)]
LinGui: add {preset} auto-file naming option

8 years agocli: fix race during queue processing
John Stebbins [Thu, 5 May 2016 17:39:15 +0000 (11:39 -0600)]
cli: fix race during queue processing

during queue processing, the pre-scan of an encode could trigger
an attempt to encode using command line options, which would fail and
abort the queue

8 years agoMerge pull request #178 from bradleysepos/framerate
Scott [Wed, 4 May 2016 18:38:20 +0000 (19:38 +0100)]
Merge pull request #178 from bradleysepos/framerate

libhb: Expand default frame rates to include 72, 75, 90, 100, 120.

8 years agoMerge pull request #179 from bradleysepos/toolchain
Scott [Wed, 4 May 2016 18:37:18 +0000 (19:37 +0100)]
Merge pull request #179 from bradleysepos/toolchain

scripts: Add script to install prebuilt MinGW on Linux.

8 years agoMacGui: fix build on 10.10 sdk.
Damiano Galassi [Wed, 4 May 2016 06:24:54 +0000 (08:24 +0200)]
MacGui: fix build on 10.10 sdk.

8 years agoMacGui: delete an unused patch.
Damiano Galassi [Wed, 4 May 2016 06:24:39 +0000 (08:24 +0200)]
MacGui: delete an unused patch.

8 years agoscripts: Add script to install prebuilt MinGW on Linux.
Bradley Sepos [Tue, 3 May 2016 22:59:56 +0000 (18:59 -0400)]
scripts: Add script to install prebuilt MinGW on Linux.

8 years agoMacGui: disable code signing, it had been inadvertently enabled some commits ago.
Damiano Galassi [Tue, 3 May 2016 18:44:05 +0000 (20:44 +0200)]
MacGui: disable code signing, it had been inadvertently enabled some commits ago.

8 years agoMacGui: use AVFoundation as the first option for the preview playback. Add volume...
Damiano Galassi [Tue, 3 May 2016 16:47:14 +0000 (18:47 +0200)]
MacGui: use AVFoundation as the first option for the preview playback. Add volume and tracks controls to the player hud.

8 years agolibhb: Expand default frame rates to include 72, 75, 90, 100, 120.
Bradley Sepos [Tue, 3 May 2016 10:19:14 +0000 (06:19 -0400)]
libhb: Expand default frame rates to include 72, 75, 90, 100, 120.

8 years agolibhb: Describe NLMeans tunes Tape and Sprite in comments.
Bradley Sepos [Sat, 23 Apr 2016 23:54:13 +0000 (19:54 -0400)]
libhb: Describe NLMeans tunes Tape and Sprite in comments.

8 years agolibhb: Add NLMeans tune Sprite.
Bradley Sepos [Sat, 23 Apr 2016 22:52:21 +0000 (18:52 -0400)]
libhb: Add NLMeans tune Sprite.

8 years agolibhb: Add NLMeans tune Tape.
Bradley Sepos [Sat, 23 Apr 2016 19:47:57 +0000 (15:47 -0400)]
libhb: Add NLMeans tune Tape.

8 years agoWinGui: Actually check in the fix for #158
sr55 [Fri, 29 Apr 2016 20:39:23 +0000 (21:39 +0100)]
WinGui: Actually check in the fix for #158

8 years agoWinGui: Force the Optimise MP4 / iPod 5G Checkbox to refresh when changing the Outpu...
sr55 [Fri, 29 Apr 2016 20:35:10 +0000 (21:35 +0100)]
WinGui:  Force the Optimise MP4 / iPod 5G Checkbox to refresh when changing the Output Format dropdown. Fixes #158

8 years agoAnother gitignore update for windows.
sr55 [Fri, 29 Apr 2016 20:25:05 +0000 (21:25 +0100)]
Another gitignore update for windows.

8 years agoWinGui: Simple tool for generating a signed hash of the HandBrake download.
sr55 [Fri, 29 Apr 2016 20:24:57 +0000 (21:24 +0100)]
WinGui: Simple tool for generating a signed hash of the HandBrake download.

8 years agoUpdate .gitignore with more ignored files for the windows build.
sr55 [Fri, 29 Apr 2016 20:11:47 +0000 (21:11 +0100)]
Update .gitignore with more ignored files for the windows build.

8 years agoWinGui: Improve the security of the update checker on windows. This download is now...
sr55 [Fri, 29 Apr 2016 20:10:35 +0000 (21:10 +0100)]
WinGui: Improve the security of the update checker on windows. This download is now verified against a signed RSA-SHA256 hash verifying both file integrity and origin.

8 years agoUpdate README.md
Scott [Sun, 24 Apr 2016 12:19:51 +0000 (13:19 +0100)]
Update README.md

8 years agoWinGui: Wrap text on popup window container.
sr55 [Sat, 23 Apr 2016 19:19:43 +0000 (20:19 +0100)]
WinGui: Wrap text on popup window container.

8 years agoWinGui: Fix the Subtitle Defaults popup text.
sr55 [Sat, 23 Apr 2016 19:17:13 +0000 (20:17 +0100)]
WinGui: Fix the Subtitle Defaults popup text.

8 years agoWinGui: If you invoke HandBrake.exe with "--auto-start-queue" it will automatically...
sr55 [Sat, 23 Apr 2016 16:33:38 +0000 (17:33 +0100)]
WinGui:  If you invoke HandBrake.exe with "--auto-start-queue" it will automatically start the queue and not prompt to recover the queue.
Behaviour Change: When reloading the queue, any job that is "In progress" will be marked as "Error" now.  We don't know if HandBrake crashed or the system restarted. This avoids any  crash -> restart loops that may occur. This allows HandBrake to get on with the rest of the queue until the user can action the failed encode.

8 years agoMacGui: do not stop the preview encoding when the showWindow: is called and the windo...
Damiano Galassi [Fri, 22 Apr 2016 11:25:20 +0000 (13:25 +0200)]
MacGui: do not stop the preview encoding when the showWindow: is called and the window is already on screen.

8 years agodecavcodec: fix audio decoder frame count
John Stebbins [Thu, 21 Apr 2016 14:07:07 +0000 (08:07 -0600)]
decavcodec: fix audio decoder frame count

it was always 0

8 years agostream: fix memory leak during PS stream probe
John Stebbins [Wed, 20 Apr 2016 20:20:18 +0000 (14:20 -0600)]
stream: fix memory leak during PS stream probe

8 years agobuffers: add more buffer debugging support
John Stebbins [Wed, 20 Apr 2016 20:19:27 +0000 (14:19 -0600)]
buffers: add more buffer debugging support

8 years agoWinGui: Some initial work to make the HandBrake.ApplicationServices library more...
sr55 [Tue, 19 Apr 2016 20:52:27 +0000 (21:52 +0100)]
WinGui: Some initial work to make the HandBrake.ApplicationServices library more portable.

8 years agoMerge branch 'Idea2'
sr55 [Tue, 19 Apr 2016 18:56:14 +0000 (19:56 +0100)]
Merge branch 'Idea2'

8 years agoWinGui: Small code optimisation in the QueueRecoveryHelper
sr55 [Mon, 18 Apr 2016 20:41:22 +0000 (21:41 +0100)]
WinGui: Small code optimisation in the QueueRecoveryHelper

8 years agoWinGui: Strip out the overlay panel code. It's not used.
sr55 [Mon, 18 Apr 2016 20:17:09 +0000 (21:17 +0100)]
WinGui: Strip out the overlay panel code. It's not used.

8 years agoFew updates to NEWS
sr55 [Mon, 18 Apr 2016 20:12:30 +0000 (21:12 +0100)]
Few updates to NEWS

8 years agoWinGui: Change the Audio Default and Subtitle panels to be modal windows. (Similar...
sr55 [Sun, 17 Apr 2016 14:17:51 +0000 (15:17 +0100)]
WinGui: Change the Audio Default and Subtitle panels to be modal windows. (Similar to the MacGUI). This should allow for more space needed to implement Audio templates. Also fixed a sanitise mixdown call crash.

8 years agomuxavformat: fix mp4 subtitle empty packet duration
John Stebbins [Thu, 14 Apr 2016 19:24:04 +0000 (13:24 -0600)]
muxavformat: fix mp4 subtitle empty packet duration

8 years agoqsv: support building on linux with libva
John Stebbins [Thu, 14 Apr 2016 14:42:23 +0000 (08:42 -0600)]
qsv: support building on linux with libva

8 years agoMerge pull request #153 from jstebbins/qsv-free
John Stebbins [Wed, 13 Apr 2016 21:10:30 +0000 (14:10 -0700)]
Merge pull request #153 from jstebbins/qsv-free

qsv: fix access to freed memory when interrupting encode

8 years agoMerge pull request #154 from jstebbins/qsv-decode-uninitialized-var
John Stebbins [Wed, 13 Apr 2016 21:05:20 +0000 (14:05 -0700)]
Merge pull request #154 from jstebbins/qsv-decode-uninitialized-var

qsv: fix crash in decode init due to uninitialized variable

8 years agoWinGui: Don't call hb_x264_param_unparse when we are not using x264
sr55 [Wed, 13 Apr 2016 20:47:03 +0000 (21:47 +0100)]
WinGui: Don't call hb_x264_param_unparse when we are not using x264

8 years agoqsv: fix crash in decode init due to uninitialized variable
John Stebbins [Wed, 13 Apr 2016 18:42:33 +0000 (12:42 -0600)]
qsv: fix crash in decode init due to uninitialized variable

8 years agoqsv_filter: fix crash when unpacking crop parameters
John Stebbins [Wed, 13 Apr 2016 18:39:13 +0000 (12:39 -0600)]
qsv_filter: fix crash when unpacking crop parameters

8 years agoqsv: fix access to freed memory when interrupting encode
John Stebbins [Wed, 13 Apr 2016 16:07:52 +0000 (10:07 -0600)]
qsv: fix access to freed memory when interrupting encode

8 years agoWinGui: Handle null mixdowns properly. Fixes #152
sr55 [Tue, 12 Apr 2016 18:04:11 +0000 (19:04 +0100)]
WinGui: Handle null mixdowns properly. Fixes #152

8 years agolingui: fix mispelling
John Stebbins [Sun, 10 Apr 2016 15:31:47 +0000 (09:31 -0600)]
lingui: fix mispelling

8 years agolingui: fix file name
John Stebbins [Sat, 9 Apr 2016 16:15:04 +0000 (10:15 -0600)]
lingui: fix file name

8 years agolingui: add ubuntu xenial to nightly builds
John Stebbins [Sat, 9 Apr 2016 16:13:13 +0000 (10:13 -0600)]
lingui: add ubuntu xenial to nightly builds

8 years agoWinGui: Sanitise all Mixdown selections. Passthru the Codec into the Scanned Track...
sr55 [Sat, 9 Apr 2016 14:24:50 +0000 (15:24 +0100)]
WinGui: Sanitise all Mixdown selections.  Passthru the Codec into the Scanned Track object.

8 years agoUpdate Git Ignore.
sr55 [Sat, 9 Apr 2016 13:47:56 +0000 (14:47 +0100)]
Update Git Ignore.

8 years agoWinGui: Use Mixdowns from LibHBand sanitise the choices. The GUI no longer shows...
sr55 [Sat, 9 Apr 2016 13:46:54 +0000 (14:46 +0100)]
WinGui: Use Mixdowns from LibHBand sanitise the choices. The GUI no longer shows invalid mixdowns.

8 years agoMacGui: do not set the preview window frame origin to a value outside the screen...
Damiano Galassi [Sat, 9 Apr 2016 06:48:13 +0000 (08:48 +0200)]
MacGui: do not set the preview window frame origin to a value outside the screen area.

8 years agoMacGui: do not update the preview window layer if the image is nil or the size is 0.
Damiano Galassi [Thu, 7 Apr 2016 09:12:49 +0000 (11:12 +0200)]
MacGui: do not update the preview window layer if the image is nil or the size is 0.

8 years agoMacGui: rename 'layout' in HBPreviewView so it doesn't override NSView layout method.
Damiano Galassi [Thu, 7 Apr 2016 09:02:14 +0000 (11:02 +0200)]
MacGui: rename 'layout' in HBPreviewView so it doesn't override NSView layout method.

8 years agobd: change angles before seeking
John Stebbins [Mon, 4 Apr 2016 20:10:09 +0000 (14:10 -0600)]
bd: change angles before seeking

the angle can affect the seek position