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.
_______________________________________________
Libav-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/libav-user

Reply via email to