Skip to content

How to open a usb camera with emguffmpeg #19

@Belial2010

Description

@Belial2010

[optional] upload the media file that is in question.

ffmpeg version: 1.0.11

question:

In my app, we want to grab video stream from a usb camera, but did not get a api or a way to open the usb camear.

my codes as follow:
string videoName = "0";
MediaReader reader = new MediaReader(videoName, null, null));

it throws a exception: FFmpeg error [-2] No such file or directory

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions