[Gllug] 3gp players/encoders for nix

Adrian McMenamin adrian at newgolddream.dyndns.info
Sun Aug 20 12:02:31 UTC 2006


On Sun, 2006-08-20 at 00:35 +0100, Adrian McMenamin wrote: 
> 
> However it is detailed in libavcodec/amr.c but it seems I am without the
> right support - will keep looking
> 

OK, I guess this is a bit too specific for this list, but I'll ask
(once) here anyway...

I have installed the software and rebuilt ffmpeg and it appears to
recognise the sound format but is still not converting it - I think
because I need to select a proper audiocodec for flash video...

adrian at bossclass:~$ ffmpeg -i aine.3gp aine.flv
FFmpeg version SVN-r6029, Copyright (c) 2000-2004 Fabrice Bellard
  configuration:  --enable-gpl --enable-libogg --enable-vorbis
--enable-faadbin --enable-a52 --enable-pp --enable-amr_nb
  libavutil version: 49.0.0
  libavcodec version: 51.11.0
  libavformat version: 50.5.0
  built on Aug 20 2006 11:29:13, gcc: 4.0.3 (Ubuntu 4.0.3-1ubuntu5)

Seems that stream 0 comes from film source: 250.00 (1000/4) -> 9.58
(115/12)
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'aine.3gp':
  Duration: 00:00:08.2, start: 0.000000, bitrate: 75 kb/s
  Stream #0.0(jpn): Video: h263, yuv420p, 176x144,  9.58 fps(r)
  Stream #0.1(jpn): Audio: amr_nb, 8000 Hz, mono
File 'aine.flv' already exists. Overwrite ? [y/N] y
Output #0, flv, to 'aine.flv':
  Stream #0.0: Video: flv, yuv420p, 176x144, q=2-31, 200 kb/s,  9.58
fps(c)
Stream mapping:
  Stream #0.0 -> #0.0
Press [q] to stop encoding
frame=   75 q=2.0 Lsize=     229kB time=7.8 bitrate= 239.2kbits/s
video:217kB audio:0kB global headers:0kB muxing overhead 5.389742%


I have tried using adpcm_swf as the output audio codec but that
generates an error...

Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'aine.3gp':
  Duration: 00:00:08.2, start: 0.000000, bitrate: 75 kb/s
  Stream #0.0(jpn): Video: h263, yuv420p, 176x144,  9.58 fps(r)
  Stream #0.1(jpn): Audio: amr_nb, 8000 Hz, mono
File 'aine.flv' already exists. Overwrite ? [y/N] y
Output #0, flv, to 'aine.flv':
  Stream #0.0: Video: flv, yuv420p, 176x144, q=2-31, 200 kb/s,  9.58
fps(c)
  Stream #0.1: Audio: adpcm_swf, 8000 Hz, mono, 64 kb/s
Stream mapping:
  Stream #0.0 -> #0.0
  Stream #0.1 -> #0.1
Error while opening codec for output stream #0.1 - maybe incorrect
parameters such as bit_rate, rate, width or height

Any flash gurus know what the proper settings should be?

-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list