mcgyver83
Posts: 358
Joined: Fri Oct 05, 2012 11:49 am

Compile ffmpeg on for raspberry pi 2

Sat Jan 14, 2017 3:49 pm

I'm using motion and motioneye with an ONVIF ipcam using rtsp stream.
II'm using ffmpeg

Code: Select all

ffmpeg -version
ffmpeg version 3.1.1 Copyright (c) 2000-2016 the FFmpeg developers
built with gcc 4.9.2 (Raspbian 4.9.2-10)
configuration: --prefix=/usr --enable-gpl --enable-libx264 --enable-nonfree --enable-shared --disable-static
libavutil      55. 28.100 / 55. 28.100
libavcodec     57. 48.101 / 57. 48.101
libavformat    57. 41.100 / 57. 41.100
libavdevice    57.  0.101 / 57.  0.101
libavfilter     6. 47.100 /  6. 47.100
libswscale      4.  1.100 /  4.  1.100
libswresample   2.  1.100 /  2.  1.100
libpostproc    54.  0.100 / 54.  0.100
but I think it isn't compiled for the best performances on a raspberry.
From what I understood there are some arguments after ./configure that compile ffmpeg "better" for a raspberry.
Someone knows where can I find a guide to compile ffmpeg on raspberry with best parameters?
Is not a problem if compile takes a night ;)

Return to “Advanced users”