1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

subtitles and dvdauthor::spumux

Discussion in 'Digital video discussion for Linux users' started by sammon, Aug 17, 2006.

  1. sammon

    sammon Member

    Joined:
    Aug 17, 2006
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    11
    Hi!

    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.


    subtitle.xml :

    <subpictures>
    <stream>
    <textsub filename="subtitle.txt" characterset="ISO8859-1" fontsize="20.0" font="Vera.ttf" horizontal-alignment="center" vertical-alignment="bottom" left-margin="60" right-margin="60" top-margin="20" bottom-margin="30" subtitle-fps="25" movie-fps="25" movie-width="352" movie-height="288" />
    </stream>
    </subpictures>
     
  2. creaky

    creaky Moderator Staff Member

    Joined:
    Jan 14, 2005
    Messages:
    27,900
    Likes Received:
    1
    Trophy Points:
    96
    thread teleported to relevant forum
     
  3. jevi

    jevi Member

    Joined:
    Oct 28, 2006
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    11
    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

    Good luck!
     

Share This Page