Patrick Chau

imx53: video lost

Discussion created by Patrick Chau on May 24, 2012
Latest reply on May 25, 2012 by Patrick Chau

Hi All:

        we are developing our software by using qt on i.mx53, it will also play the video, the backend for playing video is using gstreamer, the configurations are:

 

         kernel: 2.6.35.14 with 11.12 patch

         imx-lib: 12.02.01

         firmware-imx: 12.02.01

         gst-fsl-plugin: 2.0.6

         fsl-mm-codelib: 2.0.6

 

       we found that the video will randomly lost, while the audio is still playing, once the video lost, we have to restart our program, otherwise, the video won't be shown again, when the video is lost, we have the following message from console:

 

0:16:20.761095626 1906 0xb53e60 WARN mfw_v4lsink mfw_gst_v4lsink.c:1105:mfw_gst_v4lsink_show_frame: VPU passed one buffer which v4l is using, index:8, buf state:1
0:16:20.779109251 1906 0xb53e60 WARN mfw_v4lsink mfw_gst_v4lsink.c:1105:mfw_gst_v4lsink_show_frame: VPU passed one buffer which v4l is using, index:5, buf state:1
0:16:20.802942626 1906 0xb53e60 WARN mfw_v4lsink mfw_gst_v4lsink.c:1105:mfw_gst_v4lsink_show_frame: VPU passed one buffer which v4l is using, index:6, buf state:1
0:16:20.821157251 1906 0xb53e60 WARN mfw_v4lsink mfw_gst_v4lsink.c:1105:mfw_gst_v4lsink_show_frame: VPU passed one buffer which v4l is using, index:3, buf state:1
0:16:22.544905001 1906 0xb53e60 WARN mfw_v4lsink mfw_gst_v4lsink.c:1105:mfw_gst_v4lsink_show_frame: VPU passed one buffer which v4l is using, index:4, buf state:1
0:16:22.545807876 1906 0xb53e60 WARN mfw_v4lsink mfw_gst_v4lsink.c:1105:mfw_gst_v4lsink_show_frame: VPU passed one buffer which v4l is using, index:1, buf state:1
0:16:22.546307876 1906 0xb53e60 WARN mfw_v4lsink mfw_gst_v4lsink.c:1105:mfw_gst_v4lsink_show_frame: VPU passed one buffer which v4l is using, index:2, buf state:1
0:16:22.546978376 1906 0xb53e60 WARN mfw_v4lsink mfw_gst_v4lsink.c:1105:mfw_gst_v4lsink_show_frame: VPU passed one buffer which v4l is using, index:0, buf state:1

 

      We try to run gplay in repeat mode, but it fails to do so, gplay can only play once, then hangs, logs are:

 

