Bug 1304

Summary: Dvdstyler fails with "dvd info packet is version 1"
Product: Fedora Reporter: Otto J. Makela <om>
Component: dvdstylerAssignee: Stewart Adam <s.adam>
Status: RESOLVED INVALID    
Severity: major    
Priority: P3    
Version: 13   
Hardware: All   
OS: GNU/Linux   
namespace:
Attachments: /mnt/tmp/dvd-tmp/dvdauthor.xml generated by dvdstyler above

Description Otto J. Makela 2010-06-27 00:39:19 CEST
Created attachment 437 [details]
/mnt/tmp/dvd-tmp/dvdauthor.xml generated by dvdstyler above

After installing a fresh Fedora 13 environment, I've started getting the error "dvd info packet is version 1", when trying to create a DVD with movies recorded from TV, the same way I have done now for several years (record TS files with a DreamBox, master those into MPEG files with ProjectX).

This is what dvdstyler tells me in the pop-up:

DVDStyler v1.8.0.3
Linux 2.6.33.5-124.fc13.x86_64 x86_64
FFmpeg: libavformat 52.61.0, libavcodec 52.66.0, libavutil 50.15.0
Prepare
Cleaning temporary directory
Search for transcoded files in cache
Generating menus
Generating menu 1 of 1
Prepare
Create menu mpeg
Multiplexing subtitles (buttons) into mpeg
Executing command: spumux -s 0 "/mnt/tmp/dvd-tmp/menu1-0.mpg_spumux.xml"
DVDAuthor::spumux, version 0.6.14.
Build options: gnugetopt iconv freetype
Send bugs to <dvdauthor-users@lists.sourceforge.net>
INFO: Locale=en_US.utf8
INFO: Converting filenames to UTF-8
STAT: 0:00:00.000
INFO: PNG had 2 colors
INFO: PNG had 2 colors
INFO: PNG had 2 colors
INFO: Pickbuttongroups, success with 1 groups, useimg=1
INFO: Found EOF in .sub file.
INFO: Max_sub_size=4590
INFO: 1 subtitles added, 0 subtitles skipped, stream: 32, offset: 0.50
Statistics:
- Processed 0 subtitles.
- The longest display line had -1 characters.
- The maximum number of displayed lines was 0.
- The normal display height of the font arial.ttf was 0.
- The bottom display height of the font arial.ttf was 0.
- The biggest subtitle box had 4590 bytes.
Generating DVD
Executing command: dvdauthor -o "/mnt/tmp/dvd-out" -x "/mnt/tmp/dvd-tmp/dvdauthor.xml"
DVDAuthor::dvdauthor, version 0.6.18.
Build options: gnugetopt graphicsmagick iconv freetype fribidi
Send bugs to <dvdauthor-users@lists.sourceforge.net>
INFO: Locale=en_US.utf8
INFO: Converting filenames to UTF-8
INFO: dvdauthor creating VTS
WARN: First cell is not marked as a chapter in PGC 0, setting chapter flag
WARN: First cell is not marked as a chapter in PGC 1, setting chapter flag
WARN: First cell is not marked as a chapter in PGC 2, setting chapter flag
STAT: Picking VTS 01
STAT: Processing /mnt/tmp/dvd-tmp/menu1-0.mpg...
ERR: dvd info packet is version 1
Failed

I guess this means dvdauthor is barfing on the file generated by dvdstyler, but why is this happening?

I've posed the same question in dvdstyler's forum, and nobody there's reacted:
https://sourceforge.net/projects/dvdstyler/forums/forum/318795/topic/3752197
Comment 1 Stewart Adam 2010-06-27 01:22:07 CEST
You mentioned that your files are recorded as TS streams. Are you sure the mastered files you are using with DVDStyler are DVD-compliant MPEG-PS files?

Avidemux will verify that saved videos comply to DVD standards when saving as MPEG-PS streams. If you open your mastered files in avidemux and save them as-is (copy video+audio) but select MPEG-PS as the file type, what happens?
Comment 2 Otto J. Makela 2010-06-27 01:47:00 CEST
These are MPEG files of a type (at least with earlier releases of dvdstyler) suitable for using with dvdstyler, created with mplex -f8 (from mjpegtools). File type is "MPEG sequence, v2, program multiplex", and dvdstyler will automatically set the "do not remultiplex/transcode" flag for them.

What I neglected to mention was that this were MPEGs + project file that I had used while my system back in February 2010 was still Fedora 12 -based. Back then this combination worked, now it doesn't. Nor can I master DVDs from newly created MPEG files of the same type.

Avidemux takes about 50 seconds to copy the audio and video streams into a new file, the subtitling stream is lost as avidemux doesn't support it.
Comment 3 Otto J. Makela 2010-06-27 11:00:08 CEST
I created a small test DVD with a 10M video clip, and it fails in exactly the same way: "dvd info packet is version 1". I think dvdauthor is complaining about the menu mpeg dvdstyler created, instead of the video file I have included?

Anyway, here are the two files, you'll probably have to muck around with the paths a bit to get the example working:

http://www.otto.net/~otto/dvdstyler-test/
Comment 4 Otto J. Makela 2010-06-28 16:25:15 CEST
The people at rpmforge/dvdstyler (link above) say that the xml file seems to be correct, but the menu video generated from it using the ffmpeg is wonky and that's why dvdstyler is quitting.

I have on my machine ffmpeg-0.6-0.3.20100429svn.fc13.x86_64 from Fedora 13 -- does this dvdstyler package work using this library?
Comment 5 Stewart Adam 2010-06-28 19:10:57 CEST
I tried generating a with both a local build of dvdstyler 1.8.1 as well as 1.8.0.3 from the repos and both were able to successfully generate the DVD files.

$ rpm -q ffmpeg dvdauthor
ffmpeg-0.6-0.3.20100429svn.fc13.x86_64
dvdauthor-0.6.18-2.fc13.x86_64

Does your system also have that version of dvdauthor?
Comment 6 Otto J. Makela 2010-07-02 22:00:42 CEST
I realized this error was caused by the fact that I had an ancient version of spumux in my personal bin directory, and had really nothing to do with dvdstyler itself. Sorry for the bother, I'm closing this ticket.