[FFmpeg-user] the problem: pcm data reduce after encoding and decoding using FFMPEG

xutm xutom2006 at gmail.com
Sat Jun 9 15:33:29 CEST 2012

Hi Hoyos,

    Thank u for ur reply. But i don`t use ffmpeg command line, i use
libavcodec instead. I use avcodec_encode_audio and avcodec_decode_audio3 to
encode and decode PCM data

2012/6/8 Carl Eugen Hoyos <cehoyos at ag.or.at>

> xutm <xutom2006 <at> gmail.com> writes:
> >     I capture audio raw PCM data with directx from microphone, write
> these
> > PCM data into 1.pcm, at the same time encode these datas using FFMPEG to
> > mp3 format and write into 2.mp3 files. Then i use FFMPEG to decode 2.mp3
> > file into raw PCM and again write into 3.pcm. the problem occurs: the
> size
> > of  file 3.pcm is far smaller than 1.pcm
> FFmpeg command line and complete, uncut console output missing.
> Carl Eugen
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user

More information about the ffmpeg-user mailing list