I can play the video stream from my UVC camera using the following:
gst-launch-1.0 v4l2src device=/dev/video4 ! decodebin ! autovideosink
Now, I would like to convert the stream to h264, in order to pipe it further (i.e. not necessarily to autovideosink
). But when I do the following:
gst-launch-1.0 v4l2src device=/dev/video4 ! videoconvert ! x264enc ! decodebin ! autovideosink
I get the error:
x264 [error]: baseline profile doesn't support 4:2:2
What am I missing?