|
Hi,
This is the script, I just have added option probesize to see if this help but erorr still there: Working on macOS 13 ventura, python 3.9, av 14.1.0
thanks |
Answered by
WyattBlue
Mar 9, 2025
Replies: 2 comments
|
This should your blocking error: try:
while True:
try:
for frame in input_.decode(video=0):
packet = output_stream.encode(frame)
output.mux(packet)
except av.BlockingIOError:
pass
except KeyboardInterrupt:
print("Recording stopped by user")
packet = output_stream.encode(None)
output.mux(packet)
input_.close()
output.close() |
0 replies
Answer selected by
WyattBlue
|
Thanks ! |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This should your blocking error: