uvcsink using arbitrary sources

Markus Fritsche mfritsche at reauktion.de
Fri Sep 8 23:12:18 UTC 2023


On 06.09.2023 19:34, Nicolas Dufresne wrote:
> Le lundi 04 septembre 2023 à 14:37 +0200, Michael Tretter via 
> gstreamer-devel a
> écrit :
>> Try to add a capsfilter with exactly the caps in this warning to your 
>> pipeline
>> right before the uvcsink. The v4l2sink is a bit picky regarding the 
>> caps, as
>> the V4L2 output device of the UVC gadget is not entirely compliant to 
>> the V4L2
>> API [0].

gst-launch-1.0 videotestsrc ! jpegenc ! 'image/jpeg, 
parsed=(boolean)true, width=(int)1920, height=(int)1080, 
colorimetry=(string){ 2:4:7:1 }, framerate=(fraction){ 30/1, 25/1, 15/1 
}' ! queue ! uvcsink v4l2sink::device=/dev/video0

works, 1 frame every 3 seconds, but thats an implementation detail ;)

Best regards,
   Markus


More information about the gstreamer-devel mailing list