3GP to AVI: how to at the best?

Asked by Uqbar

I need to convert 3GP video files to AVI.
I've tried mencoder (the one I know the best) with something like:
mencoder -oac pcm -ovc lavc ...
but the result is very poor.
Any int?

P.S.
This is exactly the opposite of another question (https://answers.launchpad.net/ubuntu/+question/19631).

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
marcobra (Marco Braida)
Solved:
Last query:
Last reply:
Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#1
Revision history for this message
Uqbar (uqbar) said :
#2

With ffmpeg I get:
$ ffmpeg -i Video000.3gp -acodec ac3 Video000.avi
FFmpeg version SVN-rUNKNOWN, Copyright (c) 2000-2007 Fabrice Bellard, et al.
  configuration: --enable-gpl --enable-pp --enable-swscaler --enable-pthreads --enable-libvorbis --enable-libtheora --enable-libogg --enable-libgsm --enable-dc1394 --disable-debug --enable-shared --prefix=/usr
  libavutil version: 1d.49.3.0
  libavcodec version: 1d.51.38.0
  libavformat version: 1d.51.10.0
  built on Sep 26 2008 12:58:24, gcc: 4.2.4 (Ubuntu 4.2.4-1ubuntu1)
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'Video000.3gp':
  Duration: 00:00:14.4, start: 0.000000, bitrate: 51 kb/s
  Stream #0.0(eng): Video: h263, yuv420p, 128x96, 29.97 fps(r)
  Stream #0.1(eng): Audio: samr / 0x726D6173, 8000 Hz, mono
Output #0, avi, to 'Video000.avi':
  Stream #0.0: Video: mpeg4, yuv420p, 128x96, q=2-31, 200 kb/s, 29.97 fps(c)
  Stream #0.1: Audio: ac3, 8000 Hz, mono, 64 kb/s
Stream mapping:
  Stream #0.0 -> #0.0
  Stream #0.1 -> #0.1
Unsupported codec (id=73728) for input stream #0.1
enzo@enzo-laptop:~/Desktop/Media/Personal/Video/Varie$ ffmpeg -i Video000.3gp -acodec ac3 Video000.avi
FFmpeg version SVN-rUNKNOWN, Copyright (c) 2000-2007 Fabrice Bellard, et al.
  configuration: --enable-gpl --enable-pp --enable-swscaler --enable-pthreads --enable-libvorbis --enable-libtheora --enable-libogg --enable-libgsm --enable-dc1394 --disable-debug --enable-shared --prefix=/usr
  libavutil version: 1d.49.3.0
  libavcodec version: 1d.51.38.0
  libavformat version: 1d.51.10.0
  built on Sep 26 2008 12:58:24, gcc: 4.2.4 (Ubuntu 4.2.4-1ubuntu1)
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'Video000.3gp':
  Duration: 00:00:14.4, start: 0.000000, bitrate: 51 kb/s
  Stream #0.0(eng): Video: h263, yuv420p, 128x96, 29.97 fps(r)
  Stream #0.1(eng): Audio: samr / 0x726D6173, 8000 Hz, mono
File 'Video000.avi' already exists. Overwrite ? [y/N] y
Output #0, avi, to 'Video000.avi':
  Stream #0.0: Video: mpeg4, yuv420p, 128x96, q=2-31, 200 kb/s, 29.97 fps(c)
  Stream #0.1: Audio: ac3, 8000 Hz, mono, 64 kb/s
Stream mapping:
  Stream #0.0 -> #0.0
  Stream #0.1 -> #0.1
Unsupported codec (id=73728) for input stream #0.1

Despite I have libamr installed.
As far as I understand, this is more or less the same approach as using mencoder, though.

Does your suggestion instead mean I need to install wine and then the Windows software in order to use the MediaConverter?

Revision history for this message
Uqbar (uqbar) said :
#3

... and with the Windows version of theMedia Converter I get an error saying it cannot access the files.
I suspect is the problem with the \ and the / in the path.

Revision history for this message
Best marcobra (Marco Braida) (marcobra) said :
#4

Have you tried http://www.miksoft.net/mobileMediaConverter.htm Linux version...?

Hope this helps

Revision history for this message
Uqbar (uqbar) said :
#5

1. mmc-src.zip is not compilable/runnable under Linux.
2. .deb file is for i386 while I run (as the majority of people) amd64 architecture
3. For the .tgz I didn't even think about doing manual install.

After having run:
sudo dpkg --force-architecture -i ./mmc_1.4.0_i386.deb
I got the package installed. After running it I got a decent conversion: GOOD.
I hope that in the future at least the shared libraries in that DEB file will be available also for amd64 architecture.

Grazie, Marcobra.

Revision history for this message
Uqbar (uqbar) said :
#6

Thanks marcobra, that solved my question.