--------------------------------
todisc
Generate a DVD filesystem with animated
thumbnail menus
Part of the tovid suite, version
svn-r2385
http://www.tovid.org
--------------------------------
`/tmp/todisc-work.0' -> `/home/daffy/temp/todisc-work.0'
=========================================================
Working on switched menu 2
=========================================================
Running todisc -switched-menus -quick-menu -files a.mpg b.mpg c.mpg -titles A B
C -out ABC -switched-mode -basedir /tmp/todisc-work.0 -menu_num 2 -showcase
/home/daffy/temp/b.mpg
`/tmp/todisc-work.1' -> `/home/daffy/temp/todisc-work.1'
=========================================================
Creating work directories
=========================================================
Adding: /home/daffy/temp/a.mpg
Adding: /home/daffy/temp/b.mpg
Adding: /home/daffy/temp/c.mpg
Creating pics directories...
3 pics directories created
mkdir: created directory `/home/daffy/temp/todisc-work.1/animenu'
mkdir: created directory `/home/daffy/temp/todisc-work.1/showcase'
Verifying that input files are video or image files
checking a.mpg
checking b.mpg
checking c.mpg
=========================================================
Menu title: "My Video Collection"
(adjust with -menu-title)
Including the following files:
"A" (/home/daffy/temp/a.mpg)
"B" (/home/daffy/temp/b.mpg)
"C" (/home/daffy/temp/c.mpg)
Current font settings:
-menu-font Helvetica
-menu-fontsize 30
-thumb-font Helvetica
-thumb-fontsize 18
Current menu settings:
-menu-length 20 seconds
Video 1: -seek 2 second(s) -chapters 6
Video 2: -seek 2 second(s) -chapters 6
Video 3: -seek 2 second(s) -chapters 6
=========================================================
**** NOTE ****
Doing all work in directory /home/daffy/temp/todisc-work.1
/tmp/todisc-work.1 will be a symlink pointing to this directory
**************
Creating a title image
Running convert -size 620x100 xc:none -font Helvetica -pointsize 30 -fill black
-stroke black -gravity center -annotate +0+0 My Video Collection -fill #CDC0B0
-stroke gray -strokewidth 1 -annotate +1+1 My Video Collection miff:- | convert
- -trim +repage -blur 0x0.4 /tmp/todisc-work.1/title_txt.png
Getting video images from /home/daffy/temp/b.mpg
Running: ffmpeg -i /home/daffy/temp/b.mpg -ss 2 -s 384x256 -vframes 1 -vcodec
png -an -f rawvideo -y /tmp/todisc-work.1/showcase_img.png
Running convert /tmp/todisc-work.1/showcase_img.png -mattecolor gray
-bordercolor #6E6E6E -compose Copy -border 4x4 -blur 0x0.4
/tmp/todisc-work.1/showcase_img.png
Running:
convert -size 720x480 -background none
/tmp/todisc-work.1/pics/template.png
-page +50+50
/tmp/todisc-work.1/thumb_title0.png -page +50+80
/tmp/todisc-work.1/thumb_title1.png -page +50+110
/tmp/todisc-work.1/thumb_title2.png -page +210+400
/tmp/todisc-work.1/title_txt.png -mosaic /tmp/todisc-work.1/pics/template.png
`/tmp/todisc-work.1/pics/template.png' -> `/tmp/todisc-work.1/quick_menu_bg.png'
Creating the highlight and selection PNGs for the main menu
Running
convert -size 720x480 xc:none -background none -mosaic miff:- | convert
-size 720x480 -background none - -page +50+50
/tmp/todisc-work.1/thumb_title0.png -page +50+80
/tmp/todisc-work.1/thumb_title1.png -page +50+110
/tmp/todisc-work.1/thumb_title2.png -mosaic miff:- |
composite -size 720x480
-background none -gravity NorthWest -dissolve 100 -
/tmp/todisc-work.1/pics/template.png -background none miff:- | convert -
-background none /tmp/todisc-work.1/title_txt.png -gravity south -geometry
+0+50 -composite /tmp/todisc-work.1/preview.jpg
Running convert -size 384x256 xc:black -bordercolor #6E6E6E -compose Copy
-border 4x4 -blur 0x0.4 /tmp/todisc-work.1/showcase_frame.png
Creating a quick-menu preview image
=========================================================
resizing and padding showcase file: /home/daffy/temp/b.mpg
=========================================================
Running ffmpeg -r 29.970 -async 1 -ss 2 -t 2 -i /home/daffy/temp/b.mpg -s
384x256 -acodec copy -padtop 70 -padbottom 154 -padleft 176 -padright 160 -r
29.970 -b 15000k -padcolor 161514 -y /tmp/todisc-work.1/quick_tmp.avi
=========================================================
Running ffmpeg -t 2 -s 720x480 -i /tmp/todisc-work.1/quick_tmp.avi -an -f
mpeg2video -r 29.970 -tvstd ntsc -b 7000k -maxrate 8000k -bufsize 224KiB
-aspect 4:3 -vhook /usr/lib/vhook/imlib2.so -x 0 -y 0 -i
/tmp/todisc-work.1/quick_menu_bg.png -y /tmp/todisc-work.1/intro.m2v
ffmpeg -i /tmp/todisc-work.1/intro.m2v -an -ss 1 -vframes 30
/tmp/todisc-work.1/showcase/%06d.png
Removing temporary preview files
=========================================================
Creating and displaying a preview of the main menu.
(Press 'q' or ESC in the preview window to close it.)
=========================================================
If doing titlesets or switched menus and you wish to exit
without seeing more previews, then type: 'exit', else you will
continue on with other previews even if you don't type 'yes'.
If you are happy with the preview, read above paragraph and then type 'yes' to continue:
Preview not OK, exiting.
Deleting symlink in /tmp . . . removed `/tmp/todisc-work.1'
Deleting /home/daffy/temp/todisc-work.1 . . .
=========================================================
Some configuration options to try, if things look bad:
Color:
-title-color
-thumb-text-color
Fonts:
-menu-font and -menu-fontsize
-thumb-font and -thumb-fontsize
(or reduce thumb title lengths)
If you get black frames, then look at the -seek option
For other fine-tuning options, see 'man todisc'.
=========================================================
Working on switched menu 3
=========================================================
Running todisc -switched-menus -quick-menu -files a.mpg b.mpg c.mpg -titles A B
C -out ABC -switched-mode -basedir /tmp/todisc-work.0 -menu_num 3 -showcase
/home/daffy/temp/c.mpg
`/tmp/todisc-work.1' -> `/home/daffy/temp/todisc-work.1'
=========================================================
Creating work directories
=========================================================
Adding: /home/daffy/temp/a.mpg
Adding: /home/daffy/temp/b.mpg
Adding: /home/daffy/temp/c.mpg
Creating pics directories...
3 pics directories created
mkdir: created directory `/home/daffy/temp/todisc-work.1/animenu'
mkdir: created directory `/home/daffy/temp/todisc-work.1/showcase'
Verifying that input files are video or image files
checking a.mpg
checking b.mpg
checking c.mpg
=========================================================
Menu title: "My Video Collection"
(adjust with -menu-title)
Including the following files:
"A" (/home/daffy/temp/a.mpg)
"B" (/home/daffy/temp/b.mpg)
"C" (/home/daffy/temp/c.mpg)
Current font settings:
-menu-font Helvetica
-menu-fontsize 30
-thumb-font Helvetica
-thumb-fontsize 18
Current menu settings:
-menu-length 20 seconds
Video 1: -seek 2 second(s) -chapters 6
Video 2: -seek 2 second(s) -chapters 6
Video 3: -seek 2 second(s) -chapters 6
=========================================================
**** NOTE ****
Doing all work in directory /home/daffy/temp/todisc-work.1
/tmp/todisc-work.1 will be a symlink pointing to this directory
**************
Creating a title image
Running convert -size 620x100 xc:none -font Helvetica -pointsize 30 -fill black
-stroke black -gravity center -annotate +0+0 My Video Collection -fill #CDC0B0
-stroke gray -strokewidth 1 -annotate +1+1 My Video Collection miff:- | convert
- -trim +repage -blur 0x0.4 /tmp/todisc-work.1/title_txt.png
Getting video images from /home/daffy/temp/c.mpg
Running: ffmpeg -i /home/daffy/temp/c.mpg -ss 2 -s 384x256 -vframes 1 -vcodec
png -an -f rawvideo -y /tmp/todisc-work.1/showcase_img.png
Running convert /tmp/todisc-work.1/showcase_img.png -mattecolor gray
-bordercolor #6E6E6E -compose Copy -border 4x4 -blur 0x0.4
/tmp/todisc-work.1/showcase_img.png
Running:
convert -size 720x480 -background none
/tmp/todisc-work.1/pics/template.png
-page +50+50
/tmp/todisc-work.1/thumb_title0.png -page +50+80
/tmp/todisc-work.1/thumb_title1.png -page +50+110
/tmp/todisc-work.1/thumb_title2.png -page +210+400
/tmp/todisc-work.1/title_txt.png -mosaic /tmp/todisc-work.1/pics/template.png
`/tmp/todisc-work.1/pics/template.png' -> `/tmp/todisc-work.1/quick_menu_bg.png'
Creating the highlight and selection PNGs for the main menu
Running
convert -size 720x480 xc:none -background none -mosaic miff:- | convert
-size 720x480 -background none - -page +50+50
/tmp/todisc-work.1/thumb_title0.png -page +50+80
/tmp/todisc-work.1/thumb_title1.png -page +50+110
/tmp/todisc-work.1/thumb_title2.png -mosaic miff:- |
composite -size 720x480
-background none -gravity NorthWest -dissolve 100 -
/tmp/todisc-work.1/pics/template.png -background none miff:- | convert -
-background none /tmp/todisc-work.1/title_txt.png -gravity south -geometry
+0+50 -composite /tmp/todisc-work.1/preview.jpg
Running convert -size 384x256 xc:black -bordercolor #6E6E6E -compose Copy
-border 4x4 -blur 0x0.4 /tmp/todisc-work.1/showcase_frame.png
Creating a quick-menu preview image
=========================================================
resizing and padding showcase file: /home/daffy/temp/c.mpg
=========================================================
Running ffmpeg -r 29.970 -async 1 -ss 2 -t 2 -i /home/daffy/temp/c.mpg -s
384x256 -acodec copy -padtop 70 -padbottom 154 -padleft 176 -padright 160 -r
29.970 -b 15000k -padcolor 161514 -y /tmp/todisc-work.1/quick_tmp.avi
=========================================================
Running ffmpeg -t 2 -s 720x480 -i /tmp/todisc-work.1/quick_tmp.avi -an -f
mpeg2video -r 29.970 -tvstd ntsc -b 7000k -maxrate 8000k -bufsize 224KiB
-aspect 4:3 -vhook /usr/lib/vhook/imlib2.so -x 0 -y 0 -i
/tmp/todisc-work.1/quick_menu_bg.png -y /tmp/todisc-work.1/intro.m2v
ffmpeg -i /tmp/todisc-work.1/intro.m2v -an -ss 1 -vframes 30
/tmp/todisc-work.1/showcase/%06d.png
Removing temporary preview files
=========================================================
Creating and displaying a preview of the main menu.
(Press 'q' or ESC in the preview window to close it.)
=========================================================
If doing titlesets or switched menus and you wish to exit
without seeing more previews, then type: 'exit', else you will
continue on with other previews even if you don't type 'yes'.
If you are happy with the preview, read above paragraph and then type 'yes' to continue:
Preview not OK, exiting.
Deleting symlink in /tmp . . . removed `/tmp/todisc-work.1'
Deleting /home/daffy/temp/todisc-work.1 . . .
=========================================================
Some configuration options to try, if things look bad:
Color:
-title-color
-thumb-text-color
Fonts:
-menu-font and -menu-fontsize
-thumb-font and -thumb-fontsize
(or reduce thumb title lengths)
If you get black frames, then look at the -seek option
For other fine-tuning options, see 'man todisc'.
=========================================================
Working on switched menu 1
=========================================================
=========================================================
Creating work directories
=========================================================
Adding: /home/daffy/temp/a.mpg
Adding: /home/daffy/temp/b.mpg
Adding: /home/daffy/temp/c.mpg
Creating pics directories...
3 pics directories created
mkdir: created directory `/home/daffy/temp/todisc-work.0/animenu'
mkdir: created directory `/home/daffy/temp/todisc-work.0/showcase'
Verifying that input files are video or image files
checking a.mpg
checking b.mpg
checking c.mpg
=========================================================
Menu title: "My Video Collection"
(adjust with -menu-title)
Including the following files:
"A" (/home/daffy/temp/a.mpg)
"B" (/home/daffy/temp/b.mpg)
"C" (/home/daffy/temp/c.mpg)
Current font settings:
-menu-font Helvetica
-menu-fontsize 30
-thumb-font Helvetica
-thumb-fontsize 18
Current menu settings:
-menu-length 20 seconds
Video 1: -seek 2 second(s) -chapters 6
Video 2: -seek 2 second(s) -chapters 6
Video 3: -seek 2 second(s) -chapters 6
=========================================================
**** NOTE ****
Doing all work in directory /home/daffy/temp/todisc-work.0
/tmp/todisc-work.0 will be a symlink pointing to this directory
**************
Creating a title image
Running convert -size 620x100 xc:none -font Helvetica -pointsize 30 -fill black
-stroke black -gravity center -annotate +0+0 My Video Collection -fill #CDC0B0
-stroke gray -strokewidth 1 -annotate +1+1 My Video Collection miff:- | convert
- -trim +repage -blur 0x0.4 /tmp/todisc-work.0/title_txt.png
Getting video images from /home/daffy/temp/a.mpg
Running: ffmpeg -i /home/daffy/temp/a.mpg -ss 2 -s 384x256 -vframes 1 -vcodec
png -an -f rawvideo -y /tmp/todisc-work.0/showcase_img.png
Running convert /tmp/todisc-work.0/showcase_img.png -mattecolor gray
-bordercolor #6E6E6E -compose Copy -border 4x4 -blur 0x0.4
/tmp/todisc-work.0/showcase_img.png
Running:
convert -size 720x480 -background none
/tmp/todisc-work.0/pics/template.png
-page +50+50
/tmp/todisc-work.0/thumb_title0.png -page +50+80
/tmp/todisc-work.0/thumb_title1.png -page +50+110
/tmp/todisc-work.0/thumb_title2.png -page +210+400
/tmp/todisc-work.0/title_txt.png -mosaic /tmp/todisc-work.0/pics/template.png
`/tmp/todisc-work.0/pics/template.png' -> `/tmp/todisc-work.0/quick_menu_bg.png'
Creating the highlight and selection PNGs for the main menu
Running
convert -size 720x480 xc:none -background none -mosaic miff:- | convert
-size 720x480 -background none - -page +50+50
/tmp/todisc-work.0/thumb_title0.png -page +50+80
/tmp/todisc-work.0/thumb_title1.png -page +50+110
/tmp/todisc-work.0/thumb_title2.png -mosaic miff:- |
composite -size 720x480
-background none -gravity NorthWest -dissolve 100 -
/tmp/todisc-work.0/pics/template.png -background none miff:- | convert -
-background none /tmp/todisc-work.0/title_txt.png -gravity south -geometry
+0+50 -composite /tmp/todisc-work.0/preview.jpg
Running convert -size 384x256 xc:black -bordercolor #6E6E6E -compose Copy
-border 4x4 -blur 0x0.4 /tmp/todisc-work.0/showcase_frame.png
=========================================================
Making a MPEG for testing ffmpeg's imlib2 vhook
=========================================================
Creating a quick-menu preview image
=========================================================
resizing and padding showcase file: /home/daffy/temp/a.mpg
=========================================================
Running ffmpeg -r 29.970 -async 1 -ss 2 -t 2 -i /home/daffy/temp/a.mpg -s
384x256 -acodec copy -padtop 70 -padbottom 154 -padleft 176 -padright 160 -r
29.970 -b 15000k -padcolor 161514 -y /tmp/todisc-work.0/quick_tmp.avi
=========================================================
Running ffmpeg -t 2 -s 720x480 -i /tmp/todisc-work.0/quick_tmp.avi -an -f
mpeg2video -r 29.970 -tvstd ntsc -b 7000k -maxrate 8000k -bufsize 224KiB
-aspect 4:3 -vhook /usr/lib/vhook/imlib2.so -x 0 -y 0 -i
/tmp/todisc-work.0/quick_menu_bg.png -y /tmp/todisc-work.0/intro.m2v
ffmpeg -i /tmp/todisc-work.0/intro.m2v -an -ss 1 -vframes 30
/tmp/todisc-work.0/showcase/%06d.png
Removing temporary preview files
=========================================================
Creating and displaying a preview of the main menu.
(Press 'q' or ESC in the preview window to close it.)
=========================================================
If doing titlesets or switched menus and you wish to exit
without seeing more previews, then type: 'exit', else you will
continue on with other previews even if you don't type 'yes'.
If you are happy with the preview, read above paragraph and then type 'yes' to continue:
Preview OK, continuing.
=========================================================
Checking /home/daffy/temp/a.mpg for compliance...
Checking /home/daffy/temp/b.mpg for compliance...
Checking /home/daffy/temp/c.mpg for compliance...
Symlinking files to /tmp/todisc-work.0
Getting stats on /home/daffy/temp/a.mpg
Getting stats on /home/daffy/temp/b.mpg
Getting stats on /home/daffy/temp/c.mpg
=========================================================
Stats for /home/daffy/temp/a.mpg
video codec: MPEG2
video bitrate: 2078000 bits per second
framerate: 29.970 fps
audio codec: ac3
audio bitrate: 224000 bits per second
video length: 5713.246 seconds
=========================================================
Stats for /home/daffy/temp/b.mpg
video codec: MPEG2
video bitrate: 2010000 bits per second
framerate: 29.970 fps
audio codec: ac3
audio bitrate: 224000 bits per second
video length: 5882.816 seconds
=========================================================
Stats for /home/daffy/temp/c.mpg
video codec: MPEG2
video bitrate: 1769000 bits per second
framerate: 29.970 fps
audio codec: ac3
audio bitrate: 224000 bits per second
video length: 6650.483 seconds
=========================================================
resizing and padding showcase file: /home/daffy/temp/a.mpg
=========================================================
Running ffmpeg -r 29.970 -async 1 -ss 2 -t 20 -i /home/daffy/temp/a.mpg -s
384x256 -acodec copy -padtop 70 -padbottom 154 -padleft 176 -padright 160 -r
29.970 -b 15000k -padcolor 161514 -y /tmp/todisc-work.0/quick_tmp.avi
=========================================================
Using ffmpeg's vhook to add titles and background
=========================================================
=========================================================
Using audio from /home/daffy/temp/a.mpg for the audio background,
using the same seek value for the audio as the video
If you wish to use silence for the switched menu,
use '-bgaudio none'
=========================================================
Chapters for /home/daffy/temp/a.mpg are:
00:00:00.000,00:15:52.207,00:31:44.410,00:47:36.620,01:03:28.830,01:19:21.030,01:35:13.240
Chapters for /home/daffy/temp/b.mpg are:
00:00:00.000,00:16:20.469,00:32:40.940,00:49:01.410,01:05:21.880,01:21:42.350,01:38:02.810
Chapters for /home/daffy/temp/c.mpg are:
00:00:00.000,00:18:28.410,00:36:56.830,00:55:25.240,01:13:53.650,01:32:22.070,01:50:50.480
Creating a blank mpeg for the vmgm menu
Running: jpeg2yuv -v 1 -f 29.970 -I p -n 1 -l 30 -L 1 -b1 -j
/tmp/todisc-work.0/dummy.jpg | ffmpeg -f yuv4mpegpipe -i - -an -r 29.970 -s
720x480 -tvstd ntsc -b 7000k -maxrate 8000k -bufsize 224KiB -aspect 4:3 -y
/tmp/todisc-work.0/dummy.m2v
=========================================================
ffmpeg -f s16le -i /dev/zero -t 0.968 -ab 224k -ar 48000 -ac 2 -acodec ac3 -y
/tmp/todisc-work.0/dummy.ac3
=========================================================
Building main menu
=========================================================
=========================================================
=========================================================
Running ffmpeg -y -async 1 -ss 2 -t 20 -i /home/daffy/temp/a.mpg -r 29.970 -ar 48000 -ac 2 -acodec pcm_s16le /tmp/todisc-work.0/intro.wav
Running:
sox /tmp/todisc-work.0/intro.wav /tmp/todisc-work.0/intro-processed.wav fade t 1 18.9 1
removed `/tmp/todisc-work.0/intro.wav'
Multiplexing main menu audio and video together
=========================================================
=========================================================
Copying the menu mpeg
`/home/daffy/temp/todisc-work.0/intro.mpg' -> `/home/daffy/temp/todisc-work.0/1-1intro.mpg'
Running spumux /tmp/todisc-work.0/spumux.xml <
/home/daffy/temp/todisc-work.0/1-1intro.mpg > /tmp/todisc-work.0/animenu1-1.mpg
=========================================================
Menu file /tmp/todisc-work.0/animenu1-1.mpg created
Running spumux /tmp/todisc-work.0/spumux.xml <
/home/daffy/temp/todisc-work.0/1-2intro.mpg > /tmp/todisc-work.0/animenu1-2.mpg
/usr/local/bin/todisc: line 6328: /tmp/todisc-work.0/1-2intro.mpg: No such file or directory
=========================================================
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
todisc encountered an error:
Menu file /tmp/todisc-work.0/animenu1-2.mpg not found. Spumux seems to have
had problems
Check the contents of /home/daffy/temp/todisc.log to see what went wrong.
See the tovid website (http://www.tovid.org) for what to do next.
Sorry for the inconvenience!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Cleaning up...
Removing /home/daffy/temp/todisc-work.0
Removing the symlink in /tmp . . .
removed `/tmp/todisc-work.0'
Cleaning up...
Removing the symlink in /tmp . . .