[FFmpeg-user] Problem with FFMPEG 0.11.1 on Solaris 11

marty scholes martyscholes at yahoo.com
Sat Mar 9 23:47:47 CET 2013


>>On an Intel Core2 Quad workstation, AMD 3DNow is still being enabled for the >>build and the binary/libraries have the following problem. >>>>$ ldd ffmpeg >>>>..... >>libavcodec.so.54 =>     libavcodec/libavcodec.so.54  - hardware >>capability (CA_SUNW_HW_1) unsupported: 0x300  [ AMD_3DNowx AMD_3DNow ] >
> Does it still run?
> -r 
I do not subscribe to this list but I have been fighting this off and on
for several months now and was finally led to a solution from Robert Corbett's
post:

https://forums.oracle.com/forums/thread.jspa?messageID=10119722

Hopefully this will help the next poor soul who uses google.

Here is what happens after gmake on Solaris 11.1:

bash-4.1$ ./ffmpeg
ld.so.1: ffmpeg: fatal: ffmpeg: hardware capability (CA_SUNW_HW_1) unsupported: 0x400000  [ SSSE3 ]
Killed

The trick is to use elfedit and not bother to follow Oracle's advice:


bash-4.1$ elfedit -e "cap:dump" ./ffmpeg
   Group[0-1]: <object>
     index  tag               value
       [0]  CA_SUNW_HW_1     0x400861  [ SSSE3 SSE MMX CMOV FPU ]
       [1]  CA_SUNW_NULL     0x0
bash-4.1$ elfedit -e "cap:hw1 0x000861" ./ffmpeg
bash-4.1$ elfedit -e "cap:dump" ./ffmpeg
   Group[0-1]: <object>
     index  tag               value
       [0]  CA_SUNW_HW_1     0x861  [ SSE MMX CMOV FPU ]
       [1]  CA_SUNW_NULL     0x0

bash-4.1$ ./ffmpeg
ffmpeg version 1.1.3 Copyright (c) 2000-2013 the FFmpeg developers
  built on Mar  9 2013 15:15:59 with gcc 4.5.2 (GCC)
 
 configuration: --enable-libx264 --enable-pthreads 
--enable-libopencore-amrnb --enable-libopencore-amrwb --enable-version3 
--enable-gpl --extra-cflags=-I/usr/local/include 
--extra-ldflags=-L/usr/local/lib --disable-ssse3 --enable-libmp3lame
  libavutil      52. 13.100 / 52. 13.100
  libavcodec     54. 86.100 / 54. 86.100
  libavformat    54. 59.106 / 54. 59.106
  libavdevice    54.  3.102 / 54.  3.102
  libavfilter     3. 32.100 /  3. 32.100
  libswscale      2.  1.103 /  2.  1.103
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  2.100 / 52.  2.100
Hyper fast Audio and Video encoder
usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}...


More information about the ffmpeg-user mailing list