knallzapzerap
20.02.06, 12:07
hi,
ich versuche mich grade daran, eine DVD aus 2 Teilen einer TV-Aufnahme zu machen. Die DVD soll ein Menue haben, welches alles abspielt, oder auch die beiden Teile einzeln ansteuern kann. Desweiteren sollen alle 5 Minuten, in beiden Teilen Kapitel sein.
Wo liegt der Fehler?
So bin ich vorgegangen:
1. Geschnitten und demultiplext mit Projektx
2. mplex -f 8 -o film.mpg film.m2v film.mp2
3. Schritt 1 + 2 mit Dateinamen film2.mpg für den 2ten Teil wiederholt
4. Screenshot aus dem Film mit dem VLC Player erstellt und in background.png umbenannt
Als Punkt 5 wollte ich nun ein menu erstellen.
5. makemenu -pal -dvd -font Helvetica -background background.png "Start" "Teil 1" "Teil 2" -out menu
Consolenausgabe:
makemenu
A script to generate DVD/(S)VCD menus
Part of the tovid suite, version 0.23
http://tovid.sourceforge.net/
--------------------------------
Adding 3 titles to the menu:
Start
Teil 1
Teil 2
Creating the background canvas with the following command:
convert "background.png" -resize 720x -resize "x576<" -gravity center -crop 720x576+0+0 -matte makemenu.bg_canvas.4514.png
cat /dev/zero | sox -t raw -c 2 -r 48000 -w -s - makemenu.bg_silence.4514.wav trim 0 4
sox: Unknown output file format for 'makemenu.bg_silence.4514.wav': File type 'bg_silence.4514.wav' is not known
================================================== =======
Creating the foreground canvas with the following command:
convert -size 576x460 xc:none -antialias -font "Helvetica" -pointsize 24 -fill "#FFF" -stroke black -strokewidth 3 -draw "gravity northwest text 0,0 'Start' text 0,30 'Teil 1' text 0,60 'Teil 2'" -stroke none -draw "gravity northwest text 0,0 'Start' text 0,30 'Teil 1' text 0,60 'Teil 2'" "makemenu.fg_canvas.4514.png"
================================================== =======
Creating the highlighted titles with the following command:
convert -size 576x460 xc:none +antialias -font "Helvetica" -pointsize 24 -fill "#0F0" -draw "gravity northwest text 0,0 'Start' text 0,30 'Teil 1' text 0,60 'Teil 2'" -type Palette -colors 3 png8:makemenu.fg_highlight.4514.png
================================================== =======
Creating the selection titles with the following command:
convert -size 576x460 xc:none +antialias -font "Helvetica" -pointsize 24 -fill "#F00" -draw "gravity northwest text 0,0 'Start' text 0,30 'Teil 1' text 0,60 'Teil 2'" -type Palette -colors 3 png8:makemenu.fg_selection.4514.png
================================================== =======
Compositing foreground canvas over background with the following command:
composite -compose Over -gravity center makemenu.fg_canvas.4514.png makemenu.bg_canvas.4514.png -depth 8 "menu.ppm"
================================================== =======
Compositing highlighted titles with the following command:
composite -compose Src -gravity center makemenu.fg_highlight.4514.png makemenu.bg_canvas.4514.png png8:"menu.hi.png"
================================================== =======
Compositing selection titles with the following command:
composite -compose Src -gravity center makemenu.fg_selection.4514.png makemenu.bg_canvas.4514.png png8:"menu.sel.png"
================================================== =======
Converting to video with the following command:
ppmtoy4m -S 420mpeg2 -A 59:54 -F 25:1 -n 100 -r "menu.ppm" 2>>/dev/null | mpeg2enc -a 2 -f 8 -F 3 -n p -o "menu.m2v" >> /dev/null 2>&1
This may take a while...
================================================== =======
Converting audio WAV to ac3 with the following command:
ffmpeg -i "makemenu.bg_silence.4514.wav" -ab 224 -ar 48000 -ac 2 -acodec ac3 -y "menu.ac3" >> /dev/null 2>&1
================================================== =======
Multiplexing video and audio with the following command:
mplex -V -f 8 -o "menu.mpg" "menu.m2v" "menu.ac3" >> /dev/null 2>&1
================================================== =======
Multiplexing menu selection highlight and menu with the following command:
spumux "menu.xml" < "menu.mpg" > "menu.temp.mpg" 2>>/dev/null
/usr/bin/makemenu: line 601: menu.mpg: Datei oder Verzeichnis nicht gefunden
mv: Aufruf von stat für »menu.temp.mpg« nicht möglich: Datei oder Verzeichnis nicht gefunden
================================================== =======
Cleaning up...
rm: Entfernen von »menu.ac3« nicht möglich: Datei oder Verzeichnis nicht gefunden
rm: Entfernen von »makemenu.bg_silence.4514.wav« nicht möglich: Datei oder Verzeichnis nicht gefunden
================================================== =======
It looks like something went wrong, because there is no output file.
Please submit a bug report on the tovid homepage, listing any error messages
printed above. Sorry for the inconvenience.
Dabei entsteht eine menu.xml und kein menu.mpg, was wenn ich es richtig kapiert habe, aber richtig wäre.
Inhalt der menu.xml
<subpictures>
<stream>
<spu force="yes" start="00:00:00.00"
highlight="menu.hi.png"
select="menu.sel.png">
<button name="button1" x0="0" y0="58" x1="720" y1="88" />
<button name="button2" x0="0" y0="88" x1="720" y1="118" />
<button name="button3" x0="0" y0="118" x1="720" y1="148" />
</spu>
</stream>
</subpictures>
Hier hänge ich nun fest und finde den Fehler nicht.
Als 6. und 7. Schritt sollte noch folgen, wobei ich nicht weiss, ob das nun richtig wäre:
6. makexml -dvd -chapters 5 -menu menu.mpg -group film.mpg film2.mpg -endgroup film.mpg film2.mpg dvd
makexml
A script to generate XML for authoring a VCD, SVCD, or DVD.
Part of the tovid suite, version 0.23
http://tovid.sourceforge.net/
--------------------------------
The file menu.mpg was not found.
Adding a titleset-level menu using file: menu.mpg
Adding title number 1 of titleset 1
Adding film.mpg as video 1 of title 1
Calculating the duration of the video using the following command:
idvid -terse "film.mpg"
This may take a few minutes, so please be patient...
The duration of the video is 01:27:11
Adding film2.mpg as video 2 of title 1
Calculating the duration of the video using the following command:
idvid -terse "film2.mpg"
This may take a few minutes, so please be patient...
The duration of the video is 01:34:54
Adding title: film.mpg as title number 2 of titleset 1
Calculating the duration of the video using the following command:
idvid -terse "film.mpg"
This may take a few minutes, so please be patient...
The duration of the video is 01:27:11
Adding title: film2.mpg as title number 3 of titleset 1
Calculating the duration of the video using the following command:
idvid -terse "film2.mpg"
This may take a few minutes, so please be patient...
The duration of the video is 01:34:54
Closing titleset 1 with 3 title(s).
==========================================
Some of the video files you specified were not found.
The XML file was written anyway, but you might want to
double-check to make sure you didn't make a typing mistake.
==========================================
Done. The resulting XML was written to dvd.xml.
You can create the DVD filesystem by running the command:
dvdauthor -x dvd.xml
Thanks for using makexml!
7. dvdauthor -x dvd.xml
...
ERR: Error opening menu.mpg: Datei oder Verzeichnis nicht gefunden
ich versuche mich grade daran, eine DVD aus 2 Teilen einer TV-Aufnahme zu machen. Die DVD soll ein Menue haben, welches alles abspielt, oder auch die beiden Teile einzeln ansteuern kann. Desweiteren sollen alle 5 Minuten, in beiden Teilen Kapitel sein.
Wo liegt der Fehler?
So bin ich vorgegangen:
1. Geschnitten und demultiplext mit Projektx
2. mplex -f 8 -o film.mpg film.m2v film.mp2
3. Schritt 1 + 2 mit Dateinamen film2.mpg für den 2ten Teil wiederholt
4. Screenshot aus dem Film mit dem VLC Player erstellt und in background.png umbenannt
Als Punkt 5 wollte ich nun ein menu erstellen.
5. makemenu -pal -dvd -font Helvetica -background background.png "Start" "Teil 1" "Teil 2" -out menu
Consolenausgabe:
makemenu
A script to generate DVD/(S)VCD menus
Part of the tovid suite, version 0.23
http://tovid.sourceforge.net/
--------------------------------
Adding 3 titles to the menu:
Start
Teil 1
Teil 2
Creating the background canvas with the following command:
convert "background.png" -resize 720x -resize "x576<" -gravity center -crop 720x576+0+0 -matte makemenu.bg_canvas.4514.png
cat /dev/zero | sox -t raw -c 2 -r 48000 -w -s - makemenu.bg_silence.4514.wav trim 0 4
sox: Unknown output file format for 'makemenu.bg_silence.4514.wav': File type 'bg_silence.4514.wav' is not known
================================================== =======
Creating the foreground canvas with the following command:
convert -size 576x460 xc:none -antialias -font "Helvetica" -pointsize 24 -fill "#FFF" -stroke black -strokewidth 3 -draw "gravity northwest text 0,0 'Start' text 0,30 'Teil 1' text 0,60 'Teil 2'" -stroke none -draw "gravity northwest text 0,0 'Start' text 0,30 'Teil 1' text 0,60 'Teil 2'" "makemenu.fg_canvas.4514.png"
================================================== =======
Creating the highlighted titles with the following command:
convert -size 576x460 xc:none +antialias -font "Helvetica" -pointsize 24 -fill "#0F0" -draw "gravity northwest text 0,0 'Start' text 0,30 'Teil 1' text 0,60 'Teil 2'" -type Palette -colors 3 png8:makemenu.fg_highlight.4514.png
================================================== =======
Creating the selection titles with the following command:
convert -size 576x460 xc:none +antialias -font "Helvetica" -pointsize 24 -fill "#F00" -draw "gravity northwest text 0,0 'Start' text 0,30 'Teil 1' text 0,60 'Teil 2'" -type Palette -colors 3 png8:makemenu.fg_selection.4514.png
================================================== =======
Compositing foreground canvas over background with the following command:
composite -compose Over -gravity center makemenu.fg_canvas.4514.png makemenu.bg_canvas.4514.png -depth 8 "menu.ppm"
================================================== =======
Compositing highlighted titles with the following command:
composite -compose Src -gravity center makemenu.fg_highlight.4514.png makemenu.bg_canvas.4514.png png8:"menu.hi.png"
================================================== =======
Compositing selection titles with the following command:
composite -compose Src -gravity center makemenu.fg_selection.4514.png makemenu.bg_canvas.4514.png png8:"menu.sel.png"
================================================== =======
Converting to video with the following command:
ppmtoy4m -S 420mpeg2 -A 59:54 -F 25:1 -n 100 -r "menu.ppm" 2>>/dev/null | mpeg2enc -a 2 -f 8 -F 3 -n p -o "menu.m2v" >> /dev/null 2>&1
This may take a while...
================================================== =======
Converting audio WAV to ac3 with the following command:
ffmpeg -i "makemenu.bg_silence.4514.wav" -ab 224 -ar 48000 -ac 2 -acodec ac3 -y "menu.ac3" >> /dev/null 2>&1
================================================== =======
Multiplexing video and audio with the following command:
mplex -V -f 8 -o "menu.mpg" "menu.m2v" "menu.ac3" >> /dev/null 2>&1
================================================== =======
Multiplexing menu selection highlight and menu with the following command:
spumux "menu.xml" < "menu.mpg" > "menu.temp.mpg" 2>>/dev/null
/usr/bin/makemenu: line 601: menu.mpg: Datei oder Verzeichnis nicht gefunden
mv: Aufruf von stat für »menu.temp.mpg« nicht möglich: Datei oder Verzeichnis nicht gefunden
================================================== =======
Cleaning up...
rm: Entfernen von »menu.ac3« nicht möglich: Datei oder Verzeichnis nicht gefunden
rm: Entfernen von »makemenu.bg_silence.4514.wav« nicht möglich: Datei oder Verzeichnis nicht gefunden
================================================== =======
It looks like something went wrong, because there is no output file.
Please submit a bug report on the tovid homepage, listing any error messages
printed above. Sorry for the inconvenience.
Dabei entsteht eine menu.xml und kein menu.mpg, was wenn ich es richtig kapiert habe, aber richtig wäre.
Inhalt der menu.xml
<subpictures>
<stream>
<spu force="yes" start="00:00:00.00"
highlight="menu.hi.png"
select="menu.sel.png">
<button name="button1" x0="0" y0="58" x1="720" y1="88" />
<button name="button2" x0="0" y0="88" x1="720" y1="118" />
<button name="button3" x0="0" y0="118" x1="720" y1="148" />
</spu>
</stream>
</subpictures>
Hier hänge ich nun fest und finde den Fehler nicht.
Als 6. und 7. Schritt sollte noch folgen, wobei ich nicht weiss, ob das nun richtig wäre:
6. makexml -dvd -chapters 5 -menu menu.mpg -group film.mpg film2.mpg -endgroup film.mpg film2.mpg dvd
makexml
A script to generate XML for authoring a VCD, SVCD, or DVD.
Part of the tovid suite, version 0.23
http://tovid.sourceforge.net/
--------------------------------
The file menu.mpg was not found.
Adding a titleset-level menu using file: menu.mpg
Adding title number 1 of titleset 1
Adding film.mpg as video 1 of title 1
Calculating the duration of the video using the following command:
idvid -terse "film.mpg"
This may take a few minutes, so please be patient...
The duration of the video is 01:27:11
Adding film2.mpg as video 2 of title 1
Calculating the duration of the video using the following command:
idvid -terse "film2.mpg"
This may take a few minutes, so please be patient...
The duration of the video is 01:34:54
Adding title: film.mpg as title number 2 of titleset 1
Calculating the duration of the video using the following command:
idvid -terse "film.mpg"
This may take a few minutes, so please be patient...
The duration of the video is 01:27:11
Adding title: film2.mpg as title number 3 of titleset 1
Calculating the duration of the video using the following command:
idvid -terse "film2.mpg"
This may take a few minutes, so please be patient...
The duration of the video is 01:34:54
Closing titleset 1 with 3 title(s).
==========================================
Some of the video files you specified were not found.
The XML file was written anyway, but you might want to
double-check to make sure you didn't make a typing mistake.
==========================================
Done. The resulting XML was written to dvd.xml.
You can create the DVD filesystem by running the command:
dvdauthor -x dvd.xml
Thanks for using makexml!
7. dvdauthor -x dvd.xml
...
ERR: Error opening menu.mpg: Datei oder Verzeichnis nicht gefunden