[Ffmpeg-devel] Encoding n Motion JPEG (MJPEG)

GMane pmaxv
Wed Sep 7 14:53:23 CEST 2005


Hi! I'm a newbie here.

I've been trying to modify the output_example.c to produce MJPEG by 
modifying the following from:
#define STREAM_PIX_FMT PIX_FMT_YUV420P

to

#define STREAM_PIX_FMT PIX_FMT_YUVJ420P

With this, I'm able to produce a file encoded in MJPEG form. However, when I 
try to open the file with mplayer, an error message was produced:


Sequential header error

Could someone please tell me what's happening?


Thanks.

CJ







More information about the ffmpeg-devel mailing list