[Libav-user] Encoding audio
Gonzalo Garramuno
ggarra13 at gmail.com
Sun Sep 23 22:59:24 CEST 2012
I am trying to transcode audio from one file to another using my own C++
code.
I have the audio divided into frames and want to save each frame of
audio into a mov file.
After looking at doc/examples/muxing.c, I still have some questions.
When opening the stream, I need to set a c->bit_rate, but I have no idea
what it means.
Then the stream returns a c->frame_size which is smaller than my audio
frames.
I am currently reseting c->frame_size = frame->nb_samples, but not sure
if this is correct.
More information about the Libav-user
mailing list