On 07/12/2010 05:46 PM, Denis Gottardello wrote:

Hello everybody.

Have you got an example on how to write a simple rtsp audio client using
ffmpeg libraries?
Just open the stream with av_open_input_file() as if it was a regular
file, but use the "rtsp://..." URL as a file name.
Then, use av_find_stream_info() to get information about the media
streams, and allocate and open a codec context for each stream.
You can now read frames with av_read_frame() and decode them (look at
tools/pktdumper.c, libavcodec/api-example.c, ffmpeg.c, and ffplay.c
for more details about the code).


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

Reply via email to