My phone ran out of space when recording a video. I have the 3gp file, but cannot open it. Any hints on how to open it an convert it into a working file?

link|improve this question
feedback

1 Answer

up vote 0 down vote accepted

Try using ffmpeg and see if it can copy the file to another container - maybe only the container is broken. 3GP should be easy to convert to MP4.

ffmpeg -i input.3gp -vcodec copy -acodec copy output.mp4
link|improve this answer
It gives a "header not found" error : – Lloyd May 3 '11 at 14:00
FFmpeg version SVN-r10635, Copyright (c) 2000-2007 Fabrice Bellard, et al. libavutil version: 49.5.0 libavcodec version: 51.44.0 libavformat version: 51.14.0 built on Oct 1 2007 15:21:19, gcc: 3.4.6 20060404 (Red Hat 3.4.6-8) [mov,mp4,m4a,3gp,3g2,mj2 @ 0xb7f5dda0]mov: header not found !!! (err:0, moov:0, mdat:0) pos:36 simon.3gp: Error while opening file – Lloyd May 3 '11 at 14:01
Hm. Can you try with -er 4 to enable error concealment? – slhck May 3 '11 at 14:27
Oh, and you have tried VLC, have you? – slhck May 3 '11 at 14:33
Yes I have tried VLC. And the -er 4 option results in "Output file does not contain any stream" – Lloyd May 11 '11 at 12:55
show 2 more comments
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.