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

8 years agopresets: fix PictureRotate import
John Stebbins [Mon, 28 Mar 2016 17:06:28 +0000 (10:06 -0700)]
presets: fix PictureRotate import

When it's value's type is an int instead of a string, it was not
imported correctly.

8 years agoLinGui: fix saving default preset
John Stebbins [Sun, 27 Mar 2016 17:30:46 +0000 (10:30 -0700)]
LinGui: fix saving default preset

The default flag was getting lost

8 years agomuxavformat: fix muxer interleaving in mkv
John Stebbins [Sun, 27 Mar 2016 17:18:41 +0000 (10:18 -0700)]
muxavformat: fix muxer interleaving in mkv

8 years agoLinGui: fix crash when no preset selected and scan new source
John Stebbins [Sun, 27 Mar 2016 17:17:54 +0000 (10:17 -0700)]
LinGui: fix crash when no preset selected and scan new source

8 years agoWinGui: Fix a couple of silent errors with the new logging system.
sr55 [Sat, 26 Mar 2016 19:27:11 +0000 (19:27 +0000)]
WinGui: Fix a couple of silent errors with the new logging system.

8 years agoWinGui: If there are multiple queue recovery files, don't fail the set if one is...
sr55 [Sat, 26 Mar 2016 19:13:22 +0000 (19:13 +0000)]
WinGui: If there are multiple queue recovery files, don't fail the set if one is bad. Let the rest load normally.

8 years agoWinGui: Add a new JSON file type to the queue export functionality. This exports...
sr55 [Sat, 26 Mar 2016 19:09:12 +0000 (19:09 +0000)]
WinGui: Add a new JSON file type to the queue export functionality. This exports the standardised JSON format that can be imported into the CLI.
Note, the GUI can not yet import the JSON formatted queue file. The old hbq format is still there for that.

8 years agoMacGui: fix the "encoding (null)" string that was shown when encoding a preview.
Damiano Galassi [Sat, 26 Mar 2016 07:34:52 +0000 (08:34 +0100)]
MacGui: fix the "encoding (null)" string that was shown when encoding a preview.

8 years agoMacGui: fix the 'scan only title' option.
Damiano Galassi [Sat, 26 Mar 2016 07:27:40 +0000 (08:27 +0100)]
MacGui: fix the 'scan only title' option.

8 years agostream: fix negative array index
John Stebbins [Fri, 25 Mar 2016 17:10:16 +0000 (11:10 -0600)]
stream: fix negative array index

8 years agoMacGui: Remove unnecessary libltdl.a dependency.
Bradley Sepos [Fri, 25 Mar 2016 15:33:22 +0000 (11:33 -0400)]
MacGui: Remove unnecessary libltdl.a dependency.

8 years agohb: cosmetics, removing trailing whitespace
John Stebbins [Wed, 23 Mar 2016 18:04:45 +0000 (12:04 -0600)]
hb: cosmetics, removing trailing whitespace

8 years agomuxavformat: fix sync issue when bframes are enabled
John Stebbins [Sun, 20 Mar 2016 21:49:01 +0000 (15:49 -0600)]
muxavformat: fix sync issue when bframes are enabled

libav does not permit negative dts when muxing to mkv even though it
does not use dts when writing mkv.  When it sees an initial negative
dts, it offsets all dts and pts to make it positive.  This breaks A/V
sync and chapter start times.

8 years agostream: fix potential use of uninitialized variable
John Stebbins [Wed, 23 Mar 2016 17:30:26 +0000 (11:30 -0600)]
stream: fix potential use of uninitialized variable

8 years agoreader: fix memory leak
John Stebbins [Wed, 23 Mar 2016 17:28:52 +0000 (11:28 -0600)]
reader: fix memory leak

8 years agopresets: fix memory leak
John Stebbins [Wed, 23 Mar 2016 17:27:50 +0000 (11:27 -0600)]
presets: fix memory leak

