On Fri, 12 Jan 2018 10:58:40 +0100
Anatolij Gustschin ag...@denx.de wrote:
...
> gst-launch v4l2src device=/dev/video4 num-buffers=1 ! \
>            videoparse format=5 width=1280 height=1024 framerate=25/1 ! \
>            jpegenc ! filesink location=capture1.jpeg

I forgot the videoconvert, sorry. Try

  gst-launch v4l2src device=/dev/video4 num-buffers=1 ! \
             filesink location=frame.raw

  gst-launch filesrc num-buffers=1 location=frame.raw ! \
             videoparse format=5 width=1280 height=1024 framerate=25/1 ! \
             videoconvert ! jpegenc ! filesink location=capture1.jpeg

Anatolij

Reply via email to