I buid an image for Raspberry pi 3b+ using yocto project. While building it I have used VLC instead of OMXplayer for playing videos, and enabled the hardware acceleration using --enable-omxil --enable-omxil-vout --enable-rpi-omxil --enable-mmal But the problem is with the 1080x1920 resolution videos. VLC is not able to play these videos. I used --codec omxil --vout omxil_vout while playing the video, but it still showing avcodec as decoder and video is getting stucked.

  • might be insufficient computing power if it only happens on high res
    – Abel
    Feb 7, 2022 at 12:47
  • What format is the video file you are trying to play and is it stored locally on the Pi?
    – CoderMike
    Feb 7, 2022 at 14:35
  • format is .h264, yes it is stored locally in pi, and i am able to play the same video using omxplayer Feb 7, 2022 at 16:44
  • what happens if you play the video in vlc without any options
    – CoderMike
    Feb 7, 2022 at 18:12
  • same problem, it stucks with the same avcodec decoder error. Basically as far as I understand it is not able to use omxil for the hardware acceleration Feb 7, 2022 at 18:15


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Browse other questions tagged or ask your own question.