I try to display a video stream with gstreamer. I use the following command, which works:
gst-launch-0.10 rtspsrc location=rtsp://192.168.25.60/stream1.sdp ! rtpmp2tdepay ! mpegtsdemux ! h264parse ! ffdec_h264 max-threads=2 ! mfw_v4lsink
The performance is not as good as it should be so I want to use the hw decoder:
gst-launch-0.10 rtspsrc location=rtsp://192.168.25.60/stream1.sdp ! rtpmp2tdepay ! mpegtsdemux ! vpudec ! mfw_v4lsink
But nothing happens, no video is displayed. I only get this output:
MFW_GST_V4LSINK_PLUGIN 3.0.5 build on Dec 14 2012 13:58:00. Setting pipeline to PAUSED ... [INFO] Product Info: i.MX6Q/D/S vpudec versions plugin: 3.0.5 wrapper: 1.0.28(VPUWRAPPER_ARM_LINUX Build on Dec 14 2012 12:23:57) vpulib: 5.4.10 firmware: 22.214.171.124588 Pipeline is live and does not need PREROLL ... Setting pipeline to PLAYING ... New clock: GstSystemClock [INFO] bitstreamMode 1, chromaInterleave 1, mapType 0, tiled2LinearEnable 0 [WARN] VPU iram is less than needed, some parts don't use iram >>V4L_SINK: Actually buffer status: hardware buffer : 24 software buffer : 0
I also tried aiurdemux which replaces mpegtsdemux but there is a bug with rtsp streaming.