GithubHelp home page GithubHelp logo

lonewanderer-gh / raspivws Goto Github PK

View Code? Open in Web Editor NEW
44.0 3.0 1.0 259 KB

Raspberry Pi Webcam Streaming with Logitech C920 and VLC

License: GNU General Public License v3.0

Shell 100.00%
logitech-devices logitech webcam webcam-streaming vlc-media-player h264 http http-streaming webcam-stream wifi

raspivws's People

Contributors

lonewanderer-gh avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

tomvdbroek

raspivws's Issues

unknown control 'led1_mode'

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.

Clarity on audio options

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?

Cannot get started / Unable to find devce

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}'

Unable to find devce

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:

  1. Connect camera to device
  2. Ensure the camera is recognized by the pi: v4l2-ctl --list-devices
  3. Check output: HD Pro Webcam C920 (usb-0000:01:00.0-1.3): /dev/video0 /dev/video1
  4. Run script ./Raspi_VLC_Webcam_Stream.sh 0

Expected behavior
The program should run.

Screenshots
screenshot

audio-sync does not seem to be a valid command-line parameter

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.

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.