English Amiga Board


Go Back   English Amiga Board > News

 
 
Thread Tools
Old 18 January 2021, 21:33   #221
hUMUNGUs
Registered User
 
hUMUNGUs's Avatar
 
Join Date: Apr 2016
Location: .no
Posts: 148
Quote:
Originally Posted by movec View Post
AGABlaster 0.9.82 released:
  • Added support for standard 12-bit AGA6-8 and HAM8 videos (used in some games in the late 90s)
  • Optimized versions for 68000, 68020, 68060, 68080
  • Extended one-line info message after video play has finished
  • Added support for 2GB limit of AmigaOS seek functions (it is still possible to play up to 4GB)
  • Some new features require agaconv 0.9.6 (e.g. big CDXL files with 32-bit frame number)

A number of old CDXL videos (including AGA CDXL videos) are now working as well; e.g. the Alien Breed AGA CDXL videos are working now. Those videos are 12-bit HAM8 videos (not using the 24-bit AGA color range) - therefore equivalent to a HAM6 CDXL with a 64 color palette. They can only be played on AGA hardware, but they only use the OCS color range.

There are also optimized AGABlaster versions for 68000/20/60 now. I didn't see a significant runtime difference on my 68060, but it might help a bit on a 68020/30.

There is also a "vampireized" version now. This one uses a few 68080 instructions. Therefore this one doesn't run on any other Amiga. Whether it runs on a Vampire, I don't know (because I cannot test it), but it should . If you have one, let me know!

The extended info line that is printed after running a video shows now also whether it's standard/custom 12-bit/24-bit CDXL video, etc.

The version number includes for which processor it's optimized, e.g. v0.9.82/20 is optimized for 68020.

Website: https://cutt.ly/AGABlaster
Nice ! 080 version :-)
hUMUNGUs is offline  
Old 20 January 2021, 10:22   #222
pcotter
Registered User
 
Join Date: Aug 2016
Location: Germany
Posts: 122
Looks good to me!
080 version, Aros/ApolloOS
Vampire V4
Attached Thumbnails
Click image for larger version

Name:	20210120_101237.jpg
Views:	357
Size:	758.9 KB
ID:	70500   Click image for larger version

Name:	20210120_101154.jpg
Views:	363
Size:	651.4 KB
ID:	70501   Click image for larger version

Name:	20210120_101351.jpg
Views:	348
Size:	699.8 KB
ID:	70502  
pcotter is offline  
Old 26 January 2021, 08:42   #223
movec
Registered User
 
Join Date: Nov 2016
Location: USA
Posts: 133
Quote:
Originally Posted by pcotter View Post
Looks good to me!
080 version, Aros/ApolloOS
Vampire V4
Great! Thanks for the feedback.
movec is offline  
Old 27 January 2021, 15:18   #224
iKrethX
Registered User
 
Join Date: Nov 2018
Location: Hungary/Budapest
Posts: 1
Test: Amiga 1200 Blizzard MKIV 030
Attached Thumbnails
Click image for larger version

Name:	AGABlaster.png
Views:	375
Size:	16.7 KB
ID:	70636  
iKrethX is offline  
Old 28 January 2021, 18:51   #225
apex
Registered User
 
apex's Avatar
 
Join Date: Apr 2010
Location: Amigaplanet
Posts: 645
Perfect player, just a simple converter for Windows and the user base will increase massive.
apex is offline  
Old 23 March 2021, 23:22   #226
BatteMan
Registered User
 
BatteMan's Avatar
 
Join Date: May 2020
Location: France
Posts: 20
Hi there !

First of all, AGABlaster is very incredible ! Tried it on my CD32 TF330 and it's terrific

I'm a MorphOS user too so I was very happy to see AGAConv for MorphOS ! But script doesn't work on MorphOS so I tried to understand script to write my own commands, with more or less success

And I have multiple success tonight

Extracting images : OK
Extracting audio : OK (it seems ^^)
Converting in CDXL : failed...

For converting, I can't find how to put all images in the agaconv-encode command.
If I use a joker, AGAConv-encode says "too many file names on command line" (for agaconv-encode, image0001.png is the infile and image0002.png is the outfile...).

I copy paste my command lines here.
They need to be improved for sure... and I'm not sure AGAConv can use this image format...

Extracting images from .mp4 :
ffmpeg -i test.mp4 -y -r 15 -s 320x200 -pix_fmt rgb24 test/test%04d.png
(-r 15 : 15 FPS ; -pix_fmt rgb24 : 8 bit without alpha)
Tried to follow the command in the script but there are a lot of variables and some ffmpeg MorphOS doesn't know some commands...

