mx6: video playback using the coda driver

Fabio Estevam festevam at gmail.com
Mon Oct 9 15:32:31 UTC 2017


On Mon, Oct 9, 2017 at 12:24 PM, Fabio Estevam <festevam at gmail.com> wrote:
> Hi Philipp,
>
> On Mon, Oct 9, 2017 at 12:00 PM, Philipp Zabel <p.zabel at pengutronix.de> wrote:
>
>> I see GStreamer already happens to negotiate YUY2, which should be the
>> most memory bandwidth efficient format in this case. A significant
>> measure would be to use DMA buffers between decoder and kmssink then:
>>
>> v4l2h264dec capture-io-mode=dmabuf ! kmssink
>
> When I explicitly pass the decoder I have another type of error:

Ok, so now I managed to use your suggestion and it has improved a lot:

# gst-launch-1.0 filesrc location=/root/trailer_1080p_h264_mp3.avi ! avidemux !
h264parse! v4l2video1dec capture-io-mode=dmabuf ! kmssink name=imx-drm sync=0

Thanks!


More information about the gstreamer-devel mailing list