<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-15">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hey all,<br>
<br>
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:<br>
<br>
<meta name="qrichtext" content="1">
Duration: 00:01:41.98, start: 0.000000, bitrate: 1326 kb/s
<br>
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
<br>
Metadata:
<br>
creation_time : 2011-08-09 09:32:18
<br>
Stream #0.1(eng): Audio: aac, stereo, s16, 117 kb/s<br>
<br>
as you can se the sample rate is missing; my code works for other
formats/codecs.<br>
Most surprising is, that if I use the simple av_open_input_file the
file playes fine.<br>
<br>
What does av_open_input_file better than av_open_input_stream?
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-15">
<style type="text/css">
p, li { white-space: pre-wrap; }
</style><br>
<br>
Thanks,<br>
Christoph<br>
<br>
PS: the problem remains with newer versions of libav libraries<br>
</body>
</html>