David Norgren <david.norgren@...> writes:

> My current code opens an audio file, decodes the 
> content and converts it into the MP4 container

This sentence sounds strange since you cannot 
convert audio into a container...

> audioFrameConverted->format = audioCodecContext->sample_fmt;

I wonder if this is correct:
Do you actually convert from the audio format 
that the decoder delivers (and that you cannot 
know before you have opened the decoder) into 
the format that the encoder expects (which, 
again, is only known after you opened the 
encoder)?

Carl Eugen

_______________________________________________
Libav-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/libav-user

Reply via email to