[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:       "Nagalenoj H." <nagalenoj () gmail ! com>
Date:       2010-04-26 9:24:51
Message-ID: x2wfe67a3341004260212z571e6fc2u8d96fb090c84006f () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


I've just summarized the usage of mjpegtools along with RfbProxy in
http://nagalenoj.blogspot.com/2010/04/rfbproxy.html

On Fri, Oct 2, 2009 at 9:35 PM, Bernhard Praschinger
<shadowlord@utanet.at>wrote:

> Hallo
>
> Nagalenoj H. wrote:
> > Mine is not dual core or more.. And that command(time with each command
> > in pipe) doesn't work. I don't how I am going to reduce the conversion
> > duration?!!!!
> If you only have one CPU/Core you don't even need mpeg2enc's -M 2
> option. The only thing that might help you than is the buffer program
> for buffering the I/O. The mjpegtools with the piping can only be mad
> faster with more cores.
>
> You might try it without the -4 and -2 option that should speed up
> things a little
>
> > Another question, I'm using mjpegtools in ubuntu right now. When, I try
> > to install in debian. It is failing. Whether the package supports
> > debian? I need mjpegtools in debian machine.
> You might get a precompiled packed from debian. There is no precompiled
> package on Sourceforge.
>
> [...]
>
> >      > 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 ...
> Than just try it for one program at the time.
>
> auf hoffentlich bald,
>
> Berni the Chaos of Woodquarter
>
> Email: shadowlord@utanet.at
> www: http://www.lysator.liu.se/~gz/bernhard<http://www.lysator.liu.se/%7Egz/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
>



-- 
Regards,
Nagalenoj H.

[Attachment #5 (text/html)]

I&#39;ve just summarized the usage of mjpegtools along with RfbProxy in<br><a \
href="http://nagalenoj.blogspot.com/2010/04/rfbproxy.html">http://nagalenoj.blogspot.com/2010/04/rfbproxy.html</a><br><br><div \
class="gmail_quote"> On Fri, Oct 2, 2009 at 9:35 PM, Bernhard Praschinger <span \
dir="ltr">&lt;<a href="mailto:shadowlord@utanet.at">shadowlord@utanet.at</a>&gt;</span> \
wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, \
204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> Hallo<br>
<div class="im"><br>
Nagalenoj H. wrote:<br>
&gt; Mine is not dual core or more.. And that command(time with each command<br>
&gt; in pipe) doesn&#39;t work. I don&#39;t how I am going to reduce the \
conversion<br> &gt; duration?!!!!<br>
</div>If you only have one CPU/Core you don&#39;t even need mpeg2enc&#39;s -M 2<br>
option. The only thing that might help you than is the buffer program<br>
for buffering the I/O. The mjpegtools with the piping can only be mad<br>
faster with more cores.<br>
<br>
You might try it without the -4 and -2 option that should speed up<br>
things a little<br>
<div class="im"><br>
&gt; Another question, I&#39;m using mjpegtools in ubuntu right now. When, I try<br>
&gt; to install in debian. It is failing. Whether the package supports<br>
&gt; debian? I need mjpegtools in debian machine.<br>
</div>You might get a precompiled packed from debian. There is no precompiled<br>
package on Sourceforge.<br>
<br>
[...]<br>
<div class="im"><br>
&gt;      &gt; The fbs file has one minute session(video). When I execute this<br>
&gt;     command,<br>
&gt;      &gt; It is taking around 4 minutes to convert fbs file to mp2. I feel<br>
&gt;     this is<br>
&gt;      &gt; quiet unfair, so is there any options to reduce this conversion<br>
&gt;     duration<br>
&gt;      &gt; without any loss in video.?<br>
&gt;     How many cores do you have in your computer ?<br>
&gt;     The -M 2 (or 4) helps. Is there a program in the pipeline that uses 100%<br>
&gt;     of one CPU ?<br>
&gt;<br>
&gt;     Did you run the pipeline with the time program ? So you know how much<br>
&gt;     time each program consumes (should work):<br>
&gt;     time ./rfbproxy -x ../../files/q3.fbs | time ppmtoy4m -S 420jpeg | \<br>
&gt;     time mpeg2enc -f 3 ...<br>
</div>Than just try it for one program at the time.<br>
<div><div></div><div class="h5"><br>
auf hoffentlich bald,<br>
<br>
Berni the Chaos of Woodquarter<br>
<br>
Email: <a href="mailto:shadowlord@utanet.at">shadowlord@utanet.at</a><br>
www: <a href="http://www.lysator.liu.se/%7Egz/bernhard" \
target="_blank">http://www.lysator.liu.se/~gz/bernhard</a><br> <br>
------------------------------------------------------------------------------<br>
Come build with us! The BlackBerry&amp;reg; Developer Conference in SF, CA<br>
is the only developer event you need to attend this year. Jumpstart your<br>
developing skills, take BlackBerry mobile applications to market and stay<br>
ahead of the curve. Join us from November 9&amp;#45;12, 2009. Register \
now&amp;#33;<br> <a href="http://p.sf.net/sfu/devconf" \
target="_blank">http://p.sf.net/sfu/devconf</a><br> \
_______________________________________________<br> Mjpeg-users mailing list<br>
<a href="mailto:Mjpeg-users@lists.sourceforge.net">Mjpeg-users@lists.sourceforge.net</a><br>
 <a href="https://lists.sourceforge.net/lists/listinfo/mjpeg-users" \
target="_blank">https://lists.sourceforge.net/lists/listinfo/mjpeg-users</a><br> \
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Regards,<br>Nagalenoj \
H.<br>



------------------------------------------------------------------------------


_______________________________________________
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