All pastes #429341 Raw Edit

Stuff

public text v1 · immutable
·published 2007-04-08 05:15 UTC
rendered paste body
bash-3.2# todisc -files 1.mpg 2.mpg 3.mpg -titles "One" "Two" "Three" -out MYDVD
--------------------------------
todisc
Generate a DVD filesystem with animated thumbnail menus
Part of the tovid suite, version 0.30
http://www.tovid.org
--------------------------------

=========================================================

Creating work directories

=========================================================

mkdir: created directory `//root/todisc-work'
create symbolic link `/tmp/todisc-work0' to `//root/todisc-work'
Adding: /root/1.mpg
Adding: /root/2.mpg
Adding: /root/3.mpg

Creating pics directories...
mkdir: created directory `//root/todisc-work/pics'
mkdir: created directory `//root/todisc-work/pics/0'
mkdir: created directory `//root/todisc-work/pics/1'
mkdir: created directory `//root/todisc-work/pics/2'
mkdir: created directory `//root/todisc-work/animenu'

Verifying that input files are video files
/root/1.mpg ok
/root/2.mpg ok
/root/3.mpg ok


=========================================================

Disc title: "My Video Collection"
(adjust with -menu-title)
Including the following videos:
  "One" (/root/1.mpg)
  "Two" (/root/2.mpg)
  "Three" (/root/3.mpg)
Current font settings:
-menu-font Helvetica
-menu-fontsize 30
-thumb-font Helvetica
-thumb-fontsize 10
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 //root/todisc-work
/tmp/todisc-work0 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-work0/title_txt.png

[0 of 2] Seeking to 2 seconds in /root/1.mpg

[1 of 2] Seeking to 2 seconds in /root/2.mpg

[2 of 2] Seeking to 2 seconds in /root/3.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.

=========================================================

Checking /root/1.mpg for compliance...
Checking /root/2.mpg for compliance...
Checking /root/3.mpg for compliance...
create symbolic link `1.mpg' to `/root/1.mpg'
create symbolic link `2.mpg' to `/root/2.mpg'
create symbolic link `3.mpg' to `/root/3.mpg'

Getting stats on /root/1.mpg

Getting stats on /root/2.mpg

Getting stats on /root/3.mpg

=========================================================

Stats for /root/1.mpg

 video codec:    MPEG2
 video bitrate:  7730.484 kbps
 framerate:      29.970 fps
 audio codec:    a52
 audio bitrate:  224.0  kbps
 video length:   100.367  seconds

=========================================================

Stats for /root/2.mpg

 video codec:    MPEG2
 video bitrate:  6905.779 kbps
 framerate:      29.970 fps
 audio codec:    a52
 audio bitrate:  224.0  kbps
 video length:   143.243  seconds

=========================================================

Stats for /root/3.mpg

 video codec:    MPEG2
 video bitrate:  7007.287 kbps
 framerate:      29.970 fps
 audio codec:    mp3
 audio bitrate:  192.0  kbps
 video length:   87.654  seconds


=========================================================


Creating 599 images from each video for the main menu
Working on /root/1.mpg
/usr/local/bin/todisc: line 3087: /tmp/todisc-work0/tcode0.pid: No such file or directory
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
/usr/local/bin/todisc: line 476: /tmp/todisc-work0/tcode0.pid: No such file or directory
todisc encountered an error:
Problem creating images from the video.
Check the contents of /root/todisc.log to see what went wrong.
See the tovid website (http://www.tovid.org) for what to do next.
Sorry for the inconvenience!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
bash-3.2# ERROR: List of process IDs must follow -p.
********* simple selection *********  ********* selection by list *********
-A all processes                      -C by command name
-N negate selection                   -G by real group ID (supports names)
-a all w/ tty except session leaders  -U by real user ID (supports names)
-d all except session leaders         -g by session leader OR by group name
-e all processes                      -p by process ID
T  all processes on this terminal     -s processes in the sessions given
a  all w/ tty, including other users  -t by tty
g  all, even group leaders!           -u by effective user ID (supports names)
r  only running processes             U  processes for specified users
x  processes w/o controlling ttys     t  by tty
*********** output format **********  *********** long options ***********
-o,o user-defined  -f full            --Group --User --pid --cols --ppid
-j,j job control   s  signal          --group --user --sid --rows --info
-O,O preloaded -o  v  virtual memory  --cumulative --format --deselect
-l,l long          u  user-oriented   --sort --tty --forest --version
-F   extra full    X  registers       --heading --no-heading --context
                    ********* misc options *********
-V,V  show version      L  list format codes  f  ASCII art forest
-m,m,-L,-T,H  threads   S  children in sum    -y change -l format
-M,Z  security data     c  true command name  -c scheduling class
-w,w  wide output       n  numeric WCHAN,UID  -H process hierarchy

bash-3.2# ls todisc-work/
1.mpg  Highlight.png    Selectx1.png  empty-button.png  preview.jpg
2.mpg  Highlightx1.png  animenu       fake_montage.png  title_txt.png
3.mpg  Select.png       draw_file     pics
bash-3.2# ls todisc-work/ -la
total 132
drwxr-xr-x   4 root root  4096 Apr  7 22:11 .
drwxr-xr-x  60 root root  4096 Apr  7 22:11 ..
lrwxrwxrwx   1 root root    11 Apr  7 22:11 1.mpg -> /root/1.mpg
lrwxrwxrwx   1 root root    11 Apr  7 22:11 2.mpg -> /root/2.mpg
lrwxrwxrwx   1 root root    11 Apr  7 22:11 3.mpg -> /root/3.mpg
-rw-r--r--   1 root root  3643 Apr  7 22:11 Highlight.png
-rw-r--r--   1 root root   698 Apr  7 22:11 Highlightx1.png
-rw-r--r--   1 root root  3641 Apr  7 22:11 Select.png
-rw-r--r--   1 root root   696 Apr  7 22:11 Selectx1.png
drwxr-xr-x   2 root root  4096 Apr  7 22:11 animenu
-rw-r--r--   1 root root    22 Apr  7 22:11 draw_file
-rw-r--r--   1 root root   354 Apr  7 22:11 empty-button.png
-rw-r--r--   1 root root  3227 Apr  7 22:11 fake_montage.png
drwxr-xr-x   5 root root  4096 Apr  7 22:11 pics
-rw-r--r--   1 root root 58809 Apr  7 22:11 preview.jpg
-rw-r--r--   1 root root 22347 Apr  7 22:11 title_txt.png
bash-3.2#