Thanks Mike

I have checked the Dranger tutorials and the other sources you 
mentioned, these indicate the use of AVPacket's which hold the DTS of 
the incoming frame. Unfortunately I do not have the luxury of handling 
the data this way. All I have is an array of bytes for each frame.

I decode and display them in the order they are received unless there 
are B frames in which case I sort them according to the PTS which gives 
the correct sequence.
I have no idea whether the Server is sending frames with the DTS field 
assigned to a value but I am thinking that if I can use an AVParser to 
determine the DTS value from the incoming byte array I can use the 
methods described in the Dranger tutorial to reposition the frames 
correctly (thanks to Ronald for the suggestion).

If it is any help, I can provide code snippets of what I am trying to 
accomplish.


Thanks,
Mark.



_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to