Jarek M wrote:
> Howdy. I'm trying to write a small program that will capture mp3 stream from 
> live555, sent via rtsp (or http but from another server).
> I understand live555 provides a small receiver; however I noticed avcodec 
> handles rtsp and http as well.
> So the question is, does libav provide a function that will read http/rtsp 
> mp3 stream and decode it?

You should be able (in theory) to use the RTSP demuxer to receive 
streams from rtsp:// URLs (just use the URL as a file name, set the 
input format to rtsp, and it should work...).
You can try "ffmpeg -i rtsp://<your url> test.wav" to see if the stream 
is supported by libavformat. If yes, then receiving from it is like 
reading from a regular file.


                                Luca
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to