mx6: video playback using the coda driver

Philipp Zabel p.zabel at pengutronix.de
Mon Oct 9 15:00:50 UTC 2017


Hi Fabio,

On Mon, 2017-10-09 at 11:22 -0300, Fabio Estevam wrote:
> On Mon, Oct 9, 2017 at 11:15 AM, Fabio Estevam <festevam at gmail.com>
> wrote:
> 
> > Yes, this is the problem: I can play the video if I use the HDMI
> > output at 1920x1080.
> 
> I noticed that the playback is slow:
> 
> # gst-play-1.0  /root/trailer_1080p_h264_mp3.avi
> Press 'k' to see a list of keyboard shortcuts.
> Now playing /root/trailer_1080p_h264_mp3.avi
> Redistribute latency...
> 0:00:44.6 / 0:00:33.0
> Reached end of play list.
> 
> It takes 44 seconds to display this 33 second video.
> 
> Any suggestions to make it run smoother?

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

Making this work automatically probably involves implementing

https://bugzilla.gnome.org/show_bug.cgi?id=745459

first.

regards
Philipp


More information about the gstreamer-devel mailing list