Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
[h264_nvenc] ERROR: Conversion failed! #25130
Comments
|
Run ffmpeg command alone to see the actual error. |
|
@dstftw It is real problem. If youtube_dl correctly transfer the commands to ffmpeg then the encoding will be without error. Output from ffmpeg
|
Checklist
Description
I try to enable h264_nvenc. First time i have tried to do it through python. my question. I could not fix error and decided to make sure that conversion through the youtube-dl.exe works. I found similar problem here and tried to do the same command.
All the time i got the error: ERROR: Conversion failed!. I found a regularity.
Render on CPU
Input:
Output:
Render on GPU
Input:
Output:
How to fix
As you can see the problem is the first command to ffmpeg.
If I start converting through the CPU and after the file 4K_UNDER_SEA_30_SECONDS_DEMO.webm is ready i interrupt the process. And then I’ll start the conversion through the GPU (Render on GPU command). Then the first command will be skipped, since the file is already ready and the second command will be executed without errors on the video card