Nvidia Cuda or ATI Avivo Support
I didn't see a good way to search the archives, so apologies if this has already been addressed. Is there any plans in the works for mencoder to support Nvidia CUDA acceleration or ATI Avivo acceleration? My understanding is that they both roughly do the same thing. It currently takes me almost 8 hrs to encode an average 720p HD stream from MPEG2 -> H.264, and my understanding is that you can cut that time by 50% or more with CUDA/Avivo enabled encoders. Thanks, - Jeff
On 1/4/2011 2:52 PM, Jeff Howard wrote:
It currently takes me almost 8 hrs to encode an average 720p HD stream from MPEG2 -> H.264, and my understanding is that you can cut that time by 50% or more with CUDA/Avivo enabled encoders. CUDA is used for /decoding/, not encoding.
On Tue, Jan 4, 2011 at 10:26 PM, Andrew Berg <bahamutzero8825@gmail.com> wrote:
On 1/4/2011 2:52 PM, Jeff Howard wrote:
It currently takes me almost 8 hrs to encode an average 720p HD stream from MPEG2 -> H.264, and my understanding is that you can cut that time by 50% or more with CUDA/Avivo enabled encoders. CUDA is used for /decoding/, not encoding.
CUDA can be used for encoding as well ;) That said, since mencoder is dead, it's very doubtful someone will add CUDA support to it
_______________________________________________ MEncoder-users mailing list MEncoder-users@mplayerhq.hu https://lists.mplayerhq.hu/mailman/listinfo/mencoder-users
Jeff Howard <jeffhoward001 <at> netscape.net> writes:
I didn't see a good way to search the archives, so apologies if this has already been addressed. Is there any plans in the works for mencoder to support Nvidia CUDA acceleration or ATI Avivo acceleration?
No. The right place to add would be FFmpeg, but so far nobody has sent any patches.
My understanding is that they both roughly do the same thing. It currently takes me almost 8 hrs to encode an average 720p HD stream from MPEG2 -> H.264, and my understanding is that you can cut that time by 50% or more with CUDA/Avivo enabled encoders.
Sure. Don't you think it will reduce quality by 75%? Did you try x264 --ultrafast? Carl Eugen
Hi Carl Eugen Hoyos! On 2011.01.04 at 21:34:21 +0000, Carl Eugen Hoyos wrote next:
My understanding is that they both roughly do the same thing. It currently takes me almost 8 hrs to encode an average 720p HD stream from MPEG2 -> H.264, and my understanding is that you can cut that time by 50% or more with CUDA/Avivo enabled encoders.
Sure. Don't you think it will reduce quality by 75%? Did you try x264 --ultrafast?
I'd like to post this link to prove these words - well not 75% but it really looks like with current official intel, amd and nvidia gpu-accelerated encoding solutions in windows you have to pay in quality for what you gain in speed, and the price is pretty noticeable, with CUDA being total disaster, especially. It's from fresh Sandy Bridge processors review by anadtech. http://www.anandtech.com/show/4083/the-sandy-bridge-review-intel-core-i5-260... (also it's pretty noticeable that nothing but intel 2 days fresh solution is really faster than modern multicore CPU..) -- Vladimir
On 2011.01.04 at 21:34:21 +0000, Carl Eugen Hoyos wrote next:
My understanding is that they both roughly do the same thing. It currently takes me almost 8 hrs to encode an average 720p HD stream from MPEG2 -> H.264, and my understanding is that you can cut that time by 50% or more with CUDA/Avivo enabled encoders.
Sure. Don't you think it will reduce quality by 75%? Did you try x264 --ultrafast?
On 05.01.11 01:05, Vladimir Mosgalin wrote:
I'd like to post this link to prove these words - well not 75% but it really looks like with current official intel, amd and nvidia gpu-accelerated encoding solutions in windows you have to pay in quality for what you gain in speed, and the price is pretty noticeable, with CUDA being total disaster, especially. It's from fresh Sandy Bridge processors review by anadtech.
http://www.anandtech.com/show/4083/the-sandy-bridge-review-intel-core-i5-260...
(also it's pretty noticeable that nothing but intel 2 days fresh solution is really faster than modern multicore CPU..)
this seems to be mostly problem of used algorithms, not the architecture itself, with the exception of floaint point numbers' precision. Maybe a combination of those two could be found that would be fastest without quality loss -- Matus UHLAR - fantomas, uhlar@fantomas.sk ; http://www.fantomas.sk/ Warning: I wish NOT to receive e-mail advertising to this address. Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu. WinError #98652: Operation completed successfully.
On Wed, Jan 12, 2011 at 01:15:11PM +0100, Matus UHLAR - fantomas wrote:
On 05.01.11 01:05, Vladimir Mosgalin wrote:
I'd like to post this link to prove these words - well not 75% but it really looks like with current official intel, amd and nvidia gpu-accelerated encoding solutions in windows you have to pay in quality for what you gain in speed, and the price is pretty noticeable, with CUDA being total disaster, especially. It's from fresh Sandy Bridge processors review by anadtech.
http://www.anandtech.com/show/4083/the-sandy-bridge-review-intel-core-i5-260...
(also it's pretty noticeable that nothing but intel 2 days fresh solution is really faster than modern multicore CPU..)
There's nothing in the article that suggests that that isn't just because the CPU encoder they compared against is utter crap. Actually the fact that no specific "vendor" like x264 or MainConcept is mention suggests it is, making the whole comparison pointless and invalid.
this seems to be mostly problem of used algorithms, not the architecture itself, with the exception of floaint point numbers' precision.
Video encoding doesn't need more than 16 bit precision, floating point is pointless and slow. For GPUs however the algorithms that are used are used because of the architecture, nobody knows of a H.264 encoding "algorithm" that gives good quality without running at less than half the speed on a GPU compared to the best ones running on a CPU.
Maybe a combination of those two could be found that would be fastest without quality loss
Maybe. Though my conclusion is that a lot of people seem unable to understand that parallelization is hard, and it certainly sometimes is not possible, and as such you have to consider the possibilty that a fast, good-quality GPU H.264 encoder maybe simply isn't possible (without introducing stuff that doesn't really belong in a "just-3D-graphics" GPU - which is the approach that the video decoding functionality uses - but even there encoding has the additional issue that you can't know what kind of features encoding hardware will need to be "state-of-the-art" for H.264, for decoding that doesn't change as long as the standard is the same).
participants (7)
-
Andrew Berg -
Carl Eugen Hoyos -
Grozdan -
Jeff Howard -
Matus UHLAR - fantomas -
Reimar Döffinger -
Vladimir Mosgalin