0

I'm working on my Rasperry pi 2B, with Raspbian 2019-04 and I have compiled ffmpeg as described here:

https://www.reddit.com/r/raspberry_pi/comments/5677qw/hardware_accelerated_x264_encoding_with_ffmpeg/

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:

ffmpeg -hwaccels

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?

  • Have other people facing the same error suggested a solution? If so, have you tried any? These details will be useful to diagnose the problem. – David May 6 at 0:57

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.