Mplayer on the ARMBook
Jon Robinson (374) 19 posts |
Has anybody managed to get !MPlayer working on the ARMBook? As far as I know, it‘s roughly equivalent to a Pi 3, hardware Whenever I try to play a video clip with it, I just get a Stack overflow in signal handler error message. Is this to do with the ARM v8 processor in the ARMBook, not Jon, Leeds |
Chris Gransden (337) 1207 posts |
Certain video formats need alignment exceptions turning off to play in MPlayer. e.g. mp4. Versions of MPlayer from before about mid-2013 will fail to run completely on ARMv8. The top of log file should show the exact version number similar to this, MPlayer SVN-r8152-8.2.0 © 2000-2019 MPlayer Team. |
Raik (463) 2061 posts |
Works on ARMX6 etc. … Use AlignEx to set temporary off. |
Rick Murray (539) 13840 posts |
We still have software being released that doesn’t work with align exceptions on? |
Raik (463) 2061 posts |
Use ffplay from here. Works without. |
Chris Johns (8262) 242 posts |
Can’t help with MPlayer but that means there are at least two ARMBooks in Leeds :) |
Jon Robinson (374) 19 posts |
Hi, you all. I‘m still getting Stack overflow in signal handler even with Alignment Exceptions off, and the latest Chris, if you‘re reading this, have you managed to The only one I can get working is !Gems. All the rest either refuse to load, or just scramble Regards, Jon, Leeds |
Norman Lawrence (3005) 172 posts |
Jon have you tried PatchSWP http://www.tellima.nl/riscos/, it worked for me on a pi 3B? Not sure about the ARMBOOK. Many thanks to Bryan Hogan for pointing this link out to me. |
Jon Robinson (374) 19 posts |
I’ve run !PatchSWP, with mplayer and mencoder, but it’s saying No need to patch: compiled for ARM8 for both programs, so it looks like there‘s some difference between the ARMBook and the Pi3‘s version of ARMM8. Isn’t it possible to just do some work on the C compiler, so that it can produce code which is compatible with ALL the versions of the ARM8? Regards, Jon |
Rick Murray (539) 13840 posts |
What is happening is that something went wrong. This can be a number of things, from an illegal instruction (if it was an ARMv8 difference), an invalid memory access due to bugs in MPlayer or broken input that isn’t trapped, a div-by-zero, or… When this thing goes wrong, a “signal handler” is invoked. So… how are you running MPlayer? If from a command line, try setting your Next slot to something large like 128MB. That should give MPlayer plenty of memory… (it needs it!) |
Jon Robinson (374) 19 posts |
I‘ve increased the memory allocated to Next from 640K to 40Mb in the Tasks window, but I‘m still getting Stack Overflow in Signal Handler every time I try to play a video with it. Jon |
Raik (463) 2061 posts |
Do you use the latest mplayer in the “package environment” with doubleclick or with your own commandline/obey? |
Jon Robinson (374) 19 posts |
Dear Raik I’ve got Mplayer in Resources. I can’t get to my RISC OS computers at the moment, but all the videos I’m trying to play, play When I do Show in a task window, there‘s a system variable called mplayer$heap but there‘s no value set for it. I wonder if it’s expecting that to be set to stderr? Regards Jon |
Raik (463) 2061 posts |
Hi Jon, I not have an ARMBook but for the others… I have download and install mplayer from package. !MPlayer !Boot … set mplayer$heap "" is “default”. I hope that helps. |