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


raspberrypi



Comments

Popular posts from this blog

Error: ‘for’ loop initial declarations are only allowed in C99 or C11 mode - Raspberry Pi Forums

class MPU6050 has no member named begin

missing filename after '-o'