imx6S problem with webcam (GStreamer)

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

imx6S problem with webcam (GStreamer)

1,351 Views
Archimede
Contributor I

Hi,

this is my first post so I hope to respect any rules..

I'm developing a board based on IMX6S and I have some issue with gstreamer and the webcam (microsoft life cam cinema).

The board (I have the same problem with the wand board and with the soloLite Freescale demo bard) is connected to a 800x480 display,

I have yocto jethro and the last gstreamer, when I use this pipeline:

 

gst-launch-1.0 --gst-debug=*:3 v4l2src device=/dev/video0 do-timestamp=true ! 'image/jpeg,width=1280,height=720,framerate=10/1'  ! imxvpudec ! imxipuvideotransform ! imxipuvideosink sync=false

 

sometimes it work correctly, sometimes it works at very low frame rate with this Warning:

 

0:00:13.753400668   410   0xf3aa00 WARN            videodecoder gstvideodecoder.

c:2512:gst_video_decoder_prepare_finish_frame:<imxvpudec0> decreasing timestamp

(0:00:00.000000000 < 0:00:12.450436303)

 

and sometimes it show me just the first frame.

I can't find a way to replicate the problem in a constant way (and this is frustrating). Another warning I see sometimes is:

 

0:00:10.566781001   667  0x16b0720 FIXME                   v4l2 gstv4l2bufferpoo

l.c:1152:gst_v4l2_buffer_pool_dqbuf:<v4l2src0:pool:src> Unhandled enum v4l2_fiel

d 0 - treating as progressive

 

In the attache file the log when I obtain just the first frame.

 

 

any idea or suggestion?

Thanks for any help!

Original Attachment has been moved to: onlyOneFrame.TXT.zip

0 Kudos
Reply
1 Reply

1,135 Views
Yuri
NXP Employee
NXP Employee

Hello,

  perhaps the problem concerns with performance issue. You may try the recent

FSL BSP http://www.freescale.com/webapp/Download?colCode=L3.14.38_6UL_LINUX_DOCS


Have a great day,
Yuri

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos
Reply