Hallo Nagalenoj H. wrote: > Dear friends, > I've recently come to know about the mjpegtools package. I'm > using it to convert a vnc session to mpg or avi/mpg format. I'm using > RFBproxy which works in the place of vnc viewer and captures the > server's screen updates in a file(fbs format). When, I playback the > recorded vnc session, the clarity of the video is clear. > > Having the RFBproxy > manual[http://rfbproxy.sourceforge.net/manpage.html] as reference, I > tried to convert the vnc session to mpg using the mjpegtools. > I've used the commands as, > rfbproxy -x log.fbs | ppmtoy4m -S 420jpeg | mpeg2enc -o > video.mpg > rfbproxy -x log.fbs | ppmtoy4m -S 420jpeg | ffmpeg -f > yuv4mpegpipe -i - -vcodec mpeg4 video.avi > > After converting to any one of it, the video losses its clarity. > I hope there might be some options to avoid this loss in clarity or is > there any other command in the package to convert the vnc session to > video file? Whats the resolution of the video you create ?
The mpeg2enc command generates a mpeg-1 movie with a very low bitrate. a mpeg2enc command like that will help: mpeg2enc -f 8 -q 4 -o video.mp2 but generates a MPEG-2 Video file instead. a command like that might produce a better image: mpeg2enc -f 8 -4 1 -2 1 -q 5 -P -N 1.0 -M 2 -E -10 -D 10 -a 2 -o video.mp2 The problem is that MPEG will always soften the image. Because is is a compression where you loose details. You can only make that amount a little bit smaller. If you need that details you need to find a different video codec. auf hoffentlich bald, Berni the Chaos of Woodquarter Email: shadowl...@utanet.at www: http://www.lysator.liu.se/~gz/bernhard ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ Mjpeg-users mailing list Mjpeg-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mjpeg-users