Hi All,

I am sorry for the previous incomplete post.
I want to encode the YUV video data in FLV1 format and put it in a flv
container. I made the necessary changes to the "output_example.c" to output
the flv video file. The following are the changes I made.
1. The output file name with *.flv extension. So no problem with
"guess_format()".
2. Audio & video Codec ID:
          fmt->audio_codec = CODEC_ID_NONE;
          fmt->video_codec = CODEC_ID_FLV1;
3. Codec Tag:   c->codec_tag = MKTAG('F', 'L', 'V', '1');

After the above changes, the code is running normally (I mean no crashing).
All the functions are returning proper return value. It also generating the
output file. But I am not able to play using VLC media player. The codec id
is undefined.

Do i need to change any other parameters? someone pls help me to solve this
problem.

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

Reply via email to