Hello ,
I have installed v4l2 capture driver successfully and it's work when I capture the component input via gstreamer pipeline:
gst-launch -v v4l2src device="/dev/video0" queue-size=3 ! 'video/x-raw-yuv-strided,format=(fourcc)YUY2,width=1920,height=1080,framerate=(fraction)30/1' ! omxbufferalloc numBuffers=3 ! gstperf ! v4l2sink device="/dev/video1" sync=false
now, i want to do videomixer with other file source:
gst-launch omx_videomixer framerate=30 port-index=0 name=mix ! v4l2sink userpointer=true v4l2src device="/dev/video0" queue-size=3 ! 'video/x-raw-yuv-strided,format=(fourcc)YUY2,width=1920,height=1080,framerate=(fraction)30/1' ! omxbufferalloc numBuffers=3 ! ffmpegcolorspace ! gstperf ! mix. filesrc location=sample1.264 ! 'video/x-h264' ! h264parse access-unit=true ! omx_h264dec ! mix. filesrc location=sample2.264 ! 'video/x-h264' ! h264parse access-unit=true ! omx_h264dec ! mix. filesrc location=sample3.264 ! 'video/x-h264' ! h264parse access-unit=true ! omx_h264dec ! mix.
but it's not work!!
request pad!!
creating pad with name:sink_00
pad class init!!
Setting sink pad:0
request pad done ret!!
request pad!!
creating pad with name:sink_01
Setting sink pad:1
request pad done ret!!
request pad!!
creating pad with name:sink_02
Setting sink pad:2
request pad done ret!!
request pad!!
creating pad with name:sink_03
Setting sink pad:3
request pad done ret!!
Setting pipeline to PAUSED ...
** (gst-launch-0.10:1675): CRITICAL **: gst_v4l2sink_sync_rotation: assertion `v4l2_ioctl (fd, VIDIOC_S_CTRL, &d
** (gst-launch-0.10:1675): CRITICAL **: gst_v4l2sink_sync_rotation: assertion `v4l2_ioctl (fd, VIDIOC_S_CTRL, &d
** (gst-launch-0.10:1675): CRITICAL **: gst_v4l2sink_sync_flip: assertion `v4l2_ioctl (fd, VIDIOC_S_CTRL, &contd
Video mixer activate push!!
ERROR: Pipeline doesn't want to pause.
ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Could not negotiate format
Additional debug info:
gstbasesrc.c(2778): gst_base_src_start (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
Check your filtered caps, if any
Setting pipeline to NULL ...
!!!!!!!!!unreference all the remaining buffers!!!!!!!!!Video mixer activate push!!
paused to ready...done!!
calling g_omx_core_deinit
Freeing pipeline ...
Am I missing something?
thanks!
Regards,
Steven