Introductory
...
If successful, the screen can be viewed with the RTSP tool with the address rtsp://x.x.x.x:8554/test.
If your C3V system doesn’t have the GStreamer or you feel that the provided GStreamer does not meet your needs, you can recompile one of the plugins or the entire Gstreamer as below.
...
Code Block |
---|
gst-launch-1.0 -v filesrc location=1080p.jpg ! jpegparse ! v4l2jpegdec ! "video/x-raw,colorimetry=bt601" ! filesink location=og_1080p.yuv |
JPEG to MP4
Code Block |
---|
gst-launch-1.0 -v filesrc location=1080p.jpg ! jpegdec ! videoconvert ! v4l2h264enc ! h264parse ! mp4mux ! filesink location=1080p.mp4 |
Show USB camera(/dev/video0) image with GUI interface
Code Block |
---|
gst-launch-1.0 v4l2src device=/dev/video0 ! video/x-raw,width=640,height=480,format=YUY2,framerate=30/1 ! videoconvert ! ximagesink
or
gst-launch-1.0 v4l2src device=/dev/video0 ! video/x-raw,width=640,height=480,format=YUY2,framerate=30/1 ! videoconvert ! glimagesink |