Archives for OS4

Bigger CDXL

Posted by ALB42 on 30. Dezember 20213 Comments

On popular demand, I added a new CDXL convert option, with 256 colors and a width of 320 pixel (instead of 160) of course the movies looks much better with that, but also become huge. So I guess the download speeds from classic Amiga systems will be even more a problem.

Nevertheless now it’s in and will be published with the next Version of AmiTube, stay tuned.

AmiTube AROS downloading

Posted by ALB42 on 29. Dezember 2021No Comments

Playing a little bit more with PHP scripts and AmiTube, finally I got the direct download to work (via my server of course, because remember no shared SSL library like AmiSSL on AROS, and the wget is too old to connect to googles Youtube Server) and it works quite nicely… one disadvantage is of course that I have no way of knowing how big the file will be, the Youtube Server does not tell it so I cannot pass it on to the program, maybe must find an other display, at least how many is already downloaded? I will think about that. Nevertheless it works so more or Less I will go this way for next release.

Little video about the progress, this time shown on AROS:

Decision downloading

Posted by ALB42 on 29. Dezember 2021No Comments

Working on the direct download feature, it’s not that trivial as I thought. I tried the mplayer and wget function on AmigaOS4 and AROS and was not successful, the MPlayer does not support SSL and the WGet does support SSL but is too old (uses old encryption only). Basically the only system where this is working as it should is MorphOS, the one System where you actually do not need AmiTube because you have two browsers available capable of browsing and watching YouTube directly on the page. This is annoying.

Allso there is a limitation of the command line to be 255 chars long, the URL from YouTube is already longer than that (many GET options), seems MorphOS raised that limit (or it would not work)

So whats my options then.

  • I could use a shared SSL library like AmiSSL to let AmiTube directly download the stuff from YouTube
    • I did already the basic work for that top be possible, no change of AmiTube needed for that
    • AmiSSL only exists for AmigaOS3 and AmigaOS4
    • No AROS version and no replacement. Questions about it are rudely rejected, because of reasons. No replacement for it, only the standard static-C linklib, does not work in FreePascal atm.
    • No MorphOS version and no replacement, ok you can just install the 68k Version, so thats good, but MorphOS was never the problem.
  • Could (again) make a wrapper on my server to download or forward the requests
    • Works for all systems, download directly from my server with AmiTube
    • I need to learn more PHP 😉 as far as I understand downloading with AmiTube would be possible but not MPlayer playing directly from it (not tried though)
    • Again more load and space needed on the Server
  • just let it like it is, force the AROS and Amiga guys to updated the stuff
    • will not happen, or there would be a modern Browser or a shared SSL.library on all Platforms available 😉
  • just skip this feature

Not really sure what I do now.

AmiTube direct download/play

Posted by ALB42 on 26. Dezember 20212 Comments

As I wrote before, It makes not much sense to use AmiTube on NG Amigas because the could in principle just use the original movie files without conversation. I started to work on this a bit.

On the first picture it’s AmiTube in the back with the new Button „Get Original“ (better name needed 😉 ) which opens a new window. There you can select one of the available resolutions () and formats (should print more there about the codecs maybe). Then when an entry is chosen and „Download to HD“ is pressed it invokes wget to actually get the movie directly from YouTube. A classical YouTube downloader then. (I saved it to ram and used MPlayer to see if the file is ok)

The second try was to directly stream the movie from YouTube, that would be even more cool, it first failed because my MPlayer had no SSL build-in, but a new one (1.4) has, so now that works as well.

So I guess that works somehow, I will play around a bit with it, maybe it will make it to next release. Then it would make a lot of sense to release a MorphOS and AmigaOS4 version I guess, as YT downloader.

Free Pascal 3.2.2 Release

Posted by ALB42 on 20. Mai 2021No Comments

New Release of Free Pascal is done. It’s a bug fix release for 3.2.0 it has also some bug fixes for the Amiga systems, especially structures and functions are checked against official SDKs (especially for MorphOS with its latest SDK Version). For changes that break compatibility you can check official changes document.

Downloads

or you go directly to the Free Pascal home page and download from one of the mirrors. Have Fun.

Ask Your Amiga 0.5

Posted by ALB42 on 15. April 2021No Comments

I added assumptions to Ask Your Amiga. Assumptions are the way the different meaning of one word are separated from each other in Wolfram alpha. For example if you ask for „Berlin“ it will show you information about the capital of germany, but also shows you a list of other cities (mostly in USA) named Berlin and also other meanings like Berlin as a name or a music band (never heard that before) and so on.

Like on the web page I put these assumptions to at the top of the results to select from a cycle widget.

AYA 0.5 with Assumptions

Download latest AYA at hte AYA Page or use the build-in Update Version

Docker direct compile and AROS update

Posted by ALB42 on 14. März 2021No Comments

Besides the documentation work I also updated the docker container. I created 4 scripts to compile directly from the docker (without using VNC/lazarus) so you can directly compile in your linux installation, that there is a docker container behind it you barely notice. But it only can compile standard Free Pascal things, no LCL applications (missing pathes to the lcl units, also not easy possible, but without Lazarus make not much sense, I think)

The AROS compilation had a big problem, when you compile without -g option it tries to strip but the strip tool was not installed, so I added some more tools to make it possible to compile without -g (makes the executable much smaller)

On this I updated the lazarus version to the latest version 2.0.12 as well.

If you want to use the newest Version of the docker (with the AROS bugfix) start the „CheckForUpdate.sh“ script if you also want to have the direct compile command download the CrossAmigaLazarus Package.

Documentation

Posted by ALB42 on 8. März 2021No Comments

This weekend I extended (and sometimes created) the documentation for all four Amiga systems library units (amunits, arosunits, morphunits, os4units) and the util units (ami-extra).

It is available as chm file or HTML pages created with the Free Pascal fpdoc tool. The documentation is kept in separate XML file, I created a GitHub repository for that.

The build server compiles the documentation on every change and put it for download an direct use to the build server pages

There is also a new SDK (3.16) for MorphOS which also has some new function to handle TLS-memory functions (Thread Locale Storage) to handle variable switching for different threads. Charlie wants to use them for Free Pascal thread implementation for MorphOS (AThreads). To make it easier I checked the current SDK and tried to update the Free Pascal library units for MorphOS. (of course not only the TLS functions, but all updates I found). And to make it even easier also created the documentation for these functions.

My long term plan is to have for many of the library units functions an example code, I added now example code for ExamineFH, Examine/ ExNext and MatchFirst/MatchNext.