[Ffmpeg-devel] anyone who successful job which encode h.264 using ffmpeg ?

Chang Min Jeon jcm1981
Tue Jun 28 10:50:10 CEST 2005


hm. I changed from avcodec_find_encoder(CODEC_ID_MPEG1VIDEO) to 
CODEC_ID_H264 in apiexample.c 
 I commeted that add sequence end code to have a real mpeg file
// outbuf[0] = 0x00;
// outbuf[1] = 0x00;
// outbuf[2] = 0x01;
// outbuf[3] = 0xb7;
// fwrite(outbuf, 1, 4, f);
 compile and execute.
 and I played test.mpg (encoded h.264) using vlc PLAYER (0.8.2)
 but it can't play movie.
 I'm wondering that fourcc is setting.
 How can i set fourcc for h.264?




More information about the ffmpeg-devel mailing list