8 years agolibhb: reorder buffer type enum so uninitialized type is OTHER_BUF
John Stebbins [Wed, 23 Mar 2016 17:26:05 +0000 (11:26 -0600)]
libhb: reorder buffer type enum so uninitialized type is OTHER_BUF

8 years agofifo: when HB_BUFFER_DEBUG is set, memset buffers to 0
John Stebbins [Wed, 23 Mar 2016 17:24:25 +0000 (11:24 -0600)]
fifo: when HB_BUFFER_DEBUG is set, memset buffers to 0

8 years agodecavcodec: cosmetics
John Stebbins [Wed, 23 Mar 2016 17:22:50 +0000 (11:22 -0600)]
decavcodec: cosmetics

8 years agoscan: quit looking for audio if a preview scan reaches EOF
John Stebbins [Wed, 23 Mar 2016 17:19:34 +0000 (11:19 -0600)]
scan: quit looking for audio if a preview scan reaches EOF

Also, verify that vid_info geometry matches vid_buf geometry
And some cosmetic changes

8 years agoWinGui: Remove a restriction on the WMI GPU information call. It will now display...
sr55 [Tue, 22 Mar 2016 15:20:03 +0000 (15:20 +0000)]
WinGui: Remove a restriction on the WMI GPU information call. It will now display any records that don't have a Name or Version.  I don't believe this will make any different under normal circumstances but it appears WMI many not report back the expected information.

8 years agoWinGui: Add an app.manifest to explicitly declare supported operating systems so...
sr55 [Tue, 22 Mar 2016 15:08:50 +0000 (15:08 +0000)]
WinGui: Add an app.manifest to explicitly declare supported operating systems so the OS detection works correctly.

8 years agoWinGUI: Remove option to enable DXVA decoding. There are too many issues with timesta...
sr55 [Mon, 21 Mar 2016 22:13:43 +0000 (22:13 +0000)]
WinGUI: Remove option to enable DXVA decoding. There are too many issues with timestamp handling and no easy way to fix them so instead of having a higher failure rate, we've decided to remove this.

8 years agoMerge pull request #114 from shakim/support_old_iso639
Scott [Mon, 21 Mar 2016 20:16:16 +0000 (20:16 +0000)]
Merge pull request #114 from shakim/support_old_iso639

Support language code changes between ISO639 and ISO639-1

8 years agoWinGui: Some Cosmetic changes and links added to the GUI.
sr55 [Mon, 21 Mar 2016 20:11:09 +0000 (20:11 +0000)]
WinGui: Some Cosmetic changes and links added to the GUI.

8 years agopresets: fix import of old version-less preset files
John Stebbins [Mon, 21 Mar 2016 16:40:03 +0000 (10:40 -0600)]
presets: fix import of old version-less preset files

The version number was not added after import causing an attempt
to do import conversions twice.  The second conversion breaks values.

8 years agoWinGui: Some fixes and tidyup of the new logging code.
sr55 [Mon, 21 Mar 2016 12:57:48 +0000 (12:57 +0000)]
WinGui: Some fixes and tidyup of the new logging code.

8 years agoWinGui: Add a Logging Service into the AppServices library. This does not depend...
sr55 [Mon, 21 Mar 2016 00:07:04 +0000 (00:07 +0000)]
WinGui: Add a Logging Service into the AppServices library. This does not depend on any 3rd party libraries and is off by default. It must be initialised by calling Enable() on the LogService class. Otherwise LogMessage does nothing.
Changed the Logging screen to a single panel in the WinGui. This will change back to separate Scan/Encode logs when we get libhb it's own processes.
Added Auto-Scroll to the log window.

8 years agoWinGui: Fixed an issue where the " Use Advanced Tab" was not being loaded correctly...
sr55 [Fri, 18 Mar 2016 21:05:18 +0000 (21:05 +0000)]
WinGui:  Fixed an issue where the " Use Advanced Tab" was not being loaded correctly with the new json presets.

8 years agoAdd note about libfftw3-dev. Fixes #108
sr55 [Fri, 18 Mar 2016 20:45:03 +0000 (20:45 +0000)]
Add note about libfftw3-dev. Fixes #108

