All pastes #733889 Raw Edit

Miscellany

public text v1 · immutable
·published 2007-10-12 04:53 UTC
rendered paste body
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.1/animenu/1.jpg | ffmpeg -f yuv4mpegpipe -i - -an -r 29.970 -s 
480x480 -tvstd ntsc -b 2200k -minrate 2200k -maxrate 2200k -bufsize 112KiB 
-aspect 4:3 -y /tmp/todisc-work.1/intro.m2v

Cleaning up montage images
removed `/tmp/todisc-work.1/intro.wav'

Multiplexing main menu audio and video together

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


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

--------------------------------
makexml
A script to generate XML for authoring a VCD, SVCD, or DVD.
Part of the tovid suite, version 0.31
http://www.tovid.org
--------------------------------
Adding a menu using file: /tmp/todisc-work.1/intro.mpg
Adding title: /home/hendaus/28.wmv.enc.mpg as title number 1
Adding title: /home/hendaus/29.wmv.enc.mpg as title number 2
Done. The resulting XML was written to /home/hendaus/babalhara.xml.
You can create the (S)VCD .bin and .cue files by running the command:
    makevcd "/home/hendaus/babalhara.xml"
Thanks for using makexml!
--------------------------------
makevcd
A script to create cue/bin files for a (S)VCD and burn them to a CD
Part of the tovid suite, version 0.31
http://www.tovid.org
--------------------------------
==========================================
Creating cue/bin disc image with the following command:
vcdxbuild -c "/home/hendaus/babalhara.xml.cue" -b "/home/hendaus/babalhara.xml.bin" "/home/hendaus/babalhara.xml"
++ WARN: initializing libvcd 0.7.23 [linux-gnu/x86_64]
++ WARN:  
++ WARN:  this is the Beta development branch!
++ WARN:  use only if you know what you are doing
++ WARN:  see http://www.hvrlab.org/~hvr/vcdimager/ for more information
++ WARN:  
++ WARN: mpeg stream contained no scan information (user) data
++ WARN: mpeg stream contained no scan information (user) data
++ WARN: mpeg stream contained no scan information (user) data
**ERROR: image too big (531456 sectors > 449850 sectors)
/usr/bin/makevcd: line 78: killsubprocs: command not found
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
makevcd encountered an error during the VCD creation process:
Imaging failed, please see vcdxbuild output above.
See if anything in the above output helps you diagnose the
problem, and please file a bug report containing the above
output with http://www.tovid.org. Sorry for the inconvenience!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Cleaning up unwanted files in /home/hendaus/todisc-work.1
removed directory: `/tmp/todisc-work.1/animenu'
removed directory: `/tmp/todisc-work.1/pics/1'
removed directory: `/tmp/todisc-work.1/pics/0'
removed directory: `/tmp/todisc-work.1/pics'

=========================================================
todisc took 00:04:59.000 to finish on  AMD Athlon(tm) 64 X2 Dual Core Processor 4200+
 AMD Athlon(tm) 64 X2 Dual Core Processor 4200+ 2210.186
2210.186 mhz
=========================================================
Your svcd bin and cue files are ready. You can burn them with:
    cdrdao write --device /dev/hdc --driver generic-mmc /home/hendaus/babalhara.cue

Thanks for using todisc.

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

You have indicated you want to burn the SVCD image
Would you like to burn the SVCD now ?
Type 'yes' to continue: yes

Proceeding to burn, continuing.

--------------------------------
makevcd
A script to create cue/bin files for a (S)VCD and burn them to a CD
Part of the tovid suite, version 0.31
http://www.tovid.org
--------------------------------
==========================================
Creating cue/bin disc image with the following command:
vcdxbuild -c "/home/hendaus/babalhara.xml.cue" -b "/home/hendaus/babalhara.xml.bin" "/home/hendaus/babalhara.xml"
I/O warning : failed to load external entity "/home/hendaus/babalhara.xml"
++ WARN: error while parsing file `/home/hendaus/babalhara.xml': No such file or directory
/usr/bin/makevcd: line 78: killsubprocs: command not found
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
makevcd encountered an error during the VCD creation process:
Imaging failed, please see vcdxbuild output above.
See if anything in the above output helps you diagnose the
problem, and please file a bug report containing the above
output with http://www.tovid.org. Sorry for the inconvenience!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Your SVCD should be ready

