gst-launch-1.0 v4l2src device=/dev/video0 ! vpuenc_h264 ! rtph264pay ! udpsink host=192.168.1.111

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

gst-launch-1.0 v4l2src device=/dev/video0 ! vpuenc_h264 ! rtph264pay ! udpsink host=192.168.1.111

6,149 Views
whb_18718
Contributor I

khumphri

Setting pipeline to PAUSED ...
[INFO] Product Info: i.MX6Q/D/S
====== VPUENC: 4.0.8 build on Dec 15 2015 12:18:29. ======
 wrapper: 1.0.62 (VPUWRAPPER_ARM_LINUX Build on Dec 15 2015 11:24:32)
 vpulib: 5.4.32
 firmware: 3.1.1.46070
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Internal data flow error.
Additional debug info:
/home/tangb/yocto/imx-3.14.52-1.1.0_ga/build-x11/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/gstreamer1.0/1.4.5-r0/gstreamer-1.4.5/libs/gst/base/gstbasesrc.c(2933): gst_base_src_loop (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
streaming task paused, reason not-negotiated (-4)
Execution ended after 0:00:00.122682333
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...

0 Kudos
6 Replies

3,164 Views
joanxie
NXP TechSupport
NXP TechSupport

do you use web camera? what bsp version do you use?

0 Kudos

3,164 Views
whb_18718
Contributor I

BSP:imx_3.14.52_1.1.0_ga 

Using GStreamer will cause problems as long as you use vpuenc_h264 plug-ins

0 Kudos

3,164 Views
joanxie
NXP TechSupport
NXP TechSupport

could you tell me what capture do you use? web camera?

0 Kudos

3,164 Views
whb_18718
Contributor I

i use usb camera. 

the following command is OK ,it run well .

 $GSTL v4l2src device=/dev/video0 ! 'video/x-raw,width=640,height=480' ! imxv4l2sink

but  follow cmmmand is error and you knwned.

gst-launch-1.0 v4l2src device=/dev/video0 ! vpuenc_h264 ! rtph264pay ! udpsink host=192.168.1.111 

0 Kudos

3,164 Views
whb_18718
Contributor I

The following command is OK ,it run well .

 $GSTL v4l2src device=/dev/video0 ! 'video/x-raw,width=640,height=480' ! imxv4l2sink

0 Kudos

3,164 Views
whb_18718
Contributor I

bsp :fsl-yocto-L3.14.52_1.1.0-ga

 Using GStreamer will cause problems as long as you use vpuenc_h264 plug-ins

0 Kudos