Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Video Encoding > High Efficiency Video Coding (HEVC)

Reply
 
Thread Tools Search this Thread Display Modes
Old 6th July 2021, 14:00   #1  |  Link
asarian
Registered User
 
Join Date: May 2005
Posts: 1,462
ffmpeg and hevc_nvenc?

I decided to give hevc_nvenc a try once, using ffmpeg, on a H264 stream:

Code:
ffmpeg -i test.mp4 -c:v hevc_nvenc -pix_fmt yuv420p -preset p7 -tune hq -rc:v vbr -cq:v 10 -b:v 0 -profile:v main -rc-lookahead:v 32 g:\video\test.hevc
ffmpeg reports no errors, but simply exits like after 11 frames or so. What am I missing here?
__________________
Gorgeous, delicious, deculture!
asarian is offline   Reply With Quote
Old 6th July 2021, 17:10   #2  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,277
Have you tried using a higher loglevel to see why ffmpeg exits?
__________________
Hybrid here in the forum, homepage
Selur is offline   Reply With Quote
Old 16th July 2021, 11:40   #3  |  Link
frank
Banned
 
Join Date: Oct 2001
Location: https://t.me/pump_upp
Posts: 811
Code:
ffmpeg.exe -c:v h264_cuvid -i test.mp4 -c:v hevc_nvenc ...
frank is offline   Reply With Quote
Old 19th July 2021, 08:08   #4  |  Link
asarian
Registered User
 
Join Date: May 2005
Posts: 1,462
Quote:
Originally Posted by frank View Post
Code:
ffmpeg.exe -c:v h264_cuvid -i test.mp4 -c:v hevc_nvenc ...


Thx. Looks like I forgot the decoder part.
__________________
Gorgeous, delicious, deculture!
asarian is offline   Reply With Quote
Old 16th September 2021, 09:57   #5  |  Link
Balling
Registered User
 
Join Date: Feb 2020
Posts: 541
No, you can use SW decoder. This looks like another bug. Sigh.

As for cuvid part those are really old.

Use -hwaccel cuda -hwaccel_format cuda
Balling is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 00:14.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.