Cleaning up...
Removing /home/hendaus/todisc-work.1
Removing the symlink in /tmp . . . 
removed `/tmp/todisc-work.1'
Running command: todisc -files /home/hendaus/28.wmv /home/hendaus/29.wmv -titles 28 29 -svcd -ntsc -static -out /home/hendaus/babalhara -tovidopts '-fit 300' -burn -speed 12 -device /dev/hda
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Running command:
todisc -files /home/hendaus/28.wmv /home/hendaus/29.wmv -titles 28 29 -svcd -ntsc -static -out /home/hendaus/babalhara -tovidopts '-fit 300' -burn -speed 12 -device /dev/hda
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--------------------------------
todisc
Generate a DVD filesystem with animated thumbnail menus
Part of the tovid suite, version 0.31
http://www.tovid.org
--------------------------------
create symbolic link `/tmp/todisc-work.1' to `/home/hendaus/todisc-work.1'
removed `/home/hendaus/todisc.log'

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

Creating work directories

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

Adding: /home/hendaus/28.wmv
Adding: /home/hendaus/29.wmv

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

Verifying that input files are video files
/home/hendaus/28.wmv ok
/home/hendaus/29.wmv ok


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

Menu title: "My Video Collection"
(adjust with -menu-title)
Including the following videos:
  "28" (/home/hendaus/28.wmv)
  "29" (/home/hendaus/29.wmv)
Current font settings: 
-menu-font Helvetica
-menu-fontsize 26
-thumb-font Helvetica
-thumb-fontsize 10
Current menu settings: 
Video 1:  -seek 2 second(s)  -chapters 6
Video 2:  -seek 2 second(s)  -chapters 6

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

**** NOTE ****

Doing all work in directory /home/hendaus/todisc-work.1
/tmp/todisc-work.1 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 26 -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

[1 of 2] Seeking to 2  seconds in /home/hendaus/28.wmv

[2 of 2] Seeking to 2  seconds in /home/hendaus/29.wmv

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 /home/hendaus/28.wmv for compliance...
Checking /home/hendaus/29.wmv for compliance...

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

Encode input files

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

Some of the -files you provided are not NTSC SVCD-compliant:

/home/hendaus/28.wmv
/home/hendaus/29.wmv

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 SVCD format with 'tovid'
Converting: /home/hendaus/28.wmv
--------------------------------
tovid
DVD and (S)VCD video conversion script
Version 0.31
http://www.tovid.org
--------------------------------
Using config file /home/hendaus/.tovid/tovid.config, containing the following options:
(none)
tovid command-line used:
-ntsc -svcd -in /home/hendaus/28.wmv -out /home/hendaus/28.wmv.enc -fit 300

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

Sorry, for SVCD output, mpeg2enc encoding and normalizing have been disabled
Setting new options for you

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

Changing to working directory: /tmp/todisc-work.1
Output file already exists: /home/hendaus/28.wmv.enc.mpg
If you would like to overwrite the existing files, please re-run the script with the 'overwrite' option.

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

Converting: /home/hendaus/29.wmv
--------------------------------
tovid
DVD and (S)VCD video conversion script
Version 0.31
http://www.tovid.org
--------------------------------
Using config file /home/hendaus/.tovid/tovid.config, containing the following options:
(none)
tovid command-line used:
-ntsc -svcd -in /home/hendaus/29.wmv -out /home/hendaus/29.wmv.enc -fit 300

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

Sorry, for SVCD output, mpeg2enc encoding and normalizing have been disabled
Setting new options for you

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

Changing to working directory: /tmp/todisc-work.1
Output file already exists: /home/hendaus/29.wmv.enc.mpg
If you would like to overwrite the existing files, please re-run the script with the 'overwrite' option.

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

create symbolic link `/tmp/todisc-work.1/1-1.mpg' to `/home/hendaus/28.wmv.enc.mpg'
create symbolic link `/tmp/todisc-work.1/1-2.mpg' to `/home/hendaus/29.wmv.enc.mpg'

Getting stats on /home/hendaus/28.wmv.enc.mpg

Getting stats on /home/hendaus/29.wmv.enc.mpg

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

