-
Notifications
You must be signed in to change notification settings - Fork 514
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
Revisions 0.5.0, 0.6.1, and 0.6.2 don't work under Ubuntu 12.04 LTS #34
Comments
try adding an if it doesn't help, pleas run gstreamer with "-v" and/or with GST_DEBUG flags set. |
I installed 0.6.2 and got the following: sudo modprobe v4l2loopback devices=8 |
try raising GST_DEBUG flags to 3..5 to see something more informative. does it work if you use |
Attached, please find the GST_DEBUG output, Thank you for your help, On 12/13/2012 08:25 AM, umlaeute wrote:
|
videotestsrc and xvimagesink both work with 0.6.2. The dump using GST_DEBUG='*:5' was e-mailed (see preceding comment). It's 3.5 MB uncompressed and I don't know what to look for. |
Did you get the GST_DEBUG printout? |
I have an ugly work-around using 0.4.1 for the time being -- create two v4l2loopback devices for each of my video sources: gst-launch-0.10 v4l2src device=/dev/video7 ! tee name=vid7 I can then display /dev/video8 and /dev/video9 with no problems. This does mean I'll need to make 24 v4l2loopback devices to replicate the 12 input video channels in my hardware. |
it seems like the email with the GST_DEBUG printout got lost (or rather: it had no attachments). |
from your tests with xvimagesink and videotestsrc i guess, that v4l2loopback-0.6.2 works ok on your machine, and you have some problems with caps negotiation. it would be good to know what the caps are in the working setup (with v4l2loopback-0.4.1): please make sure you load the old modules then run your simple pipeline with "-v", this should give you the used caps. |
command: produces: command using v4l2loopback 0.4.1: produces: command using v4l2loopback 0.6.2: produces: But then, it didn't work with 0.4.1 either. The following does work with both versions: I haven't been able to find a way to upload the GST_DEBUG dump to github. Do you know of a place where I can upload it? |
When I rebooted the machine it didn't work. The command: Produced the following error message: |
It seems I have same issue. I tried with with both gstreamer-0.10 and gstreamer-1.0 combined with v4l2loopback 0.6.2 and it quits with the same message. Just wondering, does:
should output any formats supported by loopback device? (Where "/dev/video3" is loopback device). When I do it throws: |
Sorry for bothering, seems latest git release (6.3) is working well.
doesn't work at all. What could be wrong with caps or timing? |
Hi. You try to remove 'decodebin2' in your pipline and add 'format=(fourcc)YUY2' on caps. full pipeline:
I hope this helps. |
Thanks for answer, I found problems why my pipeline doesn't work. It needed to be converted to YUV colorspace (JPEGDEC spits I420) and second, it needs videorate, because my webcam UVC device couldn't properly handle timestamps (videorate drops many frames as "fixes it", so real solution would be retimestamp all frames). Strangely enough input in xvideosink works nicely even with bad timestamps (probably frames are controled by framerate not timestamps, as do in timestamp ignoring containers), while chunks of very closely timestamped frames just kills loopback device sink. Now I am trying to restamp frames properly with stamp plug-in. Anyway it probably has nothing to do with v4l2loopback device. |
v4l2loopback 0.4.1 works under Ubuntu 12.04 LTS using the following commands:
sudo modprobe v4l2loopback devices=8 max_buffers=8
gst-launch-0.10 v4l2src device=/dev/video7 ! deinterlace method=linear ! v4l2sink device=/dev/video15
Revisions 0.5.0, 0.6.1, and 0.6.2 produce error messages when the following commands are performed:
sudo modprobe v4l2loopback devices=8
gst-launch-0.10 v4l2src device=/dev/video7 ! deinterlace method=linear ! v4l2sink device=/dev/video15
The output from gst-launch is:
Setting pipeline to PAUSED ...
libv4l2: error getting pixformat: Invalid argument
ERROR: Pipeline doesn't want to pause.
ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Could not negotiate format
Additional debug info:
gstbasesrc.c(2830): gst_base_src_start (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
Check your filtered caps, if any
Setting pipeline to NULL ...
Freeing pipeline ...
The text was updated successfully, but these errors were encountered: