steve:/mnt/films/test 3$ todiscgui
Using 'light' theme
(run 'todiscgui tk' for alternate theme)
Running command:
-menu-title My video collection
-files /mnt/films/test 3/DMB1.avi
-titles DMB1
-dvd
-ntsc
-static
-out MyOutput10
--------------------------------
todisc
Generate a DVD filesystem with animated thumbnail menus
Part of the tovid suite, version svn-r1858
http://www.tovid.org
--------------------------------
=========================================================
Creating work directories
=========================================================
mkdir: created directory `/mnt/films/test 3/todisc-work'
create symbolic link `/tmp/todisc-work' to `/mnt/films/test 3/todisc-work'
removed `/mnt/films/test 3/todisc.log'
Adding: /mnt/films/test 3/DMB1.avi
Creating pics directories...
mkdir: created directory `/mnt/films/test 3/todisc-work/pics'
mkdir: created directory `/mnt/films/test 3/todisc-work/pics/0'
mkdir: created directory `/mnt/films/test 3/todisc-work/animenu'
Verifying that input files are video files
/mnt/films/test 3/DMB1.avi ok
=========================================================
Disc title: "My video collection"
(adjust with -menu-title)
Including the following videos:
"DMB1" (/mnt/films/test 3/DMB1.avi)
Current font settings:
-menu-font Helvetica
-menu-fontsize 30
-thumb-font Helvetica
-thumb-fontsize 10
Current menu settings:
Video 1: -seek 2 second(s) -chapters 6
=========================================================
**** NOTE ****
Doing all work in directory /mnt/films/test 3/todisc-work
/tmp/todisc-work will be a symlink pointing to this directory
**************
Creating a black background
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/title_txt.png
[0 of 0] Seeking to 2 seconds in /mnt/films/test 3/DMB1.avi
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.
=========================================================
Checking /mnt/films/test 3/DMB1.avi for compliance...
=========================================================
Encode input files
=========================================================
Some of the -files you provided are not NTSC DVD-compliant:
/mnt/films/test 3/DMB1.avi
I can encode them for you, but it may take a long time.
Encoding will ensure that your disc is fully compliant;
you may skip this, but your disc may not be playable.
Please type 'yes' if you want the files to be encoded:
yes
=========================================================
Converting files to DVD format with 'tovid'
Converting: /mnt/films/test 3/DMB1.avi
--------------------------------
tovid
DVD and (S)VCD video conversion script
Version svn-r1858
http://www.tovid.org
--------------------------------
Using config file /home/steve/.tovid/tovid.config, containing the following options:
(none)
tovid command-line used:
-ntsc -dvd -in /mnt/films/test 3/DMB1.avi -out /mnt/films/test 3/DMB1.avi.enc
Changing to working directory: /tmp/todisc-work
=========================================================
Converting /mnt/films/test 3/DMB1.avi to NTSC DVD format
Encoding quality is 6 of 10 (use -quality to change)
Saving to /mnt/films/test 3/DMB1.avi.enc.mpg
Storing log and temporary files in /tmp/todisc-work/DMB1.avi.enc.0
Run 'tail -f "/tmp/todisc-work/DMB1.avi.enc.0/tovid.log"' in another terminal to monitor the log
=========================================================
Probing video for information. This may take several minutes...
The encoding process is estimated to require 6 MB of disk space.
You currently have 4682 MB available in this directory.
Analysis of file /mnt/films/test 3/DMB1.avi:
236 x 176 pixels, 10.000 fps
Duration (best guess): 00:00:09 (HH:MM:SS)
IV32 video with pcm audio
Target format:
720 x 480 pixels, 29.970 fps
m2v video with ac3 audio
5880 kbits/sec video, 224 kbits/sec audio
Using auto-detected aspect ratio 134:100 (override with -aspect)
Letterboxing vertically
Input is not 29.970 fps. Framerate will be adjusted.
Scaling picture to 720 x 480
=========================================================
Encoding audio stream to ac3 with the following command:
nice -n 0 ffmpeg -i /mnt/films/test 3/DMB1.avi -vn -ab 224 -ar 48000 -ac 2 -acodec ac3 -y /tmp/todisc-work/DMB1.avi.enc.0/audio.ac3
Processing started. Please wait...
--- Encoding audio to ac3: 1 MB written to audio.ac3
Audio encoding finished successfully.
=========================================================
Encoding video stream with the following commands:
nice -n 0 mplayer -noconsolecontrols -benchmark -nosound -noframedrop -noautosub -vo yuv4mpeg:file="/tmp/todisc-work/DMB1.avi.enc.0/video.yuv" -vf scale=720:480 "/mnt/films/test 3/DMB1.avi"
cat "/tmp/todisc-work/DMB1.avi.enc.0/video.yuv" | yuvfps -r 30000:1001 -v 0 | nice -n 0 mpeg2enc --sequence-length 4300 --nonvideo-bitrate 285 --aspect 2 -f 8 -b 5880 -g 4 -G 11 -D 10 -K hi-res --frame-rate 4 -v 0 --video-norm n --reduction-4x4 2 --reduction-2x2 1 -q 7 -o "/tmp/todisc-work/DMB1.avi.enc.0/video.m2v"
Processing started. Please wait...
Processing started. Please wait...
||| Encoding video stream: 2 MB written to video.m2v
=========================================================
Multiplexing audio and video together with the following command:
mplex -V -f 8 -o /mnt/films/test 3/DMB1.avi.enc.mpg /tmp/todisc-work/DMB1.avi.enc.0/video.m2v /tmp/todisc-work/DMB1.avi.enc.0/audio.ac3
Multiplexing finished successfully
Output files:
2.0M /mnt/films/test 3/DMB1.avi.enc.mpg
2.0M total
=========================================================
----------------------------------------
Final statistics
----------------
tovid svn-r1858
File: /mnt/films/test 3/DMB1.avi.enc.mpg, 9 secs DVD NTSC
Final size: 1980 kilobytes
Target bitrate: 5880 kbits/sec
Average bitrate: 1287 kbits/sec
Peak bitrate: 2480 kbits/sec
Took 00:00:26 to encode on AMD Athlon(tm) 64 Processor 3200+ 2000.000 mhz
-----------------------------------------
Statistics written to /home/steve/.tovid/stats.tovid
Cleaning up...
removed `/tmp/todisc-work/DMB1.avi.enc.0/video.yuv'
=========================================================
Do you want to keep the temporary files that were created ?
Please type "yes", or else they will be deleted
yes
Keeping temporary files in /tmp/todisc-work/DMB1.avi.enc.0
=========================================================
Done!
=========================================================
Your encoded video should be in the file(s) /mnt/films/test 3/DMB1.avi.enc.mpg.
You can author a disc with this video on it by running:
makexml /mnt/films/test 3/DMB1.avi.enc.mpg -out MyDisc
makedvd MyDisc.xml
You can also use todisc or makemenu to create menus for your disc.
See the manual pages (i.e. 'man todisc') for more information.
Thanks for using tovid!
=========================================================
=========================================================
create symbolic link `1.mpg' to `/mnt/films/test 3/DMB1.avi.enc.mpg'
Getting stats on /mnt/films/test 3/DMB1.avi.enc.mpg
=========================================================
Stats for /mnt/films/test 3/DMB1.avi.enc.mpg
video codec: MPEG2
video bitrate: 1283.985 kbps
framerate: 29.970 fps
audio codec: a52
audio bitrate: 224.0 kbps
video length: 10.043 seconds
=========================================================
Creating 1 images from each video for the main menu
Working on /mnt/films/test 3/DMB1.avi.enc.mpg
Created 2 images of 1
Chapters for /mnt/films/test 3/DMB1.avi.enc.mpg are:
00:00:00.000,00:00:01.674,00:00:03.348,00:00:05.021,00:00:06.695,00:00:08.369,00:00:10.043
=========================================================
Building main menu
=========================================================
Working on 2 images from /mnt/films/test 3/DMB1.avi.enc.mpg
Processing 000000.jpg
=========================================================
Making 1 final montages and compositing onto background with title
=========================================================
Processing 1.jpg running montage /tmp/todisc-work/pics/0/000000.jpg -tile 1x1 -geometry 320x240+10+4 -background none miff:- | convert /tmp/todisc-work/pics/template.jpg - -gravity north -geometry +0+45 -composite miff:- | convert - /tmp/todisc-work/title_txt.png -gravity south -geometry +0+50 -composite /tmp/todisc-work/animenu/1.jpg
Converting images to video stream and encoding to DVD-compliant format
=========================================================
Running jpeg2yuv -v 0 -f 29.970 -I p -n 1 -l 60 -L 1 -b1 -j
/tmp/todisc-work/animenu/1.jpg | ffmpeg -f yuv4mpegpipe -i - -an -r 29.970 -s
720x480 -tvstd ntsc -b 7000k -maxrate 8000k -bufsize 230KiB -aspect 4:3 -y
/tmp/todisc-work/intro.m2v
Cleaning up montage images
cat: write error: Broken pipe
removed `/tmp/todisc-work/intro.wav'
Multiplexing main menu audio and video together
=========================================================
=========================================================
Running spumux /tmp/todisc-work/spumux.xml < /tmp/todisc-work/intro.mpg >
animenu.mpg
=========================================================
Menu file animenu.mpg created
Running dvdauthor to create the DVD filesystem
DVDAuthor::dvdauthor, version 0.6.11.
Build options: gnugetopt magick iconv freetype
Send bugs to <dvdauthor-users@lists.sourceforge.net>
INFO: Locale=en_GB.UTF-8
INFO: Converting filenames to UTF-8
INFO: dvdauthor creating VTS
STAT: Picking VTS 01
STAT: Processing animenu.mpg...
INFO: Video pts = 0.178 .. 2.146
INFO: Audio[0] pts = 0.178 .. 2.130
INFO: Audio[32] pts = 0.178 .. 0.178
STAT: VOBU 5 at 0MB, 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 /mnt/films/test 3/todisc-work/1.mpg...
STAT: VOBU 16 at 0MB, 1 PGCS
INFO: Video pts = 0.178 .. 10.288
INFO: Audio[0] pts = 0.178 .. 10.162
STAT: VOBU 28 at 1MB, 1 PGCS
INFO: Generating VTS 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: fixed 5 VOBUS
STAT: fixed 28 VOBUS
INFO: dvdauthor creating table of contents
INFO: Scanning /mnt/films/test 3/MyOutput10/VIDEO_TS/VTS_01_0.IFO
Cleaning up unwanted files in /mnt/films/test 3/todisc-work
removed directory: `/tmp/todisc-work/animenu'
removed directory: `/tmp/todisc-work/pics/0'
removed directory: `/tmp/todisc-work/pics'
Removing the link in /tmp
removed `/tmp/todisc-work'
=========================================================
todisc took 00:01:15 to finish on AMD Athlon(tm) 64 Processor 3200+ 2000.000 mhz
=========================================================
Your new DVD should be in /mnt/films/test 3/MyOutput10
You can preview them in gxine with this command:
gxine "dvd://mnt/films/test 3/MyOutput10"
If you are satisfied with the results, you can burn a disc with:
makedvd -burn "/mnt/films/test 3/MyOutput10"
Thanks for using todisc.
Cleaning up...
Removing /mnt/films/test 3/todisc-work
Removing the symlink in /tmp . . .