{"action":"created","issue":{"url":"https://api.github.com/repos/umlaeute/v4l2loopback/issues/97","labels_url":"https://api.github.com/repos/umlaeute/v4l2loopback/issues/97/labels{/name}","comments_url":"https://api.github.com/repos/umlaeute/v4l2loopback/issues/97/comments","events_url":"https://api.github.com/repos/umlaeute/v4l2loopback/issues/97/events","html_url":"https://github.com/umlaeute/v4l2loopback/issues/97","id":104070043,"number":97,"title":"Using v4l2loopback = Internal data flow error. / reason not-negotiated (-4)","user":{"login":"patricksebastien","id":441764,"avatar_url":"https://avatars.githubusercontent.com/u/441764?v=3","gravatar_id":"","url":"https://api.github.com/users/patricksebastien","html_url":"https://github.com/patricksebastien","followers_url":"https://api.github.com/users/patricksebastien/followers","following_url":"https://api.github.com/users/patricksebastien/following{/other_user}","gists_url":"https://api.github.com/users/patricksebastien/gists{/gist_id}","starred_url":"https://api.github.com/users/patricksebastien/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/patricksebastien/subscriptions","organizations_url":"https://api.github.com/users/patricksebastien/orgs","repos_url":"https://api.github.com/users/patricksebastien/repos","events_url":"https://api.github.com/users/patricksebastien/events{/privacy}","received_events_url":"https://api.github.com/users/patricksebastien/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-08-31T14:57:11Z","updated_at":"2015-09-01T02:54:27Z","closed_at":null,"body":"Hi,\r\n\r\nUsing a simple pipeline like this works:\r\n\r\n    gst-launch videotestsrc ! v4l2sink device=/dev/video1\r\n\r\nBUT using `udpsrc` instead of `videotestsrc` doesn't work (it does with `autovideosink`, but not with `v4l2sink`):\r\n\r\n> /GstPipeline:pipeline0/ffdec_h264:ffdec_h2640.GstPad:src: caps = video/x-raw-yuv, width=(int)1280, height=(int)720, framerate=(fraction)25/1, format=(fourcc)I420, interlaced=(boolean)false\r\n> ERROR: from element /GstPipeline:pipeline0/GstUDPSrc:udpsrc0: Internal data flow error.\r\n> Additional debug info:\r\n> gstbasesrc.c(2625): gst_base_src_loop (): /GstPipeline:pipeline0/GstUDPSrc:udpsrc0:\r\n> streaming task paused, reason not-negotiated (-4)\r\n> Execution ended after 401545862 ns.\r\n> Setting pipeline to PAUSED ...\r\n> Setting pipeline to READY ...\r\n> /GstPipeline:pipeline0/ffdec_h264:ffdec_h2640.GstPad:src: caps = NULL\r\n> /GstPipeline:pipeline0/ffdec_h264:ffdec_h2640.GstPad:sink: caps = NULL\r\n> /GstPipeline:pipeline0/GstRtpH264Depay:rtph264depay0.GstPad:src: caps = NULL\r\n> /GstPipeline:pipeline0/GstRtpH264Depay:rtph264depay0.GstPad:sink: caps = NULL\r\n> /GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:src: caps = NULL\r\n> Setting pipeline to NULL ...\r\n> Freeing pipeline ...\r\n\r\nFrom my raspi:\r\n\r\n    raspivid -t 0 -b 2000000 -fps 60 -w 1280 -h 720 -o - | \\\r\n          gst-launch-1.0 -e -vvv fdsrc \\\r\n                                 ! h264parse \\\r\n                                 ! rtph264pay pt=96 config-interval=5 \\\r\n                                 ! udpsink host=10.42.0.1 port=5001\r\n\r\nFrom my compute (crashing see above):\r\n\r\n    gst-launch -v udpsrc port=5001 \\\r\n                  ! application/x-rtp, payload=96\r\n                  ! rtph264depay\r\n                  ! ffdec_h264\r\n                  ! ffmpegcolorspace\r\n                  ! v4l2sink device=/dev/video1"},"comment":{"url":"https://api.github.com/repos/umlaeute/v4l2loopback/issues/comments/136559754","html_url":"https://github.com/umlaeute/v4l2loopback/issues/97#issuecomment-136559754","issue_url":"https://api.github.com/repos/umlaeute/v4l2loopback/issues/97","id":136559754,"user":{"login":"patricksebastien","id":441764,"avatar_url":"https://avatars.githubusercontent.com/u/441764?v=3","gravatar_id":"","url":"https://api.github.com/users/patricksebastien","html_url":"https://github.com/patricksebastien","followers_url":"https://api.github.com/users/patricksebastien/followers","following_url":"https://api.github.com/users/patricksebastien/following{/other_user}","gists_url":"https://api.github.com/users/patricksebastien/gists{/gist_id}","starred_url":"https://api.github.com/users/patricksebastien/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/patricksebastien/subscriptions","organizations_url":"https://api.github.com/users/patricksebastien/orgs","repos_url":"https://api.github.com/users/patricksebastien/repos","events_url":"https://api.github.com/users/patricksebastien/events{/privacy}","received_events_url":"https://api.github.com/users/patricksebastien/received_events","type":"User","site_admin":false},"created_at":"2015-09-01T02:54:27Z","updated_at":"2015-09-01T02:54:27Z","body":"Today I'm not able to make it works with videotestsrc! Really lost here...\r\n\r\n```\r\nLinux pscbox 3.8.0-32-lowlatency #24-Ubuntu SMP PREEMPT Tue Oct 15 21:20:09 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux\r\npsc@pscbox:~$ sudo modprobe v4l2loopback\r\n\r\npsc@pscbox:~$ gst-launch-0.10 videotestsrc ! v4l2sink device=/dev/video0\r\nSetting pipeline to PAUSED ...\r\nERROR: Pipeline doesn't want to pause.\r\nERROR: from element /GstPipeline:pipeline0/GstV4l2Sink:v4l2sink0: Failed to query attributes of input 0 in device /dev/video0\r\nAdditional debug info:\r\nv4l2_calls.c(142): gst_v4l2_fill_lists (): /GstPipeline:pipeline0/GstV4l2Sink:v4l2sink0:\r\nFailed to get 0 in input enumeration for /dev/video0. (25 - Inappropriate ioctl for device)\r\nSetting pipeline to NULL ...\r\nFreeing pipeline ...```\r\n\r\nI compiled from master for this kernel."}}