FS#22280 - [dvdauthor] breaks devede with 0.7.0

Attached to Project: Arch Linux
Opened by Igor S. Mol Bessa (mol) - Sunday, 02 January 2011, 18:25 GMT
Last edited by Giovanni Scafora (giovanni) - Saturday, 15 January 2011, 12:13 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Giovanni Scafora (giovanni)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
When I upgraded to dvdauth 0.7.0 by pacman, in two days ago, the DeVeDe fail in generating a preview or encoding a dvd to ISO, and reported this: "It seems to be bug of SPUMUX". Then I followed spumux by command line in generanting a preview dvd:


[mol@mol tmp]$ spumux -m dvd -s 0 "/home/mol/Desktop/tmp/previewfile_sub.xml" < "/home/mol/Desktop/tmp/previewfile_01_01.mpg" > "/home/mol/Desktop/tmp/previewfile_01_01.mpg.sub"
DVDAuthor::spumux, version 0.7.0.
Build options: gnugetopt imagemagick iconv freetype fribidi fontconfig
Send bug reports to <dvdauthor-users@lists.sourceforge.net>

INFO: no default video format, must explicitly specify NTSC or PAL
INFO: Opened iconv descriptor. *UTF-8* <= *UTF-8*
INFO: Detected subtitle file format: subviewer
INFO: Read 1187 subtitles
INFO: Adjusted 195 subtitle(s).
ERR: cannot determine default video size and frame rate--no video format specified

-----

At moment, my soluction was recompiled the dvdauthor to version 0.6.18, using the source code in http://sourceforge.net/projects/dvdauthor/files/dvdauthor/0.6.18/. And now it has returned to work.
This task depends upon

Closed by  Giovanni Scafora (giovanni)
Saturday, 15 January 2011, 12:13 GMT
Reason for closing:  Upstream
Comment by Andrea Scarpino (BaSh) - Monday, 03 January 2011, 11:45 GMT
this have to be reported upstream
Comment by Igor S. Mol Bessa (mol) - Monday, 03 January 2011, 16:22 GMT
I found the bug. The new version of dvdauthor (0.7.0) requires that the video format is specified. The man page of spumux says this sintaxe of xml for subtitiles should be:

<subpictures [format="NTSC|PAL"]>
<stream>
<textsub filename="demo1.srt" characterset="UTF-8"
fontsize="28.0" font="arial" fill-color="color-spec"
outline-color="color-spec" outline-thickness="3.0"
shadow-offset="0, 0" shadow-color="color-spec"
horizontal-alignment="left" vertical-alignment="bottom"
left-margin="60" right-margin="60"
top-margin="20" bottom-margin="30" subtitle-fps="fps"
movie-fps="fps"
movie-width="720" movie-height="height" aspect="4:3"
force="yes"
/>
</stream>
</subpictures>

But, the xml generated by devede is:

<subpictures>
<stream>
<textsub filename="/var/tmp/previewfile_sub_tmp.sub"
font="devedesans.ttf"
characterset="UTF-8"
horizontal-alignment="center"
movie-width="712"
movie-height="568"
left-margin="57"
right-margin="57"
bottom-margin="27"
top-margin="27"
fontsize="20.0"
movie-fps="25"
subtitle-fps="25"
vertical-alignment="bottom" />
</stream>
</subpictures>

So, when I add 'format="PAL"', changing the xml for

<subpictures format="PAL">
<stream>
<textsub filename="/var/tmp/previewfile_sub_tmp.sub"
font="devedesans.ttf"
characterset="UTF-8"
horizontal-alignment="center"
movie-width="712"
movie-height="568"
left-margin="57"
right-margin="57"
bottom-margin="27"
top-margin="27"
fontsize="20.0"
movie-fps="25"
subtitle-fps="25"
vertical-alignment="bottom" />
</stream>
</subpictures>

the devede back to work.

The solution is compile dvdauthor using --enable-default-video-format=pal or --enable-default-video-format=ntsc in ./configure, because the video format will be specified by default.
Comment by Thomas Dziedzic (tomd123) - Monday, 03 January 2011, 17:22 GMT
Thanks, moving this issue to the main bug tracker.

Loading...