yi-hack-Allwinner icon indicating copy to clipboard operation
yi-hack-Allwinner copied to clipboard

Repair 'interrupted' mp4 video files

Open Xandrios opened this issue 4 years ago • 1 comments

I'm trying to find a way to make 'cut off' mp4 files playable. These are files that were copied from the camera while the Yi software was still writing to them. So far without much luck unfortunately.

The video data is there. But from what I understand the mp4 format can have some 'metadata' at the end of the file, and this would be required to play the video.

There are some tools and services that theoretically can do this for you. I've tried these:

And various online recovery services. None of these seem to work...I didn't get a working video files from any of these. Most likely some crucial mp4 parameters, specific to this camera/model, need to be used in this repair process.

Has anybody tried this, or already know of another way to repair interrupted mp4 video from the Yi home cam?

Xandrios avatar May 31 '20 17:05 Xandrios

I'm guessing you did, but just to make sure: did you try ffmpeg? It might be able to read the beginning of the file and start working on it, and you tell it to stop just before the moment of interruption.

It would really help if you have a sample file to run tests.

3xtant avatar Jun 25 '20 03:06 3xtant

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar Apr 11 '24 02:04 github-actions[bot]