Re: Suggest to remove "videorate" and "videoscale" filters from the video_save_bin



On Di, 2009-10-20 at 10:57 +0200, Filippo Argiolas wrote:
> On Tue, Oct 20, 2009 at 10:26 AM, Bin Gao <bin gao intel com> wrote:
> > Hi all,
> >
> > I recently found when cheese was recording video from a webcam at
> > 640x480 resolution on a netbook (e.g. Asus EeePC 901), the CPU occupancy
> > was up to 100% and system response was very slow. The theora and vorbis
> > encoder are expensive on Atom processor. But I found the two filters
> > video_save_rate and video_save_scale in the video_save_bin pipeline seem
> > useless, so I removed them and then I got the CPU occupancy down to ~80%
> > (20% off) and the system response became normal.
> 
> The videorate element is needed because oggmux needs a perfect stream.
> See http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-base-plugins/html/gst-plugins-base-plugins-videorate.html
> and https://bugzilla.gnome.org/show_bug.cgi?id=542014
> Removing it video and audio in the recorded video go out of sync after
> a couple of seconds.
> 
> I cannot figure out why a videoscale element was added in the save
> bin, it's needed in the display bin with ximagesink but I don't really
> know its purpose in the encoding pipeline.
> I suppose there was a reason for it, Daniel? Jaap?
> 

cant remember that ;) sorry!

does the revision history say something?

> Regards,
> Filippo Argiolas
> _______________________________________________
> Cheese-list mailing list
> Cheese-list gnome org
> http://mail.gnome.org/mailman/listinfo/cheese-list


-- 
this mail was sent using 100% recycled electrons
================================================
daniel g. siegel <dgsiegel gnome org>
http://home.cs.tum.edu/~siegel
gnupg key id: 0x6EEC9E62
fingerprint: DE5B 1F64 9034 1FB6 E120 DE10 268D AFD5 6EEC 9E62
encrypted email preferred

Attachment: signature.asc
Description: This is a digitally signed message part



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]