- 本地播放
$gst-launch filesrc location=</*.mp4> ! qtdemux name=demuxer demuxer. ! ffdec_h264 ! queue ! xvimagesink demuxer. ! faad ! autoaudiosink
2. 流媒体方式
$gst-launch rtspsrc location=rtsp://127.0.0.1/movie.mp4 name=s ! rtph264depay ! ffdec_h264 ! queue ! xvimagesink s. ! rtpmp4gdepay ! faad ! autoaudiosink