Warning: picture block before sequence header block

In general using smpeg-0.4.3 I have no problems to play the mpeg videos
but I can’t play some specific mpeg files (.mpg). A black box appears and
the application blocks. The stdout files is continiously writting the
warning: "picture block before sequence header block."
Any help?
Thanks In advance

Leire Maruri

In general using smpeg-0.4.3 I have no problems to play the mpeg videos
but I can’t play some specific mpeg files (.mpg). A black box appears and
the application blocks. The stdout files is continiously writting the
warning: “picture block before sequence header block.”

  1. Get the latest smpeg from icculus.org: http://icculus.org/smpeg/
  2. If that doesn’t fix it, please send me the SMALLEST mpeg file that
    causes this, and I will see what I can do to make it work.

–ryan.

Hello!

“picture block before sequence header block.”

If this really is the case (*), this behaviour is just fine.
The decoder can’t decode without some information which are only
available from the sequence header (framerate, picture size, …)
You should probably blame your MPEG video source.

Ciao,
Eike

(*) You can check that yourself. If the stream contains the code
00000100 (hex) before 000001b3 (hex), the decoder will have problems
to decode the first pictures.