xuggle-xuggler : java.lang.RuntimeException: error -1 decoding audio

Exception in thread "main" java.lang.RuntimeException: error -1 decoding audio
at com.xuggle.mediatool.MediaReader.decodeAudio(MediaReader.java:549)
at com.xuggle.mediatool.MediaReader.readPacket(MediaReader.java:469)
at com.company.toolset.crawler.common.video.DecodeAndCaptureFrames.<init>(DecodeAndCaptureFrames.java:89)
at com.company.toolset.crawler.common.video.DecodeAndCaptureFrames.main(DecodeAndCaptureFrames.java:55)

may occur if accidenly an attempt is made to take screenshot during a certain time that exceeds(>) video length.Like one can get this by trying to take screenshot at 15th second of the video but the video duration is <= 15 seconds.

No comments:

Post a Comment