Extracting audio from .mp4 :
ffmpeg -i test.mp4 -ar 28000 -f u8 -acodec pcm_u8 -ac 1 test/test.raw
(same line in the script, if I didn't make mistake ^^ ; -ar 28000 : 28Khz ; -ac 1 : mono)
I have a raw file but I can't listen it... so, not sure it's correct

Converting in CDXL :
agaconv-encode --cdxl-encode --fps 15 --pcm-file test/test.raw --gfx-mode lores --cdxl-24bit-colors --frequency 28000 --cdxl-padding-size 4 test/test0001.png test.cdxl --status
(you can find here all options from the script)
Here, the problem is the "inFile".
With test/test0001.png, it only takes test0001.png and makes the error described above.
I tried test/test*.png or test/test#?.png, it says "too many files".
And I tried just test/, it says "std::exception".

No more for me tonight

If someone can give me a hint, I'll be happy

--
/me will watch Scream (Peter Gabriel's clip, thx for the cdxl conversion) on his CD32 before going to bed ^^
BatteMan is offline  
Old 23 March 2021, 23:25   #227
Samurai_Crow
Total Chaos forever!
 
Samurai_Crow's Avatar
 
Join Date: Aug 2007
Location: Waterville, MN, USA
Age: 49
Posts: 2,186
Have you tried the script in S:SPat?
Samurai_Crow is offline  
Old 25 March 2021, 04:26   #228
movec
Registered User
 
Join Date: Nov 2016
Location: USA
Posts: 133
Quote:
Originally Posted by BatteMan View Post
Hi there !

First of all, AGABlaster is very incredible ! Tried it on my CD32 TF330 and it's terrific

I'm a MorphOS user too so I was very happy to see AGAConv for MorphOS ! But script doesn't work on MorphOS so I tried to understand script to write my own commands, with more or less success

And I have multiple success tonight

Extracting images : OK
Extracting audio : OK (it seems ^^)
Converting in CDXL : failed...

For converting, I can't find how to put all images in the agaconv-encode command.
If I use a joker, AGAConv-encode says "too many file names on command line" (for agaconv-encode, image0001.png is the infile and image0002.png is the outfile...).

I copy paste my command lines here.
They need to be improved for sure... and I'm not sure AGAConv can use this image format...

Extracting images from .mp4 :
ffmpeg -i test.mp4 -y -r 15 -s 320x200 -pix_fmt rgb24 test/test%04d.png
(-r 15 : 15 FPS ; -pix_fmt rgb24 : 8 bit without alpha)
Tried to follow the command in the script but there are a lot of variables and some ffmpeg MorphOS doesn't know some commands...

Extracting audio from .mp4 :
ffmpeg -i test.mp4 -ar 28000 -f u8 -acodec pcm_u8 -ac 1 test/test.raw
(same line in the script, if I didn't make mistake ^^ ; -ar 28000 : 28Khz ; -ac 1 : mono)
I have a raw file but I can't listen it... so, not sure it's correct

Converting in CDXL :
agaconv-encode --cdxl-encode --fps 15 --pcm-file test/test.raw --gfx-mode lores --cdxl-24bit-colors --frequency 28000 --cdxl-padding-size 4 test/test0001.png test.cdxl --status
(you can find here all options from the script)
Here, the problem is the "inFile".
With test/test0001.png, it only takes test0001.png and makes the error described above.
I tried test/test*.png or test/test#?.png, it says "too many files".
And I tried just test/, it says "std::exception".

No more for me tonight

If someone can give me a hint, I'll be happy

--
/me will watch Scream (Peter Gabriel's clip, thx for the cdxl conversion) on his CD32 before going to bed ^^
I saw this one some time ago, somebody compiled it for MorphOS, which is nice to see. I was wondering whether one can run the script on MorphOS.

You already tried to enter the 3rd required command directly, here is a complete example: the inputvideo has name MYVIDEO.mp4, and the directory to store all the extracted frames is called MYVIDEODIR (you might need to create it first or do everything in the same directory).

1) Extract PNG frames with ffmpeg from the MP4 video:
Code:
ffmpeg -i MYVIDEO.mp4 -y -hide_banner -filter_complex "[0:v] fps=24,scale=w=320:h=180:sws_flags=lanczos:param0=3:sws_dither=none,split [a][b];[a] palettegen=max_colors=254:stats_mode=single:reserve_transparent=false [p];[b][p] paletteuse=new=1:dither=bayer:bayer_scale=4" -y MYVIDEODIR/frame%04d.png
2) Extract the audio data with ffmpeg from the MP4 video (MYVIDEO_AUDIO.raw)
Code:
ffmpeg -i MYVIDEO.mp4 -y -hide_banner -ar 28000 -f u8 -acodec pcm_u8 MYVIDEO_AUDIO.raw
3) Encode all the PNG frames and the audio stream into a CDXL file:
Code:
./agaconv-encode --cdxl-encode --fps 24 --pcm-file MYVIDEO_AUDIO.raw --audio-mode stereo --gfx-mode lores --color-bits 24   --frequency 28000 --cdxl-padding-size 4 MYVIDEODIR/frame0001.png MYVIDEO.cdxl --status
The last step encodes the CDXL video. agaconv-encode only needs the very first frame, it then reads all the other frames with the same name and increasing frame number.

Commands for HAM are more complicated because this involves an additional 3rd tool.

Last edited by movec; 25 March 2021 at 04:47.
movec is offline  
Old 25 March 2021, 15:09   #229
BatteMan
Registered User
 
BatteMan's Avatar
 
Join Date: May 2020
Location: France
Posts: 20
Thx Movec !
Polluks, on MorphZone made a patch for the MorphOS script too !
https://morph.zone/modules/newbb_plu...=13095&forum=9

I'll try it tonight.

I'll give you results of my test
BatteMan is offline  
Old 26 March 2021, 09:08   #230
BatteMan
Registered User
 
BatteMan's Avatar
 
Join Date: May 2020
Location: France
Posts: 20
ffmpeg MorphOS doesn't recognize -hide_banner and -filter_complex commands.

And agaconv-encode stops after the first image with your command.

The diff made by Polluks almost works He wants to upload a new version soon. Hope his new version will fully work and we'll able to encode CDXL with MorphOS
BatteMan is offline  
Old 05 April 2021, 08:32   #231
movec
Registered User
 
Join Date: Nov 2016
Location: USA
Posts: 133
Quote:
Originally Posted by BatteMan View Post
ffmpeg MorphOS doesn't recognize -hide_banner and -filter_complex commands.

And agaconv-encode stops after the first image with your command.

The diff made by Polluks almost works He wants to upload a new version soon. Hope his new version will fully work and we'll able to encode CDXL with MorphOS

This means the ffmpeg version used in your MorphOS system is quite old. Since Step 1 didn't work, there are no images to encode for agaconv-encode in Step 3.

You can try the following. It's almost the same as above, but with an older option. It does work on a new ffmpeg as well with this old option, but it may not work for other reasons on an older ffmpeg version, however, give it a try:


1) (using only the -vf option and no hide_banner)

Code:
ffmpeg -i MYVIDEO.mp4 -y -vf "[0:v] fps=24,scale=w=320:h=180:sws_flags=lanczos:param0=3:sws_dither=none,split [a][b];[a] palettegen=max_colors=254:stats_mode=single:reserve_transparent=false [p];[b][p] paletteuse=new=1:dither=bayer:bayer_scale=4" -y MYVIDEODIR/frame%04d.png
If this works, then steps 2 and 3 are the same.


Which ffmpeg version is Morph OS using? Type "ffmpeg -version", the first line in the output shows the ffmpeg version.

Which MorphOS version are you using?
movec is offline  
Old 05 April 2021, 21:16   #232
BatteMan
Registered User
 
BatteMan's Avatar
 
Join Date: May 2020
Location: France
Posts: 20
Oh yeah ! It's working !
BeWorld made port of the last version of ffmpeg and Polluks made port of your last agaconv version. With that, I just create a cdxl with my "demo.mp4" file.
I installed agaconv on my PC Win10 too and I tried to make a cdxl with the video of "Papers please" fan movie (with ham convert, 4h40 of conversion for 10 min of movie ^^).

Now, I'll watch those cdxl files on my CD32

Thx everybody !
BatteMan is offline  
Old 06 June 2021, 21:44   #233
Nobby_UK
Registered User
 
Nobby_UK's Avatar
 
Join Date: Jul 2013
Location: Liverpool
Posts: 2,595
No 040 version ?
Nobby_UK is offline  
Old 12 July 2021, 14:00   #234
mrsebe
Registered User
 
Join Date: Jul 2021
Location: Poland
Posts: 10
I've improved ham6 conversion time in the latest beta version of ham_convert (1.8.3). Using default agaconv settings it took 11 minutes to convert a 1.5-minute clip and 6 minutes after setting hbHamQuality to 0 and hcDiversity to 0 (kubuntu 21.04, i7 8700).
I've also added bayer 8x8 dithering in ham6 to get rid of banding in animations (enable using dither_bayer8x8 cli mode parameter).

