-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[h264_mmal @ 0xa882cba0] MMAL error 2 on control port #33
Comments
Using App Image, get the same thing.
|
did a re-install of Raspian Full. It now tries to use h264_mmal but fails with this: [video dec.] Successfully reconfigured display to 1920x1080 @30.00p, codec UYVY |
Hi, after several tries I make the MMAL decoding somehow work - setting However, the performance is not so good, so I'd have some questions for you – which device you use? If RPI 4 (I currently use 3B), would it be possible for you to do some tests? Since I don't think that the main problem is with decoding but rather displaying, I'd like to ask you whether you could try a playback of arbitrary H.264 1080p video with mpv and ffmpeg (ffplay). Just shortly - for me, both distro mpv and FFMPEG perform quite poorly with default parameters. Omxplayer, on the other hand, worked fine. I'd suspect that using the accelerated decoding is not the main problem, the bottleneck may be perhaps feeding the uncompressed video to the GPU (no matter how decoded). Thanks, |
Hi Martin, Fresh install of Raspian Buster Full on RPi4 (4GB). gpu_mem=512 I made a 1920x1080 H264 file from one of my un-compressed sources, using HandBrake defaults (expect for fps, set that to Source). Omxplayer is very clean, perfect playback, almost no CPU usage. ffplay -vcodec h264_mmal: 100% CPU lots of tearing UV using nightly AppImage -d sdl --param force-lavd-decoder=h264_mmal [video dec.] Successfully reconfigured display to 1920x1080 @30.00p, codec UYVY |
Pi is no longer in my use case. Closing. |
RPi4 running latest Raspbian Buster.
UV compiled from Master. FFMPEG provided by OS.
vcgencmd codec_enabled H264
without MMAL video does play, but really low frame rate. With MMAL, fails.
The text was updated successfully, but these errors were encountered: