Problem: Unknown frame interval type in gst-launch-1.0 v4l2sink

paulbg at gmx.net paulbg at gmx.net
Tue Sep 24 04:51:24 PDT 2013


Hi there

I want to redirect the output of my webcam the the virtual v4l2loopback device
The /dev/video1 is a usb analog capture card, /dev/video2 is the v4l2loopback module.
I succesfuly testet the pipe with my other webcam on /dev/video0 to /dev/video2 and this one works.
Using my desired webcam it complains about some "Unknown frame interval type" 
This is the pipe:

$ gst-launch-1.0 --gst-debug-level=2 -v v4l2src device=/dev/video1 ! videoconvert ! v4l2sink device=/dev/video2 sync=0

Debug_log_level2:

Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
0:00:00.021098263 27910 0x2321680 WARN v4l2 gstv4l2object.c:1790:gst_v4l2_object_probe_caps_for_format_and_size: Unknown frame interval type at YUYV at 48x32: 0
0:00:00.021157827 27910 0x2321680 WARN v4l2 gstv4l2object.c:1790:gst_v4l2_object_probe_caps_for_format_and_size: Unknown frame interval type at YUYV at 48x32: 0
0:00:00.021197324 27910 0x2321680 WARN v4l2 gstv4l2object.c:1790:gst_v4l2_object_probe_caps_for_format_and_size: Unknown frame interval type at UYVY at 48x32: 0
0:00:00.021230702 27910 0x2321680 WARN v4l2 gstv4l2object.c:1790:gst_v4l2_object_probe_caps_for_format_and_size: Unknown frame interval type at YU12 at 48x32: 0
0:00:00.021265242 27910 0x2321680 WARN v4l2 gstv4l2object.c:1790:gst_v4l2_object_probe_caps_for_format_and_size: Unknown frame interval type at YV12 at 48x32: 0
0:00:00.021298649 27910 0x2321680 WARN v4l2 gstv4l2object.c:1790:gst_v4l2_object_probe_caps_for_format_and_size: Unknown frame interval type at YVU9 at 48x32: 0
0:00:00.021327797 27910 0x2321680 WARN v4l2 gstv4l2object.c:1790:gst_v4l2_object_probe_caps_for_format_and_size: Unknown frame interval type at YUV9 at 48x32: 0
0:00:00.021360474 27910 0x2321680 WARN v4l2 gstv4l2object.c:1790:gst_v4l2_object_probe_caps_for_format_and_size: Unknown frame interval type at RGB4 at 48x32: 0
0:00:00.021406802 27910 0x2321680 WARN v4l2 gstv4l2object.c:1790:gst_v4l2_object_probe_caps_for_format_and_size: Unknown frame interval type at BGR4 at 48x32: 0
0:00:00.021455176 27910 0x2321680 WARN v4l2 gstv4l2object.c:1790:gst_v4l2_object_probe_caps_for_format_and_size: Unknown frame interval type at RGB3 at 48x32: 0
0:00:00.021501999 27910 0x2321680 WARN v4l2 gstv4l2object.c:1790:gst_v4l2_object_probe_caps_for_format_and_size: Unknown frame interval type at BGR3 at 48x32: 0
0:00:00.021544596 27910 0x2321680 WARN v4l2 gstv4l2object.c:1790:gst_v4l2_object_probe_caps_for_format_and_size: Unknown frame interval type at GREY at 48x32: 0
0:00:00.021608782 27910 0x2321680 WARN v4l2 gstv4l2object.c:1790:gst_v4l2_object_probe_caps_for_format_and_size: Unknown frame interval type at YVYU at 48x32: 0
0:00:00.021750359 27910 0x2321680 WARN basesrc gstbasesrc.c:2791:gst_base_src_loop: error: Internal data flow error.
0:00:00.021783151 27910 0x2321680 WARN basesrc gstbasesrc.c:2791:gst_base_src_loop: error: streaming task paused, reason not-negotiated (-4)
ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Internal data flow error.
Additional debug info:
gstbasesrc.c(2791): gst_base_src_loop (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
streaming task paused, reason not-negotiated (-4)
Execution ended after 877445 ns.
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...

You can take a look at loglevel 4 @ https://gist.github.com/pauldd/6683049

Details on the device:

v4l2-ctl -d /dev/video1 --all

Driver Info (not using libv4l2):
Driver name : stk1160
Card type : stk1160
Bus info : usb-0000:00:1d.0-1.1
Driver version: 3.11.1
Capabilities : 0x85000001
Video Capture
Read/Write
Streaming
Device Capabilities
Device Caps : 0x05000001
Video Capture
Read/Write
Streaming
Priority: 2
Video input : 0 (Composite0: ok)
Video Standard = 0x00001000
NTSC-M
Format Video Capture:
Width/Height : 720/480
Pixel Format : 'UYVY'
Field : Interlaced
Bytes per Line: 1440
Size Image : 691200
Colorspace : Broadcast NTSC/PAL (SMPTE170M/ITU601)
Streaming Parameters Video Capture:
Frames per second: 29.970 (30000/1001)
Read buffers : 2

Used gstreamer version:
gst-launch-1.0 version 1.0.5, gst-plugins-v4l2 version tested: 1.0.6/1.0.10
System: Gentoo 3.11.1

What I tried too:

$ gst-launch-1.0 --gst-debug-level=2 -v v4l2src device=/dev/video1 ! videoconvert ! v4l2sink device=/dev/video2 sync=0

$ gst-launch-1.0 -v v4l2src device=/dev/video1 ! "video/x-raw,format=UYVY,width=740,height=480,framerate=30000/1001" ! videoconvert ! v4l2sink device=/dev/video2 sync=0

$ gst-launch-1.0 -v v4l2src device=/dev/video1 ! videoconvert !"video/x-raw,format=UYVY,width=740,height=480,framerate=30000/1001" ! v4l2sink device=/dev/video2 sync=0

allways the same error: "...Unknown frame interval type at..."

Do you have any hints?

Paul


More information about the gstreamer-devel mailing list