Try with ffmpeg 0.4.6. According to the changelog thats when encoding to vcd mpeg file format was added. That's the version I'm using now on debian and it works fine. If you can't find a newer version, try this:
$ ffmpeg -i original.avi -f mpeg1video -bufsize 46 -maxrate 1152 -vcodec mpeg1video -an video_vcd.m1v $ ffmpeg -i original.avi -f mp2 -ab 224 -ar 44100 -ac 2 -acodec mp2 -vn audio_vcd.mp2 Note -ac 2 means 2 audio channels (stereo), change to 1 of you only have mono sound. Then put it all back together: $ mplex -f 1 audio_vcd.mp2 video_vcd.m1v -o vcd_out.mpg ~Scott On January 17, 2003 02:33 pm, Jesse Kline wrote: > On Fri, 2003-01-17 at 01:52, Scott Zuk wrote: > > $ ffmpeg -i original.avi -f vcd output_vcd.mpg > > I am having some problems with this. I downloaded a RedHat rpm for > version 0.4.5 of ffmpeg. When I run this command I get the following > error: "Invalid format: vcd". I tried using the -f mpeg switch and it > did convert the video, however when I run vcdimager I get this error: > "++ WARN: packet length beyond buffer (pos = 2054 + size = 2042 > buflen > = 2324) > -- stream may be truncated or packet length > 2324 bytes! > **ERROR: input mpeg stream has been deemed invalid -- aborting". > I tried using vcdgear to fix the file with the -mpg2mpg and -fix flags > but I get the following error: "WARNING: Corruption might occur for > non-valid pack sized MPEGs > > Segmentation fault" > Any ideas? > > Thanks again, > > Jesse
