Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
58 user(s) are online (34 user(s) are browsing Forums)

Members: 1
Guests: 57

davec555, more...

Headlines

 
  Register To Post  

« 1 ... 10 11 12 (13) 14 15 16 ... 36 »
Re: Any altivec experts? (H.264 codec)
Not too shy to talk
Not too shy to talk


See User information
@zzd10h I used this video prometheus-trailer.zip that Severin previously recommended in this thread.

Note that with feanor's patches available on github, I also get a 5% improvement on H264 decoding with 1080p videos (Prometheus and Bourne Ultimatum trailers), on my MacMini under Linux.

Go to top
Re: Any altivec experts? (H.264 codec)
Just can't stay away
Just can't stay away


See User information
@corto

Thank you Corto, I will try it later

Did you have recompiled ffmpeg for OS4 from latest Github changes ?

edit : I read your edit "MacMini under Linux"

Go to top
Re: Any altivec experts? (H.264 codec)
Quite a regular
Quite a regular


See User information
@corto
Which commandline do you use for testing?

Amiga600/Vampire2/PrismaMegaMix​/32GB CF Card/2x Rys Mk2/A604n/IndivisionECS/Gotek
Go to top
Re: Any altivec experts? (H.264 codec)
Not too shy to talk
Not too shy to talk


See User information
@zzd10h
No, I haven't recompiled it for OS4 yet, as I investigate another part of the code with tools (mainly perf, in fact) only available for Linux ...

@tommysammy
I use this command line:
./ffmpeg_g -cpuflags altivec -benchmark -i Prometheus-1080p-30s.mp4 -f null /dev/null

And really, I often run it prefixed with the perf command.

Note that just like feanor, I extracted 30 seconds from the original video, even if in my case that was not from the very beginning but after a 30-second delay:

./ffmpeg -i ~/Videos/Prometheus\ -\ Trailer.mp4 -ss 30 -t 30 -vcodec copy -acodec copy ~/Videos/Prometheus-1080p-30s.mp4

Go to top
Re: Any altivec experts? (H.264 codec)
Home away from home
Home away from home


See User information
@tommysammy

Quote:
I read somewhere that there is room for optimization for graphic.library and RadeonHD driver. Maybe i am wrong.


Maybe you're thinking about UVD / VDPAU this needs Gallium.
Then there is VA API.

http://en.wikipedia.org/wiki/Video_Acceleration_API

Not in a few months, this will be lot of work, maybe 1 to 2 years if some starts working on it.

(NutsAboutAmiga)

Basilisk II for AmigaOS4
AmigaInputAnywhere
Excalibur
and other tools and apps.
Go to top
Re: Any altivec experts? (H.264 codec)
Not too shy to talk
Not too shy to talk


See User information
@all

Can some external video decoder that can be plugged to PCI-E or PCI be used for decoding 1080p especially on X1000/Sam series?

E.g.

http://www.amazon.co.uk/Broadcom-BCM9 ... r-AW-VD920H/dp/B00DUTGVUG

Would this be easier solution ?

Sinan - AmigaOS4 Beta-Tester
- AmigaOne X5000
- AmigaOne A1222
- Sam460ex
Go to top
Re: Any altivec experts? (H.264 codec)
Quite a regular
Quite a regular


See User information
@SinanSam460
Yes but we need again driver for it.

Amiga600/Vampire2/PrismaMegaMix​/32GB CF Card/2x Rys Mk2/A604n/IndivisionECS/Gotek
Go to top
Re: Any altivec experts? (H.264 codec)
Not too shy to talk
Not too shy to talk


See User information
@tommysammy

Of course...But which one is less time/money consuming ?

Sinan - AmigaOS4 Beta-Tester
- AmigaOne X5000
- AmigaOne A1222
- Sam460ex
Go to top
Re: Any altivec experts? (H.264 codec)
Just can't stay away
Just can't stay away


See User information
@Corto

"http://downloads.dvdloc8.com/trailers ... metheus-trailer.zip"

wrong link

