[issue1568] codec_tag not correct when use stream_copy

2009-12-24 Thread regits
regits added the comment: can you check the audiocodecid in the flv header tag? it's not correct. this is because when do stream copy, codec->codec_tag used icodec->codec_tag. see the codes below:(ffmpeg.c) if (ost->st->stream_copy) { /* if stream_copy is sel

[issue1569] flvenc.c audio_codec_ids error.

2009-11-25 Thread regits
New submission from regits : from flv spec, pcm 8bits are unsigned. so we need to change all "CODEC_ID_PCM_S8" in libavformat/flvenc.c to "CODEC_ID_PCM_U8". -- messages: 8002 priority: normal status: new substatus: new title: flvenc.c audio_codec_

[issue1568] codec_tag not correct when use stream_copy

2009-11-24 Thread regits
New submission from regits : i want to do wav(pcm)->flv, so i used ffmpeg: ./ffmpeg -i 1.wav -acodec copy -f flv 1.flv but i found audio codec_tag in 1.flv not correct. i traced the codes, and i found it use the same codec_tag in wav. ffmpeg.c(2009-11-25, line 1833) 1831 if(!co