Thanks... now its working fine. On Sat, Oct 10, 2009 at 8:47 AM, avcoder <[email protected]> wrote:
> On Fri, Oct 9, 2009 at 6:45 PM, srini vasan <[email protected]> wrote: > > > 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'); > > > > > 3 is wrong > please set c->codec_tag = 2; > -- > > ----------------------------------------------------------------------------------------- > My key fingerprint: d1:03:f5:32:26:ff:d7:3c:e4:42:e3:51:ec:92:78:b2 > Inspired by http://www.nextplayer.net. Your potential. Our passion. > _______________________________________________ > libav-user mailing list > [email protected] > https://lists.mplayerhq.hu/mailman/listinfo/libav-user > _______________________________________________ libav-user mailing list [email protected] https://lists.mplayerhq.hu/mailman/listinfo/libav-user
