Active Topics

 


Reply
Thread Tools
Posts: 10 | Thanked: 1 time | Joined on Feb 2011
#1
Hello,
was wondering if someone could help in recovering a corrupted video recorded on my Nokia n900. The phone did a random reboot during recording and now I'm stuck with a video file that is not playable(tried mpc, vlc ...).

I tried recovering using some tools i found on the internet but none of them worked.

From what I could gather, the video is lacking the moov segment at the end of the file, but I have no idea how to restore it or if it is even possible.

The file is a mp4 video with the following header information:
ftyp: mp42
isom:3gp6

I'd be grateful for any help (links to relevant info? maybe someone had to do this in the past?).

Thanks.
 
Posts: 1,341 | Thanked: 708 times | Joined on Feb 2010
#2
Have you tried to play with mplayer?

You could try to fix with mencoder:
Code:
mencoder -forceidx -oac copy -ovc copy /tmp/src.mp4 -o /tmp/dst.avi
 
qwazix's Avatar
Moderator | Posts: 2,622 | Thanked: 5,447 times | Joined on Jan 2010
#3
maybe use a commandline video splitter that will split the file without needing to display it first. That way maybe you end up with a playable and a non playable part.
__________________
Proud coding competition 2012 winner: ρcam
My other apps: speedcrunch N9 N900 Jolla –– contactlaunch –– timenow

Nemo UX blog: Grog
My website: qwazix.com
My job: oob
 
Estel's Avatar
Posts: 5,028 | Thanked: 8,613 times | Joined on Mar 2011
#4
I had to do (almost) exactly same thing, some time ago. I was able to recover video, although, results were not very satisfying - audio/video sync was PITA to repair (more precisely, frames per second on video), and somehow, keyframes were messed up - i don't know how it's possible in already recorder stream, but it looked like all keyframes stacked up together, so, periodically, You've had perfect picture for a few seconds, going gradually worse and worse... to the point of awful quality, then, PONG! awesome quality again, going gradually worse and worse... Everything over the same period of time (7-8 seconds), rinse and repeat.

Finding a tool was also a PITA - to my knowledge, there is only one freeware tool capable of doing so, and, to make things worse, company producing it made it payware starting from some version number, and carefully deleted prior version from almost everywhere. Newer version doesn't have any better functionality, and it's perfectly legal to use older, freeware version, but - no idea how they achieved that - links for downloading it doesn't seem to exist *anywhere*.

fortunately, I was able to get in contact with someone who used it during times of freeware, and wrote on his blog about it - he still had program on his hard drive, and was kind enough to send it to me.
---

So, here You have it:
Videorepair 1.5

I don't remember usage instructions, but, it was quite straightforward. After all, you can always check their website - new payware version uses same procedure, IIRC.

/Estel
__________________
N900's aluminum backcover / body replacement
-
N900's HDMI-Out
-
Camera cover MOD
-
Measure battery's real capacity on-device
-
TrueCrypt 7.1 | ereswap | bnf
-
Hardware's mods research is costly. To support my work, please consider donating. Thank You!
 

The Following 9 Users Say Thank You to Estel For This Useful Post:
Posts: 10 | Thanked: 1 time | Joined on Feb 2011
#5
Originally Posted by zimon View Post
Have you tried to play with mplayer?

You could try to fix with mencoder:
Code:
mencoder -forceidx -oac copy -ovc copy /tmp/src.mp4 -o /tmp/dst.avi
Yes i did try playing it with both media player and media player classic.

This is the error message that I get:
Code:
Media Type 0:
--------------------------
Unknown

AM_MEDIA_TYPE: 
majortype: MEDIATYPE_Stream {E436EB83-524F-11CE-9F53-0020AF0BA770}
subtype: Unknown GUID Name {08E22ADA-B715-45ED-9D20-7B87750301D4}
formattype: TIME_FORMAT_NONE {00000000-0000-0000-0000-000000000000}
bFixedSizeSamples: 1
bTemporalCompression: 0
lSampleSize: 1
cbFormat: 0


Media Type 1:
--------------------------
Unknown

AM_MEDIA_TYPE: 
majortype: MEDIATYPE_Stream {E436EB83-524F-11CE-9F53-0020AF0BA770}
subtype: TIME_FORMAT_NONE {00000000-0000-0000-0000-000000000000}
formattype: TIME_FORMAT_NONE {00000000-0000-0000-0000-000000000000}
bFixedSizeSamples: 1
bTemporalCompression: 0
lSampleSize: 1
cbFormat: 0

