Ffmpeg mmal and the pi - Raspberry Pi Forums
i have rpi3 mpeg2 license. have ffmpeg compiled mmal mpeg2 hardware acceleration decoding. can tell me ffmpeg command use hardware acceleration decoding mpeg2 , encode mp4 using hardware acceleration? please
use following configure command (use correct cuda library path in config command below)
./configure --enable-cuda --enable-cuvid --enable-nvenc --enable-nonfree --enable-libnpp
--extra-cflags=-i/usr/local/cuda/include --extra-ldflags=-l/usr/local/cuda/lib64
start ffmpeg, try below sample command line video transcoding
ffmpeg -i input.mpg2 output.mp4
./configure --enable-cuda --enable-cuvid --enable-nvenc --enable-nonfree --enable-libnpp
--extra-cflags=-i/usr/local/cuda/include --extra-ldflags=-l/usr/local/cuda/lib64
start ffmpeg, try below sample command line video transcoding
ffmpeg -i input.mpg2 output.mp4
raspberrypi
Comments
Post a Comment