[Ffmpeg-devel] unknown format of mpeg4 stream

Thijs Vermeir thijsvermeir
Tue Oct 3 22:56:56 CEST 2006


On 3-okt-06, at 18:17, Erik Slagter wrote:

> Michael Niedermayer wrote:
>>>
>>> Is this file not behaving as a normal m4v stream ?
>>> Or where can a patch be applied that this file would be  
>>> recognized by ffmpeg?
>>
>>
>> AVInputFormat m4v_demuxer = {
>>     "m4v",
>>     "raw MPEG4 video format",
>>     0,
>>     NULL /*mpegvideo_probe*/,     <------------- implement this
>>     video_read_header,
>>     raw_read_partial_packet,
>>     raw_read_close,
>>     .extensions = "m4v", //FIXME remove after writing mpeg4_probe
>>     .value = CODEC_ID_MPEG4,
>> };

Thanks,
will look at this tomorrow.

>
> Or less desirable but also way less effort ;-): name your file
> mpeg4_dump.m4v instead of mp4. "mp4" is the commonly used extension  
> for
> mp4 containers, which is a completely different thing.

This file is just a dump of a stream, so renaming the file is no option.






More information about the ffmpeg-devel mailing list