regits stiger1...@gmail.com 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
New submission from regits stiger1...@gmail.com:
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_ids error.
type: bug
New submission from regits stiger1...@gmail.com:
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