Skip to content
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

[Erroneous Pipeline: No Element "kvssink" ] #1223

Open
waleedshkt opened this issue Jan 11, 2025 · 2 comments
Open

[Erroneous Pipeline: No Element "kvssink" ] #1223

waleedshkt opened this issue Jan 11, 2025 · 2 comments
Labels

Comments

@waleedshkt
Copy link

Logging

$ gst-launch-1.0 -v v4l2src device=/dev/video1 ! videoconvert ! video/x-raw,format=I420,width=640,height=480,framerate=30/1 ! x264enc  bframes=0 key-int-max=45 bitrate=500 tune=zerolatency ! video/x-h264,stream-format=avc,alignment=au ! kvssink stream-name=test-stream storage-size=128 access-key="..." secret-key="..."

WARNING: erroneous pipeline: no element "kvssink"

Describe the bug
I have made a near successful attempt to connect to launch live stream. I followed the given official guide of this repo and further of linux system. My OS is Windows 10 and with WSL2 I made a great effort to custom build a video-device supporting linux kernel. All worked. Project got complied successfully, path variables got loaded from the root of repo, and kvssink info got displayed. But upon executing above command, it failed.

I doubled checked the USB HD camera was attached using lsusb and it was. I also checked by running /dev/device* and there were two devices. Though strangely, upon running gst-device-monitor-1.0, it did not show up in the list; only the audio sources and sinks were present

This now begs the question, whether it is the camera which is incompatible or some other undocumented steps along the build process that I missed. The camera is not a webcam but a tiny one which runs with android-app and claims to work on PC

Another thing I did during debugging was I removed the last kvssink command from the above larger pipeline command, and it threw another error:

WARNING: erroneous pipeline: no element "video"

To Reproduce
Steps to reproduce the behavior:

  1. In WSL2, follow the documentation
  2. Using Usblib-win, attach usb camera to WSL2
  3. Run the above command
  4. See error

Expected behavior
Log or response from KVS telling video is streaming

SDK version number
I just cloned this repo and complied the project in a newly created build folder as directed in docs

Platform (please complete the following information):

  • OS: Windows 10 with WSL2 (Ubuntu 22.04 w/ video-enabled kernel)
  • Processor: Intel i5
@waleedshkt waleedshkt added the bug label Jan 11, 2025
@waleedshkt waleedshkt changed the title [Erronedus PipelineL No Element "kvssink" ] [Erroneous Pipeline: No Element "kvssink" ] Jan 11, 2025
@stefankiesz
Copy link
Contributor

Hi, can you confirm when you run gst-inspect-1.0 kvssink is it displaying info about kvssink or do you get a similar error?

@waleedshkt
Copy link
Author

It displays info about kvssink

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants