[FFmpeg-devel] [PATCH] rmdec.c: support for multirate files
Ronald S. Bultje
Tue Dec 30 14:42:58 CET 2008
see $attached. Seeking probably doesn't work and packets are not
retrieved interleaved, I might do that later. Simple playback of
single streams works fine now.
As Reimar said, multirate .rm files are RM files with a single header
and multiple DATA blocks, one for each stream embedded in it. This
patch adds code to skip headers of new DATA chunks (it contains size
of the chunk, offset of next chunk, some flags and some more), and
adds code to sync to headers of multirate packets also: not
0x0000<size:16> and then 8 more bytes for timestamp/flags/stream-id,
but 0x0001<size:16> and then 9 more bytes with the same information, I
don't know what the last byte is.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
More information about the ffmpeg-devel