lonewanderer-gh / raspivws Goto Github PK
View Code? Open in Web Editor NEWRaspberry Pi Webcam Streaming with Logitech C920 and VLC
License: GNU General Public License v3.0
Raspberry Pi Webcam Streaming with Logitech C920 and VLC
License: GNU General Public License v3.0
Thank you for this project, it helped me get my h.264 usb camera (not c920) working well with a raspi running my front gate doorbell.
Audio-sync does not seem to be a valid command-line parameter, at least according to available vlc documentation. When output is verbose you get a warning to the same meaning as well "main stream out warning: option audio-sync is unknown".
There is however an " --audio-desync" option that takes a milliseconds argument to attempt to compensate for video and audio being out of sync.
This could be a new feature to add.
hello guys!
anyone got the same issue?
./Raspi_VLC_Webcam_Stream.sh 0
Output:
unknown control 'led1_mode'
Error [2]: Folder passed in argument is invalid or does not exist. Aborting.
Thanks this looks like a nice project for my Logitech C920 but I cannot get started.
pi@raspberrypi:~/RaspiVWS $ ./Raspi_VLC_Webcam_Stream.sh -V 0 8090
returns
Error [1]: Device /dev/video0 required but could not be found. Aborting.
however this command works OK
cvlc v4l2:///dev/video0:chroma=h264 :input-slave=alsa://hw:1,0 --sout '#transcode{acodec=mpga,ab=128,channels=2,samplerate=44100,threads=4,audio-sync=1}:standard{access=http,mux=ts,mime=video/ts,dst=:8090}'
Describe the bug
Known bug VLC 3.0.16 vlc on raspbian does not accept the ALSA url code.videolan.org/videolan/vlc/-/issues/26054 so :input-slave=alsa://hw:1,0
won't work with this VLC version
Describe the bug
I have tried multiple cameras, and a specifically a Logitech C920. The program is unable to detect the cameras:
Error [1]: Device /dev/video0 required but could not be found. Aborting.
To Reproduce
Steps to reproduce the behavior:
v4l2-ctl --list-devices
HD Pro Webcam C920 (usb-0000:01:00.0-1.3): /dev/video0 /dev/video1
./Raspi_VLC_Webcam_Stream.sh 0
Expected behavior
The program should run.
Your solution is so great for introducing vlc via the source code that you have, I've been using it as my reference for the last couple of years. Thank you for putting this on the internet!
I was curious if you also stream audio at all using this? I'm not having much success in getting audio off of the c920. I put all of my issues into this question on the raspberry pi stack exchange.
Do you have any guides/notes that aren't maybe public for getting the audio to work out?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.