Comment 6 for bug 296922

Revision history for this message
Raf Espanol (rafespanol) wrote :

hi, this post also helped me out on ubuntu 10.10 . as a followup for those who still don't know how to update libavcodec on ubuntu 10.10:

raf@samoslinux:~$ sudo apt-get install libavcodec-unstripped-52
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libmodplug1 libtagc0 libnetclasses0 libpopplerkit0 libavifile-0.7c2
  libmpcdec6
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  libavcodec-extra-52 libavutil-extra-50 libdirac-encoder0 libfaad2
  libopenjpeg2
Suggested packages:
  libfaad0
The following packages will be REMOVED:
  libavcodec52 libavutil50
The following NEW packages will be installed:
  libavcodec-extra-52 libavcodec-unstripped-52 libavutil-extra-50
  libdirac-encoder0 libfaad2 libopenjpeg2
0 upgraded, 6 newly installed, 2 to remove and 0 not upgraded.
Need to get 5,504kB of archives.
After this operation, 1,438kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://us.archive.ubuntu.com/ubuntu/ maverick/universe libavutil-extra-50 i386 4:0.6-2ubuntu3 [112kB]
...clipped for shortness...

after that

raf@samoslinux:~$ ffmpeg -i 4PbTOFQ4JOs.flv -acodec mp3 fff.mp3
FFmpeg version 0.6-4:0.6-2ubuntu6, Copyright (c) 2000-2010 the FFmpeg developers
  built on Oct 5 2010 22:35:47 with gcc 4.4.5
  configuration: --extra-version=4:0.6-2ubuntu6 --prefix=/usr --enable-avfilter --enable-avfilter-lavf --enable-vdpau
...clipped again to keep it short

... audiodatarate : 119
    totaldatarate : 731
    framerate : 30
    bytelength : 35757512
    canseekontime : true
    sourcedata : B4A7DD146MM1289927317339780
    purl :
    pmsg :
  Duration: 00:06:31.06, start: 0.000000, bitrate: 739 kb/s
    Stream #0.0: Video: h264, yuv420p, 640x480 [PAR 1:1 DAR 4:3], 617 kb/s, 29.97 tbr, 1k tbn, 60 tbc
    Stream #0.1: Audio: aac, 44100 Hz, stereo, s16, 122 kb/s
Output #0, mp3, to 'fff.mp3':
  Metadata:
    TSSE : Lavf52.64.2
    Stream #0.0: Audio: libmp3lame, 44100 Hz, stereo, s16, 64 kb/s
Stream mapping:
  Stream #0.1 -> #0.0
Press [q] to stop encoding
size= 3060kB time=391.65 bitrate= 64.0kbits/s
video:0kB audio:3060kB global headers:0kB muxing overhead 0.001053%
raf@samoslinux:~$ ls *.mp3
4PbTOFQ4JOs.mp3 fff.mp3 oo.mp3
raf@samoslinux:~$

again thanks for the clues.

raf