[gstreamer-bugs] [Bug 628764] [videorate] add new option for max frame rate
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Fri Sep 10 23:53:15 PDT 2010
https://bugzilla.gnome.org/show_bug.cgi?id=628764
GStreamer | gst-plugins-base | git
--- Comment #6 from Alexey Fisher <bug-track at fisher-privat.net> 2010-09-11 06:53:14 UTC ---
(In reply to comment #4)
> Maybe the videomaxrate plugin should be merged into videorate. That said,
> videomaxrate works a bit differently, it give you a max average frame rate (so
> it doesn't guarantee that the time between two frames is less than
> framerate/1). If you use the naive approach (just drop frames but not
> duplicate), you end up with the risk that if you start with 11fps but want
> 10fps, it may instead drop 50% of the frames (because the time between two
> incoming frame is always a bit more than 1/10s) and you end up with 6 fps.
I can't reproduce what you write in thew praxis.
Here i use this pipeline, but i still get about 9-10fps on output
gst-launch v4l2src -v ! videorate !
video/x-raw-yuv,width=320,high=240,framerate=11/1 ! ffmpegcolorspace !
videorate vfr-max-mode=1 ! video/x-raw-yuv,framerate=10/1 ! fpsdisplaysink
my patch work just fine for me. Can you please take a look in it?
--
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the Gstreamer-bugs
mailing list