Your support is needed and is appreciated as Amigaworld.net is primarily dependent upon the support of its users.
|
|
|
|
FeaturesMain »» Tutorials
VideoCD on OS4 HOWTO  (Read 2503 times) | Hi, this is a tutorial on how to create VideoCDs out of any video file, encoded in divx or any other common video format.
Software required:
- Mencoder 1.0pre8.07 - VCDImager 68k 0.7.14 - registered MakeCD 3.2d beta 11 and makecdromfs.module V45.12, or - cdrdao 68k (inside CDonFire Tools archive) and Ixemul for OS4
1) Converting the video file to a VideoCD/SuperVideoCD-compatible mpeg file. Set a suitably high stack before starting. During the conversion, many "US-ASCII conversion" warnings will appear, you can safely ignore them. Movie.mpg is the output file, movie.avi the input one. I've so far tested only the PAL VCD option.
PAL VCD: mencoder -oac lavc -ovc lavc -of mpeg -mpegopts format=xvcd -vf scale=352:288,harddup -srate 44100 -af lavcresample=44100 -lavcopts vcodec=mpeg1video:keyint=15:vrc_buf_size=327:vrc_minrate=1152:vbitrate=1152:vrc_maxrate=1152:acodec=mp2:abitrate=224 -ofps 25 -o movie.mpg movie.avi
NTSC VCD: mencoder -oac lavc -ovc lavc -of mpeg -mpegopts format=xvcd -vf scale=352:240,harddup -srate 44100 -af lavcresample=44100 -lavcopts vcodec=mpeg1video:keyint=18:vrc_buf_size=327:vrc_minrate=1152:vbitrate=1152:vrc_maxrate=1152:acodec=mp2:abitrate=224 -ofps 30000/1001 -o movie.mpg movie.avi
PAL SVCD: mencoder -oac lavc -ovc lavc -of mpeg -mpegopts format=xsvcd -vf scale=480:576,harddup -srate 44100 -af lavcresample=44100 -lavcopts vcodec=mpeg2video:mbd=2:keyint=15:vrc_buf_size=917:vrc_minrate=600:vbitrate=2500:vrc_maxrate=2500:acodec=mp2:abitrate=224 -ofps 25 -o movie.mpg movie.avi
NTSC SVCD: mencoder -oac lavc -ovc lavc -of mpeg -mpegopts format=xsvcd -vf scale=480:480,harddup -srate 44100 -af lavcresample=44100 -lavcopts vcodec=mpeg2video:mbd=2:keyint=18:vrc_buf_size=917:vrc_minrate=600:vbitrate=2500:vrc_maxrate=2500:acodec=mp2:abitrate=224 -ofps 30000/1001 -o movie.mpg movie.avi
2) Splitting the mpeg video (if the resulting file is too big). You'll need to do this if the file is bigger than 600 megabytes, you'll have to make 2 VideoCDs, so repeat points 3 and 4 for both files. This has not been tested.
mencoder -ovc copy -oac copy -endpos 0:50:00 -o movie-part1.mpg movie.mpg mencoder -ovc copy -oac copy -ss 0:50:00 -o movie-part2.mpg movie.mpg
3) Creating .cue and .bin files:
VCD: vcdimager movie.mpg
SVCD: vcdimager -t svcd movie.mpg
4a) Burning the tracks with latest *registered* MakeCD:
Open MakeCD, select from menu "Edit->Import CD Image->CDRWin (.cue)", then proceed to burn the CD.
4b) Burning the tracks with cdrdao:
The cdrdao commandline tool is inside the CDonFire archive, inside the Tools drawer. You'll have to install the ixemul libs in the Libs: directory, too. There's no need to install any part of the GeekGadgets archives and/or set any assign, cdrdao doesn't make use of them. First you have to find out how's your CD/DVD burner placed in the IDE chain (e.g. 0,0,0), then you use this information to burn the CD:
cdrdao scanbus cdrdao write --device (burner address) --driver generic-mmc --speed (speed supported by the CD) movie.cue example: cdrdao write --device 0,0,0 --driver generic-mmc --speed 16 movie.cue
That's all. Enjoy your VideoCD!
Reference: http://www.mplayerhq.hu/DOCS/HTML/en/menc-feat-vcd-dvd.html http://lists.mplayerhq.hu/pipermail/mplayer-users/2002-April/013720.html http://www-oss.fnal.gov/projects/fermilinux/common/class/advanced-admin/cdrecord3.html http://wiki.linuxquestions.org/wiki/Cdrdao
Varthall/Up Rough - Varthall
|
|
[ home ][ about us ][ privacy ]
[ forums ][ classifieds ]
[ links ][ news archive ]
[ link to us ][ user account ]
|