You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the video has been consumed by PyAVSource and there are no frames left, the exception StopIteration is raised by the yield statement within the frame_gen() function.
The text was updated successfully, but these errors were encountered:
No, not really. The error should be catched and the source should automatically stop (and with it, the pipeline). This should be fixed in the next bugfix release and we should add (or adapt) the corresponding tests. Actually, I wonder why our tests did not reveal this issue.
A workaround will for sure be to catch the error in your code and stop the pipeline in the finally block.
When the video has been consumed by PyAVSource and there are no frames left, the exception
StopIteration
is raised by theyield
statement within theframe_gen()
function.The text was updated successfully, but these errors were encountered: