Giter Site home page Giter Site logo

Comments (7)

yukkeorg avatar yukkeorg commented on June 28, 2024

I think that V4L2 specification is changed from linux 3.1.0.
http://linuxtv.org/downloads/v4l-dvb-apis/hist-v4l2.html#id3107689
This is relate information?

from v4l2loopback.

umlaeute avatar umlaeute commented on June 28, 2024

thanks for the hint;
i'll try to investigate (but i first have to setup a machine with 3.1 :-))

from v4l2loopback.

umlaeute avatar umlaeute commented on June 28, 2024

i think i fixed the problem in the current HEAD.

could you please try again and confirm?

from v4l2loopback.

yukkeorg avatar yukkeorg commented on June 28, 2024

thanks.

I tried compiling HEAD and depmod on Linux 3.1.2. then execute below command.
(version of GStreamer is 0.10.35, and /dev/video1 is v4l2loopback device)

$ gst-launch videotestsrc ! "video/x-raw-yuv,width=640,height=480,framerate=30/1" ! v4l2sink device=/dev/video1

I got below message.

ERROR: Pipeline doesn't want to pause.
ERROR: from element /GstPipeline:pipeline0/GstV4l2Sink:v4l2sink0: Failed getting controls attributes on device '/dev/video1'.
Additional debug info:
v4l2_calls.c(267): gst_v4l2_fill_lists (): /GstPipeline:pipeline0/GstV4l2Sink:v4l2sink0:
Failed querying control 9963776 on device '/dev/video1'. (25 - Inappropriate ioctl for device)

mmm... Do not working.
I think v4l2 plugin on Gstreamer is not working with updated V4L2 API???

from v4l2loopback.

umlaeute avatar umlaeute commented on June 28, 2024

hmm, no; i definitely checked with gstreamer and a simplistic pipeline like "videotestsrc ! v4l2sink" did work. (i didn't even use a capsfilter).

just to doublecheck: are you sure that you loaded the correct v4l2loopback module (it should say 0.4.1 in the kernel logs)

from v4l2loopback.

yukkeorg avatar yukkeorg commented on June 28, 2024

Sorry. I missed.
I loaded v42loopback 0.4.0 which complied on Linux 3.1.2 with v4l2loopback-dkms.
this is checked kernel log and found.
I removed v4l2loopback-dkms, and reinstalled manually 0.4.1. then it worked.

Thank you very much.

from v4l2loopback.

umlaeute avatar umlaeute commented on June 28, 2024

cool, let's close this issue then

from v4l2loopback.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.