Questions tagged [nvenc]
Nvidia's dedicated H.264, HEVC hardware on the GPU chip that performs video encoding.
21 questions
0 votes
1 answer
99 views
VFR input + h264_nvenc - output bitrate is based on initial frame rate when I want it to be time-based
I have 2 source files with a duration of 30 seconds and a time base of 1/1000. The first is at a constant 60fps, the second has a mixed frame rate, starting at 25fps for exactly 5 seconds then ...
0 votes
0 answers
77 views
FFmpeg NVENC: overlay_cuda filter produces jittery video
Problem: I'm trying to produce picture-in-picture videos with FFmpeg utilizing nVidia's CUDA capabilities to speed up the encoding process during the whole processing pipeline. My command processes ...
2 votes
1 answer
2k 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 ...
1 vote
0 answers
181 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 ...
1 vote
0 answers
67 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 ...
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 ...
2 votes
3 answers
13k 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 ...
2 votes
0 answers
373 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 ...
2 votes
0 answers
740 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 ...
3 votes
1 answer
173 views
Nvenc produces corrupted video
Someone knows how to solve this? Hardware: DRIVER: 396.24 CPU: Ryzen 1700 GPU: Nvidia MSI 1050 TI Settings
1 vote
1 answer
73 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
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. ...
4 votes
2 answers
7k 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 (...
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....
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 ...