* gstreamer allocation error on imx6dl-sabresd
@ 2020-02-06 9:50 Mauro Ziliani
2020-02-20 17:35 ` [meta-freescale] " Clay Montgomery
0 siblings, 1 reply; 2+ messages in thread
From: Mauro Ziliani @ 2020-02-06 9:50 UTC (permalink / raw)
To: meta-freescale
[-- Attachment #1: Type: text/plain, Size: 867 bytes --]
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
MZ
[-- Attachment #2: Type: text/html, Size: 1681 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [meta-freescale] gstreamer allocation error on imx6dl-sabresd
2020-02-06 9:50 gstreamer allocation error on imx6dl-sabresd Mauro Ziliani
@ 2020-02-20 17:35 ` Clay Montgomery
0 siblings, 0 replies; 2+ messages in thread
From: Clay Montgomery @ 2020-02-20 17:35 UTC (permalink / raw)
To: Mauro Ziliani, meta-freescale
[-- Attachment #1: Type: text/plain, Size: 1422 bytes --]
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
>
> MZ
>
>
>
[-- Attachment #2: Type: text/html, Size: 2779 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-02-20 17:58 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-06 9:50 gstreamer allocation error on imx6dl-sabresd Mauro Ziliani
2020-02-20 17:35 ` [meta-freescale] " Clay Montgomery
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).