This is an old revision of the document!
gstreamer
debug
mkdir ./tmp export GST_DEBUG_DUMP_DOT_DIR=./tmp/ # ... run pipeline cd tmp dot -Tpng x.xx.xx.xxxxxxxxx-gst-launch.FOO.dot > graph.png
show usb camera
v4l2-ctl --list-devices v4l2-ctl --list-formats -d /dev/video0 ioctl: VIDIOC_ENUM_FMT Type: Video Capture [0]: 'YUYV' (YUYV 4:2:2) [1]: 'H264' (H.264, compressed) [2]: 'MJPG' (Motion-JPEG, compressed) gst-launch-1.0 v4l2src device=/dev/video0 ! xvimagesink
rtsp client
gst-launch-1.0 \ rtspsrc location=rtsp://foscam:foscam1@192.168.2.14:554/videoMain ! rtph264depay \ ! h264parse ! avdec_h264 \ ! videoconvert ! xvimagesink
hardware decode
F=videos/traffico01-1152x720-1610kb.mkv gst-launch-1.0 filesrc location=$F ! matroskademux ! queue ! h264parse ! omxh264dec ! autovideoconvert ! xvimagesink
hardware encode
... ! videoconvert ! omxh264enc ! matroskamux ! filesink location=test.mkv