player-cpp-ffmpeg-sdl icon indicating copy to clipboard operation
player-cpp-ffmpeg-sdl copied to clipboard

Erro = Invalid argument for webcam

Open busrakb opened this issue 6 years ago • 2 comments

Hi,

I want to use my webcam, but i am taking error that is, Erro = Invalid argument

The run code; ./player /dev/video0

How can it work ? Can you help me, please?

busrakb avatar Apr 07 '18 18:04 busrakb

The argument is the vídeo address to a vídeo file If you want live web cam stream, please check my other github Project

Raul Alves Development Engineer at Samsung

Em Sáb, 7 de abr de 2018 15:34, busrakb [email protected] escreveu:

Hi,

I want to use my webcam, but i am taking error that is, Erro = Invalid argument

The run code; ./player /dev/video0

How can it work ? Can you help me, please?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/raullalves/player-cpp-ffmpeg-sdl/issues/1, or mute the thread https://github.com/notifications/unsubscribe-auth/AOjtXuGcLvSbzj1X6mUmhQjSl5yPgukCks5tmQavgaJpZM4TLMnE .

raullalves avatar Apr 07 '18 18:04 raullalves

@busrakb ffmpeg does not access the webcam directly. You need to set up an API for acquiring such data. I will work on that...

raullalves avatar May 03 '20 18:05 raullalves