Last edited by mrsebe; 22 July 2021 at 23:58. Reason: Added bayer 8x8
mrsebe is offline  
Old 15 July 2021, 00:42   #235
mrsebe
Registered User
 
Join Date: Jul 2021
Location: Poland
Posts: 10
Quote:
Originally Posted by BatteMan View Post
Oh yeah ! It's working !
BeWorld made port of the last version of ffmpeg and Polluks made port of your last agaconv version. With that, I just create a cdxl with my "demo.mp4" file.
I installed agaconv on my PC Win10 too and I tried to make a cdxl with the video of "Papers please" fan movie (with ham convert, 4h40 of conversion for 10 min of movie ^^).

Now, I'll watch those cdxl files on my CD32

Thx everybody !

Running agaconv on virtual machine like virtualbox will degrade the performance unless you increase the number of associated cpu cores (1 by default). WSL1 wasn't very fast either, WSL2 should allow almost full speed.
hbHamQuality parameter at 1 looks good and is quite fast.
EHB conversion can be slower than HAM6.
mrsebe is offline  
Old 09 October 2021, 17:15   #236
stevelord
Registered User
 
stevelord's Avatar
 
Join Date: Apr 2019
Location: UK
Posts: 540
I've tried setting AGABlaster versions 0.9.82 and 0.9.83 on my CDTV but it looks like there's a hunk issue with 1.3. Agaconv is open source but agablaster isn't so I couldn't try and rebuild it. Is there any chance of a 1.3 compatible build?
stevelord is offline  
Old 16 October 2021, 14:19   #237
movec
Registered User
 
Join Date: Nov 2016
Location: USA
Posts: 133
Quote:
Originally Posted by stevelord View Post
I've tried setting AGABlaster versions 0.9.82 and 0.9.83 on my CDTV but it looks like there's a hunk issue with 1.3. Agaconv is open source but agablaster isn't so I couldn't try and rebuild it. Is there any chance of a 1.3 compatible build?
The only version where Kick 1.3 was supported was 0.9.71. The executable is in agablaster_0_9_71_kick13.lha (it's still available).
There is no command line parsing (since Agablaster is using the Kick 2.0 command line parser) but it can be run with agaconv generated CDXL files (since they contain all info).

The more recent versions require Kick 2.0.
movec is offline  
Old 23 February 2022, 10:26   #238
movec
Registered User
 
Join Date: Nov 2016
Location: USA
Posts: 133
Hi Guys,

AGABlaster 0.9.90 beta is available now:
  • Added support for video playlists. CDXL videos can be selected with ASL file requester (multi-select).
  • Jump between playlist videos with 'N'ext and 'P'revious
  • Can be started from workbench icon now (AGABlaster.info)
  • New playlist/video loop mode ('L' key to toggle loop mode, or command line option LOOP)
  • Audio filter is off by default now and can be turned on/off with 'F'
  • Optimized versions for 68000/20/30/40/60/80.
You can still activate all features on the command line, but also with keys while video is running (when started from Workbench or console). When started from console without any arguments or from workbench, it shows a file requester to select videos (multi-select for playlist by holding 'shift'). A list of videos can also be provided on the command line.

Website: https://cutt.ly/AGABlaster
movec is offline  
Old 23 February 2022, 16:00   #239
BatteMan
Registered User
 
BatteMan's Avatar
 
Join Date: May 2020
Location: France
Posts: 20
This is a great new version ! Thank you !
BatteMan is offline  
Old 28 March 2022, 11:55   #240
BULI
Registered User
 
Join Date: Dec 2017
Location: Rzeszów
Posts: 404
I'm still happy user of AGA_Blaster (great program ) look:
[ Show youtube player ]

Because I was using old AGA Conv 0.9.5.4-bin, today I copped a new version AGE Conv 0.9.7-bin on my Ubuntu 18.04 via Windows 10, and I have a problem like:
Quote:
./agaconv-encode: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.26' not found (required by ./agaconv-encode)
How I can instal this libraries?
BULI is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
PadoraBasic: Player Cdxl, Anim, even more AMIGASYSTEM Amiga scene 0 12 March 2017 10:06
CDXL Player Retro1234 support.Apps 2 06 January 2017 10:18
CDXL Toolkit dkovacs request.Apps 16 23 November 2015 09:41
What is the best Amiga Cdxl and Anim Player? hansel75 support.Apps 3 02 February 2013 06:08
Looking for CDXL Toolkit cane request.Apps 3 05 August 2004 22:49

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 10:02.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.38095 seconds with 16 queries