Viewing Captured Image/Video Content

Recorded video files can be viewed with:

gst-play-1.0 test.mp4

If you want to see the decoded framerate of the video during the playback, use the following command:

gst-launch-1.0 -v filesrc location=test.mp4 ! queue ! qtdemux ! vaapidecodebin ! fpsdisplaysink text-overlay=false video-sink="vaapisink fullscreen=true" fps-update-interval=1000

To show a captured JPEG image using Gstreamer:

gst-launch-1.0 filesrc location=image.jpeg ! jpegdec ! imagefreeze ! autovideosink

Use this command to show a raw NV12 format image using Gstreamer. This type of image is produced by the example test cases.

gst-launch-1.0 filesrc location=image_640x480.nv12 ! videoparse width=640 height=480 format=nv12 ! autovideoconvert ! imagefreeze ! autovideosink


For more complete information about compiler optimizations, see our Optimization Notice.