[FFmpeg-devel] [PATCH] RTMP seek support

Michael Niedermayer michaelni
Wed Mar 31 17:08:25 CEST 2010


On Tue, Mar 30, 2010 at 01:24:47PM -0700, Howard Chu wrote:
> Howard Chu wrote:
>> Howard Chu wrote:
>>> Howard Chu wrote:
>>>> This is a first stab at getting seek working on an RTMP stream. 
>>>> Unfortunately,
>>>> it usually fails. Sometimes it works correctly, but most times it just 
>>>> hangs.
>>>> Apparently there's something getting out of sync, but I don't have any 
>>>> idea
>>>> where. Any help would be appreciated.
>>>>
>>>> I've been testing with this stream:
>>>>
>>>> gdb --args ./ffplay_g
>>>> "rtmp://fms.scctv.net/annenberg//vod/world_of_chemistry_01
>>>> swfurl=http://www.learner.org/vod/swfs/player-licensed.swf
>>>> pageurl=http://www.learner.org/vod/vod_window.html?pid=793"
>>>
>>> Thanks to a tip from uau this is now working.
>>
>> Some confusion over whether to implement read_seek or read_seek2.
>> av_seek_frame() already rescales the timestamp correctly for the stream, 
>> so
>> the protocol handler shouldn't be doing that. (But avformat_seek_file 
>> doesn't
>> rescale, so read_seek2 would need to do it.)
>
> Cleaned up some more. Since it looks like the read_seek2 API is still a 
> work in progress I've dropped it from the patch.

please elaborate
its a huge amount of work to port every demuxer to read_seek2().
Thus every that implements the old API means more work for us

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Opposition brings concord. Out of discord comes the fairest harmony.
-- Heraclitus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100331/4e8c8bee/attachment.pgp>



More information about the ffmpeg-devel mailing list