[FFmpeg-devel] Irregular codec

Benjamin Larsson banan
Sat Jun 28 12:11:06 CEST 2008


On Fri, Jun 27, 2008 at 07:58:11PM -0400, Jesse L. Zamora wrote:
> Hello All,
> 
> I've been writing a demuxer and a decoder for the SMV format (SigmaTel 
> Motion Video) for ffmpeg. It begins with a WAV file, then the SMV header 
> afterwards, then an array of jpegs. I was trying to get my demuxer to be 
> able to read the SMV header, but since it's practically in the middle of 
> the file, the buffer is not that big! So I can't read the header through 
> the buffer. How can I somehow read in the middle of the file with the 
> demuxer_probe(AVProbeData *p) function to be able to read the header 
> (especially with demuxer_read_header())?
> 
> Thanks
> 
> Xtreme Kommander

Hi, can you derive that it is a SMV file from the wav header ?

MvH
Benjamin Larsson




More information about the ffmpeg-devel mailing list