我们解码并播放 VP8 视频文件,输入以下命令
gst-launch-1.0 filesrc location=/gstreamer/video/1080p_30fps_vp8.webm typefind=true ! \
video/x-matroska ! aiurdemux ! queue max-size-time=0 ! vpudec ! imxvideoconvert_g2d ! \
video/x-raw, format=RGB16,width=1024, height=600 ! waylandsink
解码并播放 VP8 视频文件(带音频),输入以下命令:
gst-launch-1.0 filesrc location=/gstreamer/video/1080p_30fps_vp8.webm typefind=true ! \
video/x-matroska ! aiurdemux name=demux demux. ! queue max-size-buffers=0 \
max-size-time=0 ! vpudec ! imxvideoconvert_g2d ! video/x-raw, format=RGB16,width=1024, \
height=600 ! waylandsink demux. ! queue max-size-buffers=0 max-size-time=0 \
! decodebin ! audioconvert ! audioresample ! pulsesink
|