Mmm so what is the player we are using now ? I though it was the one developed by Fab
They use 2 players :
one inbuild in webkit (as we use) which render through Cairo, and which is why it slow things even on x5000, i.e. when i play youtube on x5000 i also have about 15 fps. I do not know how to speed that one up, maybe only by writing harware accelerated cairo backend, dunno.
And another one, which is triggered when you press full view or fullscreen do not remember, and where they have cgx overlay, and that part is not writen by fab if i remember right, and wasn't shared.
So if i remember right (but that need to be cheked, or some morphos users can fix me), in the normal, usuall window mode, youtube also slow for morphos users, as use playback through cairo. But once they tick "fullscreen", then fullwindow open, and this one is "overlay", and then things go fast. But in window mode it the same suck for them as for us.
Quote:
if you agree let's testing atleast these radio streaming crap ..
If it just JS, then its probabaly just webkit issues or something, which i can't fix.
If it just JS, then its probabaly just webkit issues or something, which i can't fix.
Try this one, is for sure an HTML5 one --> https://www.muses.org/ The player is at the top-right side of the page, just press play and see if your memory decrease or not
Try this one, is for sure an HTML5 one --> https://www.muses.org/ The player is at the top-right side of the page, just press play and see if your memory decrease or not
Don't looks like html5 too. Need just normal page, with usuall html5 player (youtube ?) , which will show that once i play video, everything crashes.
Muses Radio Player - The HTML5 MP3/OGG/AAC Live Stream Player! https://www.muses.org/? Now the HTML5 version of Muses is the default option, and fallbacks to Flash if needed. It also adds more translations and implement many of the Flash version
And looked at the source to me it seems an HTML5 player
Quote:
Need just normal page, with usuall html5 player (youtube ?) , which will show that once i play video, everything crashes
No need imho and it will be even confusing because:
1 . You don't know if is the video to crash or if is it something else involved ..
I mean usually HTML5 video in youtube crashed (when they crash) after 1 or 2 minutes of playing, maybe a bit more but more or less this is the range of the time ... so it can't be the same problem of the radio ... with the radio i can stream a audio for 15 minutes, 30 minutes and even more time without any problem.. until they crash because memory ends ... with video involved instead you don't know what happened, sure maybe still also similar memory problem with videp, but i believe video crashed also for other reasons
2 . Even because the problem seems the memory drainage, eventually it crashed after a while (when the memory finished) and not instantanely
3 . To do a test using Youtube i will need to found a "video" that only contains an audio source, but not a video .. but in Youtube everything in reality is a video !
Wait more, 10 minutes is not enough ... in base of your memory (i presune you have 1 or 2 GB right ?) you need to wait atleast 1 or 2 hours ... Maybe try tonight, open the audio stream and leave it running till the morning
P.S. Of course if you a tool to monitorize the memory in real time would be better
Not sure if i want to dig into that to waiting hours for just trigger the bug: is too much for me today.
It's not only because a casual bug that may happens from time to time, this issue indicate that the player is almost broken by design because it costantly eats memory ... in this condition streaming something for some time become an hell because you will never know how much time you left until you need to quit OWB (or restart your machine because it fucked up)
Quote:
Just to clarify: your problem is constant decreasing of memory when you use html5 mediaplayer be it audio or video+audio, right ?
Yes. for "audio only" this problem always happen ... 100% tested Instead for "Audio + video" i don't know ... because in general i always open small videos for the reason you know, so i can be sure at 100% if we have the same memory decrease also with them ...
Kas1e, thank you very much providing an update on the situation and for your work on previous versions.
Regarding the built-in media players, rather than trying mess with the kludges within the browser, would it be possible to just turn off all Video & Audio playback within the browser and then we could re-route those to reliable external players like FFMpeg, MPlayer and AmigaAmp?
How about a on/off checkbox on the Media settings page?
That would avoid a ton of crashes and memory leakage.
I've tried resetting the MIME types, but they have been ineffective diverting video from playing within webpages.
OTOH, it would be fantastic if the security side of things could be updated. Is that built into webkit or separate and updatable?
If OpenSSL is what's being used, yes, I'd guess so.
I've just run into more and more HTTPS sites that no longer work. Obviously, it could easily be the browser engine, but given how fast security is moving, that could be it too.
Did you already get the latest certificates? (Fetch the file https://curl.haxx.se/ca/cacert.pem and save it as curl-ca-bundle.crt in your main Odyssey directory - backup the old one first, of course, just in case.)
But it was long ago and with an old version of the os ... tomorrow i will try reproduce the problem with all the latest stuff (os, browser and mui), just to be sure to have the same kind of crash
/* This script checks for installed versions of below mentioned files and
updates them, if needed, automatically. It does this by checking both the
web based and installed file dates and only if the web based file is newer
it will be downloaded/updated.
(If a file is not installed at all, it will simply install it without going
through the check)
1.11: Fix: Adapt to new HOSTS date format
1.10: Fix: Suppress AREXX' automatic ReadLN() processing
1.09: Fix: Make the log respect AmigaOS4's logfile standard
1.08: Addition: Check for sane months to prevent downloading corrupted files
1.07: Addition: CALL macro used for months conversion
1.06: Addition: Check for the existance of and install missing files
1.05: Fix: Wrong format in log output
1.04: Fix: The hosts file was never copied
1.03: Addition: Add more information to the log
1.02: Addition: Add log file (T:) to reflect the status
*/
date_today=DATE(S)
ADDRESS COMMAND 'echo "X: [00:00:00] File name | Process | Reason | Install date | Web date" >> T:WBLUpdater.log'
/* Month conversion index */
months="Jan01Feb02Mar03Apr04May05Jun06Jul07Aug08Sep09Oct10Nov11Dec12"
/* cURL_ca_bundle */
/* Check if file exists and install, if needed */
IF OPEN(curl_ca_bundle,'DEVS:curl-ca-bundle.crt','R') = 0 THEN DO
/* No file found, install it (-k insecure and -s silent) from source */
ADDRESS COMMAND 'curl -k -s "https://curl.haxx.se/ca/cacert.pem" -o DEVS:curl-ca-bundle.crt'
ADDRESS COMMAND 'copy DEVS:curl-ca-bundle.crt Tools:Internet/Netsurf/Resources/ca-bundle'
ADDRESS COMMAND 'copy DEVS:curl-ca-bundle.crt Tools:Internet/YAM/Resources/ca-bundle.crt'
ADDRESS COMMAND 'echo "W: ['TIME('N')'] curl_ca_bundle.crt | Install | Missing | 'date_installed' | 'date_web'" >> T:WBLUpdater.log'
END
/* Pulling web based file date */
ADDRESS COMMAND 'curl -r127-143 -s --cacert DEVS:curl-ca-bundle.crt "https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-social/hosts" >T:hosts_date'
OPEN(hosts_date,'T:hosts_date','R')
date_munged=READLN(hosts_date)
CLOSE(hosts_date)
ADDRESS COMMAND 'Delete T:hosts_date'
/* HOSTS changed it's date format to 'day full-month 4-digit-year', thus we adapt the date to the format the other two files use ('3-letter-month day 4-digit-year') before sending it to the macro */
date_munged=SUBSTR(SUBWORD(date_munged,2,1),1,3) SUBWORD(date_munged,1,1) SUBWORD(date_munged,3,1)
/* HOSTS changed it's date format to 'day full-month 4-digit-year', thus we adapt the date to the format the other two files use ('3-letter-month day 4-digit-year') before sending it to the macro */
date_munged=SUBSTR(SUBWORD(date_munged,2,1),1,3) SUBWORD(date_munged,1,1) SUBWORD(date_munged,3,1)
/* Converting month */
CALL MonthConversion
/* Updating file and adding the known local ip addresses */
IF date_error = 0 THEN DO
IF date_web > date_installed THEN DO
ADDRESS COMMAND 'curl -s --cacert DEVS:curl-ca-bundle.crt "https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn-social/hosts" -o DEVS:Internet/HOSTS'
ADDRESS COMMAND "type Tools:Internet/Network/IP-List >> DEVS:Internet/HOSTS"
ADDRESS COMMAND 'echo "I: ['TIME('N')'] HOSTS | Update | Additions | 'date_installed' | 'date_web'" >> T:WBLUpdater.log'
END
ELSE
ADDRESS COMMAND 'echo "W: ['TIME('N')'] HOSTS | | No additions | 'date_installed' | 'date_web'" >> T:WBLUpdater.log'
END
ELSE
ADDRESS COMMAND 'echo "E: ['TIME('N')'] HOSTS | Error | Defect | 'date_installed' | 'date_web'" >> T:WBLUpdater.log'
END
/* pci.ids */
/* Check if file exists and install, if needed */
IF OPEN(pci_ids,'DEVS:pci.ids','R') = 0 THEN DO
ADDRESS COMMAND 'curl -s --cacert DEVS:curl-ca-bundle.crt "https://pci-ids.ucw.cz/v2.2/pci.ids" -o DEVS:pci.ids'
ADDRESS COMMAND 'echo "W: ['TIME('N')'] pci.ids | Install | Missing | 'date_installed' | 'date_web'" >> T:WBLUpdater.log'
END
ELSE DO
CLOSE(pci_ids)
/* Pulling web based file date */
ADDRESS COMMAND 'curl -r56-65 -s --cacert DEVS:curl-ca-bundle.crt "https://pci-ids.ucw.cz/v2.2/pci.ids" >T:pci.ids_date'
OPEN(pci_ids_date,'T:pci.ids_date','R')
date_web=COMPRESS(READLN(pci_ids_date),'-')
/* Checking for sane months to prevent downloading corrupted files */
IF INDEX(months,(SUBSTR(date_web,5,2))) > 0 THEN
date_error=0
ELSE
date_error=1
CLOSE(pci_ids_date)
ADDRESS COMMAND 'Delete T:pci.ids_date'
/* Pulling installed file date */
OPEN(pci_ids,'DEVS:pci.ids','R')
CALL READLN(pci_ids)
CALL READLN(pci_ids)
CALL READLN(pci_ids)
CALL READLN(pci_ids)
date_installed=COMPRESS(SUBWORD(READLN(pci_ids),2,1),'-')
/* Checking for sane months to prevent downloading corrupted files */
IF INDEX(months,(SUBSTR(date_installed,5,2))) > 0 THEN
date_error=0
ELSE
date_error=1
CLOSE(pci_ids)
/* Updating file and copying it to the known places where it's used from */
IF date_error = 0 THEN DO
IF date_web > date_installed THEN DO
ADDRESS COMMAND 'curl -s --cacert DEVS:curl-ca-bundle.crt "https://pci-ids.ucw.cz/v2.2/pci.ids" -o DEVS:pci.ids'
ADDRESS COMMAND 'echo "I: ['TIME('N')'] pci.ids | Update | Additions | 'date_installed' | 'date_web'" >> T:WBLUpdater.log'
END
ELSE
ADDRESS COMMAND 'echo "W: ['TIME('N')'] pci.ids | | No additions | 'date_installed' | 'date_web'" >> T:WBLUpdater.log'
END
ELSE
ADDRESS COMMAND 'echo "E: ['TIME('N')'] pci.ids | Error | Defect | 'date_installed' | 'date_web'" >> T:WBLUpdater.log'
END
EXIT
MonthConversion:
date_day=SUBWORD(date_munged,2,1)
date_munged_month=SUBSTR(date_munged,1,3)
month_idx=INDEX(months,date_munged_month)
IF month_idx > 0 THEN
date_month=SUBSTR(months,month_idx+3,2)
/* Checking for a sane month to prevent downloading a corrupted files */
IF INDEX(months,date_month) > 0 THEN DO
date_error=0
date_year=SUBWORD(date_munged,3,1)
date_installed=COMPRESS(date_year date_month date_day)
END
ELSE
date_error=1
return 0
You can rip out what you need, probably just the ca-bundle part...
Great to read that someone has a finger in the odyssey pie!
Is there anyone who can help jaokim on this? :
"For now there's a missing dependency, libicu, in my list, but I’ll try and fix that tonight.
I’ve merged the changes done by the Aros team, and my plan is to have it build, and then try and update to the next revision that the TenFourFox/leopard ppc-safari has a JIT-patch for. I’m however currently stuck on freetype/fontconfig dependency, which I don’t know if the latest libcairo by salass00 has support for (the port only mentions an Amiga font backend)."
Did you ever noticied strange crashes in pthread while using Odyssey ? From time to time (can say almost casually) while browsing a DSI error like occour ... perhaps the special version of "curl" you are used in the compilation chain ? By luck you can skip it and continue to use the program, just a bit annoying
For example i just got this one loading --> www.google.com
Quote:
Crash log for task "pthread id 355" Generated by GrimReaper 53.19 Crash occured in module bsdsocket.library at address 0x6FBCEC54 Type of crash: DSI (Data Storage Interrupt) exception Alert number: 0x80000003
Yeah, I get that pthread crash from time to time. I just kill it and go on. I think it might crash on exit after its done sometimes. Seems quite harmless, but annoying of course.
Software developer for Amiga OS3 and OS4. Develops for OnyxSoft and the Amiga using E and C and occasionally C++