8 years agoLinGui: center image in preview window
John Stebbins [Thu, 17 Mar 2016 04:27:01 +0000 (22:27 -0600)]
LinGui: center image in preview window

If the window manager does not size the window correctly (wayland!)
distribute black evenly around the image.

8 years agoLinGui: replace preview "fullscreen" with preview window resizing
John Stebbins [Thu, 17 Mar 2016 01:21:07 +0000 (19:21 -0600)]
LinGui: replace preview "fullscreen" with preview window resizing

Dynamic transitions to fullscreen mode have been broken in GTK for a
long time now.  So I'm giving up on them ever fixing it.  Instead, the
preview window can be resized by dragging edges and maximized with the
maximize button.

8 years agoLinGui: fix centering of preview in larger window
John Stebbins [Tue, 15 Mar 2016 20:49:48 +0000 (14:49 -0600)]
LinGui: fix centering of preview in larger window

8 years agoLinGui: make preview frame selector slider wider
John Stebbins [Tue, 15 Mar 2016 18:03:35 +0000 (12:03 -0600)]
LinGui: make preview frame selector slider wider

8 years agoLinGui: simplify live preview and preview hud code
John Stebbins [Tue, 15 Mar 2016 17:35:07 +0000 (11:35 -0600)]
LinGui: simplify live preview and preview hud code

This makes live preview playback somewhat less efficient.  But the code
is more portable and doesn't have some of the glitchy issues with
rendering the HUD.

8 years agoMacGui: added some enum to HBJob model to make things nicer in swift, plus two method...
Damiano Galassi [Mon, 14 Mar 2016 08:50:42 +0000 (09:50 +0100)]
MacGui: added some enum to HBJob model to make things nicer in swift, plus two methods to convert from iso code to english language.

8 years agoMacGui: move some kvo helpers to the UIAdditions category.
Damiano Galassi [Mon, 14 Mar 2016 08:46:39 +0000 (09:46 +0100)]
MacGui: move some kvo helpers to the UIAdditions category.

8 years agoLinGui: enable live preview (gstreamer) by default on win32
John Stebbins [Mon, 14 Mar 2016 00:24:39 +0000 (18:24 -0600)]
LinGui: enable live preview (gstreamer) by default on win32

8 years agoLinGui: tell gstreamer where to find plugins on win32
John Stebbins [Mon, 14 Mar 2016 00:24:10 +0000 (18:24 -0600)]
LinGui: tell gstreamer where to find plugins on win32

8 years agoLinGui: some win32 fixes
John Stebbins [Mon, 14 Mar 2016 00:17:44 +0000 (18:17 -0600)]
LinGui: some win32 fixes

Fix preview hud background.  it was transparent.
Fix initialization of gstreamer. It could not initialize the video
overlay.

8 years agobuild: fix regex probe
John Stebbins [Sun, 13 Mar 2016 18:18:25 +0000 (12:18 -0600)]
build: fix regex probe

8 years agocli: remove unused variables version and build
John Stebbins [Sun, 13 Mar 2016 00:19:54 +0000 (17:19 -0700)]
cli: remove unused variables version and build

8 years agoLinGui: make gdk pixbuf loaders work under mingw
John Stebbins [Sun, 13 Mar 2016 00:16:32 +0000 (17:16 -0700)]
LinGui: make gdk pixbuf loaders work under mingw

Makes my icons work on windows :)

8 years agoMissed updating an hb_init call for the removal of updates.
sr55 [Sat, 12 Mar 2016 21:04:45 +0000 (21:04 +0000)]
Missed updating an hb_init call for the removal of updates.

8 years agoRemove the CLI / LibHB Update Checker. It's been broken since we switched to HTTPS...
sr55 [Sat, 12 Mar 2016 20:18:01 +0000 (20:18 +0000)]
Remove the CLI / LibHB Update Checker. It's been broken since we switched to HTTPS and it's terrible code.

