29 April 2020, 10:57 | #161 | |
Registered User
Join Date: Nov 2016
Location: USA
Posts: 134
|
Quote:
Then it will play faster. You need to guess what it is because this info isn't in the video. Regarding the half screen: maybe it's a Hires video? Use the additional option HIRES. This will switch AGABlaster into Hires mode. Regarding the failing ones, I looked through your screen shots: The first one is a HAM8 video. That's not a standard CDXL, that's some extension, therefore this doesn't work. And there are 1820 bytes that aren't necessary, therefore it's reported as inconsistent. The 3rd one is a HAM6 but there are 24 bytes more than necessary. None of these videos are standard CDXL videos. They might have used some rules for padding each frame (and I could add support for this), but I need some frames of those videos. I don't know where the padding actually is. If you chop off the first 200K (about 10 frames), and make them available I could look into it (the last frame can be incomplete). The reported numbers all make sense, but in each frame of them are some additional unnecessary bytes it seems. |
|
29 April 2020, 17:11 | #162 | |
Registered User
Join Date: Jul 2014
Location: France
Posts: 73
|
Quote:
Sadly, it's too slow on a 68000/7Mhz and crashes after the first minute (maybe a buffer problem?) |
|
29 April 2020, 17:50 | #163 |
Registered User
Join Date: Jul 2013
Location: Liverpool
Posts: 2,599
|
FR=25000 sounds OK
HIRES is OK if only quarter screen FYI... the XL Script for it is: CD0:c/cdgsxl CD0:kak.cdxl sdbl ham dosxl blit xlspeed 150 multipal lmbabort nopointer lores patchopenwb |
30 April 2020, 10:37 | #164 | |
Registered User
Join Date: Nov 2016
Location: USA
Posts: 134
|
Quote:
What do you mean with "too slow"? I would expect a 68000 to be way too slow, but does the sound play ok? I don't know the video, you may need to specify a higher frequency with FR=15000 (or whatever sounds right). |
|
30 April 2020, 18:45 | #165 | |
Registered User
Join Date: Jul 2014
Location: France
Posts: 73
|
Quote:
To be honest, as your player is called AGA-player, it's the last one I tried on an ECS Amiga All the other ones need 68020 and at least KS3.0. Using HV format playing files with HAMNew.run, I can play videos up to 320x240/12fps with sound 22050hz/Stereo/8bits without any glitsch. But as CDXL was created for the CDTV, I was expecting to easily play CDXL files in a third of the screen. Maybe there are two much fps in this AB Tower Assault intro conversion? To answer your question, sound is good. When I say it's slow, it was not the good word, maybe better to say it twitches to maintain synchronized sound and video and after 30 seconds or at best one minute, it freezes. |
|
30 April 2020, 20:20 | #166 |
This cat is no more
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,302
|
I converted a mp4 to a 256-wide video 256 colors 12 fps. With the emulator it's really good, but on real CD32 hardware from CD it freezes after a few frames. Probably CD access which is too slow (2x).
|
01 May 2020, 06:33 | #167 | |
Registered User
Join Date: Nov 2016
Location: USA
Posts: 134
|
Quote:
Try the following additional options: FB=15 CFD=12 STATS It should "run" then and show the FPS. |
|
01 May 2020, 06:49 | #168 | |
Registered User
Join Date: Nov 2016
Location: USA
Posts: 134
|
Quote:
Use the additional options: FMODE=0 FB=15 CFD=12 STATS, it should work then. What FPS does it report? |
|
06 May 2020, 11:07 | #169 |
Registered User
Join Date: Oct 2009
Location: Crewe, UK
Posts: 146
|
nice to see
|
06 May 2020, 11:57 | #170 |
This cat is no more
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,302
|
I ended up with 8fps and 64 colors. Works fine on the real machine, since it respects the famous 300kb/s thanks for this solution (I encoded the video using the new encoder on Windows / Ubuntu subsystem)
|
06 May 2020, 15:10 | #171 |
Registered User
Join Date: Feb 2018
Location: France
Posts: 505
|
Hello,
I've tried encoding in ham8 a video with Win10/Ubuntu but an error appears only in ham modes (see picture below). In my VM under Linux Mint on same conditions, all is ok ( but its very too slow on my very old PC + VM ). I don't understand. Do you have an idea ? Thank You. Last edited by Zarnal; 17 May 2021 at 19:10. |
08 May 2020, 07:03 | #172 | |
Registered User
Join Date: Nov 2016
Location: USA
Posts: 134
|
Quote:
You are the very first one running it on a stock CD32 I am aware of, so that's good to know. With 64 colors you are using 6 planes. With half the height (assuming I add y-upscaling, to duplicate each line) you would get around 16 fps (with your video), and then adding 2 more planes to get 256 colors could give around 12-13 fps I guess. Alternatively you could also try another width, but more colors. A width of 128,192,256,320 gives the best frame rate on a CD32 (and any other AGA system). Did you use any of the additional command line options? |
|
08 May 2020, 07:43 | #173 | |
Registered User
Join Date: Nov 2016
Location: USA
Posts: 134
|
Quote:
After ffmpeg has been run (that's the very first step) there have to be png files in the created working (=temp) directory. Are there png files in this directory? It starts with prefix "tmp-"... If there are no png files, then there is nothing to do for ham_convert, and then agaconv cannot find any iff files (which is the error message you get). You may also want to check that Java is installed and that ham_convert can be run (it's in the installation instructions for 0.9.5 but was not required for 0.9.4 and is only relevant for ham conversions). But if it's missing this should create an error message. There are 3 lines with EXECUTING: ... Those are the 3 invocations of the tools. You can also copy&paste each of them and rerun each stage manually. HAM conversion: After ffmpeg is run, you should see the png files. After ham_convert is run you should see the iff files. And after agaconv_encode is run, you should see the CDXL file. Default AGA8 conversion: After ffmpeg is run you should see the png files, and then it directly invokes agaconv_encode to generate the CDXL file. The HAM conversion takes a lot longer, but it benefits from parallelism, the more cores you have the faster it is. Note that if the conversion succeeds it will remove all intermediate files. If you want to keep all the png/iff files then use option --no-cleanup. If an error occurs then the tmp directory is not removed. |
|
10 June 2020, 14:13 | #174 |
Registered User
Join Date: Jan 2020
Location: oslo/norway
Posts: 1,609
|
Thank you for this I converted a couple of videos with Linux, Peppermint. Plays nice on my 68030.
Last edited by nikosidis; 10 June 2020 at 14:19. |
10 June 2020, 15:16 | #175 |
Registered User
Join Date: Apr 2010
Location: Amigaplanet
Posts: 645
|
This software is impressive, but still a bit to tricky. A one click tool with some temples could make this to a standard player for real Amigas.
|
10 June 2020, 16:07 | #176 |
Registered User
Join Date: Jan 2020
Location: oslo/norway
Posts: 1,609
|
About AutoCropy. I tried it and I was thinking it removed the black bars so the video became 4:3 but I guess it is not for that? Looking at the files after using it I think it went from 1920*1080 to 1920*1072
|
15 June 2020, 06:49 | #177 |
Registered User
Join Date: Nov 2016
Location: USA
Posts: 134
|
|
15 June 2020, 07:08 | #178 | |
Registered User
Join Date: Nov 2016
Location: USA
Posts: 134
|
Quote:
Isn't it possible to configure Amiga OS to click a file and invoke an application with the selected file as argument? Alternatively, when I type agablaster <TAB>, Amiga OS 3.9 brings up a file requester, then I click the file and it plays the video. Not exactly as you describe it, but close. |
|
15 June 2020, 07:49 | #179 | |
Registered User
Join Date: Nov 2016
Location: USA
Posts: 134
|
Quote:
Cropping left/right bars can be done as well, but are those black in your video? However, the following line should do that: ffmpeg -i MYVIDEO.mp4 -filter:v "crop=in_w-484:1080" -c:a copy MY_CROPPED_VIDEO.mp4 This crops it to 1436x1080. That's a fixed crop size. In contrast, the trick with autocropy is that it automatically figures out the height of those black bars at top and bottom (they can be different depending on the original video's aspect ratio) and removes them. Note there is also the agaconv option --scale-factor=NUM. This allows to adjust the video aspect ratio, such that it displays correctly on your respective monitor setup. If it doesn't look "too wrong" don't mind, but if the height appears too small, that's the easiest way to adjust it. It keeps the width (option --width) fixed and scales the y-axis to meet the provided scale-factor. |
|
15 June 2020, 13:16 | #180 |
Registered User
Join Date: Jan 2020
Location: oslo/norway
Posts: 1,609
|
movec: Thank you for the explanation and the job you are doing on this.
|
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 |
|
|