Hey all,

I have problems with mp4 files with encoded AAC audio stream. If I use av_probe_input_buffer with av_open_input_stream the AAC stream wont get recognized correctly; an av_dump_format shows:

Duration: 00:01:41.98, start: 0.000000, bitrate: 1326 kb/s
Stream #0.0(eng): Video: mpeg4, yuv420p, 640x360 [PAR 1:1 DAR 16:9], 1207 kb/s, 25 fps, 25 tbr, 90k tbn, 25 tbc
Metadata:
creation_time : 2011-08-09 09:32:18
Stream #0.1(eng): Audio: aac, stereo, s16, 117 kb/s

as you can se the sample rate is missing; my code works for other formats/codecs. Most surprising is, that if I use the simple av_open_input_file the file playes fine.

What does av_open_input_file better than av_open_input_stream?

Thanks,
Christoph

PS: the problem remains with newer versions of libav libraries
_______________________________________________
Libav-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/libav-user

Reply via email to