mx6: video playback using the coda driver

Philipp Zabel p.zabel at pengutronix.de
Mon Oct 9 13:57:11 UTC 2017


Hi Fabio,

On Mon, 2017-10-09 at 07:31 -0300, Fabio Estevam wrote:
> On Sun, Oct 8, 2017 at 11:09 PM, Nicolas Dufresne <nicolas at ndufresne.c
> a> wrote:
> 
> > This is likely going to fix you issue, the decoder requires a parsed
> > stream
> > (see parsed=1 field).
> 
> I get a different error now:
> 
> # gst-launch-1.0 filesrc location=/root/trailer_1080p_h264_mp3.avi !
> h264parse !
>  v4l2video1dec !  kmssink name=imx-drm sync=0
> Setting pipeline to PAUSED ...
> Pipeline is PREROLLING ...
> ERROR: from element /GstPipeline:pipeline0/GstKMSSink:imx-drm:
> GStreamer encountered a general resource error.
> Additional debug info:
> gstkmssink.c(1320): gst_kms_sink_show_frame ():
> /GstPipeline:pipeline0/GstKMSSink:imx-drm:
> drmModeSetPlane failed: Numerical result out of range (-34)
> ERROR: pipeline doesn't want to preroll.
> Setting pipeline to NULL ...
> Freeing pipeline ...
> #

-ERANGE could be returned by drm_plane_helper_check_state if kmssink
requests scaling, which we don't support in the imx-drm driver.
Though I'm not sure why that whould happen on 1.12, especially if the
video size matches the output size.

What gets logged with GST_DEBUG="kmssink:6" set in the environment?

What gets logged if you enable KMS debug flag (echo 4 >
/sys/module/drm/parameters/debug)?

regards
Philipp


More information about the gstreamer-devel mailing list