History :

Here is some background of this long lasting problem : https://answers.launchpad.net/kazam/+question/218308

I am posting it to get some valuable suggestions from video gurus here.

About Kazam :

kazam is a screen recording tool which also records audio. Once the recording is finished, a popup comes and then we can save the video into a mp4 file.

Problem :

Sometimes, in particular when the screen recording time is large like, 2~3 hrs, in those cases, the pop up does not come up. so, basically we cannot save the recorded data into a file.

We find 2 residual files. with .movie and .mux

  • kazam_5e8ob247.movie.mux (~ 1.2 GB)
  • kazam_5e8ob247.movie (0 bytes)

.movie file is of 0 bytes. So, this is just a temporary file.

.mux contains the real data and is of ~1.2 gb.

How can I recover the .mux file?

Notes :

I see from kazam source code (https://github.com/sconts/kazam) that it is using Gstreamer internally.

So, can you please suggest an appropriate gst-pipeline that can convert .mux into a playable .mp4 file?

To provide more details, I tried to get some information about the recorded stream using gst-discoverer-1.0. But it fails saying it cannot read any details.

gst-discoverer-1.0 kazam_5e8ob247.movie.mux
Analyzing file:///home/sandeep/sw/samples/kazam_5e8ob247.movie.mux
Done discovering file:///home/sandeep/sw/samples/kazam_5e8ob247.movie.mux
An error was encountered while discovering the file
 Could not determine type of stream.

First 1 MB :

To analyze, the first 1 MB of the file can be found here

  • Please, post first 1mb of your file for analysis – bukkojot Sep 7 '17 at 19:14
  • @bukkojot I just added the link for the 1 MB of the video in the description – mk.. Sep 8 '17 at 4:52
  • There's a baseline H.264 stream in there, so this was meant to be a MP4. Generate a short video with kazam using the same settings as the broken one. Then use recover_mp4 from slydiman.me/eng/mmedia/recover_mp4.htm – Gyan Sep 8 '17 at 5:34
  • Thanks @Mulvya.. Looks very promising. As it needs a windows PC, I will try it later and will share the result. Tank you again. – mk.. Sep 8 '17 at 8:11
  • I just finished my own tool for video recovering: github.com/bookkojot/mp4fixer - try it. – bukkojot Oct 12 '17 at 20:16

Your Answer

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

Browse other questions tagged or ask your own question.