I'm working on my Rasperry pi 2B, with Raspbian 2019-04 and I have compiled ffmpeg as described here:
However, I cannot use h264_mmal for decoding. If I use this command:
ffplay -vcodec h264_mmal -i /home/pi/Videos/video.mkv
I got the error:
[h264_mmal @ 0x68305fe0] MMAL error 2 on control port 0B f=0/0 [h264_mmal @ 0x68305fe0] MMAL error 2 on control port 0B f=0/0 [h264_mmal @ 0x68305fe0] Did not get output frame from MMAL.
If I use this command:
I got this:
Hardware acceleration methods: vdpau vaapi
However, I have acquired the MPEG2 license... I've readed many people have the same error. IS there a solution?