I am having a problem with an encoder that seems to be mixing up frames in a Transport Stream when using an IBP format. I notice this problem because VLC wouldn't stream the stream to another VLC display correctly (it would only show 1-2 frames per second). i recorded a TS using Tsreader and i am using Elecard to analyze the TS and i notice there is two different ways to step through (or watch) the stream, using the Stream order or the Display order. when i use Stream order the frames are not shown in the correct order, and when i use Display order they are shown correctly.
example of problem:
video frame: 1 2 3 4 5 .... 27 28 29 30
frame type: I P B P B ..... P B P I
stream order: 1 2 3 4 5 ..... 27 28 29 30
display order: 1 3 2 5 4 ..... 28 27 29 30
My question is:
What does VLC use do display a stream, the stream order or the display order?
and
Where in the stream do these numbers come from?
(i imagine the stream order is from the IP packets and the display order is from the video frame, but i don't know)
I am still very new at this but i am getting there.
Thanks for the help!
Joe