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

Webcam input fails with "Failed to decode packet: End of file" #358

Open
jschmdt opened this issue May 5, 2024 · 0 comments
Open

Webcam input fails with "Failed to decode packet: End of file" #358

jschmdt opened this issue May 5, 2024 · 0 comments

Comments

@jschmdt
Copy link

jschmdt commented May 5, 2024

My specs:
Macbook Pro M3, OSX Sonoma 14.4.1, glslViewer 3.30 (built from source)

Task:
Testing webcam input with shader example:
glslViewer -l test_video.frag --video 0

Issue:
Webcam input is shown inside of glslViewer for 1-2 frames but then immediately stops with following error:
Failed to decode packet: End of file

FFMPEG:

[AVFoundation indev @ 0x138005ea0] AVFoundation video devices:
**[AVFoundation indev @ 0x138005ea0] [0] FaceTime HD-Kamera
[AVFoundation indev @ 0x138005ea0] [1] Capture screen 0
[AVFoundation indev @ 0x138005ea0] [2] Capture screen 1**
[AVFoundation indev @ 0x138005ea0] AVFoundation audio devices:
[AVFoundation indev @ 0x138005ea0] [0] MacBook Pro-Mikrofon

Testing if webcam works:

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