[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mjpeg-users
Subject:    Re: [Mjpeg-users] Converting vnc session to a movie file.
From:       Bernhard Praschinger <shadowlord () utanet ! at>
Date:       2009-09-29 16:50:27
Message-ID: 4AC23AD3.7090509 () utanet ! at
[Download RAW message or body]

Hallo

Nagalenoj H. wrote:
> It's working great. Thanks. The video is clear. Finally, I've executed 
> the command as
> ./rfbproxy -x ../../files/q3.fbs | ppmtoy4m -S 420jpeg | mpeg2enc -b 
> 10000 --no-constraints -f 3 -4 1 -2 1 -q 4 -P -N 1.0 -M 2 -E -10 -D 10 
> -a 2 -o video.mp2
> 
> and
> 
> ./rfbproxy -x ../../files/q3.fbs | ppmtoy4m -S 420jpeg |mpeg2enc -f 3 -q 
> 4 -b 10000 --no-constraints -o video1.mp2
> 
> 
> The fbs file has one minute session(video). When I execute this command, 
> It is taking around 4 minutes to convert fbs file to mp2. I feel this is 
> quiet unfair, so is there any options to reduce this conversion duration 
> without any loss in video.?
How many cores do you have in your computer ?
The -M 2 (or 4) helps. Is there a program in the pipeline that uses 100% 
of one CPU ?

Did you run the pipeline with the time program ? So you know how much 
time each program consumes (should work):
time ./rfbproxy -x ../../files/q3.fbs | time ppmtoy4m -S 420jpeg | \
time mpeg2enc -f 3 ...

You might gain some speed by using a buffer program like bfr:
http://www.glines.org/software/bfr
You use it in a way like that:
./rfbproxy -x ../../files/q3.fbs | ppmtoy4m -S 420jpeg | \
bfr -b 64M | mpeg2enc ...

auf hoffentlich bald,

Berni the Chaos of Woodquarter

Email: shadowlord@utanet.at
www: http://www.lysator.liu.se/~gz/bernhard

------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; 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&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic