Re: Suggest to remove "videorate" and "videoscale" filters from the video_save_bin
- From: Filippo Argiolas <fargiolas gnome org>
- To: Bin Gao <bin gao intel com>
- Cc: cheese-list gnome org
- Subject: Re: Suggest to remove "videorate" and "videoscale" filters from the video_save_bin
- Date: Tue, 20 Oct 2009 10:57:37 +0200
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?
Regards,
Filippo Argiolas
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]