8 years agoLinGui: fix "Cancel" of subtitle changes
John Stebbins [Sat, 12 Mar 2016 16:59:14 +0000 (09:59 -0700)]
LinGui: fix "Cancel" of subtitle changes

Cancel did not revert the changes that were made.

8 years agocli: add support for import of GUI queue file
John Stebbins [Thu, 10 Mar 2016 20:55:59 +0000 (13:55 -0700)]
cli: add support for import of GUI queue file

8 years agoLinGui: Tidy up queue format
John Stebbins [Fri, 11 Mar 2016 00:09:27 +0000 (17:09 -0700)]
LinGui: Tidy up queue format

Put all UI specific settings under a "uiSettings" key in a queue entry.
Job settings suitable for hb_add_json() are under "Job" key.

8 years agoWinGui: Add SHA1 Verification of the update downloads and don't start the installer...
sr55 [Sat, 12 Mar 2016 16:19:53 +0000 (16:19 +0000)]
WinGui: Add SHA1 Verification of the update downloads and don't start the installer if the hash check fails.

8 years agoMerge pull request #124 from jstebbins/decomb-split
John Stebbins [Sat, 12 Mar 2016 16:19:13 +0000 (08:19 -0800)]
Merge pull request #124 from jstebbins/decomb-split

Decomb split

8 years agoMacGui: add interlace detection filter.
Damiano Galassi [Fri, 11 Mar 2016 12:41:32 +0000 (13:41 +0100)]
MacGui: add interlace detection filter.

8 years agoWinGui: Fixes for the new filters setup.
sr55 [Fri, 11 Mar 2016 21:04:07 +0000 (21:04 +0000)]
WinGui: Fixes for the new filters setup.

8 years agoWinGui: Missing Decomb options
sr55 [Fri, 11 Mar 2016 20:20:24 +0000 (20:20 +0000)]
WinGui: Missing Decomb options

8 years agoWinGui: Initial commit supporting separated interlace detection. Not tested yet.
sr55 [Thu, 10 Mar 2016 20:44:49 +0000 (20:44 +0000)]
WinGui: Initial commit supporting separated interlace detection. Not tested yet.

8 years agoLinGui: link comb-detect and deinterlace filters
John Stebbins [Thu, 10 Mar 2016 20:23:14 +0000 (13:23 -0700)]
LinGui: link comb-detect and deinterlace filters

When comb-detect is enabled and decomb/deinterlace filter is not, enable
decomb.  When decomb/detinterlace filter is disabled, disable comb-detect.

8 years agocomb-detect: adjust default sensitivity and add "Less Sensitive" preset
John Stebbins [Tue, 8 Mar 2016 20:11:02 +0000 (13:11 -0700)]
comb-detect: adjust default sensitivity and add "Less Sensitive" preset

8 years agocli: add comb detection options
John Stebbins [Tue, 8 Mar 2016 18:00:15 +0000 (11:00 -0700)]
cli: add comb detection options

8 years agoqsv: fix build
John Stebbins [Thu, 10 Mar 2016 21:46:50 +0000 (14:46 -0700)]
qsv: fix build

I missed some of the qsv filter settings bits that needed changing.

8 years agodecomb: split comb detection out into it's own filter
John Stebbins [Fri, 22 Jan 2016 22:46:13 +0000 (15:46 -0700)]
decomb: split comb detection out into it's own filter

8 years agosync: fix hang at end of p-to-p encoding with subtitles
John Stebbins [Fri, 11 Mar 2016 20:57:59 +0000 (13:57 -0700)]
sync: fix hang at end of p-to-p encoding with subtitles

If there are no more subtitles in a subtitle track after the stop time
of a p-to-p encoding, the encode would never finish.

8 years agoreader: fix p-to-p seconds for non-seekable streams
John Stebbins [Fri, 11 Mar 2016 20:44:24 +0000 (13:44 -0700)]
reader: fix p-to-p seconds for non-seekable streams

This broke when sync was reworked.  Sync now expects job->pts_to_start
to be relative to the first frame that it sees.