]> granicus.if.org Git - handbrake/log
handbrake
8 years agoGPLv2
Bradley Sepos [Thu, 9 Jun 2016 14:09:03 +0000 (10:09 -0400)]
GPLv2

Add LICENSE (notes on all applicable licenses, including contrib licenses) to supplement COPYING (HandBrake's GPLv2 license).

Idea taken from LibAV's LICENSE:
https://github.com/libav/libav/blob/9e8bbe7d4d1dcd5fec491dbfbb98ed2038a7bed5/LICENSE

8 years agoAdd text identifying HandBrake to COPYING.
Bradley Sepos [Thu, 9 Jun 2016 14:07:23 +0000 (10:07 -0400)]
Add text identifying HandBrake to COPYING.

Idea taken from Kodi's LICENSE.GPL:
https://github.com/xbmc/xbmc/blob/0d4285145b474d323a04eaba20232dd6a5b8bc1b/LICENSE.GPL

8 years agoAdd BradleyS to AUTHORS.
Bradley Sepos [Thu, 9 Jun 2016 13:27:15 +0000 (09:27 -0400)]
Add BradleyS to AUTHORS.

8 years agoConvert AUTHORS to Markdown.
Bradley Sepos [Thu, 9 Jun 2016 13:21:28 +0000 (09:21 -0400)]
Convert AUTHORS to Markdown.

8 years agoConvert THANKS to Markdown.
Bradley Sepos [Thu, 9 Jun 2016 13:19:47 +0000 (09:19 -0400)]
Convert THANKS to Markdown.

CREDITS is now part of THANKS.markdown.

8 years agodecsrtsub: simplify code and improve comments
John Stebbins [Thu, 9 Jun 2016 22:34:44 +0000 (16:34 -0600)]
decsrtsub: simplify code and improve comments

8 years agodecsrt: don't add extra hard line break at end of subtitle
John Stebbins [Thu, 9 Jun 2016 21:59:00 +0000 (15:59 -0600)]
decsrt: don't add extra hard line break at end of subtitle

8 years agodecsrt: fix dropping of first srt when it's start time is 0
John Stebbins [Thu, 9 Jun 2016 21:41:12 +0000 (15:41 -0600)]
decsrt: fix dropping of first srt when it's start time is 0

8 years agoWinGui: Add {preset} to autoname options. This is a non-live option meaning it only...
sr55 [Thu, 9 Jun 2016 19:46:33 +0000 (20:46 +0100)]
WinGui: Add {preset} to autoname options. This is a non-live option meaning it only changes when the title changes. (Same as {date} {time} {quality} {bitrate}). Implements #156

8 years agoWinGui: Check directory permissions before adding a job to the queue for processing...
sr55 [Thu, 9 Jun 2016 19:35:11 +0000 (20:35 +0100)]
WinGui: Check directory permissions before adding a job to the queue for processing. Fixes #219

8 years agosync: fix some p-to-p issues
John Stebbins [Thu, 9 Jun 2016 18:59:30 +0000 (12:59 -0600)]
sync: fix some p-to-p issues

After finding the start position, some data prior to the start from
other streams could leak through causing duplicate timestamps in the
output.

Also, improves alignment of stop times of all streams when a stop time
is set.

8 years agojson: fix extraction of negative SRT offsets
John Stebbins [Thu, 9 Jun 2016 15:09:23 +0000 (09:09 -0600)]
json: fix extraction of negative SRT offsets

8 years agoWinGui: For silent installs, assume it's All Users, not Current User.
sr55 [Tue, 7 Jun 2016 20:38:38 +0000 (21:38 +0100)]
WinGui: For silent installs, assume it's All Users, not Current User.
Admins deploying the app on the network were not seeing the app icons appearing when installing from a different user account from the users.

8 years agoUpdate NEWS file
sr55 [Sun, 5 Jun 2016 20:07:52 +0000 (21:07 +0100)]
Update NEWS file

8 years agobuild: Add xclean make target to macosx.
Bradley Sepos [Sat, 4 Jun 2016 11:14:20 +0000 (07:14 -0400)]
build: Add xclean make target to macosx.

Since we bypass the test (cli) module on Mac OS X, also add test.clean and test.xclean convenience targets.

8 years agocli: Take preset frame rate / mode into account.
Bradley Sepos [Sat, 4 Jun 2016 00:08:22 +0000 (20:08 -0400)]
cli: Take preset frame rate / mode into account.

8 years agocli: Fix frame rate mode when not explicitly set.
Bradley Sepos [Fri, 3 Jun 2016 23:33:51 +0000 (19:33 -0400)]
cli: Fix frame rate mode when not explicitly set.

8 years agolibhb: Fix invalid VideoTune value in new presets.
Bradley Sepos [Thu, 2 Jun 2016 17:40:50 +0000 (13:40 -0400)]
libhb: Fix invalid VideoTune value in new presets.

8 years agolibhb: Add new built-in presets, mark old presets as legacy.
Bradley Sepos [Sun, 22 May 2016 07:08:32 +0000 (03:08 -0400)]
libhb: Add new built-in presets, mark old presets as legacy.

Will change VP9 presets' audio to Opus if/when that lands.

Closes #159.

8 years agoscripts: Add script to build built-in presets.
Bradley Sepos [Sun, 22 May 2016 18:34:49 +0000 (14:34 -0400)]
scripts: Add script to build built-in presets.

8 years agoCLI: fix behaviour of --subtitle-lang-list
John Stebbins [Thu, 2 Jun 2016 13:37:11 +0000 (07:37 -0600)]
CLI: fix behaviour of --subtitle-lang-list

It did not default to "first" subittle selection behaviour.

8 years agoencavcodec: error out on invalid encoder preset
John Stebbins [Mon, 30 May 2016 20:02:19 +0000 (14:02 -0600)]
encavcodec: error out on invalid encoder preset

8 years agovpx: fix NULL encoder preset case
John Stebbins [Sun, 29 May 2016 19:12:44 +0000 (13:12 -0600)]
vpx: fix NULL encoder preset case

8 years agovpx: add encoder presets
John Stebbins [Sun, 29 May 2016 15:43:56 +0000 (09:43 -0600)]
vpx: add encoder presets

presets are
        veryfast - deadline=good:cpu-used=5
        faster   - deadline=good:cpu-used=4
        fast     - deadline=good:cpu-used=3
        medium   - deadline=good:cpu-used=2
        slow     - deadline=good:cpu-used=1
        slower   - deadline=good:cpu-used=0
        veryslow - deadline=best:cpu-used=0

8 years agoMacGui: add an help button to quickly open the docs in the add preset, audio and...
Damiano Galassi [Sun, 29 May 2016 14:45:19 +0000 (16:45 +0200)]
MacGui: add an help button to quickly open the docs in the add preset, audio and subtitles defaults sheets.

8 years agovpx: allow user to change deadline and cpu-used settings
John Stebbins [Sat, 28 May 2016 19:59:06 +0000 (13:59 -0600)]
vpx: allow user to change deadline and cpu-used settings

8 years agoWinGui: Support VP9 and fix VP8 encoding.
sr55 [Sat, 28 May 2016 17:36:37 +0000 (18:36 +0100)]
WinGui: Support VP9 and fix VP8 encoding.

8 years agolibhb: pass through "default" subtitle flag ... (#203)
John Stebbins [Sat, 28 May 2016 15:12:34 +0000 (08:12 -0700)]
libhb: pass through "default" subtitle flag ... (#203)

... when applying presets

8 years agocontrib: Fix libvpx building on Mac.
Bradley Sepos [Sat, 28 May 2016 00:52:58 +0000 (20:52 -0400)]
contrib: Fix libvpx building on Mac.

Was trying to use outdated system nasm instead of (local) yasm.

8 years agolibbluray: bump to 0.9.3 (#202)
John Stebbins [Fri, 27 May 2016 21:42:02 +0000 (14:42 -0700)]
libbluray: bump to 0.9.3 (#202)

Fixes reading ISO images on windows
Fixes chapter lookup so we can drop our patch

8 years agoMerge pull request #206 from jstebbins/vp9-encoder
John Stebbins [Fri, 27 May 2016 21:41:11 +0000 (14:41 -0700)]
Merge pull request #206 from jstebbins/vp9-encoder

Vp9 encoder

8 years agovpx: use faster settings
John Stebbins [Fri, 27 May 2016 19:51:41 +0000 (13:51 -0600)]
vpx: use faster settings

cpu-used=0 is very slow, and the various recommendations are to use
cpu-used=2

8 years agolibvpx: bump to 1.5.0
John Stebbins [Fri, 27 May 2016 19:50:02 +0000 (13:50 -0600)]
libvpx: bump to 1.5.0

8 years agoenable libvpx VP9 encoder
John Stebbins [Fri, 27 May 2016 14:05:53 +0000 (08:05 -0600)]
enable libvpx VP9 encoder

8 years agoLinGui: add source title dict to queue
John Stebbins [Fri, 27 May 2016 15:24:02 +0000 (09:24 -0600)]
LinGui: add source title dict to queue

By adding the title to the queue entry, all necessary information for
displaying queued job is present in the queue entry.  So I no longer
need hackish "Description" key in job audio and subtitle lists.

8 years agoMacGui: select the feature title instead of the first title after a scan.
Damiano Galassi [Fri, 27 May 2016 08:53:05 +0000 (10:53 +0200)]
MacGui: select the feature title instead of the first title after a scan.

8 years agocontrib: Update to Yasm version 1.3.0.
Bradley Sepos [Thu, 26 May 2016 20:57:58 +0000 (16:57 -0400)]
contrib: Update to Yasm version 1.3.0.

8 years agocontrib: Remove tarbase from bzip2.
Bradley Sepos [Wed, 25 May 2016 20:25:35 +0000 (16:25 -0400)]
contrib: Remove tarbase from bzip2.

The proper 1.0.6 archive does not need it, which causes build failure on systems that use this contrib (Windows).

8 years agobuild: Avoid sending ANSI to Windows terminals.
Bradley Sepos [Wed, 25 May 2016 20:16:14 +0000 (16:16 -0400)]
build: Avoid sending ANSI to Windows terminals.

8 years agocontrib: Update to libass 0.13.2 and add HarfBuzz 1.2.6.
Bradley Sepos [Sun, 1 May 2016 22:57:42 +0000 (18:57 -0400)]
contrib: Update to libass 0.13.2 and add HarfBuzz 1.2.6.

HarfBuzz is now enabled when building libass.

Resolves #162.

Additional libass notes:

- Add yasm dependency for better performance.
- Remove no longer valid configure params.
- Disable new coretext and directwrite font selection backends pending additional testing (coretext did not build properly).

8 years agoMerge pull request #199 from bradleysepos/build-fetch
Bradley Sepos [Wed, 25 May 2016 19:45:44 +0000 (15:45 -0400)]
Merge pull request #199 from bradleysepos/build-fetch

build: Add download verification and multiple URLs for contribs

8 years agobuild: Add basic termination signal handling to df-*.py.
Bradley Sepos [Tue, 24 May 2016 22:44:12 +0000 (18:44 -0400)]
build: Add basic termination signal handling to df-*.py.

8 years agobuild: Add download jobs option and progress display.
Bradley Sepos [Tue, 24 May 2016 20:47:48 +0000 (16:47 -0400)]
build: Add download jobs option and progress display.

8 years agocontrib: Update comments in contrib modules.
Bradley Sepos [Sat, 21 May 2016 20:01:17 +0000 (16:01 -0400)]
contrib: Update comments in contrib modules.

8 years agoBuild: fix configure to escape $ for xcode
KonaBlend [Fri, 30 Oct 2015 03:44:19 +0000 (23:44 -0400)]
Build: fix configure to escape $ for xcode

8 years agoBuild: more fetch tweaks
KonaBlend [Fri, 30 Oct 2015 02:40:07 +0000 (22:40 -0400)]
Build: more fetch tweaks

- df-fetch --disable: exit with error to stop make.
- df-fetch raise error when no URLs specified, or available due to ACLs.
- df-verify report errors consistent with df-fetch.

8 years agoBuild: fix duplicate pkgconfig include
KonaBlend [Fri, 30 Oct 2015 00:24:56 +0000 (20:24 -0400)]
Build: fix duplicate pkgconfig include

pkgconfig module is specified twice by the build system, causing much
grief. Caused when both local-autotools and local-pkgconfig are enabled.

8 years agoBuild: add target contrib.fetch.test
KonaBlend [Thu, 29 Oct 2015 23:14:45 +0000 (19:14 -0400)]
Build: add target contrib.fetch.test

- remove configure --df-exhaust-url

8 years agoBuild: add configure --df-exhaust-url
KonaBlend [Thu, 29 Oct 2015 23:08:32 +0000 (19:08 -0400)]
Build: add configure --df-exhaust-url

Specifying this option will cause fetching to run through all
active URLs. Decent way to test all URLs.

8 years agoBuild: split fetch into df-fetch and df-verify
KonaBlend [Thu, 29 Oct 2015 21:25:58 +0000 (17:25 -0400)]
Build: split fetch into df-fetch and df-verify

- moved common python code to lib/hb_distfile.py
- beautified tmpfile creation
- added stack-style resource management to df-fetch
- fixed contrib assumptions about single URL

8 years agocontrib: Use libvpx release archives instead of GitHub mirror archives.
Bradley Sepos [Thu, 29 Oct 2015 20:29:58 +0000 (16:29 -0400)]
contrib: Use libvpx release archives instead of GitHub mirror archives.

8 years agocontrib: Don't use GitHub mirror for libmfx.
Bradley Sepos [Thu, 29 Oct 2015 20:26:47 +0000 (16:26 -0400)]
contrib: Don't use GitHub mirror for libmfx.

Per Rodeo's request, both because libmfx is a HandBrake project and the GitHub archive doesn't package a proper configure script.

8 years agocontrib: Add upstream urls where local mirror of file now exists.
Bradley Sepos [Thu, 29 Oct 2015 20:20:58 +0000 (16:20 -0400)]
contrib: Add upstream urls where local mirror of file now exists.

8 years agocontrib: Add upstream urls where possible.
Bradley Sepos [Wed, 28 Oct 2015 21:25:21 +0000 (17:25 -0400)]
contrib: Add upstream urls where possible.

8 years agoBuild: add configure --verbose-fetch
KonaBlend [Wed, 28 Oct 2015 18:30:19 +0000 (14:30 -0400)]
Build: add configure --verbose-fetch

8 years agoBuild: add target: contrib.verify
KonaBlend [Wed, 28 Oct 2015 00:53:42 +0000 (20:53 -0400)]
Build: add target: contrib.verify

New target sits between extract and fetch. Thus every build ensures that
exach tarball is not corrupt before extract.

8 years agoBuild: refactor fetch for contrib tarballs
KonaBlend [Tue, 27 Oct 2015 21:52:39 +0000 (17:52 -0400)]
Build: refactor fetch for contrib tarballs

Fetch is now python-based and runs on the same version as does
configure. The source script is make/fetch.py. New features:

MD5 hash tracking for tarballs. Data values for all contribs added.
Upon download, the file will be verified, and only then will it be moved
into place inside downloads/ . Files that exist before the build system
does a fetch will not be md5-checked.

Multiple URLs for tarballs. Each module may specify one or more URLs and
by convention the official HandBrake should be first when possible. Each
URL is tried in sequence, and if it fails for any reason, the next URL
is tried. If no URL succeeds, a hard-error is reported.

Network fetching may be disabled via configure options. --disable-fetch
will hard-error if a fetch is attempted. --accept-fetch-url=SPEC and
--deny-fetch-url=SPEC offer an ACL-style mechanism using regex to match
against URLs. For example, --accept-fecth-url='.*/download.handbrake.fr/.*'
would skip any non-matching URLs.

Build dependencies have been lightened. wget and curl are no longer
required. TODO: GTK packaging should also be able to remove those deps.

8 years agosync: fix CC burn-in
John Stebbins [Wed, 25 May 2016 19:01:22 +0000 (13:01 -0600)]
sync: fix CC burn-in

It was dropping subtitles because the "end of CC" marker buffer can have
the same time as the next valid CC which triggered the subtitle overlap
dropping code.

8 years agobd: log playlist clips at log level 2
John Stebbins [Wed, 18 May 2016 23:01:18 +0000 (17:01 -0600)]
bd: log playlist clips at log level 2

8 years agoencx265: simplify chapter mark handling
John Stebbins [Wed, 25 May 2016 15:40:34 +0000 (09:40 -0600)]
encx265: simplify chapter mark handling

Use hb_chapter_enqueue/dequeue

8 years agoMacGui: copy the HBChapter index property when making a instance copy.
Damiano Galassi [Wed, 25 May 2016 08:23:11 +0000 (10:23 +0200)]
MacGui: copy the HBChapter index property when making a instance copy.

8 years agoMacGui: make a submenu for each preset folder in the Presets menu.
Damiano Galassi [Wed, 25 May 2016 08:20:51 +0000 (10:20 +0200)]
MacGui: make a submenu for each preset folder in the Presets menu.

8 years agosync: correct timestamp discontinuities in sync instead of reader (#192)
John Stebbins [Tue, 24 May 2016 21:12:07 +0000 (14:12 -0700)]
sync: correct timestamp discontinuities in sync instead of reader (#192)

* sync: correct timestamp discontinuities in sync instead of reader

This patch passes discontinuity information through the pipeline till it
reaches sync.c.  The timestamps are passed through the pipeline as read
and unmodified to sync.c (instead of attempting to correct
discontinuities in reader).  In sync, when we see a discontinuity,
we know where the next timestamp should be based on the timestamp
and duration of the previous buffer (before the discontinuity). So
we calculate an "SCR" offset based on the timestamp after the
discontinuity and what we calculate it should be.

The old discontinuity handling code was broken due to the following.

The MPEG STD timing model relies heavily on the decoder having an STC
that is phase lock looped to the PCRs in the stream.  When decoding a
broadcast stream, the decoder can count on the time measure between PCRs
using the STC to match to a high degree of accuracy.
I.e. STC - lastSTC  == PCR - lastPCR.  When a discontinuity occurs, the
decoder calculates a new PCR offset = PCR - STC.  I.e. the offset is the
new PCR value minus what it would have been if there had been no
discontinuity.

The above does not work without a reliable STC, which we do not have.
We have been attempting to approximate one by avereraging the duration
of received packets and extrapolating an "STC" based on the last PTS and
the average packet duration.  But this is highly variable and
unreliable.

* decavcodec: fix data type of next_pts

It needs to be double so that partial ticks are not lost

* deccc608sub: clarify comment

* sync: allow queueing more audio

Audio is small, and there is often a significant amount of audio in the
stream before the first video frame.

* sync: improve handling of damaged streams

When data is missing, the audio decoder was extrapolating timestamps
from the last pts before the error caused by the missing data which
caused sync issues.

Also, missing data can cause the video decoder to output a frame out of
order with the wrong scr sequence.  Drop such frames.

8 years agoAdd ability to set C++ standard (#195)
John Stebbins [Tue, 24 May 2016 21:10:31 +0000 (14:10 -0700)]
Add ability to set C++ standard (#195)

* build: add ability to set c++ standard

* fdk-aac: Fix building with g++ 6, set c++98 standard

8 years agoLinGui: fix audio and subtitle descriptions in queue
John Stebbins [Tue, 24 May 2016 21:04:56 +0000 (15:04 -0600)]
LinGui: fix audio and subtitle descriptions in queue

... When "Add Multiple" is used.

8 years agobuild: Increase max logical CPU cores to 64.
Bradley Sepos [Tue, 24 May 2016 20:58:32 +0000 (16:58 -0400)]
build: Increase max logical CPU cores to 64.

8 years agomuxcommon: fix check_realloc_output
John Stebbins [Tue, 24 May 2016 20:08:24 +0000 (14:08 -0600)]
muxcommon: fix check_realloc_output

brainfart!

8 years agobuild: Update regex in configure.py to fix buggy Python versions.
Bradley Sepos [Tue, 24 May 2016 13:51:27 +0000 (09:51 -0400)]
build: Update regex in configure.py to fix buggy Python versions.

8 years agoMacGui: use the right constant quality label in the video tab, and split HBVideo...
Damiano Galassi [Tue, 24 May 2016 09:15:21 +0000 (11:15 +0200)]
MacGui: use the right constant quality label in the video tab, and split HBVideo KVO dependecies.

8 years agoMacGui: split HBPicture KVO dependencies.
Damiano Galassi [Tue, 24 May 2016 08:51:26 +0000 (10:51 +0200)]
MacGui: split HBPicture KVO dependencies.

8 years agoMacGui: show the encode progress when paused too.
Damiano Galassi [Tue, 24 May 2016 08:46:30 +0000 (10:46 +0200)]
MacGui: show the encode progress when paused too.

8 years agosync: fill queues completely
John Stebbins [Thu, 19 May 2016 19:45:39 +0000 (13:45 -0600)]
sync: fill queues completely

essentially an off-by-one error.  OutputBuffer had to wait for one more
buffer before any output was performed after the queue should have
already been filled to it's minimum levels.

8 years agostream: create default chapter names for empty chapter titles
John Stebbins [Fri, 20 May 2016 14:41:20 +0000 (08:41 -0600)]
stream: create default chapter names for empty chapter titles

8 years agosync: silence compiler warning
John Stebbins [Fri, 20 May 2016 14:40:52 +0000 (08:40 -0600)]
sync: silence compiler warning

8 years agoLinGui: save backup of presets whenever the version changes
John Stebbins [Thu, 19 May 2016 22:39:48 +0000 (16:39 -0600)]
LinGui: save backup of presets whenever the version changes

... and not only when the version increases. This ensures that presets
from a newer version are not lost when temporarily reverting to an older
version.

8 years agosync: detect and drop 0 duration initial video frame
John Stebbins [Thu, 19 May 2016 19:42:26 +0000 (13:42 -0600)]
sync: detect and drop 0 duration initial video frame

8 years agocli: fix application of subtitle flags when scan enabled
John Stebbins [Thu, 19 May 2016 18:53:16 +0000 (12:53 -0600)]
cli: fix application of subtitle flags when scan enabled

forced, default, and burned flags were getting assigned to the wrong
output tracks.

8 years agoMacGui: fix HBAVPlayer loaded state.
Damiano Galassi [Thu, 19 May 2016 12:23:43 +0000 (14:23 +0200)]
MacGui: fix HBAVPlayer loaded state.

8 years agoMacGui: fallback to QTKit if a preview is not playable with AVFoundation.
Damiano Galassi [Thu, 19 May 2016 11:44:52 +0000 (13:44 +0200)]
MacGui: fallback to QTKit if a preview is not playable with AVFoundation.

8 years agowork: add log to track work object shutdown
John Stebbins [Wed, 18 May 2016 16:35:25 +0000 (10:35 -0600)]
work: add log to track work object shutdown

8 years agowork: add comments
John Stebbins [Wed, 18 May 2016 16:35:13 +0000 (10:35 -0600)]
work: add comments

8 years agosync: increse min video queue depth for deeper dejittering
John Stebbins [Wed, 18 May 2016 16:28:52 +0000 (10:28 -0600)]
sync: increse min video queue depth for deeper dejittering

8 years agosync: fix potential dropped chapter marks
John Stebbins [Wed, 18 May 2016 16:25:42 +0000 (10:25 -0600)]
sync: fix potential dropped chapter marks

8 years agowork: make video decoder input fifo smaller
John Stebbins [Wed, 18 May 2016 15:51:50 +0000 (09:51 -0600)]
work: make video decoder input fifo smaller

This prevents audio from getting so far ahead of video which improves
sync's ability to fix discontinuities

8 years agosync: improve code readability
John Stebbins [Wed, 18 May 2016 15:46:20 +0000 (09:46 -0600)]
sync: improve code readability

8 years agowork: don't allocate fifos that are not needed for indepth_scan
John Stebbins [Wed, 18 May 2016 15:31:05 +0000 (09:31 -0600)]
work: don't allocate fifos that are not needed for indepth_scan

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