[Ffmpeg-devel] unknown format of mpeg4 stream

Michael Niedermayer michaelni
Tue Oct 3 17:28:07 CEST 2006


Hi

On Tue, Oct 03, 2006 at 02:11:39PM +0000, thijsvermeir at telenet.be wrote:
> >
> >Hi
> >
> >
> >Hummm, first, file is by misstake recognized as mp3.
> >[mp3 @ 0x8501060]Could not find codec parameters (Audio: mp1, 160 kb/s)
> >
> >After, you can still force input format with -f.
> >For that file, ffmpeg -f m4v -i mpeg4_dump.mp4 will force raw mpeg4 video.
> >
> >The file is playable with no artefacts it seems, decoder spits errors
> >though.
> >
> 
> Thanks for the quick reply,
> 
> 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,
};

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

In the past you could go to a library and read, borrow or copy any book
Today you'd get arrested for mere telling someone where the library is




More information about the ffmpeg-devel mailing list