Email or username:

Password:

Forgot your password?
David Revoy

[UPDATE]: FIXED by @RinCat 😍 Thanks you all for feedback! 👍

---
So, I had a kernel panic while I was recording a video tutorial with OBS, and I had to hard reboot the computer because everything froze. Unfortunately, the ongoing record before the crash was corrupted at reboot.
It's an important piece of the video, and I can't retake it. So it ruined my long video tutorial... 😭

The corrupted MP4 segment: peppercarrot.com/extras/videos

#video #obs #kdenlive

34 comments | Expand all CWs
Ed 👾🎮💻

@davidrevoy See if this walkthrough helps. I’ve found that VLC is great at recovery.

repairit.wondershare.com/video

David Revoy

@ede Thanks, unfortunately, it doesn't work.

Ed 👾🎮💻

@davidrevoy I’m sorry to hear that. With OBS, consider switching to MKV video. It’s much more tolerant with failures and should be easy to recover if a similar event happens in the future.

David Revoy

@ede Thanks, yes, I read that. I switched to MKV, I had no idea MP4 was that dangerous to record a session.

WelshPixie, ShadowFigure

@davidrevoy Oh no! :( :( :bear_hugs:

Invita Gasper :verified:

@davidrevoy let's see... did you try with avidemux?

David Revoy

@gasper Unfortunately, yes.

Invita Gasper :verified:

@davidrevoy ok, i'm testing more things, give me a few minutes (maybe hours)

DELETED

@davidrevoy I dont know how to fix that file :( , next time try to use mkv

David Revoy

@janpod Oh yes. While trying to fix it myself without success, I saw that MP4 was a trap. Yes, I switched OBS to MKV now, but the corrupted segment is ... lost.

FiXato

@brightside is there maybe something you can do to help @davidrevoy retrieve their corrupted MP4 video?

鈴猫 :rincat_bell:

@davidrevoy You need give a working mp4 from same obs configuration.

David Revoy

@RinCat Hey, Thanks. OK. Here is the ending of the segment after I did the reboot of my machine, it's a shorter segment, but had same bitrate/format/mp4 peppercarrot.com/extras/videos

David Revoy

@RinCat 😍 😍😍😍😍😍😍😍😍😍😍😍😍😍😍😍😍 THANK YOU!!!

tauli

@davidrevoy Since the moov is missing, there is little hope i'm afraid. If you can record another video with the *exact* same settings, you can try to use untrunc github.com/anthwlock/untrunc

For future reference, you can configure obs to record MP4s that are more resilient against crashes. obsproject.com/forum/resources

Sunday

@davidrevoy mp4 files have an important part of their metadata at the end and if a file is incomplete, this part is missing. However sometimes this part can be transplanted from an otherwise identical file (same source software, same settings) to get the file working again. This part is called the MOOV atom. Maybe this info helps to find some tools.

cybrkyd :verified:

@davidrevoy You have this issue:

[mov,mp4,m4a,3gp,3g2,mj2 @ 0x55a3165c04c0] moov atom not found
2022-12-18_F_shading-crash.mp4: Invalid data found when processing input

It is repairable (maybe) but you will need to perhaps have another good video from the same source to reference.

Search for "moov atom not found" and see which is best for you depending on operating system. Sometimes, the repair tools are not free!

John Livingston

@davidrevoy
Have you tried VLC? If VLC can open, you can then export. I heard VLC can open files with corrupted index, but it was a long time ago. No idea if it will work here. Good luck.

PS: maybe ffmeg as an option to ignore some errors?

Wild Portrait Artist

@davidrevoy I had the same issue a while back, there's a free software called Handbrake, convert it from an mp4 to an mp4 (yes, really!) in Handbrake and it should fix your issue!

David Revoy

@oblomov Thanks, it was indeed the solution RinCat used.

SammyGalen

@davidrevoy I tried to open the mp4 file using Movavi Video Suite, I figure that it could extract the uncorrupted files, it didn't work. Sorry.

David Revoy

@SammyGalen Thanks for testing and checking. The solution: using a command line tool named untrunc github.com/ponchio/untrunc , RinCat in the thread fixed the mp4 with it.

Snapai :verified_dragon:

@davidrevoy

I don't have any way to help recover it, but (apologies if your mentions are already flooded with this) for future recording I understand Matroska containers are typically saved progressively, and so will corrupt less if interrupted?

David Revoy

@Snapai Thanks, and yes, lesson learned (the hard way) for the MKV workflow 😅
The solution: using a command line tool named untrunc github.com/ponchio/untrunc , RinCat in the thread fixed the mp4 with it.

Fran :clapidi: :tux:

@davidrevoy if VLC can play it, you're good. You can the export it with VLC. @RinCat

David Revoy

@alter_unicorn @RinCat Thanks, it is resolved.
Unfortunately, in this case, not VLC/Avidemux or FFMPEG could solve the situation, the solution was a command line tool named untrunc

Michael Kammes

@davidrevoy I tried 6 different apps here with no luck.

Is this a part of a larger or a chunk of a recording? 91MB is really small for a long video.

David Revoy

@michaelkammes Oh yes, it was a tough video file, I also tested ffmpeg/avidemux/vlc and more method found online. Asking on Mastodon was my last desperate attempt.
The solution: using a command line tool named untrunc github.com/ponchio/untrunc , RinCat in the thread fixed the mp4 with it.
Yes, this is the segment 'F' and crashed after 30min afair , I usually try to not exceed recording session of 1h.

Go Up