[Ilugc] Re: Doubt on 3gp video conversion

Mohan R mohan43u at gmail.com
Sun Dec 7 16:15:58 IST 2008


Shrinivasan T wrote:
> I think ubuntu-restricted-extras.
> 
> Am I right?

yes, also the outputs from my system may help you.

mokka at mohan-laptop:~/Downloads$ ffmpeg -formats 2>/dev/null | egrep
'h263|aac'
 D  aac             ADTS AAC
 DE h263            raw h263
 DEVSDT h263
 D VSD  h263i
  EV    h263p
  EA    libfaac
 D A    mpeg4aac


Letter 'E' in the below exact lines from the output will tell whether
ffmpeg can encode h263 and aac. If it is not showing 'E', then there is
some problem on mapping libavcodec.

 DEVSDT h263
  EA    libfaac

So here is one sample encoding from .avi to 3gp.

mokka at mohan-laptop:~/Downloads$ ffmpeg -i snagItNarration.avi -s qcif
-vcodec h263 -acodec libfaac snagItNarration.3gp

FFmpeg version r11872+debian_3:0.svn20080206-12ubuntu3, Copyright (c)
2000-2008 Fabrice Bellard, et al.
  configuration: --enable-gpl --enable-pp --enable-swscaler
--enable-x11grab --prefix=/usr --enable-libgsm --enable-libtheora
--enable-libvorbis --enable-pthreads --disable-strip --enable-libfaad
--enable-libfaadbin --enable-liba52 --enable-liba52bin
--enable-libdc1394 --disable-armv5te --disable-armv6 --disable-altivec
--disable-vis --enable-shared --disable-static
  libavutil version: 49.6.0
  libavcodec version: 51.50.0
  libavformat version: 52.7.0
  libavdevice version: 52.0.0
  built on Oct  3 2008 22:40:31, gcc: 4.3.2
Input #0, avi, from 'snagItNarration.avi':
  Duration: 00:00:18.5, start: 0.000000, bitrate: 478 kb/s
    Stream #0.0: Video: msvideo1, rgb555, 740x528 [PAR 0:1 DAR 0:1],
4.00 tb(r)
    Stream #0.1: Audio: pcm_u8, 11025 Hz, mono, 88 kb/s
Output #0, 3gp, to 'snagItNarration.3gp':
    Stream #0.0: Video: h263, yuv420p, 176x144 [PAR 0:1 DAR 0:1],
q=2-31, 200 kb/s,  4.00 tb(c)
    Stream #0.1: Audio: libfaac, 11025 Hz, mono, 64 kb/s
Stream mapping:
  Stream #0.0 -> #0.0
  Stream #0.1 -> #0.1
Press [q] to stop encoding
[h263 @ 0xb7e722f0]warning, clipping 1 dct coefficients to -127..127ts/s
[h263 @ 0xb7e722f0]warning, clipping 1 dct coefficients to -127..127
[h263 @ 0xb7e722f0]warning, clipping 1 dct coefficients to -127..127
[h263 @ 0xb7e722f0]warning, clipping 1 dct coefficients to -127..127
[h263 @ 0xb7e722f0]warning, clipping 1 dct coefficients to -127..127
[h263 @ 0xb7e722f0]warning, clipping 1 dct coefficients to -127..127
[h263 @ 0xb7e722f0]warning, clipping 1 dct coefficients to -127..127
[h263 @ 0xb7e722f0]warning, clipping 1 dct coefficients to -127..127
[h263 @ 0xb7e722f0]warning, clipping 1 dct coefficients to -127..127
[h263 @ 0xb7e722f0]warning, clipping 1 dct coefficients to -127..127
[h263 @ 0xb7e722f0]warning, clipping 1 dct coefficients to -127..127
frame=   74 fps= 54 q=2.0 Lsize=     173kB time=18.2 bitrate=
77.8kbits/s
video:127kB audio:42kB global headers:0kB muxing overhead 1.869439%

mokka at mohan-laptop:~/Downloads$ file snagItNarration.*
snagItNarration.3gp: ISO Media, MPEG v4 system, 3GPP
snagItNarration.avi: RIFF (little-endian) data, AVI, 740 x 528, 4.00
fps, video:, audio: uncompressed PCM (mono, 11025 Hz)
mokka at mohan-laptop:~/Downloads$

Thanks,
Mohan R



More information about the ilugc mailing list