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
Hello @rob93c ,
thanks for reporting this.
The problem is very common, since there exist many many broken video files out into the wild.
The sample file you linked to the issu is such an example.
It looks like a webm file, but ffmpeg and ffprobe are not able to detect the correct details of the video/audio file and therefore it return null.
Also I'm not able to open/playback the file with vlc player and a few others, so it seems to be badly broken.
Given the file is broken I would expect for the exception to highlight it, if possible; I think InputFormatException: null might be too generic in this case
Thanks for looking into this @a-schild! Feel free to close the issue if you don't need it
Hello, I developed a Telegram bot capable of converting images and videos in Telegram stickers and to do so I use Jave2 with FFmpeg 6.1
I noticed that sometimes the code
new MultimediaObject(file, FFMPEG_LOCATOR).getInfo()
throws anInputFormatException
:I tried reading the video information using
ffprobe
and the output was the following:I created a unit test to show its behavior: https://github.com/Stickerifier/Stickerify/blob/malformed-video-bug/src/test/java/com/github/stickerifier/stickerify/media/MediaHelperTest.java#L230-L235
The file affected by this issue is here.
Let me know if there is anything else I can do to help investigating this issue.
The text was updated successfully, but these errors were encountered: