AnsweredAssumed Answered

[Yocto] i.MX6 Play video failed for long run test on HDMI

Question asked by charles huang on Nov 2, 2015
Latest reply on Nov 13, 2015 by Joan Xie

I play a AVI format vedio for long run test on HDMI, the system will crash.

 

1) AVI format vedio file:

  a) Video:

Resolution: 1280*720

Encode: H.264

Frame rate: 30/frames per second

 

  b) Audio:

Encode: Mpeg 1 layer 3

Channel: Stereo

Sample rat:44100 Hz

 

2) Play command on Yocto 3.10.17.1.0.2:

gst-launch playbin2 uri=file:////yocto_demo/2015_demo.avi video-sink="mfw_v4lsink device=/dev/video16" audio-sink="alsasink device=plughw:0"

 

3) Play command on Yocto 3.14.28.1.0.0:

  a) Gstreamer 1.x for an AVI file is as follows:

gst-launch-1.0 filesrc location=/yocto_demo/2015_demo.avi typefind=true ! video/x-msvideo ! aiurdemux name=demux demux. ! queue max-size-buffers=0 max-size-time=0 ! vpudec ! overlaysink demux. ! queue max-size-buffers=0 max-size-time=0 ! beepdec ! pulsesink

 

  b) A Gstreamer 0.10 AVI file playback example is as follows:

gst-launch filesrc location=/yocto_demo/2015_demo.avi typefind=true ! aiurdemux name=demux demux. ! queue max-size-buffers=0 max-size-time=0 ! vpudec ! imxv4l2sink demux. ! queue max-size-buffers=0 max-size-time=0 ! beepdec ! pulsesink

 

4) Reference file:

     a) hdmi_demo_audio.sh

          Link URL: https://www.dropbox.com/s/hqgnf0com6ksdsw/hdmi_demo_audio.sh?dl=0

 

     b) 2015_demo.avi

          Link URL: https://www.dropbox.com/s/cx6lkacr7z0opz0/2015_demo.avi?dl=0

 

Can you help me to solve this issue?

 

Thank you.

 

Best Regards,

Alex Cheng

Outcomes