I'm trying to add subtitles to my movie clip with dvdauthor::spumux but I can't get it work properly because video players (totem, kino, mplayer) doesn't even recognize the clip after trying to add subtitles with spumux. Before trying to add subtitles the clip works fine with video players. What's wrong? Thanks for any help!
The command I use is spumux -s0 subtitle.xml < VCD.mpg > subtitled.mpg and the result is:
DVDAuthor::spumux, version 0.6.10.
Build options: gnugetopt magick iconv freetype
Send bugs to <dvdauthor-users@lists.sourceforge.net>
INFO: Locale=en_IE@euro
INFO: Converting filenames to ISO-8859-15
INFO: Detected subtitle file format: microdvd
INFO: Opened iconv descriptor. *UTF-8* *ISO8859-1*
INFO: Read 323 subtitles
INFO: Unicode font: 255 glyphs.
WARN: Incorrect pack header
INFO: Skipped 2310 bytes of garbage
WARN: Incorrect pack header
INFO: Skipped 2310 bytes of garbage
WARN: Incorrect pack header
.... (more and more of these WARN and INFO messages) ...
WARN: Incorrect pack header
WARN: Read 0, expected 1
INFO: 0 subtitles added, 0 subtitles skipped, stream: 32, offset: -0.00
Statistics:
- Processed 323 subtitles.
- The longest display line had 16 characters.
- The maximum number of displayed lines was 2.
- The normal display height of the font Vera.ttf was 23.
- The bottom display height of the font Vera.ttf was 30.
- The biggest subtitle box had 0 bytes.
I'm no spumux expert but I had the same problem and seemed to be because of non-standard MPEG streams. Spumux seems to not like MPEGs that don't adhere to a standard such as DVD, SVCD or VCD. You might also try adding a "-m vcd" to the command line to narrow the error posibilities. Still, I haven't got it to work fully but I got rid of that error message :P