[Live-devel] Axis IP Camera AAC audio stream

Ross Finlayson finlayson at live555.com
Wed Jul 23 15:28:47 PDT 2008


>I'm trying to use OpenRTSP for grabbing Video and Audio of an Axis IP Camera.
>
>the Video is: "video/MP4V-ES" "a=rtpmap:96 MP4V-ES/90000"
>
>the Audio according to the Camera, is set to "AAC", it can be 
>perfectly played via RealPlayer.

Out of curiosity, have you also tried playing the stream using VLC?


>Audio according to the log: "mode=AAC-hbr;" "a=rtpmap:97 
>mpeg4-generic/8000/1".
>
>
>The problem is... OpenRTSP always exports the Audio stream, but its 
>not always can be parsed/converted. (Video is always fine.)
>
>about 1 out of 5-6 attempts its actually 'works', and then mplayer 
>can play it with few little errors... and mencoder can convert it.


You didn't say so explicitly, but I assume you're using the "-4" or 
"-q" options to "openRTSP".

Unfortunately, I don't have any good answers for you here. 
Outputting to a MPEG-4-format or ".mov"-format file is often flaky. 
Part of the reason for this is that this file format happens to be 
ill-suited for recording incoming network audio/video.  But it's also 
quite likely that there are remaining bugs in our code 
("QuickTimeFileSink"), but I don't have the resources right now to 
debug this.

If you are able, I suggest that you dive into the (open source) code 
for VLC or MPlayer, to try to figure out exactly why it is not able 
to play the audio from one of the buggy recorded files, and why it 
*is* able to play the audio from one of the good recorded files. 
This may tell you what - if anything - needs to be changed in our 
code to make it more reliable.
-- 

Ross Finlayson
Live Networks, Inc.
http://www.live555.com/


More information about the live-devel mailing list