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

The sample apps webcam streaming does not work on Linux #240

Open
FGRCL opened this issue Jan 15, 2021 · 0 comments
Open

The sample apps webcam streaming does not work on Linux #240

FGRCL opened this issue Jan 15, 2021 · 0 comments
Labels
bug Something isn't working sample apps Issue related to developing the sample apps (sender and receiver)

Comments

@FGRCL
Copy link
Member

FGRCL commented Jan 15, 2021

Operating system:

  • Manjaro Linux
  • macOS (?)

Steps to reproduce:

  1. Start the sender sample app
  2. Register the sender with the service
  3. Tick "use webcam"
  4. Click "Start"

Expected result:

  • The sender app opens the webcam device and starts streaming

Actual result:

  • The sender crashes with the following log: Unknown input format: 'dshow'

Visual proof:
image

Additional Information:
I have done some research and the correct command that should be invoked on Linux is the following

ffmpeg -f v4l2 -i /dev/video0 -f mpegts -v warning [...]

instead of:

ffmpeg -f dshow -i video={webcam} -f mpegts -v warning [...]

note the that the device /dev/video0 might change depending on the system used.

@sharon-ho sharon-ho added bug Something isn't working sample apps Issue related to developing the sample apps (sender and receiver) labels Jan 17, 2021
@sharon-ho sharon-ho added this to the Sprint 6 milestone Jan 30, 2021
@felixlapierre felixlapierre removed this from the Sprint 6 milestone Mar 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working sample apps Issue related to developing the sample apps (sender and receiver)
Projects
None yet
Development

No branches or pull requests

3 participants