<div dir="ltr"><div><div><div><div>Hi,<br></div>I was trying to play and mp4 file with uridecode bin but got the following error.<br></div><div>The file works fine with playbin and filesrc.<br></div>I was unable to figure out how to pass caps to get the pipeline to work.<br>

</div>Are the VAAPI drivers causing any issue ?<br></div>Thanks in advance.<br><div><div><div><div><br>@debian:~/CodeBase/CinePlayer_GST_0.0.1/GST_Test_Apps/Debian-7.4$ gst-launch-1.0 uridecodebin uri=file:///home/ufouser/Media/H264_With_Audio/trial.mp4 ! qtdemux ! avdec_h264 ! autovideosink<br>

Setting pipeline to PAUSED ...<br>Pipeline is PREROLLING ...<br>libva info: VA-API version 0.34.0<br>libva info: va_getDriverName() returns 0<br>libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so<br>

libva info: Found init function __vaDriverInit_0_32<br>libva info: va_openDriver() returns 0<br>Missing element: video/x-surface decoder<br>WARNING: from element /GstPipeline:pipeline0/GstURIDecodeBin:uridecodebin0: No decoder available for type 'video/x-surface, type=(string)vaapi, opengl=(boolean)true, width=(int)1280, height=(int)720, framerate=(fraction)50/1, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive'.<br>

Additional debug info:<br>gsturidecodebin.c(880): unknown_type_cb (): /GstPipeline:pipeline0/GstURIDecodeBin:uridecodebin0<br>ERROR: from element /GstPipeline:pipeline0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstQTDemux:qtdemux1: GStreamer encountered a general stream error.<br>

Additional debug info:<br>qtdemux.c(3952): gst_qtdemux_loop (): /GstPipeline:pipeline0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstQTDemux:qtdemux1:<br>streaming stopped, reason not-linked<br>ERROR: pipeline doesn't want to preroll.<br>

Setting pipeline to NULL ...<br><br clear="all"><div><div><br>-- <br>Regards<br>Subodh
</div></div></div></div></div></div></div>