Take the 2-minute tour ×
Video Production Stack Exchange is a question and answer site for engineers, producers, editors, and enthusiasts spanning the fields of video, and media creation. It's 100% free, no registration required.

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?

share|improve this question

1 Answer 1

up vote 2 down vote accepted

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.

share|improve this answer
    
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 at 12:24

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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