Hi,
Mahmoud M'HIRI wrote:
> I'm wondering were to start to record from received UDP packets (RTP), is
> ffmpeg enough to do the task or I need to use some routines from live555?
What do you mean with "record from received UDP packets"? If what you want
is a dump of a network stream, you must use tcpdump.
If, instead, you want to receive audio and video from RTP and to mux them in
an avi, mpeg, or mp4 file (add your favourite container format here), then
you can use
ffmpeg -i <file.sdp> -vcodec copy -acodec copy out.avi
(or out.avi, or out.mp4, or ...).
<file.sdp> is the SDP file describing the RTP session (it is generated by
the server which is streaming RTP).
If you want to know how to do this in your own program using libavformat,
just open the sdp file by using av_open_input_file(), as usual.
Luca
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user