![]() |
2012-06-10
, 11:27
|
Posts: 1,341 |
Thanked: 708 times |
Joined on Feb 2010
|
#2
|
mencoder -forceidx -oac copy -ovc copy /tmp/src.mp4 -o /tmp/dst.avi
![]() |
2012-06-10
, 11:27
|
|
Moderator |
Posts: 2,622 |
Thanked: 5,447 times |
Joined on Jan 2010
|
#3
|
![]() |
2012-06-10
, 11:29
|
|
Posts: 5,028 |
Thanked: 8,613 times |
Joined on Mar 2011
|
#4
|
![]() |
2012-06-10
, 11:36
|
Posts: 10 |
Thanked: 1 time |
Joined on Feb 2011
|
#5
|
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
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
![]() |
2012-06-10
, 12:23
|
Posts: 10 |
Thanked: 1 time |
Joined on Feb 2011
|
#6
|
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
![]() |
2012-06-10
, 12:34
|
|
Posts: 5,028 |
Thanked: 8,613 times |
Joined on Mar 2011
|
#7
|
![]() |
2012-06-10
, 12:45
|
Posts: 10 |
Thanked: 1 time |
Joined on Feb 2011
|
#8
|
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
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...
![]() |
2012-06-10
, 12:47
|
Posts: 10 |
Thanked: 1 time |
Joined on Feb 2011
|
#9
|
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
![]() |
2013-02-21
, 09:07
|
Posts: 1 |
Thanked: 1 time |
Joined on Feb 2013
|
#10
|
The Following User Says Thank You to mihneasim For This Useful Post: | ||
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.