Hello,andypeng,
In Linux BSP released by freescale for i.mx6q, gstreamer is used to play video. you can compile it by LTIB , at the same time , ubuntu system supports i.mx6 platform , So you can aslo run ubuntu system on your board based on i.mx6. In ubuntu root file system, gstreamer has been supported. you can use it to play video.
Regards,
Weidong