bytedeco/javacv
Voir sur GitHubError on InputStream.read(): java.io.IOException: closed
Open
#2 049 ouverte le 29 juin 2023
bughelp wanted
Métriques du dépôt
- Stars
- (6 985 stars)
- Métriques de merge PR
- (Aucune PR mergée en 30 j)
Description
When I use FFmpegFrameGrabber(InputStream) and the InputStream is closed, I only get the message on stderr:
Error on InputStream.read(): java.io.IOException: closed
FFmpegFrameGrabber#grab then still waits in line 1454
pkt.stream_index(-1);
infinitly.
I would appreciate, if FFmpegFrameGrabber#grab would return a null Frame, so I can take appropriate action. Even better would be, if FFmpegFrameGrabber#grab throws that java.io.IOException.