Skip to content

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

@FGRCL

Description

@FGRCL

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingsample appsIssue related to developing the sample apps (sender and receiver)

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions