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

OnVideoSourceRawSampleFaster event is not firing on Linux (Ubuntu 22.04) #56

Open
mail2mhossain opened this issue May 7, 2023 · 0 comments

Comments

@mail2mhossain
Copy link

mail2mhossain commented May 7, 2023

ffmpeg -> ffmpeg version 4.4.2-0ubuntu0.22.04.1 Copyright (c) 2000-2021 the FFmpeg developers

v4l2-ctl --list-devices:

WebCam C170: WebCam C170 (usb-0000:00:14.0-10):

/dev/video0
/dev/video1
/dev/media0

FFmpegInit.Initialise(FfmpegLogLevelEnum.AV_LOG_VERBOSE, linux_path) is working fine. path is /usr/lib/x86_64-linux-gnu. There no error to initiaze ffmpeg

private FFmpegCameraSource _videoSource;

_videoSource = new FFmpegCameraSource(camPath); //here camPath is /dev/video1
_videoSource.OnVideoSourceRawSampleFaster += _videoSource_OnVideoSourceRawSampleFaster;
_videoSource.OnVideoSourceError += _videoSource_OnVideoSourceError;
_videoSource.StartVideo().Wait();

There is no error on above code execution.

BUT OnVideoSourceRawSampleFaster event is not firing. But it is working on Windows.

RawImageToAnyBitmap.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant