[FFmpeg-user] ffmpeg installed properly? Noob

Tom Step t.step at comcast.net
Tue Sep 13 23:21:29 CEST 2011


Tyring to install ffmpeg on my Mac (OS 10.6.8) to learn CLI. Used MacPorts to do install, it came back with a ton of errors, then did port clean ffmpeg, then:

svn checkout svn://svn.ffmpeg.org/ffmpeg/trunk ffmpeg
Checked out revision 26402.
./configure --enable-shared --disable-mmx --arch=x86_64install prefix            /usr/local
source path               /Users/shoei/ffmpeg/ffmpeg
C compiler                gcc
ARCH                      x86 (generic)
sudo make install
make
FFmpeg version SVN-r26402, Copyright (c) 2000-2011 the FFmpeg developers
  built on Sep  8 2011 16:56:02 with gcc 4.2.1 (Apple Inc. build 5646) (dot 1)
  configuration: --enable-shared --disable-mmx --arch=x86_64
  libavutil     50.36. 0 / 50.36. 0
  libavcore      0.16. 1 /  0.16. 1
  libavcodec    52.108. 0 / 52.108. 0
  libavformat   52.93. 0 / 52.93. 0
  libavdevice   52. 2. 3 / 52. 2. 3
  libavfilter    1.74. 0 /  1.74. 0
  libswscale     0.12. 0 /  0.12. 0
Hyper fast Audio and Video encoder

, which seems to have installed ffmeg. Problem is that I get errors when running basic flips (.m4a to mp3 for example). See below for CLI transcript. Checked lib*, -format, -codecs to make sure they're available, don't know what else to do. Curiously I have a ~/ffmpeg/ffmpeg/ stucture, could that be the issue where the PATH is not being seen by ffmpeg?

=====================================================================================
shoeis-computer:Volumes shoei$ ffmpeg -i ~/Desktop/Hunger.m4a mp3 -ab 192k ~/Desktop/Hunger.mp3
FFmpeg version SVN-r26402, Copyright (c) 2000-2011 the FFmpeg developers
  built on Sep  8 2011 16:56:02 with gcc 4.2.1 (Apple Inc. build 5646) (dot 1)
  configuration: --enable-shared --disable-mmx --arch=x86_64
  libavutil     50.36. 0 / 50.36. 0
  libavcore      0.16. 1 /  0.16. 1
  libavcodec    52.108. 0 / 52.108. 0
  libavformat   52.93. 0 / 52.93. 0
  libavdevice   52. 2. 3 / 52. 2. 3
  libavfilter    1.74. 0 /  1.74. 0
  libswscale     0.12. 0 /  0.12. 0
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/Users/shoei/Desktop/Hunger.m4a':
  Metadata:
    major_brand     : M4A 
    minor_version   : 0
    compatible_brands: M4A mp42isom
    creation_time   : 2007-10-04 07:53:54
    title           : Hunger
    artist          : Hans Zimmer
    composer        : Hans Zimmer
    album           : Black Hawk Down
    track           : 1
    date            : 2002
    encoder         : iTunes v7.3.2.6, QuickTime 7.2
  Duration: 00:06:35.83, start: 0.000000, bitrate: 129 kb/s
    Stream #0.0(und): Audio: aac, 44100 Hz, stereo, s16, 128 kb/s
    Metadata:
      creation_time   : 2007-10-04 07:53:54
Unable to find a suitable output format for 'mp3'
==============================================================
shoeis-computer:ffmpeg shoei$ ffmpeg -i ~/Desktop/NoSuchThing.wav aac -ab 192k ~/Desktop/Hunger.aac
FFmpeg version SVN-r26402, Copyright (c) 2000-2011 the FFmpeg developers
  built on Sep  8 2011 16:56:02 with gcc 4.2.1 (Apple Inc. build 5646) (dot 1)
  configuration: --enable-shared --disable-mmx --arch=x86_64
  libavutil     50.36. 0 / 50.36. 0
  libavcore      0.16. 1 /  0.16. 1
  libavcodec    52.108. 0 / 52.108. 0
  libavformat   52.93. 0 / 52.93. 0
  libavdevice   52. 2. 3 / 52. 2. 3
  libavfilter    1.74. 0 /  1.74. 0
  libswscale     0.12. 0 /  0.12. 0
[wav @ 0x1009600] max_analyze_duration reached
Input #0, wav, from '/Users/shoei/Desktop/NoSuchThing.wav':
  Duration: 00:03:51.28, bitrate: 1411 kb/s
    Stream #0.0: Audio: pcm_s16le, 44100 Hz, 2 channels, s16, 1411 kb/s
Unable to find a suitable output format for 'aac'
==============================================
shoeis-computer:ffmpeg shoei$ ffmpeg -i ~/Desktop/NoSuchThing.wav aiff -ab 192k ~/Desktop/Hunger.aiff
FFmpeg version SVN-r26402, Copyright (c) 2000-2011 the FFmpeg developers
  built on Sep  8 2011 16:56:02 with gcc 4.2.1 (Apple Inc. build 5646) (dot 1)
  configuration: --enable-shared --disable-mmx --arch=x86_64
  libavutil     50.36. 0 / 50.36. 0
  libavcore      0.16. 1 /  0.16. 1
  libavcodec    52.108. 0 / 52.108. 0
  libavformat   52.93. 0 / 52.93. 0
  libavdevice   52. 2. 3 / 52. 2. 3
  libavfilter    1.74. 0 /  1.74. 0
  libswscale     0.12. 0 /  0.12. 0
[wav @ 0x1009600] max_analyze_duration reached
Input #0, wav, from '/Users/shoei/Desktop/NoSuchThing.wav':
  Duration: 00:03:51.28, bitrate: 1411 kb/s
    Stream #0.0: Audio: pcm_s16le, 44100 Hz, 2 channels, s16, 1411 kb/s
Unable to find a suitable output format for 'aiff'
shoeis-computer:ffmpeg shoei$ ffmpeg -i ~/Desktop/NoSuchThing.wav wav ~/Desktop/testflip.wav
FFmpeg version SVN-r26402, Copyright (c) 2000-2011 the FFmpeg developers
  built on Sep  8 2011 16:56:02 with gcc 4.2.1 (Apple Inc. build 5646) (dot 1)
  configuration: --enable-shared --disable-mmx --arch=x86_64
  libavutil     50.36. 0 / 50.36. 0
  libavcore      0.16. 1 /  0.16. 1
  libavcodec    52.108. 0 / 52.108. 0
  libavformat   52.93. 0 / 52.93. 0
  libavdevice   52. 2. 3 / 52. 2. 3
  libavfilter    1.74. 0 /  1.74. 0
  libswscale     0.12. 0 /  0.12. 0
[wav @ 0x1009600] max_analyze_duration reached
Input #0, wav, from '/Users/shoei/Desktop/NoSuchThing.wav':
  Duration: 00:03:51.28, bitrate: 1411 kb/s
    Stream #0.0: Audio: pcm_s16le, 44100 Hz, 2 channels, s16, 1411 kb/s
Unable to find a suitable output format for 'wav'

=======================================================================
shoeis-computer:usr shoei$ ffmpeg -i ~/Desktop/Hunger.m4a -acodec libmp3lame -ab 320k ~/Desktop/Hunger.mp3
FFmpeg version SVN-r26402, Copyright (c) 2000-2011 the FFmpeg developers
  built on Sep  8 2011 16:56:02 with gcc 4.2.1 (Apple Inc. build 5646) (dot 1)
  configuration: --enable-shared --disable-mmx --arch=x86_64
  libavutil     50.36. 0 / 50.36. 0
  libavcore      0.16. 1 /  0.16. 1
  libavcodec    52.108. 0 / 52.108. 0
  libavformat   52.93. 0 / 52.93. 0
  libavdevice   52. 2. 3 / 52. 2. 3
  libavfilter    1.74. 0 /  1.74. 0
  libswscale     0.12. 0 /  0.12. 0
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/Users/shoei/Desktop/Hunger.m4a':
  Metadata:
    major_brand     : M4A 
    minor_version   : 0
    compatible_brands: M4A mp42isom
    creation_time   : 2007-10-04 07:53:54
    title           : Hunger
    artist          : Hans Zimmer
    composer        : Hans Zimmer
    album           : Black Hawk Down
    track           : 1
    date            : 2002
    encoder         : iTunes v7.3.2.6, QuickTime 7.2
  Duration: 00:06:35.83, start: 0.000000, bitrate: 129 kb/s
    Stream #0.0(und): Audio: aac, 44100 Hz, stereo, s16, 128 kb/s
    Metadata:
      creation_time   : 2007-10-04 07:53:54
Unknown encoder 'libmp3lame'
===============================================================
etc...

