Fatser version of MPlayer
Chris Gransden (337) 1207 posts |
There’s an updated version of MPlayer available here. It currently only runs on RISC OS hardware that has NEON support. |
Andrew McCarthy (3688) 605 posts |
Thank you, it works a treat on my Pi3B. :-) |
Andrew McCarthy (3688) 605 posts |
How are you doing that? Any chance of an example? |
André Timmermans (100) 655 posts |
Now that I understand the volume range better, I finally see that the -volume command line option is actually doing something (at least most of the time) and I can finally start without the video screaming at me. It also understoud that you need to actually keep pressing “/” or “*” for a while to get the volume control kicking in. Is there an option to show the achieved fps ? I thought the info available in the logs once it finishes playing but maybe I am confusing with FFPlay. I have tested it with my PI3 and the -framedrop option against KinoAmp (without Overlays) on the MPlayer HDTV test streams folder and it still seems a bit slow, I guess they still have room for more NEON optimised routines. On the other hand, thought slower MPlayer is smoother on the FullHD streams, I guess KinoAmp is sometines too agressive on frame dropping. I have started playing a little bit more with it on my collection of Buck-Tick videos but started to be a little bit cautious, because there are quite a few files which causes MPlayer to freeze and take the system down with it (even the pointer stops responding). I wonder if this is an issue in the support modules (threading? signal handling ?). |
Chris Gransden (337) 1207 posts |
It’s still quite slow but a lot faster than before. Full screen is much better due to the faster scaling.
Quite a few video formats cause an alignment exception which causes a freeze instead of an abort when built with GCC 8.2.0. Turning off alignment exceptions should allow it to play.
There’s the ‘-benchmark’ option that shows some stats in the log after video has finished. |
Chris Gransden (337) 1207 posts |
It’s more difficult than it was since Youtube updated their website. It’s no longer possible to use NetSurf to find the URLs. Using Otter Browser go to https://m.youtube.com?persist_app=1&app=m. Search for e.g. rougol. The search can be typed in directly in the URL bar. https://m.youtube.com/results?search_query=rougol. Click on the video you want to view. The URL needed appears in the URL bar. https://m.youtube.com/watch?v=M8Xy2-Qdwic Otter Browser doesn’t interact with the RISC OS desktop so the URL can’t be copied and pasted to the required location. Python 2.7.16 is needed to run the youtube_dl module. Download from https://www.riscosports.co.uk/vfp/python27.zip. Also update to the latest version of the youtube_dl module. Download https://www.riscosports.co.uk/vfp/python27update.zip. Run the Youtubedl ‘frontend’ utility and ‘Copy and Paste’ the URL. Click on ‘List Formats’ and click ‘Run’. This retrieves the available video formats. Normally 18 is 360p and 22 is 720p. Next get the URL after selecting the required format. Once the download URL is retrieved save it as a file. Set the file type to ‘M3UFile’ and double click the ‘M3U’ file. |
Raik (463) 2061 posts |
Is what YTPlay or Streamer behind the scene… |
Raik (463) 2061 posts |
I can change YTPlay next week to use Mplayer with this settings. No problem. |
Andrew McCarthy (3688) 605 posts |
Thank you for the detailed instructions… Prior to asking I’d been looking at potential command line options such as:
|
Andrew McCarthy (3688) 605 posts |
Thank you for enabling YouTube playback. I’m playing the Wifi sheep video at 360p on my Pi3B and its great!!! Multi-tasking like never before and in sync video – Wow! :-) Kinda makes me feel nostalgic for !Replay ! |
Doug Webb (190) 1180 posts |
Raik could that be configurable to use either FFplay or Mplayer so if a user has issues on their machine you can try one or the other? |
Raik (463) 2061 posts |
Why not? If I find the time, no problem. |
Chris Gransden (337) 1207 posts |
I created FrontEnd module app YTSearch that uses the youtube-search-python python module to quickly search for Youtube videos without having to use a Web browser. Its need Python3 and also the youtube-search-python module installing. python3 -m pip install youtube-search-python. It looks like the maximum number of results returned is limited to 20. The search can be narrowed down by typing in more terms. Save the search results out to an editer to be able to extract the download link. Follow the instructions further above in this topic using the Youtubedl FronEnd app to play the video in MPlayer until YTPlay has been updated to support MPlayer. |
Doug Webb (190) 1180 posts |
Hi Chris, Thanks for YTSearch now installed and I have tested it out ok. I had to change the file type to M3UFile not M3U Just need to sort out DigitalCD hijacking the resultant M3UFile as well but it does work if I drag a URL to YTPlay. |
Raik (463) 2061 posts |
It was not the most successful morning in my life ;-) |
Doug Webb (190) 1180 posts |
Hi Raik, It may be something to do with SharedLibs issues as outlined below:
There has been much discussion in the Announcements section on Python 3.8. Hope that helps. |
Chris Gransden (337) 1207 posts |
The MPlayer !Boot file has the wrong file type name in it. Edit Set File$Type_AA7 “M3U” to Set File$Type_AA7 “M3UFile” |
Chris Gransden (337) 1207 posts |
If you updated to release 4 of SharedLibs recently there’s a bug in UnixLib that causes python3 to crash on start up. Release 5 is imminent with the fix. The previous version of SharedLibs release 3 is still available here. A temporary workaround is to overwrite the release 4 version with the release 3 version from the zip. Resources.!SharedLibs.lib.abi-2/0.libunixlib/5/0/0/so |
Raik (463) 2061 posts |
Mmm, I’m a bit confused.
Ok, is really older…
??? is not in the SharedLibs release 3 link … Have try all the things in the yesterdays post on Ti but with no success. What is the best point to start? “Fresh” SharedLib? |
Andrew McCarthy (3688) 605 posts |
After installing the available updates from package manager this morning, !Python3 works again. Thank you to everyone involved in the release. :-) |
Raik (463) 2061 posts |
Mmm, looks a bit better on my PiTop… after… python3 -m pip install youtube-search-python I get only … libdl library not correctly linked … so the result is the same. |
Andrew McCarthy (3688) 605 posts |
I got a bunch of stuff on my first go, then I spotted I hadn’t loaded TaskRunner. |
Raik (463) 2061 posts |
Have remove “my” SharedLib and have “stolen” the one from PiDirect-Image. Fatal signal received: EMT trap Stack backtrace: Running thread 0×1a770dc (Main Thread) On Pi3B+ PiTop. Also with normal mp4 video… |
Raik (463) 2061 posts |
Mmm, the Youtubedl problem looks like a “Surfstick” problem. Will try a German channel. Edit: An URL from my own “RISCOS Berlin” channel works… The MPlayer problem on Pi3B+ is alive. Has anyone other try on Pi3B+? |
Andrew McCarthy (3688) 605 posts |
;-) Just in case… I gave Youtubedl a spin and it all works fine. The m3u file type thing referred to above… In its current incarnation everything works, just fine, if you change the text file filetype to the m3u filetype. |