Last edited by denisx; 2012-06-10 at 11:40.
 
Posts: 10 | Thanked: 1 time | Joined on Feb 2011
#6
Originally Posted by Estel View Post
I had to do (almost) exactly same thing, some time ago. I was able to recover video, although, results were not very satisfying - audio/video sync was PITA to repair (more precisely, frames per second on video), and somehow, keyframes were messed up - i don't know how it's possible in already recorder stream, but it looked like all keyframes stacked up together, so, periodically, You've had perfect picture for a few seconds, going gradually worse and worse... to the point of awful quality, then, PONG! awesome quality again, going gradually worse and worse... Everything over the same period of time (7-8 seconds), rinse and repeat.

Finding a tool was also a PITA - to my knowledge, there is only one freeware tool capable of doing so, and, to make things worse, company producing it made it payware starting from some version number, and carefully deleted prior version from almost everywhere. Newer version doesn't have any better functionality, and it's perfectly legal to use older, freeware version, but - no idea how they achieved that - links for downloading it doesn't seem to exist *anywhere*.

fortunately, I was able to get in contact with someone who used it during times of freeware, and wrote on his blog about it - he still had program on his hard drive, and was kind enough to send it to me.
---

So, here You have it:
Videorepair 1.5

I don't remember usage instructions, but, it was quite straightforward. After all, you can always check their website - new payware version uses same procedure, IIRC.

/Estel
The link you provided has a damaged archive. I'll try and find another copy on the net.

Thanks for the reply.
 
Estel's Avatar
Posts: 5,028 | Thanked: 8,613 times | Joined on Mar 2011
#7
No, it doesn't (just downloaded it myself). try downloading it another time - I think you might have started downloading it, while I was still uploading (and as a result, got only part of file).

As for searching anywhere else, of course, You may, but I really doubt You'll be able to.

/Estel
__________________
N900's aluminum backcover / body replacement
-
N900's HDMI-Out
-
Camera cover MOD
-
Measure battery's real capacity on-device
-
TrueCrypt 7.1 | ereswap | bnf
-
Hardware's mods research is costly. To support my work, please consider donating. Thank You!
 
Posts: 10 | Thanked: 1 time | Joined on Feb 2011
#8
Originally Posted by zimon View Post
Have you tried to play with mplayer?

You could try to fix with mencoder:
Code:
mencoder -forceidx -oac copy -ovc copy /tmp/src.mp4 -o /tmp/dst.avi
Hi zimon,
I tried what you have sugested and this is what I get.

Code:
enis@ubuntu:/media/Nokia N900/DCIM$ mencoder -forceidx -oac copy -ovc copy 20120606_045.mp4 -o copy.avi
MEncoder svn r34540 (Ubuntu), built with gcc-4.6 (C) 2000-2012 MPlayer Team
success: format: 0  data: 0x0 - 0x7300000
libavformat version 53.21.0 (external)
Mismatching header version 53.19.0
libavformat file format detected.
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f091eb4d940]moov atom not found
LAVF_header: av_open_input_stream() failed
ISO: File Type Major Brand: ISO/IEC 14496-1 (MPEG-4 system) v2
libavformat file format detected.
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f091eb4d940]moov atom not found
LAVF_header: av_open_input_stream() failed
============ Sorry, this file format is not recognized/supported =============
=== If this file is an AVI, ASF or MPEG stream, please contact the author! ===
Cannot open demuxer.

Exiting...
Any sugestions?
 
Posts: 10 | Thanked: 1 time | Joined on Feb 2011
#9
Originally Posted by Estel View Post
No, it doesn't (just downloaded it myself). try downloading it another time - I think you might have started downloading it, while I was still uploading (and as a result, got only part of file).

As for searching anywhere else, of course, You may, but I really doubt You'll be able to.

/Estel
Yep, tried again and it downloaded fine.
I'll give it a go.
 
Posts: 1 | Thanked: 1 time | Joined on Feb 2013
#10
Originally Posted by Estel View Post

So, here You have it:
Videorepair 1.5

/Estel
Just registered to .. Thank you a million, Estel!! It worked flawlessly!! The secret is to start is as Administrator (Windows 7) and choose a healthy file as a reference file, recorded with the same device.

My iPhone 4 shut off exactly when saving the movie after recording it - low battery and very cold outside. I tried many ways to recover it, none worked until I tried your suggestion! Great job sharing this!!
 

The Following User Says Thank You to mihneasim For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 20:35.