Created attachment 864334 [details, diff] Patch for raspberrypi-omxplayer to compile against ffmpeg4 I'm having problems compiling omxplayer against ffmpeg v4. The problem is discussed in here [1]. The follwing build errors occur: In file included from BitstreamConverter.h:27, from BitstreamConverter.cpp:26: DllAvFormat.h: In member function 'virtual int DllAvFormat::url_feof(AVIOContext*)': DllAvFormat.h:117:51: error: '::url_feof' has not been declared virtual int url_feof(AVIOContext *s) { return ::url_feof(s); } ^~~~~~~~ DllAvFormat.h:117:51: note: suggested alternative: 'avio_feof' virtual int url_feof(AVIOContext *s) { return ::url_feof(s); } ^~~~~~~~ avio_feof make: *** [Makefile:48: BitstreamConverter.o] Error 1 I created a patch according to the solution presented here [2]. With this patch, omxplayer can be built and used successfully. [1] https://github.com/popcornmix/omxplayer/issues/633 [2] https://github.com/popcornmix/omxplayer/pull/634/commits/d6c72cc2ec4210765c8321f65b747eed884f5765
Created attachment 864626 [details] emerge --info Sorry, I forgot to attach the emerge --info output.
I've been trying to bring raspberrypi-userland up to date and came to update this accordingly. It may have been fixed for ffmpeg 4, but we're up to 6 now, the breakage looks a lot heavier, and upstream has basically said this project is obsolete. This is only going to get worse, so I think the only option is to last-rite this. That's a shame, because it may still be the best option on older Pi models, but I don't know how it stacks up against mpv. I don't have an older Pi to try it with.
@james: I could test mpv against an older Pi, maybe i have a Pi 2 somewhere at my workplace. Does it make sense to test it against a Pi 1, since it is somehow limited in Memory. Also, omxplayer needs fbdev driver to work correctly. I couldn't get it to work with the v3d driver.
Thanks for helping out. There's no point testing Pi 1 if you have Pi 2 in this case. I would have thought omxplayer would work with v3d, but I suppose it doesn't matter now.