Stats for /home/hendaus/28.wmv.enc.mpg 

 video codec:    MPEG2 
 video bitrate:  2516000 bits per second 
 framerate:      29.970 fps 
 audio codec:    mp2 
 audio bitrate:  224000 bits per second 
 video length:   2504.902 seconds

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

Stats for /home/hendaus/29.wmv.enc.mpg 

 video codec:    MPEG2 
 video bitrate:  2516000 bits per second 
 framerate:      29.970 fps 
 audio codec:    mp2 
 audio bitrate:  224000 bits per second 
 video length:   2564.262 seconds



Creating 1 images from each video for the main menu
Working on /home/hendaus/28.wmv.enc.mpg
Seeking in video and creating images: 000001.jpg            
Created 2 images of 1
Working on /home/hendaus/29.wmv.enc.mpg
Seeking in video and creating images: 000001.jpg            
Created 2 images of 1


Chapters for /home/hendaus/28.wmv.enc.mpg are: 
00:00:00.000,00:06:57.483,00:13:54.966,00:20:52.450,00:27:49.930,00:34:47.410,00:41:44.900

Chapters for /home/hendaus/29.wmv.enc.mpg are: 
00:00:00.000,00:07:07.377,00:14:14.754,00:21:22.130,00:28:29.510,00:35:36.890,00:42:44.260

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.1/dummy.jpg | ffmpeg -f yuv4mpegpipe -i - -an -r 29.970 -s 
480x480 -tvstd ntsc -b 2200k -minrate 2200k -maxrate 2200k -bufsize 112KiB 
-aspect 4:3 -y /tmp/todisc-work.1/dummy.m2v

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

FFmpeg version SVN-rUNKNOWN, Copyright (c) 2000-2004 Fabrice Bellard
  configuration:  --enable-gpl --enable-pp --enable-pthreads --enable-vorbis --enable-libogg --enable-a52 --enable-dts --enable-libgsm --enable-dc1394 --disable-debug --enable-mp3lame --enable-faadbin --enable-faad --enable-faac --enable-xvid --enable-x264 --enable-amr_nb --enable-amr_wb --enable-shared --prefix=/usr 
  libavutil version: 0d.49.0.0
  libavcodec version: 0d.51.11.0
  libavformat version: 0d.50.5.0
  built on Mar 25 2007 22:39:13, gcc: 4.1.2 (Ubuntu 4.1.2-0ubuntu4)
Input #0, s16le, from '/dev/zero':
  Duration: N/A, bitrate: N/A
  Stream #0.0: Audio: pcm_s16le, 44100 Hz, mono, 705 kb/s
Output #0, wav, to '/tmp/todisc-work.1/dummy.wav':
  Stream #0.0: Audio: pcm_s16le, 48000 Hz, stereo, 1536 kb/s
Stream mapping:
  Stream #0.0 -> #0.0
Press [q] to stop encoding
size=     183kB time=1.0 bitrate=1536.4kbits/s    
video:0kB audio:183kB global headers:0kB muxing overhead 0.023503%

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

Building main menu

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


Working on 2 images from /home/hendaus/28.wmv.enc.mpg
Processing 000000.jpg                                       
Working on 2 images from /home/hendaus/29.wmv.enc.mpg
Processing 000000.jpg                                       
=========================================================

Making 1 final montages and compositing onto background with title

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

Processing 1.jpg   running montage /tmp/todisc-work.1/pics/0/000000.jpg /tmp/todisc-work.1/pics/1/000000.jpg -tile 2x1 -geometry 180x180+10+4 -background none miff:- | convert /tmp/todisc-work.1/pics/template.jpg - -gravity north -geometry +0+45 -composite miff:- | convert - /tmp/todisc-work.1/title_txt.png -gravity south -geometry +0+50 -composite /tmp/todisc-work.1/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.1/animenu/1.jpg | ffmpeg -f yuv4mpegpipe -i - -an -r 29.970 -s 
480x480 -tvstd ntsc -b 2200k -minrate 2200k -maxrate 2200k -bufsize 112KiB 
-aspect 4:3 -y /tmp/todisc-work.1/intro.m2v

Cleaning up montage images
removed `/tmp/todisc-work.1/intro.wav'

Multiplexing main menu audio and video together

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


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

--------------------------------
makexml
A script to generate XML for authoring a VCD, SVCD, or DVD.
Part of the tovid suite, version 0.31
http://www.tovid.org
--------------------------------
Adding a menu using file: /tmp/todisc-work.1/intro.mpg
Adding title: /home/hendaus/28.wmv.enc.mpg as title number 1
Adding title: /home/hendaus/29.wmv.enc.mpg as title number 2
Done. The resulting XML was written to /home/hendaus/babalhara.xml.
You can create the (S)VCD .bin and .cue files by running the command:
    makevcd "/home/hendaus/babalhara.xml"
Thanks for using makexml!
--------------------------------
makevcd
A script to create cue/bin files for a (S)VCD and burn them to a CD
Part of the tovid suite, version 0.31
http://www.tovid.org
--------------------------------
==========================================
Creating cue/bin disc image with the following command:
vcdxbuild -c "/home/hendaus/babalhara.xml.cue" -b "/home/hendaus/babalhara.xml.bin" "/home/hendaus/babalhara.xml"
++ WARN: initializing libvcd 0.7.23 [linux-gnu/x86_64]
++ WARN:  
++ WARN:  this is the Beta development branch!
++ WARN:  use only if you know what you are doing
++ WARN:  see http://www.hvrlab.org/~hvr/vcdimager/ for more information
++ WARN:  
++ WARN: mpeg stream contained no scan information (user) data
++ WARN: mpeg stream contained no scan information (user) data
++ WARN: mpeg stream contained no scan information (user) data
**ERROR: image too big (531456 sectors > 449850 sectors)
/usr/bin/makevcd: line 78: killsubprocs: command not found
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
makevcd encountered an error during the VCD creation process:
Imaging failed, please see vcdxbuild output above.
See if anything in the above output helps you diagnose the
problem, and please file a bug report containing the above
output with http://www.tovid.org. Sorry for the inconvenience!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Cleaning up unwanted files in /home/hendaus/todisc-work.1
removed directory: `/tmp/todisc-work.1/animenu'
removed directory: `/tmp/todisc-work.1/pics/1'
removed directory: `/tmp/todisc-work.1/pics/0'
removed directory: `/tmp/todisc-work.1/pics'

=========================================================
todisc took 00:03:38.000 to finish on  AMD Athlon(tm) 64 X2 Dual Core Processor 4200+
 AMD Athlon(tm) 64 X2 Dual Core Processor 4200+ 2210.186
2210.186 mhz
=========================================================
Your svcd bin and cue files are ready. You can burn them with:
    cdrdao write --device /dev/hdc --driver generic-mmc /home/hendaus/babalhara.cue

Thanks for using todisc.

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

You have indicated you want to burn the SVCD image
Would you like to burn the SVCD now ?
Type 'yes' to continue: yes

Proceeding to burn, continuing.

--------------------------------
makevcd
A script to create cue/bin files for a (S)VCD and burn them to a CD
Part of the tovid suite, version 0.31
http://www.tovid.org
--------------------------------
==========================================
Creating cue/bin disc image with the following command:
vcdxbuild -c "/home/hendaus/babalhara.xml.cue" -b "/home/hendaus/babalhara.xml.bin" "/home/hendaus/babalhara.xml"
++ WARN: initializing libvcd 0.7.23 [linux-gnu/x86_64]
++ WARN:  
++ WARN:  this is the Beta development branch!
++ WARN:  use only if you know what you are doing
++ WARN:  see http://www.hvrlab.org/~hvr/vcdimager/ for more information
++ WARN:  
++ WARN: mpeg stream contained no scan information (user) data
++ WARN: mpeg stream contained no scan information (user) data
++ WARN: mpeg stream contained no scan information (user) data
**ERROR: image too big (531456 sectors > 449850 sectors)
/usr/bin/makevcd: line 78: killsubprocs: command not found
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
makevcd encountered an error during the VCD creation process:
Imaging failed, please see vcdxbuild output above.
See if anything in the above output helps you diagnose the
problem, and please file a bug report containing the above
output with http://www.tovid.org. Sorry for the inconvenience!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Your SVCD should be ready

Cleaning up...
Removing /home/hendaus/todisc-work.1
Removing the symlink in /tmp . . . 
removed `/tmp/todisc-work.1'