I came across an MPG file that is recognized as a RIFF AVI
by the utility 'file'. What I found wierd is that xine plays
this file nicely but not the srt subtitle that came with this file.
Then I found vcdimager-0.7.14 and it turned out to be a CDXA RIFF.
With the cdxa2mpeg utility I extracted the mpeg stream out of this file
and now the subtitle is displayed, too. Even when I repackage
this MPG into a real SVCD format, put the srt file on the
ISO9660 track, burn it into a CD, xine is able to play them.
But I don't understand the original problem. If I guess right,
two demuxers are needed to play this MPG. The extracted file is
more than 10MB less than the original, so it's not only a header I guess.
I may be wrong, the binary file produced by vcdimager is larger
about the same amount. How comes that xine does not display the
subtitle with the original? How this CDXA RIFF fits into the
master/slave demuxer architecture of xine?
What did Hussein say about his knife?
One in Bush worth two in the hand.