wget: unable to resolve host address `downloads.dvdloc8.com'

Go to top
Re: Any altivec experts? (H.264 codec)
Just can't stay away
Just can't stay away


See User information

AmigaOne X1000.
Radeon RX550

http://www.tinylife.org.uk/
Go to top
Re: Any altivec experts? (H.264 codec)
Just can't stay away
Just can't stay away


See User information
@ddni

Thx, it's the same than Corto send but now it works for me !

Go to top
Re: Any altivec experts? (H.264 codec)
Just popping in
Just popping in


See User information
@zzd10h

Not exactly. There is one char more at the end (%22).
Invisible char...
Cut and paste is cruel... :)

Since a lot of months without an amiga to love, I was lost.
Now I feel happiness again with a Sam Flex 800 .
Go to top
Re: Any altivec experts? (H.264 codec)
Just popping in
Just popping in


See User information
@all

(sortof)Update: I'm not at home these days for both work (and the upcoming elections), and while i do have my powerbook with me to commit the remaining patches, time is very short, I will try to commit them during the weekend, but if that doesn't succeed I'll do that on Tuesday when I return home. I still hold by my promise to work on other components of ffmpeg that I have found to be worth optimizing, regardless of the bounty.

Thanks for the understanding.

Go to top
Re: Any altivec experts? (H.264 codec)
Just can't stay away
Just can't stay away


See User information
Thanks for the update Feanor !

BTW, I know that G4's AltiVec is slightly different than AltiVec from G5/PA6T, will the optimizations be "optimized" for both SIMDs ?

--
AmigaONE X1000 and Radeon RX 560
Go to top
Re: Any altivec experts? (H.264 codec)
Just popping in
Just popping in


See User information
@K-L

I am not using any "special" Altivec instructions -in particular the problematic dst ones- which exist only on G4s, so the code should work on G5s as well, but the code is not tested yet on a 64-bit powerpc environment, so I am unsure it it will work/compile. OTOH, I understand that AmigaOS does not operate in 64-bit (yet?).

Go to top
Re: Any altivec experts? (H.264 codec)
Quite a regular
Quite a regular


See User information
@feanor
Thanks

Amiga600/Vampire2/PrismaMegaMix​/32GB CF Card/2x Rys Mk2/A604n/IndivisionECS/Gotek
Go to top
Re: Any altivec experts? (H.264 codec)
Home away from home
Home away from home


See User information
@feanor

Quote:
I am not using any "special" Altivec instructions -in particular the problematic dst ones- which exist only on G4s, so the code should work on G5s as well, but the code is not tested yet on a 64-bit powerpc environment, so I am unsure it it will work/compile. OTOH, I understand that AmigaOS does not operate in 64-bit (yet?).

Correct, AmigaOS is still 32-bit. However, the PA6T CPU in the A1-X1000 is a 64-bit CPU (like the G5).

Hans

http://hdrlab.org.nz/ - Amiga OS 4 projects, programming articles and more.
https://keasigmadelta.com/ - more of my work
Go to top
Re: Any altivec experts? (H.264 codec)
Just can't stay away
Just can't stay away


See User information
Well I was referring to this post

Quote:
VMX128 is exactly the same as AltiVec. However the instruction scheduling is a little different on G4 and G5, due to the different numbers of units for handling different things. G5 also has greater latencies and more restrictions on how many permute instructions it can pipeline. The code scheduling tools mentioned above mean you can look for these cases and simply code around them.
.

Fo example, Dnetc AltiVec client (AmigaOS version from Futaura) is slower on the PA6T clocked at 1,8Gz than a G4 clocked at 1,26 Ghz.

--
AmigaONE X1000 and Radeon RX 560
Go to top
Re: Any altivec experts? (H.264 codec)
Not too shy to talk
Not too shy to talk


See User information
@K-L
All mentioned processors (G4, G5, PA6T) use the same Altivec (VMX, in the IBM terminology) instruction set, even if the implementation is different. For example, G5 and PA6T can issue 3 instructions issued per cycle but have 2 dispatch units, sub-units. In the past, I thought that PA6T Altivec was weaker but now ... I don't know. Another interesting point to study (with the dnetc case).

@feanor
Are you sure dst instructions only exist on G4s? The G5 user mannual mentions it and the 970 has even 8 streams, instead of 4 on G4.

Go to top
Re: Any altivec experts? (H.264 codec)
Just popping in
Just popping in


See User information
@corto

I'm pretty positive that the DST instructions cause a performance hit on G5s as they were not properly implemented by IBM -for whatever reason. In the now defunct Apple Developer pages on Altivec, use of DST instructions was discouraged and the dcbz/dcbt ones were suggested instead, I can look it up in the Power ISA manual to see what the exact problem is but later today.

Go to top

  Register To Post
« 1 ... 10 11 12 (13) 14 15 16 ... 36 »

 




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




Powered by XOOPS 2.0 © 2001-2023 The XOOPS Project