topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Sunday December 1, 2024, 11:27 am
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: Repair MP4 video  (Read 3041 times)

sphere

  • Participant
  • Joined in 2018
  • *
  • default avatar
  • Posts: 176
    • View Profile
    • Donate to Member
Repair MP4 video
« on: July 20, 2020, 12:27 PM »
I was recording a video to MP4 using OBS and the system shut down unexpectedly.  I have a 40omb file that will not play.  I tried to use VLC to convert it, but it will not work. Does anyone know of any tricks?
https://www.makeuseo.../fix-corrupt-videos/
 Have not tried Video Repair from Grau GmbH for Windows yet.  Seems like there might be better options.

Any recommendations?

sphere

  • Participant
  • Joined in 2018
  • *
  • default avatar
  • Posts: 176
    • View Profile
    • Donate to Member
Re: Repair MP4 video
« Reply #1 on: July 20, 2020, 12:46 PM »
This seems to be a complete list.
I have heard of wondershare's oterh products.
https://www.stellari...-repair-software.php

sphere

  • Participant
  • Joined in 2018
  • *
  • default avatar
  • Posts: 176
    • View Profile
    • Donate to Member
Re: Repair MP4 video
« Reply #2 on: July 20, 2020, 02:04 PM »
To Update...  I tried using ffmpeg.

The video is about 20 minutes long. It recovered the first half of the audio and most of the video, though at the beginning the audio and the video were not in sync.  I am more interested in the audio.  I might look into a way to extract all the audio.
The way this process works is that it an analyzes a working file and compares it to the broken mp4.  The only working file I had from the same session was 10 minutes long. So I wonder if that was what cause it to stop working at the end.


recover_mp4 ▶ https://www.videohelp.com/software/re...
FFmpeg ▶ https://ffmpeg.zeranoe.com/builds/




4wd

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 5,644
    • View Profile
    • Donate to Member
Re: Repair MP4 video
« Reply #3 on: July 20, 2020, 05:28 PM »
Grab AVIDemux and create a 20 minute video by appending the 10 minute video to itself and saving.

http://avidemux.sour...ge.net/download.html

Or you can use ffmpeg to concat the video:

Code: Text [Select]
  1. ffmpeg -i "concat:input1.mp4|input1.mp4" -c copy output.mp4

If you've got access to Linux, (or use WSL), then you can also try untrunc.



BTW, it mentions that if the 'good' sample video was from the same device/source as the 'bad' video, then you'll have a higher degree of success.
« Last Edit: July 21, 2020, 01:18 AM by 4wd »