fsl_player_set_media_location(): filename=config/schedule/video/1080p.mov
[INFO] Product Info: i.MX53
VPU Version: firmware 1.4.50; libvpu: 5.4.1
MFW_GST_VPU_DECODER_PLUGIN 2.0.6 build on May 21 2012 18:33:46.
[--->FINALIZE v4l_sink
[--->FINALIZE vpu_dec
FOUND GST_MESSAGE_TAG!
video codec: H.264 / AVC
language code: en
FOUND GST_MESSAGE_TAG!
audio codec: MPEG-4 AAC audio
maximum bitrate: 448000
bitrate: 448000
language code: en
FOUND GST_MESSAGE_TAG!
datetime: ((GstDateTime*) 0x3aff38)
QT atom: buffer of 12 bytes, type: application/x-gst-qt-wloc-tag, style=(string)quicktime
: buffer of 9 bytes, type: application/x-gst-qt-selo-tag, style=(string)quicktime
: buffer of 9 bytes, type: application/x-gst-qt-allf-tag, style=(string)quicktime
container format: Quicktime
[Stopped (List Repeated)][Vol=01][00:00:00/00:00:00][fps:25]Wait status change from 2 to 4
[Stopped (List Repeated)][Vol=01][00:00:00/00:00:00][fps:25]Wait status change from 2 to 4
[Stopped (List Repeated)][Vol=01][00:00:00/00:00:00][fps:25]Wait status change from 2 to 4
[Stopped (List Repeated)][Vol=01][00:00:00/00:00:00][fps:25]Wait status change from 2 to 4
[Stopped (List Repeated)][Vol=01][00:00:00/00:00:00][fps:25]Wait status change from 2 to 4
[Stopped (List Repeated)][Vol=01][00:00:00/00:00:00][fps:25]Wait status change from 2 to 4
[Stopped (List Repeated)][Vol=01][00:00:00/00:00:00][fps:25]Wait status change from 2 to 4
[Stopped (List Repeated)][Vol=01][00:00:00/00:00:00][fps:25]Wait status change from 2 to 4
[Stopped (List Repeated)][Vol=01][00:00:00/00:00:00][fps:25]Wait status change from 2 to 4
[Stopped (List Repeated)][Vol=01][00:00:00/00:00:00][fps:25]Wait status change from 2 to 4
[Stopped (List Repeated)][Vol=01][00:00:00/00:00:00][fps:25]Wait status change from 2 to 4
[Stopped (List Repeated)][Vol=01][00:00:00/00:00:00][fps:25]Wait status change from 2 to 4
[Stopped (List Repeated)][Vol=01][00:00:00/00:00:00][fps:25]Wait status change from 2 to 4
[Stopped (List Repeated)][Vol=01][00:00:00/00:00:00][fps:25]Wait status change from 2 to 4
[Stopped (List Repeated)][Vol=01][00:00:00/00:00:00][fps:25]Wait status change from 2 to 4
[Stopped (List Repeated)][Vol=01][00:00:00/00:00:00][fps:25]Wait status change from 2 to 4
[Stopped (List Repeated)][Vol=01][00:00:00/00:00:00][fps:25]Wait status change from 2 to 4
[Stopped (List Repeated)][Vol=01][00:00:00/00:00:00][fps:25]Wait status change from 2 to 4
[Stopped (List Repeated)][Vol=01][00:00:00/00:00:00][fps:25]Wait status change from 2 to 4
[Stopped (List Repeated)][Vol=01][00:00:00/00:00:00][fps:25]Wait status change from 2 to 4
[Stopped (List Repeated)][Vol=01][00:00:00/00:00:00][fps:25]Wait status change from 2 to 4
[Stopped (List Repeated)][Vol=01][00:00:00/00:00:00][fps:25]Wait status change from 2 to 4
[Stopped (List Repeated)][Vol=01][00:00:00/00:00:00][fps:25]Wait status change from 2 to 4
[Stopped (List Repeated)][Vol=01][00:00:00/00:00:00][fps:25]Wait status change from 2 to 4
[Stopped (List Repeated)][Vol=01][00:00:00/00:00:00][fps:25]Wait status change from 2 to 4
[Stopped (List Repeated)][Vol=01][00:00:00/00:00:00][fps:25]Wait status change from 2 to 4
[Stopped (List Repeated)][Vol=01][00:00:00/00:00:00][fps:25]Wait status change from 2 to 4
[Stopped (List Repeated)][Vol=01][00:00:00/00:00:00][fps:25]Wait status change from 2 to 4
[Stopped (List Repeated)][Vol=01][00:00:00/00:00:00][fps:25]Wait status change from 2 to 4
[Stopped (List Repeated)][Vol=01][00:00:00/00:00:00][fps:25]Wait status change from 2 to 4
[Stopped (List Repeated)][Vol=01][00:00:00/00:00:00][fps:25]
poll_for_state_change(): Element playbin0 time out in state transferring from READY to PLAYING
try to play failed

>>VPU_DEC: State: Ready to Null
[--->FINALIZE vpu_dec
[Stopped (List Repeated)][Vol=01][00:00:00/00:00:00][fps:25]

 

      Anyone have idea what cause the video lost problem?

 

      Thanks in advance!

 

Patrick

Outcomes