Go to file
Panagiotis H.M. Issaris 795d9594cf applehttp: Fix seeking in streams not starting at DTS=0
The Apple HTTP Live Streaming demuxer's implementation of
seeking searches for the MPEG TS segment which contains the
requested timestamp.  In its current implementation it assumes
that the first segment will start from 0.

But, MPEG TS streams do not necessarily start with timestamp
(near) 0, causing seeking to fail for those streams.

This also occurs when using live streaming of HTTP Live Streams.
In this case sliding playlists may be used, which means that in
that case only the last x encoded segments are stored, the earlier
segments get deleted from disk and removed from the playlist.
Because of this, when starting playback of a stream in the middle
of such a broadcast, the initial segment fetched after parsing
the m3u8 playlist will not start from timestamp (near) 0, causing
(the admittedly limited live) seeking to fail.

This patch changes this demuxers seeking implementation to use
the initial DTS as an offset for searching the segments containing
the requested timestamp.

Signed-off-by: Martin Storsjö <martin@martin.st>
2011-11-18 11:33:44 +02:00
doc avutil: Add av_timegm as a public function 2011-11-16 11:22:41 +02:00
libavcodec vp5: Fix illegal read. 2011-11-17 11:58:49 -08:00
libavdevice pulse: compute frame_duration once and fix it 2011-11-14 16:16:41 +01:00
libavfilter libavfilter: reindent. 2011-11-05 07:01:39 -07:00
libavformat applehttp: Fix seeking in streams not starting at DTS=0 2011-11-18 11:33:44 +02:00
libavutil avutil: Add av_timegm as a public function 2011-11-16 11:22:41 +02:00
libpostproc postprocess.c: filter name needs to be double 0 terminated 2011-08-26 20:28:54 +02:00
libswscale swscale: handle unaligned buffers in yuv2plane1 2011-11-13 08:27:20 +01:00
presets presets: spelling error in libvpx 1080p50_60 2011-10-22 00:28:56 +02:00
tests Replace vendor string in Ogg and FLAC muxers. 2011-11-02 10:43:39 +01:00
tools tools/pktdumper: update to recent avformat api 2011-10-28 19:08:38 +02:00
.gitignore Make a copy of ffmpeg under a new name -- avconv. 2011-08-12 13:27:30 +02:00
avconv.c avconv: remove some codec-specific hacks 2011-11-10 11:55:58 +01:00
avplay.c avplay: reset rdft when closing stream. 2011-11-08 10:43:57 -05:00
avprobe.c Call avformat_network_init/deinit in the programs 2011-11-06 18:31:39 +02:00
avserver.c Call avformat_network_init/deinit in the programs 2011-11-06 18:31:39 +02:00
Changelog hwaccel: OS X Video Decoder Acceleration (VDA) support. 2011-11-14 16:07:32 +01:00
cmdutils_common_opts.h avtools: add -v as alias for -loglevel 2011-10-09 16:53:06 +01:00
cmdutils.c cmdutils: Rename read_file to cmdutils_read_file 2011-10-31 16:29:29 +02:00
cmdutils.h cmdutils: Rename read_file to cmdutils_read_file 2011-10-31 16:29:29 +02:00
common.mak build: remove unnecessary FFLDFLAGS variable 2011-07-11 11:39:04 +01:00
configure hwaccel: OS X Video Decoder Acceleration (VDA) support. 2011-11-14 16:07:32 +01:00
COPYING.GPLv2 Rename COPYING.GPL --> COPYING.GPLv2 and COPYING.LGPL --> COPYING.LGPLv2.1. 2009-06-05 09:51:31 +00:00
COPYING.GPLv3 Add configure option to upgrade (L)GPL to version 3. 2009-06-05 11:04:03 +00:00
COPYING.LGPLv2.1 Rename COPYING.GPL --> COPYING.GPLv2 and COPYING.LGPL --> COPYING.LGPLv2.1. 2009-06-05 09:51:31 +00:00
COPYING.LGPLv3 Add configure option to upgrade (L)GPL to version 3. 2009-06-05 11:04:03 +00:00
CREDITS partially rename FFmpeg to Libav 2011-03-16 21:54:39 +01:00
Doxyfile doxygen: Move function documentation into the macro generating the function. 2011-07-14 04:09:50 +02:00
ffmpeg.c Call avformat_network_init/deinit in the programs 2011-11-06 18:31:39 +02:00
INSTALL doc: clarify configure features 2011-04-07 02:54:12 +02:00
LICENSE cosmetics: fix dashed line length after 070c5d0 2011-03-28 09:53:40 +02:00
Makefile presets: rename presets directory 2011-10-19 21:20:17 +02:00
README cosmetics: fix dashed line length after 070c5d0 2011-03-28 09:53:40 +02:00
RELEASE Use the contents of RELEASE as version fallback instead of 'UNKNOWN' 2011-06-19 19:54:07 +02:00
subdir.mak build: make examples build normally 2011-07-30 13:42:44 +02:00
version.sh Drop git- prefix from version labels 2011-06-19 19:41:23 +01:00

Libav README
------------

1) Documentation
----------------

* Read the documentation in the doc/ directory.

2) Licensing
------------

* See the LICENSE file.