Hi, Thanks, i believe there is no need to call av_open_input_file API for this purpose? secondly, is there need to call any API before av_guess_format API because it returns NULL evry time?
Thanks On Wed, Jul 28, 2010 at 11:21 PM, Luca Abeni <[email protected]> wrote: > On 28/07/10 17:36, Umakant Goyal wrote: > >> Hi, Thanks for the reply. i have following points: >> 1. who will open the socket to send data libavformat library or my >> application? >> > The socket is opened with url_fopen(), if the url is "rtp://..." > > > 2. where i will configure which RTP payload i need to add on encoded data? >> > This is automatically configured by libavormat, when you call > av_write_header(), based on the codec type. > > > 3. where i will configue psyload type and timestamp? >> > Again, the payload type is automatically determined by libavformat (based > on the codec_type); regarding the timestamp, you have to set it in the > AVPacket before calling av_interleaved_write_frame() (again, see > output-example.c for more details). > > > 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
