I'm following the output-example.c example for encoding video and audio.

I've got video encoding working well.

However I have problems with encoding audio.

My audio source gives me audio chunks with the size 7680 bytes. (48000
(sample rate) * 2 (channels) * 2 (bytes/sample)) / 25 (fps) / = 7680

However the frame size i get from my encoding AVCodecContext is 1152.

What do I need to do to get proper frame_size?
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to