I have installed x262 library then installed ffmpeg into /var/www/html/GetVideo directory with these commands.
# build and install x264
git clone --depth 1 git://git.videolan.org/x264
cd x264
./configure --host=arm-unknown-linux-gnueabi --enable-static --disable-opencl
make -j 4
sudo make install
# build and make ffmpeg
git clone --depth=1 git://source.ffmpeg.org/ffmpeg.git
cd ffmpeg
./configure --arch=armel --target-os=linux --enable-gpl --enable-libx264 --enable-nonfree
make -j4
sudo make install
So, i have a /var/www/html/GetVideo/x264 library and /var/www/html/GetVideo/x264/ffmpeg directories.
Then i have installed libav codecs by
sudo apt-get install libavcodec-extra-54
Then i have tried to change the frame size and frame rate.
ffmpeg -i /var/www/html/GetVideo/video/20180503145826-8849_1080.mp4 -acodec libvo_aacenc -vcodec libx264 -s 1920x1080 -r 60 -strict experimental /var/www/html/GetVideo/video/output.mp4
Although i have installed libav codec i am still getting Unknown encoder 'libvo_aacenc' error. I don't know where am i missing? How can i resize the videos?