-
Notifications
You must be signed in to change notification settings - Fork 538
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
getting gst-launch-1.0 nvcamerasrc to work with v4l2loopback #128
Comments
please try again with Apart from that, the
|
Hi umlaeute, Thanks for the prompt response. we originally using v4l2loopback-0.10 with nvidia TX1 Linux tegra-ubuntu 3.10.96 aarch64 GNU/Linux (see https://devtalk.nvidia.com/default/topic/988447/?comment=5081657 for the error detail). we then realized v4l2loopback 0.9 doesn't give us the error (able to use guvcview to consume the created v4l2loopback adapter /dev/video3 with producer grabbing an USB webcam /dev/video0) but fail to get it working with nvcamerasrc at our /dev/video1 (see error as follow): gst-launch-1.0 --gst-debug-level=3 nvcamerasrc ! 'video/x-raw(memory:NVMM), width=(int)1920, height=(int)1080, format=(string)I420, framerate=(fraction)30/1' ! nvtee ! nvvidconv flip-method=2 ! 'video/x-raw(memory:NVMM), format=(string)I420, framerate=(fraction)30/1' ! v4l2sink device=/dev/video3
0:00:00.042475886 7498 0x59a0c0 ERROR GST_PIPELINE grammar.y:642:gst_parse_perform_link: could not link nvvconv0 to v4l2sink0 (see more error detail and nvcamerasrc' capability from https://devtalk.nvidia.com/default/topic/994012/?comment=5085953 ) Wish you could help to analyze the possible source of error. PS: please ignore the error message produced by DaneLLL who was trying to help to resolve the issue (i believe DaneLLL didn't create his /dev/video3 at all)
|
If otoh,
so i'm not sure what the issue is that you are describing (apart from "it doesn't work") |
the loopback device is created at /dev/video1 gst-launch gives the following errors:
using |
Yeah I get the same error as above. Gucview can open the device, but gstreamer can't. Producer (from a real webcam): Consumer:
v4l2loopback-dkms 0.1.0-1 on Ubuntu 17.10 |
Hello, I ran the same test on xavier and encountered the same problem as you, did you solve this problem in the end? |
liberal adding of |
i did a quick google-check and found this:
the i'm therefore closing this as a duplicate of #501 (in case you wonder: #501 is about the underlying issue, whereas this bug-report is about a symptom; hence i'm closing this one in favour of the other) |
v4l2loopback
version: v4l2loopback driver version 0.9.1kernel version: Linux tegra-ubuntu 3.10.96-test gstreamer v4l2sink support #1 SMP PREEMPT Mon Dec 5 17:28:33 CST 2016 aarch64 aarch64 aarch64 GNU/Linux
*lsb
lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04 LTS
Release: 16.04
Codename: xenial
I made a post on nvidia developer forum on getting gst-launch-1.0 nvcamerasrc to work with v4l2loopback. Please help to shed some light if possible.
https://devtalk.nvidia.com/default/topic/994012/jetson-tx1/passing-gst-launch-from-nvcamerasrc-to-v4l2sink/
The text was updated successfully, but these errors were encountered: