Menu

BitStream Not Compliant

2011-01-25
2013-06-05
  • Michael Carter

    Michael Carter - 2011-01-25

    I'm trying to get one of our DVD's into iTunes so we can watch on our AppleTV and iPhone.  

    I've got the video all created and working great, adding subtitles has become my problem:

    $ MP4Box -add S01D01_Hetalia.vobsubout:fmt=srt:lang=eng S01D01_Hetalia.mp4
    Failed to open MPEG file S01D01_Hetalia.vobsubout
    Error importing S01D01_Hetalia.vobsubout:fmt=srt:lang=eng: BitStream Not Compliant

    ls -l S01D01_Hetalia*
    -rw-r-r- 1 mcarter family       4656 Jan 24 16:47 S01D01_Hetalia.chapter
    -rw-r-r- 1 mcarter family 1974496152 Jan 25 00:30 S01D01_Hetalia.mp4
    -rw-r-r- 1 mcarter family 1974496152 Jan 25 09:08 S01D01_Hetalia.mp4.bk
    -rw-r-r- 1 mcarter family 7253050664 Jan 24 16:51 S01D01_Hetalia.mpg
    -rw-r-r- 1 mcarter family      25922 Jan 24 20:02 S01D01_Hetalia.vobsubout.idx
    -rw-r-r- 1 mcarter family    2131968 Jan 24 20:02 S01D01_Hetalia.vobsubout.sub

    What am I missing here?   I pulled the commands from ogmrip which works (except for video/audio being out of sync)

     
  • Romain Bouqueau

    Romain Bouqueau - 2011-01-25

    Hi,

    I see two issues:
    1) your file extension shouldn't begin with ".vobxxx" as GPAC make a guess using the file extension and ".vob" is used for MPEG Program Stream (and then it fails with "Failed to open MPEG file S01D01_Hetalia.vobsubout").
    2) in case your subtitles are vobsub, you should set "fmt=vobsub" instead of "fmt=srt". This argument is optional: you can set the extension to ".idx" if you want GPAC to autodetect vobsub.

    Romain

     
MongoDB Logo MongoDB