On 31/08/13 09:44, Francois PEDEBOSCQ Yahoo wrote: > Dear All, > > I am trying to extract the audio track of a video file and to save it > into a file. The audio codec of the video I am testing is AC3 but my > code should work with any audio codec. WIth the code below, I get an > audio file but it's unreadable.
Libav9 uses planar audio as intermediate format, you should either "encode" to the right codec or set the right planar audio codec_id in the container format. lu _______________________________________________ libav-api mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-api
