[Libav-user] How to encode video to Flash video?

Mark Ma gbstack08 at gmail.com
Sat Nov 23 11:33:21 CET 2013


Hi everybody,
I tried video_encode_video2() method from following url to encode video 
to mpeg video, it works well.
http://ffmpeg.org/doxygen/trunk/doc_2examples_2decoding__encoding_8c-example.html

But if I replace the codec ID with AV_CODEC_ID_FLV1, the generated 
(converted) file cannot be played by neither Flash Player or web browser?
Is there any code sample to generate flash video?

Any suggestion is appreciated.

Thanks,


More information about the Libav-user mailing list