Marc G. Fournier <scrappy <at> hub.org> writes: > 'k, based on one thread I found, I figured I'd upgrade to the latest CVS > before pursuing this further ... > > I'm trying to convert from a vncrec .vnc file to .avi, and no matter what > I try, I keep getting zero frames :(
I've never had any luck using transcode to convert vnc files. I finally resorted to using the "-movie" option to dump the entire clip to individual xpm files. After that you can use mogrify (from ImageMagick) to convert them to jpeg or ppm files. Then you can use jpeg2yuv or ppmtoy4m (from mjpegtools) or ppmtoyuv (from netpbm) to produce a YUV stream which can be piped through yuv2lav (from mjpegtools) to produce an mjpeg avi. With that done, you should be able to load it in cinelerra (or whatever) for editing or encode it to a different codec (perhaps xvid) using transcode. You can also use mencoder (from MPlayer) to take the image files and produce an avi from them. Since mencoder has more options than stars in our galaxy and I can rarely decipher the man page, here's an example that I found online (I don't remember where): __begin__ mencoder \*.jpg -mf on:fps=8 -o session.mpg -ovc lavc -lavcopts codec=mpeg1video The "-mf on:fps=8" tells mencoder to turn on the multiple files option and encode at 8 frames per second all the jpg files in the same directory. The output file, -o, will be session.mpg. Mencoder will use the lavc (libavc codec) as the output video codec (-ovc) and pass the lavc option (-lavcopts) to create a mpeg1 video. Once the conversion process is finished, the resulting video should be playable on any media player capable of playing mpeg1 video. Furthermore, the file size should be very small __end__ Well, that example produces an mpeg file, but you can use different options to produce an avi. A long process, but it does work. I hope this is useful for you. - Peter Federighi