Thanks for the reply.

In fact, I'm interested in the second point: Receiving A/V from RTP and mux
them to a video file (in my own program). But the problem is that
av_open_input_file() receives only a file, and I'm receiving the streams
from servers on specific ports: eg. 7020 for video (7021 for RTCP) and 7022
for audio (7023 for RTCP). So I don't know if FFmpeg is able to listen to a
port and build the stream (muxing is currently not a priority).

Thanks again


-- 
Mahmoud M'HIRI
[EMAIL PROTECTED]
Phone: Under request




On 2/26/08, Luca Abeni <[EMAIL PROTECTED]> wrote:
>
> 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
>
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to