On 2 Jan., 11:10, michael rasmussen <
mirtat...@gmail.com> wrote:
> Any suggestions?
I have found the bug which is a bug in devede. The man page of spumux
specifies this syntax for the xml file when using text-based
subtitles:
<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>
The xml file produced by devede:
<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>
if I change the xml file above to this it works:
<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>
This problem is if the user has not configure any defaults for video
format then the xml file must include the format attribute for video
format in the provided xml file.