You are not logged in.

#1 2012-08-06 07:56:12

Xaero252
Member
Registered: 2011-11-28
Posts: 107

Cuda H.264 encoding with FFMPEG

Does anybody know how to achieve this? I've been googling around for the past hour and a half looking for a way to encode using the cuda H.264 codec.
So far, I've read that the nvidia cuda libraries come with a H.264 module, but I have not seen anything about how to put it into use yet.

Offline

#2 2012-08-06 09:19:32

Gusar
Member
Registered: 2009-08-25
Posts: 3,607

Re: Cuda H.264 encoding with FFMPEG

I'm not aware of Nvidia shipping an encoder. Can you give some links that confirm it? Maybe you're talking about using the hardware decoder to decode the original video and then encoding it with x264. That's possible, however no one has implemented it yet in Linux. The only thing that's implemented is using the hardware decoders for playback.

PS. Even if Nvidia does ship an encoder - don't bother. It very, very likely sucks. All hardware encoders suck.

Offline

#3 2012-08-06 11:27:02

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,508
Website

Re: Cuda H.264 encoding with FFMPEG

I'm only vaguely familiar with this, so if I'm missing an important part let me know.  But I have recently had to work with h264 video files, ffmpeg can both encode and decode them very well.  I've used it to convert some h264 to more common video formats.  Is this what you're shooting for, or am I missing the point?


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#4 2012-08-06 11:43:23

Gusar
Member
Registered: 2009-08-25
Posts: 3,607

Re: Cuda H.264 encoding with FFMPEG

@Trilby: You used software decoders and encoders. Xaero252 wants to use hardware ones.

Offline

#5 2012-08-07 19:17:47

sebikul
Member
Registered: 2011-05-25
Posts: 8

Re: Cuda H.264 encoding with FFMPEG

Hi! There is a really interesting article that details the current status of GPU Transcoding. I think you will find your answer there wink

Hope it helps!

Last edited by sebikul (2012-08-07 19:19:16)

Offline

Board footer

Powered by FluxBB