Skip to main content

Questions tagged [nvenc]

Nvidia's dedicated H.264, HEVC hardware on the GPU chip that performs video encoding.

Filter by
Sorted by
Tagged with
1 vote
0 answers
304 views

Why does ffmpeg fail to "convert between the formats" with hevc_nvenc when I'm not doing video filtering?

I'm doing some nvidia GPU hevc transcoding to get stuff done at faster speeds. Most of the ~2000 titles that I'm transcoding work fine, but a handful are failing like Impossible to convert between the ...
Ryan Stewart's user avatar
1 vote
0 answers
97 views

ffmpeg QP: AMD Radeon (Vega7) hevc_vaapi results in lager files than hevc_nvenc - why?

I've switched from an RTX 3070 to an AMD Radeon Vega7 APU (4600G/5600G). I'm trying to tweak the ffmpeg parameters, so that the transcode output results in a similar quality AND file size. hevc_vaapi ...
Jaek Farce's user avatar
1 vote
0 answers
29 views

Are video encoders specialized for certain resolutions?

I have wondered if the encoders used by tools like ffpmeg and hardware encoders like NVENC are more efficient for common resolutions like 1920x1080. I've done a few informal tests with a variety of ...
qwr's user avatar
  • 226
1 vote
1 answer
1k views

FFmpeg/nvenc(cuda): Where is the documentation for h264_nvenc encoder?

I'm trying to use Nvidia's h264_nvenc video encoder with ffmpeg but I can't find a single source of documentation for it. I want to know what options are supported and what they do. The software ...
bemo's user avatar
  • 113
2 votes
3 answers
10k views

Is there a way to improve h264_nvenc output quality?

I'm compressing some videos for archiving, and I came to this configuration which gives me a nice overall quality on a small size: ffmpeg -threads 4 -y -hide_banner -i input.mp4 -vf scale=-2:480 -c:v ...
user avatar
2 votes
0 answers
335 views

Best way to handle stream with ffmpeg and GPU

So in my project, I need to capture a video stream, decode the video, run the individual frames through an object detection algorithm and then play the output as a video. This whole operation is ...
user3105173's user avatar
1 vote
0 answers
704 views

FFmpeg NVENC rtsp stream encoding freezes randomly

In some executions of the following command, ffmpeg freezes at certain time and after some minutes starts to encode the stream again. The problem don't happen always. The stream server is an avigilon ...
Vitor Silva de Deus's user avatar
3 votes
1 answer
140 views

Nvenc produces corrupted video

Someone knows how to solve this? Hardware: DRIVER: 396.24 CPU: Ryzen 1700 GPU: Nvidia MSI 1050 TI Settings
Adrian Lopez's user avatar
1 vote
1 answer
49 views

Getting gray instead of white when recording screen activity

I am recording from screen however, the video when recording with a recording program, (screen around cursor mode) gets grayish why? Video settings are H264 - NVENC (VBR) 30 fps, 100q
Anders Lindén's user avatar
2 votes
1 answer
2k views

Does FFMPEG benefit from SLI when using h264_nvenc?

I need to pass a very large amount of video through ffmpeg to be encoded to h264. I've figured out my processing workflow and am happy with the results. The machine is currently sporting one GTX1070. ...
equinoxe5's user avatar
  • 133
3 votes
2 answers
6k views

How to ignore certain type of streams (mjpeg) while encoding videos in ffmpeg

I've several mkv files which have streams similar following. These files may have more than one audio stream and/or subtitles e.t.c. But my problem is mjpeg streams. Stream #0:0 -> #0:0 (h264 (...
Ergec's user avatar
  • 135
2 votes
0 answers
4k views

Slow ffmpeg h264 performance software and NVENC

Platform: x79 i7 3970x @4.3GHz 64gb, GTX 1060 6gb, Windows 10. I have a bunch of jpegs I need to scale and encode. ffmpeg -f concat -safe 0 -i file.list -vf scale=1920:1440 -c:v h264 -b:v 5M name....
is_this_taken's user avatar
1 vote
2 answers
8k views

How to stop ffmpeg from interlacing when converting from m2ts to mkv

I have a m2ts video file that contains a h264 video stream and an ac3 audio stream. The quality is not the best, but it is okay, but converting it with ffmpeg without any additional options makes the ...
Jan Christian Grünhage's user avatar
5 votes
1 answer
10k views

ffmpeg transcoding H264 interlaced and keep interlacing via H264_NVENC codec

I have the following interlaced H264 file: Stream #0:0[0x335]: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p(tv, bt470bg, top first), 720x576 [SAR 16:11 DAR 20:11], 25 fps, 50 tbr, 90k ...
Ivan Kolesnikov's user avatar
5 votes
2 answers
11k views

NVENC_HEVC Encoding making my files larger

I got a new Nvidia GPU to speed up my video encoding. I am working with x264 files to x265 and wanted to go faster. Using the library libx265 I am getting about 85fps when working on a file that is ...
Alan's user avatar
  • 191
5 votes
2 answers
3k views

How many NVIDIA NVENC engines a particular GPU have?

There is a NVIDIA VIDEO CODEC SDK APPLICATION NOTE - ENCODER in which we can read the following: While Kepler and first generation Maxwell GPUs had one NVENC engine, certain variants of the ...
Sergey's user avatar
  • 126
2 votes
1 answer
1k views

How to encode from Premiere using nvenc Nvidia codec but still output to mp4/avi

Using Nvidia's gpu accelerated codecs to encode videos is a massive time saver, it brings my encoding times down from 2 hours to 2 minutes with pascal GPU's however the problem with the codec that I ...
Ironbelly Studios's user avatar
3 votes
0 answers
4k views

Desktop grabbing with FFmpeg at 60 fps using NVENC codec

I'm having trouble recording my desktop at 60FPS using the latest Windows compiled FFmpeg with NVENC codec. Metadata says the file is 60 fps but when I play it, I can see clearly see it is not 60FPS. ...
Akatosh's user avatar
  • 131
7 votes
2 answers
9k views

what graphics card features effect NVIDIA NVENC hardware encoding speed?

I have a web project I am working on that requires transcoding of multiple short video clips (6-10 seconds) uploaded by users into a web friendly H.264 format on my linux server. I have been able to ...
user255406's user avatar