[FFmpeg-user] Compile ffmpeg on mips-qemu

Martin Vignali martin.vignali at gmail.com
Thu Jun 30 14:46:47 CEST 2016


Hello,

I would like to compile ffmpeg on mips, in order to test the exr decoder on
it.

I try several configure line, but when i launch ffmpeg, i still have
"Illegal instruction"

I use qemu on mac os x, launch with this command :
qemu-system-mips64 -M malta -kernel ./vmlinux-3.2.0-4-5kc-malta -hda
./debian_wheezy_mips_standard.qcow2 -append "root=/dev/sda1 console=tty0"
-redir tcp:2222::22



Configure result :
./configure --arch=mips64 --prefix=../build --disable-ffplay
--disable-ffprobe --disable-ffserver --enable-zlib --disable-asm
--disable-videotoolbox --disable-audiotoolbox --disable-vda
--disable-everything --enable-demuxer=image2 --enable-muxer=framecrc
--disable-decoders --enable-decoder=exr --enable-protocol=file
--enable-protocol=pipe --enable-encoder=rawvideo --disable-doc
--extra-ldflags=-static
install prefix            ../build
source path               .
C compiler                gcc
C library                 glibc
ARCH                      c (generic)
big-endian                yes
runtime cpu detection     yes
debug symbols             yes
strip symbols             yes
optimize for size         no
optimizations             yes
static                    yes
shared                    no
postprocessing support    no
new filter support        yes
network support           no
threading support         pthreads
safe bitstream reader     yes
SDL support               no
opencl enabled            no
JNI support               no
texi2html enabled         no
perl enabled              yes
pod2man enabled           yes
makeinfo enabled          yes
makeinfo supports HTML    no

Enabled programs:
ffmpeg

External libraries:
iconv               zlib

External libraries providing hardware acceleration:

Libraries:
avcodec               avformat              swresample
avdevice           avutil              swscale
avfilter

Enabled decoders:
exr

Enabled encoders:
rawvideo

Enabled hwaccels:

Enabled parsers:

Enabled demuxers:
image2

Enabled muxers:
framecrc

Enabled protocols:
file               pipe

Enabled filters:
aformat               format              setpts
anull               null                  trim
atrim

Enabled bsfs:

Enabled indevs:

Enabled outdevs:

License: LGPL version 2.1 or later
Creating config.mak, config.h, and doc/config.texi...
libavutil/avconfig.h is unchanged

WARNING: pkg-config not found, library detection may fail.
WARNING: generic cpu selected
libavcodec/bsf_list.c is unchanged
libavformat/protocol_list.c is unchanged



Thanks by advance

Martin


More information about the ffmpeg-user mailing list