Poster | Thread |
salass00
| |
SRec ZMBV codec w. altivec support - please test Posted on 12-Nov-2009 21:11:03
| | [ #1 ] |
|
|
|
Elite Member |
Joined: 31-Oct-2003 Posts: 2707
From: Finland | | |
|
| Download link: http://www.a500.org/downloads/other/srec-beta_lha.readme
I'd like some people who have G4 amiga systems running AOS 4.1 to test the above file to see if it works and also see if it's any faster than the previous version.
These are the settings to use when testing: container: AVI video codec: ZMBV fps: 10 audio codec: none
Width and height should be set to something that the cpu can handle without the cpu usage constantly being at 100% otherwise it will be hard to tell if there is a change in speed or not.
The WB screen should be set to a RGB15 or RGB16 screenmode as I haven't yet added any optimisation for ARGB32 mode. Last edited by salass00 on 13-Nov-2009 at 10:37 AM.
|
|
Status: Offline |
|
|
salass00
| |
Re: SRec ZMBV codec w. altivec support - please test Posted on 13-Nov-2009 13:32:11
| | [ #2 ] |
|
|
|
Elite Member |
Joined: 31-Oct-2003 Posts: 2707
From: Finland | | |
|
| |
Status: Offline |
|
|
broadblues
| |
Re: SRec ZMBV codec w. altivec support - please test Posted on 13-Nov-2009 15:45:17
| | [ #3 ] |
|
|
|
Amiga Developer Team |
Joined: 20-Jul-2004 Posts: 4447
From: Portsmouth England | | |
|
| @salass00
So nobody wants to test for Salass00? Shame my G4 is no longer or I would be straight off the mark!
A question:
Is there any way to show screen dragging with SRec? Currently it seems not to, just showing the contents of the front most / active screen
_________________ BroadBlues On Blues BroadBlues On Amiga Walker Broad |
|
Status: Offline |
|
|
broadblues
| |
Re: SRec ZMBV codec w. altivec support - please test Posted on 13-Nov-2009 16:00:31
| | [ #4 ] |
|
|
|
Amiga Developer Team |
Joined: 20-Jul-2004 Posts: 4447
From: Portsmouth England | | |
|
| @broadblues
Another thing: Can you make it possible to switch between mouse follow and fullscreen mode during a video? That would be very useful when making videos of stuff where alot of things happen on the same screen, but you need the zoom in effect of mouse follow for some parts.
_________________ BroadBlues On Blues BroadBlues On Amiga Walker Broad |
|
Status: Offline |
|
|
salass00
| |
Re: SRec ZMBV codec w. altivec support - please test Posted on 13-Nov-2009 16:26:08
| | [ #5 ] |
|
|
|
Elite Member |
Joined: 31-Oct-2003 Posts: 2707
From: Finland | | |
|
| @broadblues
Quote:
Another thing: Can you make it possible to switch between mouse follow and fullscreen mode during a video? That would be very useful when making videos of stuff where alot of things happen on the same screen, but you need the zoom in effect of mouse follow for some parts.
|
There's a "ZOOMKEY" tooltype setting which enables you to this. It doesn't work from the commandline interface though. You can see it being used a couple of times in this video f.e.: http://www.youtube.com/watch?v=4cubhJq-y_s |
|
Status: Offline |
|
|
K-L
| |
Re: SRec ZMBV codec w. altivec support - please test Posted on 13-Nov-2009 16:28:39
| | [ #6 ] |
|
|
|
Super Member |
Joined: 3-Mar-2006 Posts: 1427
From: Oullins, France | | |
|
| @salass00
I'll do the test since I've got a G4 bought during the Alchimie _________________ PowerMac G5 2,7Ghz - 2GB - Radeon 9650 - MorphOS 3.14 AmigaONE X1000, 2GB, Sapphire Radeon HD 7700 FPGA Replay + DB 68060 at 85Mhz |
|
Status: Offline |
|
|
K-L
| |
Re: SRec ZMBV codec w. altivec support - please test Posted on 13-Nov-2009 16:32:34
| | [ #7 ] |
|
|
|
Super Member |
Joined: 3-Mar-2006 Posts: 1427
From: Oullins, France | | |
|
| @Thred
I'm just testing in 640x480 and my CPU goes as high as 90% and I can still surf.
But te result is 730 Mb purple video without anything in it
Last edit I hope : I mad a mistake, I forgot to use ZMBV but I still get a pruple video without anythin in it. Last edited by K-L on 13-Nov-2009 at 04:36 PM. Last edited by K-L on 13-Nov-2009 at 04:35 PM. Last edited by K-L on 13-Nov-2009 at 04:33 PM.
_________________ PowerMac G5 2,7Ghz - 2GB - Radeon 9650 - MorphOS 3.14 AmigaONE X1000, 2GB, Sapphire Radeon HD 7700 FPGA Replay + DB 68060 at 85Mhz |
|
Status: Offline |
|
|
salass00
| |
Re: SRec ZMBV codec w. altivec support - please test Posted on 13-Nov-2009 16:42:19
| | [ #8 ] |
|
|
|
Elite Member |
Joined: 31-Oct-2003 Posts: 2707
From: Finland | | |
|
| @K-L
The latest MPlayer OS4 version doesn't seem to play ZMBV codec (as well as some others). Either use VLC on a PC to play the video or use FFMpegGUI to convert it to something else that MPlayer can play like f.e. mpeg4. When converting make sure that fps is set to 10 and that bitrate is set to something high enough (I use 768 kb which gives good enough quality in my experience). |
|
Status: Offline |
|
|
broadblues
| |
Re: SRec ZMBV codec w. altivec support - please test Posted on 13-Nov-2009 16:48:09
| | [ #9 ] |
|
|
|
Amiga Developer Team |
Joined: 20-Jul-2004 Posts: 4447
From: Portsmouth England | | |
|
| |
Status: Offline |
|
|
K-L
| |
Re: SRec ZMBV codec w. altivec support - please test Posted on 13-Nov-2009 16:52:19
| | [ #10 ] |
|
|
|
Super Member |
Joined: 3-Mar-2006 Posts: 1427
From: Oullins, France | | |
|
| @salass00
Ok, I converted the video and I got a weird video. All is black but the mouse pointer. I can see it moving on a black screen. _________________ PowerMac G5 2,7Ghz - 2GB - Radeon 9650 - MorphOS 3.14 AmigaONE X1000, 2GB, Sapphire Radeon HD 7700 FPGA Replay + DB 68060 at 85Mhz |
|
Status: Offline |
|
|
broadblues
| |
Re: SRec ZMBV codec w. altivec support - please test Posted on 13-Nov-2009 16:57:02
| | [ #11 ] |
|
|
|
Amiga Developer Team |
Joined: 20-Jul-2004 Posts: 4447
From: Portsmouth England | | |
|
| @salass00
I just tried to use the ZMBV protocol on my SAM-Flex (not the G4 version but the previous released version) and it came up with a reuester for z.library version > 50 The version I have in LIBS: claims to be 113.1
This version came from os4depot what version should I be using? Last edited by broadblues on 13-Nov-2009 at 04:57 PM.
_________________ BroadBlues On Blues BroadBlues On Amiga Walker Broad |
|
Status: Offline |
|
|
salass00
| |
Re: SRec ZMBV codec w. altivec support - please test Posted on 13-Nov-2009 17:01:13
| | [ #12 ] |
|
|
|
Elite Member |
Joined: 31-Oct-2003 Posts: 2707
From: Finland | | |
|
| |
Status: Offline |
|
|
salass00
| |
Re: SRec ZMBV codec w. altivec support - please test Posted on 13-Nov-2009 17:07:48
| | [ #13 ] |
|
|
|
Elite Member |
Joined: 31-Oct-2003 Posts: 2707
From: Finland | | |
|
| @K-L
Quote:
Ok, I converted the video and I got a weird video. All is black but the mouse pointer. I can see it moving on a black screen.
|
Could you try if you get the same thing with the older SRec version as well? The altivec code is taken straight from libfreevec so it should work, but I guess there might be some other issue like altivec unit not being able to access video memory in which case I may as well disable this code. Unfortunately there isn't really any other code in this codec that would benefit from altivec support. |
|
Status: Offline |
|
|
broadblues
| |
Re: SRec ZMBV codec w. altivec support - please test Posted on 13-Nov-2009 17:14:30
| | [ #14 ] |
|
|
|
Amiga Developer Team |
Joined: 20-Jul-2004 Posts: 4447
From: Portsmouth England | | |
|
| @salass00
Looks like it was some 68k thing, commant says "from pHO3N1x"
Replaced it with the new one, and it works okay. (I wonder which old app is now going to say need z.library > 100 )
Out of interest what's the advantage of ZMBV?
_________________ BroadBlues On Blues BroadBlues On Amiga Walker Broad |
|
Status: Offline |
|
|
K-L
| |
Re: SRec ZMBV codec w. altivec support - please test Posted on 13-Nov-2009 20:27:48
| | [ #15 ] |
|
|
|
Super Member |
Joined: 3-Mar-2006 Posts: 1427
From: Oullins, France | | |
|
| @salass00
With older Srec, all is ok but it's with the XviD and the RGB (after conversion to MP4) codecs since there is no ZMBV codec with older Srec. Too bad since with a G4, we can create very good videos of the system.
I'll continue my test in order to see if there is a problem elsewhere. _________________ PowerMac G5 2,7Ghz - 2GB - Radeon 9650 - MorphOS 3.14 AmigaONE X1000, 2GB, Sapphire Radeon HD 7700 FPGA Replay + DB 68060 at 85Mhz |
|
Status: Offline |
|
|
salass00
| |
Re: SRec ZMBV codec w. altivec support - please test Posted on 13-Nov-2009 20:44:29
| | [ #16 ] |
|
|
|
Elite Member |
Joined: 31-Oct-2003 Posts: 2707
From: Finland | | |
|
| |
Status: Offline |
|
|
salass00
| |
Re: SRec ZMBV codec w. altivec support - please test Posted on 13-Nov-2009 21:03:21
| | [ #17 ] |
|
|
|
Elite Member |
Joined: 31-Oct-2003 Posts: 2707
From: Finland | | |
|
| @broadblues
Quote:
Out of interest what's the advantage of ZMBV?
|
Some advantages: - Allows to store 15-, 16- and 32-bit RGB data in the same file (unfortunately it has to be in little-endian format) - It's lossless (only other lossless codec supported at the moment is RGB one) - It has compression so you don't get huge files like with the RGB codec - It supports inter frames where you xor each block in the new frame with a block from the old one then store only the the blocks that have changed (and the xored data is of course then zlib compressed) - You don't have to store frames upside down like with the RGB codec
You can read more about the format here: http://wiki.multimedia.cx/index.php?title=DosBox_Capture_Codec |
|
Status: Offline |
|
|
K-L
| |
Re: SRec ZMBV codec w. altivec support - please test Posted on 13-Nov-2009 21:34:19
| | [ #18 ] |
|
|
|
Super Member |
Joined: 3-Mar-2006 Posts: 1427
From: Oullins, France | | |
|
| @salass00
With the old version and ZBMV, all is correct. I'll try again with the G4 version.
Eidited : G4 version retested and same problem : only a black screen with the visible pointer moving around. Last edited by K-L on 13-Nov-2009 at 09:36 PM.
_________________ PowerMac G5 2,7Ghz - 2GB - Radeon 9650 - MorphOS 3.14 AmigaONE X1000, 2GB, Sapphire Radeon HD 7700 FPGA Replay + DB 68060 at 85Mhz |
|
Status: Offline |
|
|
salass00
| |
Re: SRec ZMBV codec w. altivec support - please test Posted on 13-Nov-2009 22:06:03
| | [ #19 ] |
|
|
|
Elite Member |
Joined: 31-Oct-2003 Posts: 2707
From: Finland | | |
|
| Just found something a little "funny" in the code for the libfreevec swab function: Quote:
void swab(void *srcpp, const void *dstpp, size_t len) {
const uint8_t *src = (uint8_t *)srcpp; uint8_t *dst = (uint8_t *)dstpp;
|
Note that in the function argument list the destination is declared as const while the source is not (the const is on the wrong function argument). After that the pointers are assigned to other variables (with const on the source this time) but using casts so that the code compiles without errors or warnings. |
|
Status: Offline |
|
|
salass00
| |
Re: SRec ZMBV codec w. altivec support - please test Posted on 13-Nov-2009 22:11:53
| | [ #20 ] |
|
|
|
Elite Member |
Joined: 31-Oct-2003 Posts: 2707
From: Finland | | |
|
| @K-L
I think I'll remove the altivec code then as it apparently doesn't work here. I don't think there is anything else in this codec that is able to benefit from altivec optimisation apart from if someone can provide me with an altivec optimised zlib deflate function. |
|
Status: Offline |
|
|