Hi all,

I tried to encode a dummy sequence into H.264 using ffmpeg's libavcodec and 
libx264. I adapted my code from the file apiexample.c in libavcodec folder in 
ffmpeg's distribution. In their example, after encoding a MPEG-1 frames, they 
had to write a terminating code (4 bytes) before closing the file. In H.264's 
case, do we need to write such a sequence ending code? Because I tried encoding 
20 frames, but it cannot be played by VLC or Quicktime (not recognized as a 
MPEG-4 format). 
Do correct me if I'm wrong, as I'm a newbie to this video compression field.
Thanks for you guys' help.
Regards,
Son.


      
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to