]> granicus.if.org Git - handbrake/log
handbrake
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

8 years agolibbluray: fix chapter lookup
John Stebbins [Mon, 4 Apr 2016 20:08:34 +0000 (14:08 -0600)]
libbluray: fix chapter lookup

when there are multiple clips in the title, chapter lookup could fail if
the current play position is before the first chapter mark in a clip.

8 years agoMerge pull request #144 from sr55/x264
Scott [Sun, 3 Apr 2016 20:41:34 +0000 (21:41 +0100)]
Merge pull request #144 from sr55/x264

Upgrade x264 to r2665 a01e339

8 years agojson: fix typo.
Tim Walker [Sun, 3 Apr 2016 20:39:10 +0000 (22:39 +0200)]
json: fix typo.

8 years agoCLI: fix incorrect assumption that video quality is always positive.
Tim Walker [Sun, 3 Apr 2016 20:37:09 +0000 (22:37 +0200)]
CLI: fix incorrect assumption that video quality is always positive.

8 years agojson: fix sanitization of vquality
Tim Walker [Sun, 3 Apr 2016 20:36:25 +0000 (22:36 +0200)]
json: fix sanitization of vquality

…for encoders that check for a valid bitrate before quality.

8 years agojson: fix sanitization of vquality
John Stebbins [Sun, 3 Apr 2016 14:48:48 +0000 (07:48 -0700)]
json: fix sanitization of vquality

... and other assorted cleanups ;)

8 years agoUpgrade x264 to r2665 a01e339
sr55 [Sat, 2 Apr 2016 19:51:43 +0000 (20:51 +0100)]
Upgrade x264 to r2665 a01e339

8 years agoffmpeg: rename some files to have unique patch numbers.
Tim Walker [Fri, 1 Apr 2016 02:13:26 +0000 (04:13 +0200)]
ffmpeg: rename some files to have unique patch numbers.

8 years agoffmpeg: patch some E-AC-3 decoder calls.
Tim Walker [Fri, 1 Apr 2016 02:02:11 +0000 (04:02 +0200)]
ffmpeg: patch some E-AC-3 decoder calls.

Some samples (e.g. E-AC-3 from Blu-ray disc sources) would result
in two warnings being printed for each frame of every E-AC-3 track.

8 years agofilters: don't add disabled rotate filter to filter list
John Stebbins [Thu, 31 Mar 2016 18:57:45 +0000 (11:57 -0700)]
filters: don't add disabled rotate filter to filter list

add check for settings that cause a filter to be disabled, and disable
the filter in such cases before adding to the filter list.

8 years agohb_json: sanitize JSON where both of video bitrate and quality are valid.
Tim Walker [Tue, 29 Mar 2016 21:39:48 +0000 (23:39 +0200)]
hb_json: sanitize JSON where both of video bitrate and quality are valid.

Check against vbitrate since it doesn't depend on a preprocessor define.

8 years agomacosx: fix incorrect assumption that video quality is always positive.
Tim Walker [Tue, 29 Mar 2016 21:28:53 +0000 (23:28 +0200)]
macosx: fix incorrect assumption that video quality is always positive.

8 years agolibhb: fix incorrect assumption that video quality is always positive.
Tim Walker [Tue, 29 Mar 2016 21:22:26 +0000 (23:22 +0200)]
libhb: fix incorrect assumption that video quality is always positive.

8 years agolibhb: fix quality limits for high bit depth video encoders.
Tim Walker [Tue, 29 Mar 2016 21:09:36 +0000 (23:09 +0200)]
libhb: fix quality limits for high bit depth video encoders.

The lowest possible QP (and RF) depend on
the bit depth and can be lower than zero.

8 years agolibhb: remove superfluous ifdefs.
Tim Walker [Tue, 29 Mar 2016 20:34:18 +0000 (22:34 +0200)]
libhb: remove superfluous ifdefs.

The defines always exist, so they're not actually protecting anything.

8 years agoLinGui: all negative vquality slider values
John Stebbins [Wed, 30 Mar 2016 21:48:18 +0000 (14:48 -0700)]
LinGui: all negative vquality slider values

And only show "lossless" for x264 8bit

8 years agox265: use more permissive x265_api_query instead of x265_api_get
John Stebbins [Wed, 30 Mar 2016 21:44:52 +0000 (14:44 -0700)]
x265: use more permissive x265_api_query instead of x265_api_get

This allows use of versions of the library that are compatible, but do
not necessarily have the same build number.

8 years agoMacGui: allow negative value in the quality slider.
Damiano Galassi [Wed, 30 Mar 2016 17:20:36 +0000 (19:20 +0200)]
MacGui: allow negative value in the quality slider.

8 years agoMerge pull request #138 from maximd33/master
Rodeo314 [Wed, 30 Mar 2016 15:28:52 +0000 (17:28 +0200)]
Merge pull request #138 from maximd33/master

QSV: better compatibility with recent SW lib

8 years agoQSV: better compatibility with recent SW lib
maxd [Wed, 30 Mar 2016 14:14:38 +0000 (16:14 +0200)]
QSV: better compatibility with recent SW lib

To avoid having max_async_depth == 0 with recent MSDK SW library,
this would help to allocate properly internal resources and to avoid
crash during encode

8 years agolibhb: fix x265 encoding with CRF == 0.0
Tim Walker [Tue, 29 Mar 2016 20:20:30 +0000 (22:20 +0200)]
libhb: fix x265 encoding with CRF == 0.0

We were using ABR at 0.0 Kbps instead.