CUDA CUVID H264/HEVC decoder

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

CUDA CUVID H264/HEVC decoder

Saelis
This post was updated on .
Hi,

I've seen "CUDA CUVID H264/HEVC decoder" in changelog of ffmpeg 3.1
I'm already using nvidia card (GTX 1080 with Pascal architecture) to do some h264_nvenc and h265_nvenc encodes with version 3.1, works great, but how can I leverage my GPU to decode h264/hevc input files ?

Could not find any documentation on the options to use for that.

Manny thanks in advance

Saelis
Reply | Threaded
Open this post in threaded view
|

Re: CUDA CUVID H264/HEVC decoder

Moritz Barsnick
On Fri, Jul 22, 2016 at 07:39:07 -0700, Saelis wrote:
> I leverage my GPU to decode h264/hevc input files ?

First of all, your compile of ffmpeg needs to support cuvid decoding.
$ ffmpeg -decoders | grep cuvid
which could yield: h264_cuvid hevc_cuvid vc1_cuvid vp8_cuvid vp9_cuvid

You would then force ffmpeg to use one of these decoders instead of the
default one:

$ ffmpeg -c:v hevc_cuvid -i h265_file.mkv [...]

I don't have cuvid, so this is all in theory and from looking at the
source. These decoders don't seem to have options either, which you
could verify by issuing:

$ ffmpeg -h decoder=hevc_cuvid

(BTW, this will always show you even undocumented options.)

HTH,
Moritz
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

crop down to reduce size (for streaming)

Jens Kallup
Hello,

I want to crop down my desktop stream under Linux
ATM: It is 1200x1000x24.
This definitve to many (data) for streaming.
So, how to crop down like:
500x400x16

without pixellize the output.

Jens
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

[OT] netiquette (was: crop down to reduce size (for streaming))

Peter White
Jens Kallup wrote:
> Hello,
>
> I want to crop down my desktop stream under Linux
> ATM: It is 1200x1000x24.

Please open a new topic for this. You just replied to a totally
unrealted message. That's called hijacking and is rather frowned upon.
Also, this is not the first time you did this.

https://ffmpeg.org/contact.html

You did not even bother to read the very first sentence.
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: CUDA CUVID H264/HEVC decoder

Saelis
In reply to this post by Moritz Barsnick
Hi Moritz,

Thanks for your help. I confirm that it works !