[Libav-user] How to mux PCM S16LE audio stream onto container

Celsius Tran ctran3333 at gmail.com
Sun May 6 17:23:14 EEST 2018


Hi,

I am looking for information or code snippets on how to encode & mux the
raw PCM audio stream onto the .MOV container.

I am able to encode & mux the raw YUV420 video stream into H264-MPEG4 AVC
format onto the .MOV contain. But I am not able encode & mux the raw PCM
audio stream into PCM S16LE onto the same  .MOV container.

Continuously keep getting AVERROR(EAGAIN) when I call the
"avcodec_send_frame" function for the audio frame, no matter how many times
I retry.

Thanks,
/Ctran
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20180506/6e996d5c/attachment.html>


More information about the Libav-user mailing list