After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 536646 - v4l2src doesn't pick the optimal resolution
v4l2src doesn't pick the optimal resolution
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
git master
Other Linux
: Normal normal
: 0.10.9
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2008-06-04 16:40 UTC by Sjoerd Simons
Modified: 2008-06-04 17:39 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
use a custom negotiation function (4.53 KB, text/plain)
2008-06-04 16:41 UTC, Sjoerd Simons
Details

Description Sjoerd Simons 2008-06-04 16:40:41 UTC
v4l2src should listen to it's peer what the optimal resolution it should provide is. The default negotiation doesn't do that unfortunately.

Also fixating on a framerate close to 15/2 is silly especially with usb2 cameras being more abundant. These can easily do around 30 fps on decent resolutions (like the ones you want for videoconferencing), so just pick the highest fps possible.
Comment 1 Sjoerd Simons 2008-06-04 16:41:27 UTC
Created attachment 112150 [details]
use a custom negotiation function
Comment 2 Sebastian Dröge (slomo) 2008-06-04 17:39:17 UTC
2008-06-04  Sebastian Dröge  <slomo@circular-chaos.org>

        Patch by: Sjoerd Simons <sjoerd at luon dot net>

        * sys/v4l2/gstv4l2src.c: (gst_v4l2src_class_init),
        (gst_v4l2src_fixate), (gst_v4l2src_negotiate):
        Provide a custom negotiation function to make sure to pick the highest
        possible framerate and resolution. Fixes bug #536646.