Hi,

After setting "c->codec_tag = 2", it works fine for "fmt->video_codec =
CODEC_ID_FLV1".
For example, if i change the Codec ID to "CODEC_ID_H264", what should be the
value for "c->codec_tag"?
suggest me where i can get full details on this.

Thanks,
Srinivasan.

On Mon, Oct 12, 2009 at 10:15 AM, srini vasan <[email protected]> wrote:

> 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

Reply via email to