Hi Ronald, i have to use own RTP stack to receive data from network and use libavcodec API to decode data. Just for knowledge sake: if i will use libavformat/rtpdec_mpeg4.c then do i need to open codec and call avcodec_decode_video API of libavcodec for decoding data or ffmpeg itslelf will do the trick?
Thanks, UK On 8/13/10, Ronald S. Bultje <[email protected]> wrote: > Hi, > > On Wed, Aug 11, 2010 at 11:43 PM, Umakant Goyal <[email protected]> > wrote: >> Thanks, i have also tried this once. but it did not work for me. >> Please see the code below that i have to put AVCodecContext->extradata. > [..] > > Without having looked, the more general question is: why aren't you > using libavformat/rtpdec_mpeg4.c? I.e. why don't you let ffmpeg > receive the RTP data from your camera? That way, it's all done > internally and it'll be much easier for you. > > Ronald > _______________________________________________ > 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
