[Libav-user] downmixing 5.1 to stereo

2013-09-10 Thread luigi
with av_decode_audio4 and after resampling sends it to an output buffer. Can someone have a look at this code and spot where the mistake is? Luigi int32_t LG_ffmpeg_Audio_decoder::ResampleAudio( AVFrame *dec_fr ) { int64_t src_ch_layout = dec_fr-channel_layout, dst_ch_layout = AV_CH_LAYOUT_STEREO

[Libav-user] decoding h264

2013-09-09 Thread luigi
in the previous message. By the way, avcodec_decode_video2 decodes h264 nal units without problems. The source file was a video clip downloaded from Youtube, the container was .mp4, video h264, audio mp4a. Bye Luigi ___ Libav-user mailing list Libav

[Libav-user] decoding h264

2013-09-06 Thread luigi
, but why doesn't libav manage to decode the chunks. In addition, I don't seem to get any error message. Is there a way to solve all this without having to study all the stuff about h264? Luigi ___ Libav-user mailing list Libav-user@ffmpeg.org http://ffmpeg.org