freakshow@slackware:~/mythtv$ ./todisc-hockey.sh -------------------------------- todisc Generate a DVD filesystem with animated thumbnail menus Part of the tovid suite, version svn-r1004 with: core magick dvd vcd transcode plugins http://www.tovid.org -------------------------------- ========================================================= Creating work directories ========================================================= mkdir: created directory `/home/freakshow/mythtv/todisc-work' create symbolic link `/tmp/todisc-work' to `/home/freakshow/mythtv/todisc-work' removed `/home/freakshow/mythtv/todisc.log' Adding: /home/freakshow/mythtv/h5-1_20061017.mpg Adding: /home/freakshow/mythtv/h5-2_20061017.mpg Adding: /home/freakshow/mythtv/h5-3_20061017.mpg Creating pics directories... mkdir: created directory `/home/freakshow/mythtv/todisc-work/pics' mkdir: created directory `/home/freakshow/mythtv/todisc-work/pics/0' mkdir: created directory `/home/freakshow/mythtv/todisc-work/pics/1' mkdir: created directory `/home/freakshow/mythtv/todisc-work/pics/2' mkdir: created directory `/home/freakshow/mythtv/todisc-work/bg' mkdir: created directory `/home/freakshow/mythtv/todisc-work/animenu' Verifying that input files are video files /home/freakshow/mythtv/h5-1_20061017.mpg ok /home/freakshow/mythtv/h5-2_20061017.mpg ok /home/freakshow/mythtv/h5-3_20061017.mpg ok ========================================================= Disc title: "La Soirée du Hockey\nMatch 5: 2006/10/17" (adjust with -menu-title) Including the following videos: "1ière période" (/home/freakshow/mythtv/h5-1_20061017.mpg) "2ième période" (/home/freakshow/mythtv/h5-2_20061017.mpg) "3ième période" (/home/freakshow/mythtv/h5-3_20061017.mpg) Current font settings: -menu-font Helvetica -menu-fontsize 26 -thumb-font Helvetica -thumb-fontsize 10 Current menu settings: -menu-length 113 seconds -seek 140 second(s) -chapters 6 6 6 ========================================================= **** NOTE **** Doing all work in directory /home/freakshow/mythtv/todisc-work /tmp/todisc-work will be a symlink pointing to this directory ************** Creating oval mask with the following command: convert -size 192x144 xc:black -fill white -draw "RoundRectangle 9,9 183,135, 91,67" +matte -compose CopyOpacity miff:- | convert - -blur 0x4 -channel RGBA +matte miff:- | convert - -blur 0x4 -channel RGBA +matte miff:- | convert - -blur 0x4 -channel RGBA +matte miff:- | convert - -blur 0x4 -channel RGBA +matte miff:- | convert -resize 192x144! - /tmp/todisc-work/oval_mask.png Creating a title image Making a white or colored png for the misted title background [0 of 2] Seeking to 140 seconds in /home/freakshow/mythtv/h5-1_20061017.mpg [1 of 2] Seeking to 140 seconds in /home/freakshow/mythtv/h5-2_20061017.mpg [2 of 2] Seeking to 140 seconds in /home/freakshow/mythtv/h5-3_20061017.mpg Creating the highlight and selection PNGs for the main menu Creating and displaying a preview of the main menu. (Press 'q' or ESC in the preview window to close it.) ========================================================= If you are happy with the preview, type 'yes' to continue: yes Preview OK, continuing. ========================================================= removed `/tmp/todisc-work/pics/template.png' `/tmp/todisc-work/pics/template.bk.png' -> `/tmp/todisc-work/pics/template.png' Checking /home/freakshow/mythtv/h5-1_20061017.mpg for compliance... Checking /home/freakshow/mythtv/h5-2_20061017.mpg for compliance... Checking /home/freakshow/mythtv/h5-3_20061017.mpg for compliance... Running nice tcdemux -d 24 -f 29.970 -W -i /home/freakshow/mythtv/h5-1_20061017.mpg > /tmp/todisc-work/nav0_log Creating a nav_seek log for /home/freakshow/mythtv/h5-1_20061017.mpg: O Getting stats on /home/freakshow/mythtv/h5-1_20061017.mpg Running nice tcdemux -d 24 -f 29.970 -W -i /home/freakshow/mythtv/h5-2_20061017.mpg > /tmp/todisc-work/nav1_log Creating a nav_seek log for /home/freakshow/mythtv/h5-2_20061017.mpg: o Getting stats on /home/freakshow/mythtv/h5-2_20061017.mpg Running nice tcdemux -d 24 -f 29.970 -W -i /home/freakshow/mythtv/h5-3_20061017.mpg > /tmp/todisc-work/nav2_log Creating a nav_seek log for /home/freakshow/mythtv/h5-3_20061017.mpg: o Getting stats on /home/freakshow/mythtv/h5-3_20061017.mpg ========================================================= Stats for /home/freakshow/mythtv/h5-1_20061017.mpg video codec: MPEG2 video bitrate: 2707.373 kbps framerate: 29.970 fps audio codec: mp3 audio bitrate: 384.0 kbps video length: 716.216 seconds ========================================================= Stats for /home/freakshow/mythtv/h5-2_20061017.mpg video codec: MPEG2 video bitrate: 10641.519 kbps framerate: 29.970 fps audio codec: mp3 audio bitrate: 384.0 kbps video length: 884.785 seconds ========================================================= Stats for /home/freakshow/mythtv/h5-3_20061017.mpg video codec: MPEG2 video bitrate: 12552.887 kbps framerate: 29.970 fps audio codec: mp3 audio bitrate: 384.0 kbps video length: 587.588 seconds ========================================================= Creating 3386 images from each video for the main menu Working on /home/freakshow/mythtv/h5-1_20061017.mpg Seeking in video and creating images: 003385.png Created 3386 images of 3386 Working on /home/freakshow/mythtv/h5-2_20061017.mpg Seeking in video and creating images: 003385.png Created 3386 images of 3386 Working on /home/freakshow/mythtv/h5-3_20061017.mpg Seeking in video and creating images: 003385.png Created 3386 images of 3386 Chapters for /home/freakshow/mythtv/h5-1_20061017.mpg are: 00:00:00.000,00:01:59.369,00:03:58.738,00:05:58.107,00:07:57.476,00:09:56.845,00:11:56.214 Chapters for /home/freakshow/mythtv/h5-2_20061017.mpg are: 00:00:00.000,00:02:27.464,00:04:54.928,00:07:22.392,00:09:49.856,00:12:17.320,00:14:44.784 Chapters for /home/freakshow/mythtv/h5-3_20061017.mpg are: 00:00:00.000,00:01:37.931,00:03:15.863,00:04:53.794,00:06:31.725,00:08:09.656,00:09:47.588 ========================================================= Building main menu ========================================================= Adding title to video images and resizing Working on 3386 images from /home/freakshow/mythtv/h5-1_20061017.mpg Processing 003385.png Working on 3386 images from /home/freakshow/mythtv/h5-2_20061017.mpg Processing 003385.png Working on 3386 images from /home/freakshow/mythtv/h5-3_20061017.mpg Processing 003385.png ========================================================= Making 3386 final montages and compositing onto background with title ========================================================= Processing 3386.jpg Converting images to video stream and encoding to DVD-compliant format ========================================================= Running jpeg2yuv -v 0 -f 29.970 -I p -n 3404 -L 1 -b1 -j /tmp/todisc-work/animenu/%d.jpg | ffmpeg -f yuv4mpegpipe -i - -an -r 29.970 -s 720x480 -tvstd ntsc -b 8000 -maxrate 9000 -bufsize 230 -aspect 4:3 -y /tmp/todisc-work/intro.m2v Cleaning up montage images ========================================================= Running: sox /tmp/todisc-work/intro.wav /tmp/todisc-work/intro-processed.wav fade t 1 00:01:53.5 1 removed `/tmp/todisc-work/intro.wav' Multiplexing main menu audio and video together ========================================================= DVDAuthor::spumux, version 0.6.11. Build options: gnugetopt magick iconv freetype fribidi Send bugs to INFO: Locale=LC_CTYPE=en_US;LC_NUMERIC=en_US;LC_TIME=en_US;LC_COLLATE=C;LC_MONETARY=en_US;LC_MESSAGES=en_US;LC_PAPER=en_US;LC_NAME=en_US;LC_ADDRESS=en_US;LC_TELEPHONE=en_US;LC_MEASUREMENT=en_US;LC_IDENTIFICATION=en_US INFO: Converting filenames to ISO-8859-1 INFO: Picture /tmp/todisc-work/Highlight.png had 2 colors INFO: Picture /tmp/todisc-work/Select.png had 2 colors INFO: Constructing blank img INFO: Autodetect 0 = 158x49-350x193 INFO: Autodetect 1 = 370x49-562x193 INFO: Autodetect 2 = 158x201-350x345 INFO: Pickbuttongroups, success with 1 groups, useimg=1 INFO: Found EOF in .sub file. INFO: Max_sub_size=1840 WARN: Read 0, expected 4 INFO: 1 subtitles added, 0 subtitles skipped, stream: 32, offset: 0.18 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 1840 bytes. Menu file animenu.mpg created Running dvdauthor to create the DVD filesystem DVDAuthor::dvdauthor, version 0.6.11. Build options: gnugetopt magick iconv freetype fribidi Send bugs to INFO: Locale=LC_CTYPE=en_US;LC_NUMERIC=en_US;LC_TIME=en_US;LC_COLLATE=C;LC_MONETARY=en_US;LC_MESSAGES=en_US;LC_PAPER=en_US;LC_NAME=en_US;LC_ADDRESS=en_US;LC_TELEPHONE=en_US;LC_MEASUREMENT=en_US;LC_IDENTIFICATION=en_US INFO: Converting filenames to ISO-8859-1 INFO: dvdauthor creating VTS STAT: Picking VTS 01 STAT: Processing animenu.mpg... STAT: VOBU 64 at 6MB, 1 PGCS INFO: Video pts = 0.178 .. 113.758 INFO: Audio[0] pts = 0.178 .. 113.650 INFO: Audio[32] pts = 3.678 .. 111.482 STAT: VOBU 74 at 7MB, 1 PGCS INFO: Generating VTSM with the following video attributes: INFO: MPEG version: mpeg2 INFO: TV standard: ntsc INFO: Aspect ratio: 4:3 INFO: Resolution: 720x480 INFO: Audio ch 0 format: ac3/2ch, 48khz drc STAT: Processing /home/freakshow/mythtv/h5-1_20061017.mpg... ERR: SCR moves backwards, remultiplex input. Cleaning up unwanted files in /home/freakshow/mythtv/todisc-work removed directory: `/tmp/todisc-work/animenu' removed directory: `/tmp/todisc-work/pics/0' removed directory: `/tmp/todisc-work/pics/1' removed directory: `/tmp/todisc-work/pics/2' removed directory: `/tmp/todisc-work/pics' Removing the link in /tmp removed `/tmp/todisc-work' Cleaning up... Removing /home/freakshow/mythtv/todisc-work Removing the symlink in /tmp . . . ========================================================= todisc took 01:35:12 to finish on AMD Athlon(TM) XP 3000+ 2166.528 mhz ========================================================= Your new DVD should be in /home/freakshow/mythtv/dvd Thanks for using todisc.