Open teknoman117 opened 4 years ago
Hi @teknoman117,
ffplay
does not have a very efficient pipeline, if using the default sdl
output. Have you tried playing your target file with Applications→Multimedia→SMPlayer? You can force this to use either MMAL or v4l2_m2m endpoints for appropriate media types (click on the exclamation mark icon and browse through the video codecs).
I just tried SMPlayer. I forced the h264_v4l2m2m codec and I got a similar result (choppy video).
(I used the jellyfish sample I saw in your rpi forum post and the big buck bunny sample). However, SMTube works well for YouTube on the Pi4, but not on the Pi3
I'll take a look at the 1080p60 playback at some point later week.
There are some libreelec patches that may help you. https://github.com/LibreELEC/LibreELEC.tv/tree/master/packages/multimedia/ffmpeg/patches
@acroobat -
thanks, merged most of these patches into the current ffmpeg
(used on the forthcoming v1.6.0 image release); skipped hevc
for now as had trouble building that on 64-bit.
best, sakaki
30 Oct 2020: sadly, due legal obligations arising from a recent change in my 'real world' job, I must announce I am standing down as maintainer of this project with immediate effect. For the meantime, I will leave the repo up (for historical interest, and since the images may be of use still in certain applications); however, there will be no further updates to the underlying binhost etc., nor will I be accepting / actioning further pull requests or bug reports from this point. Email requests for support will also have to be politely declined, so, please treat this as an effective EOL notice.
For further details, please see my post here.
Many thanks for your interest in this project!
With sincere apologies, sakaki ><
Hello!
Thank you for your fantastic work on putting this together, I seriously appreciate your effort.
I pulled the image as of today (24/03/2020), and I'm having some trouble getting ffmpeg playback running at a real time framerate with a 1080p60 h.264 video (big buck bunny sample). The ffmpeg log was spamming "ff_v4l2_buffer_enqueue: VIDIOC_QBUF" errors (red text), and it was playing at about 20 fps, but very choppy. I tried on both an RPi 3 and RPi 4 and got similar results (low CPU usage, but choppy video). I used the vc4-fkms-v3d overlay on both with gpu_mem left at the default (128 MiB on the Pi 3, not sure about the Pi 4). I've included the ffplay output: