Repository navigation
|
I recorded a stream with --stream-record and then my cat pressed the power button and turned my pc off while i was recording, the video file is there and it's a gigabyte large so clearly it recorded successfully. But it won't play. Is there a way to recover it somehow? Maybe with ffmpeg or something? |
Answered by
Rabcor
Jul 16, 2024
Replies: 1 comment
|
I managed to figure it out. I installed untrunc https://github.com/anthwlock/untrunc Recorded the same stream agian for a few seconds to get an undamaged similar file, let's call that one new.mp4. Then I ran
And it fixxed the file right up. |
0 replies
Answer selected by
Rabcor
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I managed to figure it out.
I installed untrunc https://github.com/anthwlock/untrunc
Recorded the same stream agian for a few seconds to get an undamaged similar file, let's call that one new.mp4.
Then I ran
untrunc new.mp4 damaged.mp4And it fixxed the file right up.