It did do these however:
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
shoeis-computer:usr shoei$ ffmpeg -i ~/Desktop/Hunger.m4a -acodec real_144 -ac 1 ~/Desktop/testflip4.rm
FFmpeg version SVN-r26402, Copyright (c) 2000-2011 the FFmpeg developers
  built on Sep  8 2011 16:56:02 with gcc 4.2.1 (Apple Inc. build 5646) (dot 1)
  configuration: --enable-shared --disable-mmx --arch=x86_64
  libavutil     50.36. 0 / 50.36. 0
  libavcore      0.16. 1 /  0.16. 1
  libavcodec    52.108. 0 / 52.108. 0
  libavformat   52.93. 0 / 52.93. 0
  libavdevice   52. 2. 3 / 52. 2. 3
  libavfilter    1.74. 0 /  1.74. 0
  libswscale     0.12. 0 /  0.12. 0
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/Users/shoei/Desktop/Hunger.m4a':
  Metadata:
    major_brand     : M4A 
    minor_version   : 0
    compatible_brands: M4A mp42isom
    creation_time   : 2007-10-04 07:53:54
    title           : Hunger
    artist          : Hans Zimmer
    composer        : Hans Zimmer
    album           : Black Hawk Down
    track           : 1
    date            : 2002
    encoder         : iTunes v7.3.2.6, QuickTime 7.2
  Duration: 00:06:35.83, start: 0.000000, bitrate: 129 kb/s
    Stream #0.0(und): Audio: aac, 44100 Hz, stereo, s16, 128 kb/s
    Metadata:
      creation_time   : 2007-10-04 07:53:54
Output #0, rm, to '/Users/shoei/Desktop/testflip4.rm':
  Metadata:
    major_brand     : M4A 
    minor_version   : 0
    compatible_brands: M4A mp42isom
    creation_time   : 2007-10-04 07:53:54
    title           : Hunger
    artist          : Hans Zimmer
    composer        : Hans Zimmer
    album           : Black Hawk Down
    track           : 1
    date            : 2002
    encoder         : Lavf52.93.0
    Stream #0.0(und): Audio: real_144, 44100 Hz, 1 channels, s16, 8 kb/s
    Metadata:
      creation_time   : 2007-10-04 07:53:54
Stream mapping:
  Stream #0.0 -> #0.0
Press [q] to stop encoding
[real_144 @ 0x100b600] Overflow. Broken sample?
    Last message repeated 25 timese=  70.6kbits/s    
size=    3410kB time=395.83 bitrate=  70.6kbits/s    
video:0kB audio:2131kB global headers:0kB muxing overhead 60.012511%
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
shoeis-computer:usr shoei$ ffmpeg -i ~/Desktop/Hunger.m4a -acodec mp2 ~/Desktop/testflip.mp2
FFmpeg version SVN-r26402, Copyright (c) 2000-2011 the FFmpeg developers
  built on Sep  8 2011 16:56:02 with gcc 4.2.1 (Apple Inc. build 5646) (dot 1)
  configuration: --enable-shared --disable-mmx --arch=x86_64
  libavutil     50.36. 0 / 50.36. 0
  libavcore      0.16. 1 /  0.16. 1
  libavcodec    52.108. 0 / 52.108. 0
  libavformat   52.93. 0 / 52.93. 0
  libavdevice   52. 2. 3 / 52. 2. 3
  libavfilter    1.74. 0 /  1.74. 0
  libswscale     0.12. 0 /  0.12. 0
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/Users/shoei/Desktop/Hunger.m4a':
  Metadata:
    major_brand     : M4A 
    minor_version   : 0
    compatible_brands: M4A mp42isom
    creation_time   : 2007-10-04 07:53:54
    title           : Hunger
    artist          : Hans Zimmer
    composer        : Hans Zimmer
    album           : Black Hawk Down
    track           : 1
    date            : 2002
    encoder         : iTunes v7.3.2.6, QuickTime 7.2
  Duration: 00:06:35.83, start: 0.000000, bitrate: 129 kb/s
    Stream #0.0(und): Audio: aac, 44100 Hz, stereo, s16, 128 kb/s
    Metadata:
      creation_time   : 2007-10-04 07:53:54
Output #0, mp2, to '/Users/shoei/Desktop/testflip.mp2':
  Metadata:
    major_brand     : M4A 
    minor_version   : 0
    compatible_brands: M4A mp42isom
    creation_time   : 2007-10-04 07:53:54
    title           : Hunger
    artist          : Hans Zimmer
    composer        : Hans Zimmer
    album           : Black Hawk Down
    track           : 1
    date            : 2002
    encoder         : Lavf52.93.0
    Stream #0.0(und): Audio: mp2, 44100 Hz, stereo, s16, 64 kb/s
    Metadata:
      creation_time   : 2007-10-04 07:53:54
Stream mapping:
  Stream #0.0 -> #0.0
Press [q] to stop encoding
size=    3092kB time=395.83 bitrate=  64.0kbits/s    
video:0kB audio:3092kB global headers:0kB muxing overhead 0.000000%
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
END




More information about the ffmpeg-user mailing list