Thanks Ronald,

But i have to use only libavcodec library for decoding mpeg4 data.
To Receive the data,i have to use own simple version of RTP Stack.
Now i am wondering where is the problem in my code.
I do not believe there is problem in RTP recv because i am able to
decode H.263 data using libavcodec. So, i am sure there is problem in
codec initliazation.
What do you say?
Please suggest me where i am doing while decoding data?


On 8/16/10, Ronald S. Bultje <[email protected]> wrote:
> Hi,
>
> On Fri, Aug 13, 2010 at 2:25 PM, Umakant Goyal <[email protected]>
> wrote:
>> 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?
>
> If you use ffmpeg.c, it does everything for you. If you use
> libavformat API directly, then you have to open the codec yourself,
> but the settings are all filled out for you in
> AVFormatContext->streams[%d]->codec, where %d is the number of your
> stream (probably 0).
>
> 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

Reply via email to