gstreamer/gst/isomp4
Thiago Santos 1fd094d96b qtdemux: improve fragment-start tracking
Some buffers can have multiple moov atoms inside and the strategy
of using the gst_adapter_prev_pts timestamp to get the base timestamp
for the media of the fragment would fail as it would reuse the same
base timestamp for all moofs in the buffer instead of accumulating
the durations for all of them.

Heres a better explanation of the issue:
qtdemux receives a buffer where PTS(buf) = X
buf -> moofA | moofB | moofC

The problem was that PTS(buf) was used as the base timestamp for
all 3 moofs, causing all buffers to be X based. In this case we want
only moofA to be X based as it is what the PTS on buf means, and the
other moofB and moofC just use the accumulated timestamp from the
previous moofs durations.

To solve this, this patch uses gst_adapter_prev_pts distance
result, this allows qtdemux to calculate if it should use the
resulting pts or just accumulate the samples as it can identify
if the moofs belong to the same upstream buffer or not.

https://bugzilla.gnome.org/show_bug.cgi?id=719783
2013-12-04 10:36:38 -03:00
..
atoms.c g_memmove() is deprecated 2013-11-21 15:30:34 +00:00
atoms.h qtdemux: Merge all the fourcc headers into one 2013-11-20 21:48:03 +11:00
atomsrecovery.c Fix FSF address 2012-11-04 00:07:18 +00:00
atomsrecovery.h Fix FSF address 2012-11-04 00:07:18 +00:00
descriptors.c Fix FSF address 2012-11-04 00:07:18 +00:00
descriptors.h Fix FSF address 2012-11-04 00:07:18 +00:00
fourcc.h qtdemux: Sort fourcc declarations and remove duplicates 2013-11-20 22:08:25 +11:00
gstqtmoovrecover.c Fix FSF address 2012-11-04 00:07:18 +00:00
gstqtmoovrecover.h Fix FSF address 2012-11-04 00:07:18 +00:00
gstqtmux-doc.c Fix FSF address 2012-11-04 00:07:18 +00:00
gstqtmux-doc.h Fix FSF address 2012-11-04 00:07:18 +00:00
gstqtmux.c qtmux: Don't error out if downstream is not seekable for non-fragmented variants 2013-09-25 13:25:34 +02:00
gstqtmux.h qtmux: deprecate dts-method property 2013-03-22 14:14:04 -07:00
gstqtmuxmap.c qtdemux: Merge all the fourcc headers into one 2013-11-20 21:48:03 +11:00
gstqtmuxmap.h Fix FSF address 2012-11-04 00:07:18 +00:00
gstrtpxqtdepay.c qtdemux: Add support for the avc3 sample entry format of the AVC file format 2013-09-04 13:33:22 +02:00
gstrtpxqtdepay.h Fix FSF address 2012-11-04 00:07:18 +00:00
isomp4-plugin.c Don't use setlocale in plugins() 2013-09-01 21:18:38 +01:00
LEGAL quicktime: rename plugin to isomp4 2011-04-30 17:58:02 +01:00
Makefile.am qtdemux: Merge all the fourcc headers into one 2013-11-20 21:48:03 +11:00
properties.c Fix FSF address 2012-11-04 00:07:18 +00:00
properties.h Fix FSF address 2012-11-04 00:07:18 +00:00
qtatomparser.h Fix FSF address 2012-11-04 00:07:18 +00:00
qtdemux.c qtdemux: improve fragment-start tracking 2013-12-04 10:36:38 -03:00
qtdemux.h qtdemux: improve fragment-start tracking 2013-12-04 10:36:38 -03:00
qtdemux.vcproj quicktime: rename plugin to isomp4 2011-04-30 17:58:02 +01:00
qtdemux_dump.c isomp4: Handle mp4s subpicture streams better. 2013-11-21 02:28:27 +11:00
qtdemux_dump.h Fix FSF address 2012-11-04 00:07:18 +00:00
qtdemux_lang.c Fix FSF address 2012-11-04 00:07:18 +00:00
qtdemux_lang.h Fix FSF address 2012-11-04 00:07:18 +00:00
qtdemux_types.c isomp4: Handle mp4s subpicture streams better. 2013-11-21 02:28:27 +11:00
qtdemux_types.h Fix FSF address 2012-11-04 00:07:18 +00:00
qtpalette.h Fix FSF address 2012-11-04 00:07:18 +00:00