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– AbelFeb 7, 2022 at 12:47
-
What format is the video file you are trying to play and is it stored locally on the Pi?– CoderMikeFeb 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– Aditya SinghFeb 7, 2022 at 16:44
-
what happens if you play the video in vlc without any options– CoderMikeFeb 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– Aditya SinghFeb 7, 2022 at 18:15
Add a comment
|