Hi All, I've got a digital video camera that runs Linux. The uP has a built in (hardware) MPEG-4 codec. There is an application that reads the MPEG-4 video stream and uses a modified version of "Libavformat API example" to generate a playable (in ffplay, or mplayer) AVI file.
I've been asked to modify this application to produce a file that contains just the MPEG-4 video stream data. I.e. the file will contain just I and P frames, in sequence IPPPPPPPPPIPPPPPPPPPIPPPPPPPPPPP. I've done this by simply opening a stream with fopen and doing fwrite's of the video data. My question is, is it possible for libav to use this file at all? Is there enough information in the frames themselves, for any decoder to read them? I've tried using ffplay and mplayer to play the resulting file, with no success. At best I get a window full of random coloured blocks, and lots of "AC EOB marker is absent pos=68". If it is possible to decode, can anyone shed some light on how, in fact what options to pass to mplayer? Any hints appreciated. Regards, James. _______________________________________________ libav-user mailing list [email protected] https://lists.mplayerhq.hu/mailman/listinfo/libav-user
