Re: gstreamer allocation error on imx6dl-sabresd

Clay Montgomery

Hi Mauro,

  I would first determine if this problem could be caused by a problem with gstreamer.

One way to do that would be to run the camera with the mxc_v4l2_capture.out app that is provided by NXP in their unit tests.

It has some basic support for uvcvideo and runs without gstreamer.

Then you will know if it could really be a kernel problem.

Another approach, would be to try gstreamer on a newer kernel.

Regards, Clay

On 2/6/2020 3:50 AM, Mauro Ziliani wrote:

Hi all.

I'm working on a imx6dl-sabresd derived board, gstreamer, uvcvideo webcam, Yocto Freescale i.MX Release Distro 4.1.15-2.0.1 FXMZ /dev/ttymxc0

the pipeline is

gst-launch-1.0 \
        imxv4l2src device=/dev/video1 \
        ! capsfilter caps="video/x-raw, width=640, height=480" \
        ! imxvideoconvert_g2d rotation=4 \
        ! imxv4l2sink overlay-width=800 overlay-height=600 overlay-left=235 overlay-top=65 enable-last-sample=true name=sink

Sometime the webcam freeze. After the first freeze the video stream is black and gstream GST_DEBUG=1 show the following message

WARN    default gstallocatorphymem.c:259:gst_buffer_is_phymem: physical address in memory block is invalid

There is some explanation/patch for this behavior?

gstreamer 1.8.1

gstreamer-plugin-imx 0.12.2

Thanks for your help



Join to automatically receive all group messages.