Questions tagged [nvenc]

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

Filter by
Sorted by
Tagged with
0 votes
0 answers
40 views

Video/audio unsynced after transcoding live rtmp video translation

Currently, I'm trying to create a live streaming service for internal purposes of my company; The scenario of work is pretty simple: We are receiving the RTMP stream from the user(over the internet) ...
user avatar
1 vote
0 answers
19 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 ...
user avatar
  • 191
1 vote
1 answer
707 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 ...
user avatar
  • 13
1 vote
3 answers
6k 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
307 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 ...
user avatar
1 vote
0 answers
529 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 ...
user avatar
3 votes
1 answer
120 views

Nvenc produces corrupted video

Someone knows how to solve this? Hardware: DRIVER: 396.24 CPU: Ryzen 1700 GPU: Nvidia MSI 1050 TI Settings
user avatar
1 vote
1 answer
39 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
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. ...
user avatar
0 votes
2 answers
5k 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 (...
user avatar
  • 105
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....
user avatar
1 vote
2 answers
7k 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 ...
user avatar
5 votes
1 answer
8k 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 ...
user avatar
5 votes
2 answers
9k 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 ...
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 ...
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 ...
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. ...
user avatar
  • 131
6 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 ...
user avatar