Mahmoud M'HIRI wrote:
> 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).
The streams must be described by an SDP file, that you can pass to
av_open_input_file(). Every RTP client needs an SDP description to receive
the RTP streams, and the server is in charge of generating it.
Luca
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user