I have recorded a 20 minutes game session from Minecraft using Kazam and saved the result as a 80 gig avi. When I try to open the file though only the first 8-9 minutes are played.
Selecting it as a source in Handbrake shows the correct length at 19 min 49 sec but converting it to mkv for instance only results in a file that is 8 min 33 sec.
Adding the file as a source in OpenShot it is playable up until 8 min mark but after that gets dark.
Adding it in a track in the project and playing it produces a video with only the gui and the rest black.
Are there anyway to save this file or should I just be happy that I at least got 9 minutes?


It is hard to say without seeing the file itself, but my best guess is that an issue occurred causing the data stream to die but the meta data was still set "properly". Generally, the actual video data itself is not looked at for the length of the video. Instead, there is header meta data in the file that holds the video stream which indicates how long the video is and how it is encoded. It is possible that the video stream either had an error at around 9 minutes or perhaps it simply stopped recording around that time, however the timer kept going and the meta data for the length wasn't written until the end.

This would also explain why it goes dark, because the video stream player would try to play it, but the content isn't there, so it has nothing to play.

If the file just has a corruption for a short while and then works again, you might be able to get around it by splitting the video stream in to multiple parts, but my guess is that the data was probably not encoded in the first place and your stream itself is probably truncated.

  • I tried checking the file for error using avconv and it failed to even operate on it so I believe you are correct. I thruw it out. – Skadlig Jul 26 '14 at 12:24

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.