[Libav-user] Reg ffmpeg sampling issue Please help me
Venkat Rao
battula97 at gmail.com
Wed May 25 08:16:53 CEST 2016
Hi All,
I am facing below error can any one please reply how can I solve this issue
?
more samples than frame size (avcodec_encode_audio2) samples 1024
frame_size 512
nb_samples (1024) != frame_size (512) (avcodec_encode_audio2)
On Tue, May 24, 2016 at 10:59 AM, Venkat Rao <battula97 at gmail.com> wrote:
> Hi ,
>
> This is Venkat, I am new bee working with this open source codec. I need
> help on this libav transcoding.
> I need to develop audio Transcoder which takes input as a audio raw file
> and and will get information externally like parameters: what type of
> codec, bit rate, number of channels etc. and I need to convert this raw
> file to mp3 or wav format.
>
> I am using example code "transcoding.c" file. which convert same codec
> form. I modified this code for taking raw file and converting to mp3, then
> facing issue like "[libmp3lame @ 0x620be0] more samples than frame size
> (avcodec_encode_audio2)".
>
> Please help me on this, help me how can I improve my code to support raw
> input and convert to mp3 format. Thanks :)
>
> Regards,
> Venkatarao.
>
>
--
Regards,
Venkatarao.
Mobile Number: 9739391297.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20160525/43b86263/attachment.html>
More information about the Libav-user
mailing list