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

CJ Ng pmaxv
Sat Sep 17 13:49:09 CEST 2005



"CJ Ng" <pmaxv at gmx.net> wrote in message
news:<20050902164645.416AB76189 at mail.mplayerhq.hu>...
> Hi there,
> 
>             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