61
General / Re: How to compile AM with mmal in raspberry pi OS
« on: October 19, 2022, 05:35:04 AM »
Thank you for your kindly man. I will give up compile it by myself. I will use retropie to install AM instead. 

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
cd ~/build
sudo apt-get install libomxil-bellagio-dev libmp3lame-dev
git clone --depth 1 git://source.ffmpeg.org/ffmpeg.git
cd ffmpeg
./configure --arch=armhf --target-os=linux --enable-gpl --enable-mmal --enable-omx --enable-omx-rpi --enable-nonfree --enable-libfreetype --extra-libs=-lasound --enable-libmp3lame --disable-debug --enable-shared
make -j4
sudo make install
sudo ldconfig
cd ~/build
git clone --depth 1 https://github.com/mickelson/attract.git
cd attract
make -j4 USE_GLES=1
sudo make install
function display_transitions( ttype, var, ttime ) {
switch ( ttype ) {
case Transition.ToNewList:
if (fe.list.filter_index = 0){
rows = 4;
cols = 4;
redraw grid()
}
if (fe.list.filter_index = 1){
rows = 2;
cols = 2;
redraw grid()
}
if (fe.list.filter_index = 2){
rows = 3;
cols = 3;
redraw grid()
}
}