Crash gstreamer imx plugin vpudec

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

Crash gstreamer imx plugin vpudec

1,932 Views
jordan38
Contributor II

Hi community,

I am trying to display a stream video from IPTV on a imx6 dual lite based board with gstreamer0.10

The setup is the following:

rootfs built with yocto daisy, and MACHINE is imx6dlsabresd.conf, linux kernel is 3.10.53 .

During test with a IPTV stream, the video quality goes down and then block. I catch the raw stream for this test and you can find it above:

erreur_de_flux.ts - Google Drive

With this file, I reproduce this issue with this gstreamer pipeline:

gst-launch filesrc location=/home/root/erreur_de_flux.ts ! "video/mpegts" ! aiurdemux ! vpudec ! imxv4l2sink --gst-debug=vpudec:5

I think the plugin "vpudec" is at the origin of the problem.

Do you have solution?

Best Regads,

Jordan

0 Kudos
5 Replies

1,354 Views
takahiroyasuda
Contributor II

I also encountered the same problem, in HLS video playback on GStreamer-1.0 with imxv4l2sink as the video sink.

Instead of imxv4l2sink, how is using overlaysink on GStreamer-1.0?

If HLS bitrate transition itself is the cause, it may help you.

In my case, I suppose that imxv4l2sink does not correctly support video format change during playback, and it results in GStreamer crash.

In HLS playback, on changing bitrates, decoded raw video format and resolution can change.

HLS playback crash is likely to happen in that case.

Overlaysink (it seems only for GStreamer-1.0, though) looks managing it anyhow.

I found it in trying with playbin, that used overlaysink as the video sink.

Or, if you have to use imxv4l2sink,

inserting videoconvert and videoscale can manage it, probably (But, it is too slow, because they're software-based elements).

With them, inserting video/x-raw caps, fix the video sink's input video format to the specific one.

0 Kudos

1,354 Views
joanxie
NXP TechSupport
NXP TechSupport

did you try to use gstreamer 1.0 version? any improvement?

0 Kudos

1,354 Views
jordan38
Contributor II

Hi,

Yes i try with gstreamer 1.0 , i have got  the same probleme. During  other test i found in dmesg the message:

mxc_v4l2_output v4l2_out.24: field format:3 not supported yet!

This message arrive and the image freeze, i have this probleme with gstreamer-1.0 and gstreamer-0.10.

I thinks there is a probleme with the diver mxc_v4l2, can you confirme?

Do you have any idea to find a issue to this probleme?

Thx

0 Kudos

1,354 Views
joanxie
NXP TechSupport
NXP TechSupport

it seems vpu doesn't support your file format, I send to you vpu api document, pls try to sure if your file format is proper or not, your file is too large to download, if you still coudln't confirm, I will try to download again.

0 Kudos

1,354 Views
jordan38
Contributor II

Thanks you for your reply, but I made a workaround in mxc_vout driver.

Regards,

Jordan

0 Kudos