imx53: video lost

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

imx53: video lost

1,106 Views
PatrickChau
Contributor II

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

Tags (2)
0 Kudos
4 Replies

650 Views
PatrickChau
Contributor II

Hi Daianel:

         gplay can play until EOF, but can't repeat play the video again if repeat mode is set.

         we are constructing the pipeline by ourselves, not using the phonon plugin in QT, the pipeline is the same as gplay actually, which aiurdemux, mfw_vpudec & v4lsink are used.

Patrick

Daiane Angolini said:

I´m confused.

Can gplay play the movie until EOF?

Do you know what´s the default video sink QT uses ?

0 Kudos

650 Views
PatrickChau
Contributor II

Hi Dainae

         2.0.6 is working, but with some bugs, such as it can't rotate. 2.0.5 also can't rotate. Maybe 2.0.3 is the stable version.

Patrick

0 Kudos

650 Views
daiane_angolini
NXP Employee
NXP Employee

Are you using 2.0.6 on imx53?

Are you sure it´s supposed to work?

0 Kudos

650 Views
daiane_angolini
NXP Employee
NXP Employee

I´m confused.

Can gplay play the movie until EOF?

Do you know what´s the default video sink QT uses ?

0 Kudos