Hallo > Hello, > 1) I want to convert *.avi file to a *.vcd > so I can burn it and play it on a DVD which supports VCD format. > I am working on a RedHat 9 platform. > Now , after googling deeply, I tried converting the *.avi file using > avidemux. > (http://fixounet.free.fr/avidemux/) > > In the doc section in that sight , there is there Divx to VCD tutorial. > > I performed everything according to that tutorail, and created 2 files: > > one for encoded video : videocd.m1v > one foe encoded audio : videocd.mp2 > Now , I want to multiplex the to a single *.mpg file; I should do it with > mplex of mjpegtools according to that tutorial. > Now, I try : > mplex -S 790 -f 1 -o /tmp/videocd.mpg videocd.m1v videocd.mp2 > > I get the following error: > > INFO: [mplex] mplex version 2.2.1 ($Date: 2002/02/04 19:06:14 $) > **ERROR: [mplex] File videocd.m1v unrecogniseable! > **ERROR: [mplex] Unable to open file videocd.mp2 for reading. Lookes like something with the filecreation went wrong.
have you checked the file permissions ? > why is it so ? Does this tool have the option for verbose output ? If you can send the commands the tool executes, we might be able ot provide more help. > I want to empasize that I had checked with avidemux , and it can play > videocd.m1v. Can you play back the files with mplayer or mpg123 ? Can you attach the output. > 2) are the other alternatives to convert *.avi file to a *.vcd on Linux? Several, possiblitys. transcode for example. If mplayer can play back the video, you should be able to encode it with the mjpegtools too: ------cut here --------- #! /bin/sh mkfifo stream.yuv mplayer -nofs -nosound -vo yuv4mpeg -ni -quiet -fps 24 $1 </dev/null & cat stream.yuv | yuvscaler -n n -O VCD -M BICUBIC -M WIDE2VCD -v 0 | \ mpeg2enc -n n -f 1 -a 1 -F 2 -4 1 -2 1 -r 16 -S 768 -B 224 \ -o video.m1v mplayer -nofs -vo null -ao pcm -waveheader -ni $1 mv audiodump.wav audio.wav sox -t wav -r 42336 audio.wav -t wav -r 44100 /dev/stdout | \ toolame -p 2 -b 224 /dev/stdin audio.mp2 mplex -f 1 audio.mp2 video.m1v -o myvcd%d.mpg rm -f audio.mp2 video.m1v stream.yuv audio.wav -------cut here -------- This script was written by Robert Kesterson. auf hoffentlich bald, Berni the Chaos of Woodquarter Email: [EMAIL PROTECTED] www: http://www.lysator.liu.se/~gz/bernhard ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Mjpeg-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/mjpeg-users