I am trying to work with these two function for a UDP connection. What
happens is when I give the UDP file name, there is a lag of about 20 to 30
seconds then plays the video, but it remains behind the actual video from
then on.

Here is one of the calls:
if(av_open_input_file(&mFormatContext,av_filename.toAscii().constData(),NULL,0,NULL)
== 0)

Here is the other:
find_stream_result = av_find_stream_info(mFormatContext);

I think the problem is that I need to be setting up the InputFormat and
FormatParameters (where they are both currently set to NULL), but I don't
know how to do that.
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to