Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Recover Kazam mux file to mp4 #6

Open
rizmut opened this issue Aug 17, 2018 · 15 comments
Open

Recover Kazam mux file to mp4 #6

rizmut opened this issue Aug 17, 2018 · 15 comments

Comments

@rizmut
Copy link

rizmut commented Aug 17, 2018

From this question I see you to try your project. But actually I have zero undestanding about media format. How to do that exactly in command?

@bartwr
Copy link

bartwr commented Oct 27, 2018

If you did not finish your Kazam screen recording, you'll have an 0 bytes .movie file and a .movie.mux file with a bigger size. See screenshot below.

image

To make use of mp4fixer for recovering the video file from the .mux file, you need to do the following:

  1. Run Kazam again and this time finish the video.

Now you have three files:

  • badvideo.movie
  • badvideo.movie.mux
  • goodexamplevideo.movie

Now, by following the README of this project, you can rebuild the movie file from the .movie.mux file:

perl fixer.pl goodexamplevideo.movie badvideo.movie.mux recovered

The new generated file recovered-out-video.h264 will be the recovered video file. Getting sound is explained in the README as well.

@lamidesbetes
Copy link

lamidesbetes commented Jul 12, 2020

Don't forget to install ffmeg ;)

sudo apt install ffmpeg

(Moreover, using sudo for the perl command can make it works:VLC can't read it but youtube can upload it)

@rizmut
Copy link
Author

rizmut commented Oct 27, 2020

Hello, I have encountered similar problem, but now I can not file the .mux file. The issue occured when I tried to save Kazam video but the Save button in file choose dialog did not work. I canceled the operation but Kazam window still opened with grayed out color. Then I close the dialog and got Kazam to the first state. I am not sure I have to report to Kazam dev or not but my question with regarding your amazing tools is there any chance I can recover my file?

This is my "saved" file. I can not open it with VLC

gambar

@paulomp90
Copy link

Hello, I have encountered similar problem, but now I can not file the .mux file. The issue occured when I tried to save Kazam video but the Save button in file choose dialog did not work. I canceled the operation but Kazam window still opened with grayed out color. Then I close the dialog and got Kazam to the first state. I am not sure I have to report to Kazam dev or not but my question with regarding your amazing tools is there any chance I can recover my file?

This is my "saved" file. I can not open it with VLC

gambar

We're you able to recover?
I had an error when i was recording, but I feel I will lose everything :/

@Setigi3
Copy link

Setigi3 commented Feb 10, 2021

Hello!

I need some help. I followed the procedure step by step but the recovery.h264 file has 0 bytes which means I cannot convert it to mp4.

Can someone please suggest a solution?
mp4fixer

@rizmut
Copy link
Author

rizmut commented Feb 16, 2021

Hello, I have encountered similar problem, but now I can not file the .mux file. The issue occured when I tried to save Kazam video but the Save button in file choose dialog did not work. I canceled the operation but Kazam window still opened with grayed out color. Then I close the dialog and got Kazam to the first state. I am not sure I have to report to Kazam dev or not but my question with regarding your amazing tools is there any chance I can recover my file?
This is my "saved" file. I can not open it with VLC
gambar

We're you able to recover?
I had an error when i was recording, but I feel I will lose everything :/

Yes, just simply convert this gambar file to MP4 with VLC, it solved my problem

@vmlnayak
Copy link

vmlnayak commented Mar 6, 2021

Hello!

I need some help. I followed the procedure step by step but the recovery.h264 file has 0 bytes which means I cannot convert it to mp4.

Can someone please suggest a solution?
mp4fixer

@Setigi3
Copy link

Setigi3 commented Mar 6, 2021

@vmlnayak , I wound up installing ffmpeg before running the perl command.
sudo apt install ffmpeg

Make sure you do that first.

@jguillem
Copy link

I have been able to retrieve the video from kazam, but it has no audio. What have you done to get it back?

@vmlnayak
Copy link

vmlnayak commented Mar 30, 2021 via email

@Setigi3
Copy link

Setigi3 commented Mar 31, 2021

First I have used this website https://h264-to-mp4.file-converter-online.com/ to convert h264 to mp4 thn I have used vlc to merge the video and audio (recored raw audio).

You can do so following this video: https://www.youtube.com/watch?v=3h_Iq3a7ul8

@jguillem
Copy link

In my case I only hear noises with the raw audio file recovered.
I convert the h264 to mp4 with ffmpeg and I have the video without audio. The raw audio file (recovered-out-audio.raw) is inaudible (only noises).
I'm not able the raw audio file recovered to mp3 with the aacfixer executable or change the extension to mp3, and if I try to merge the raw with the mp4 with VLC, I only hear noises.

@Arof2
Copy link

Arof2 commented Jun 20, 2022

Hi there.
I followed the procedure but i encountered an Error saying: Only ACC streams can ne muxed by the ADTS muxer Could not write header for output file #0 (incorrect codec parameters ?): Invalid argument
I'm clueless of what to do next as no one else seems to have encountered this error. For some reason only 4 files were created which do not include the audio or video file i need. These files are: recovered-headers.acc, recovered-headers.h264, recovered-nals.txt, recovered-stat.mp4.
My two original files are labeled: kazam_0l245qzg.movie kazam_0l245qzg.movie.mux
I dont have any experience with corrupted files so i dont know what the error message means. I hope someone can help me. Thx

@amzker
Copy link

amzker commented Mar 11, 2023

guys, i don't even have mux files in my save location

@caiot5
Copy link

caiot5 commented May 29, 2024

Yeah, it works, but the video gets artifacts where it was supposed to be static images, it shows where the image changes but the part of image which is static keeps frozen onscreen. So I guess that's something to do with mp4 compression, it should be fixable, but I don't know how.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

10 participants