obsproject / obs-studio

OBS Studio - Free and open source software for live streaming and screen recording
https://obsproject.com
GNU General Public License v2.0
58.68k stars 7.81k forks source link

Webcam freezes after a while: Failed to send frame to codec #9013

Open es20490446e opened 1 year ago

es20490446e commented 1 year ago

System

Steps to Reproduce

Result

Log

kkartaltepe commented 1 year ago
20:36:20.546: v4l2-input: decoder: failed to send frame to codec
20:36:20.546: v4l2-input: failed to unpack jpeg or h264
20:36:20.546: v4l2-input: /dev/video2: Stopped capture after 87470 frames

It looks like your device produces an invalid video stream

es20490446e commented 1 year ago

Maybe OBS treats that error as exceptional when it isn't.

es20490446e commented 1 year ago

@kkartaltepe This only happens on OBS by the way.