Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NVENC #81

Open
Zalewa opened this issue Jun 26, 2018 · 5 comments
Open

NVENC #81

Zalewa opened this issue Jun 26, 2018 · 5 comments

Comments

@Zalewa
Copy link
Collaborator

Zalewa commented Jun 26, 2018

NVENC is NVidia's hardware encoder that supports H264 and HEVC. It would be neat if ffmpeg was built with --enable-nvenc option so that this encoder can be used in the resulting build.

I already made attempts to enable this and in its current status ffmpeg does compile with --enable-nvenc, the nvenc_hevc and nvenc_h264 encoders are available, but if you try to use them in the static build it results in a segmentation fault. The encoders work fine when the --static ldexeflag is removed, but then the build is dynamic.

@turbomettwurst
Copy link

not sure, i think it is impossible to statically link stuff that is available as a blob only.

Could be mistaken, and if i am, i'd greatly want a static nvenc binary as well :-)

@Zalewa
Copy link
Collaborator Author

Zalewa commented Jul 2, 2018

not sure, i think it is impossible to statically link stuff that is available as a blob only.

Could be mistaken, and if i am, i'd greatly want a static nvenc binary as well :-)

In case if nvenc can't work in static build, configure should at least make an attempt to detect that we're doing a static build and deny with appropriate error message.

Either way, this will have to be fixed upstream. If no one picks this up I'll eventually get around to doing it, I just have lots of other stuff going on right now.

@ransagy
Copy link

ransagy commented Jan 20, 2020

Was this ever revisited? I find myself in the same situation of battling my way to get a static ffmpeg build with nvenc.

@itsTyrion
Copy link

I have no idea. I have this static build that includes all the nvidia stuff from here but I have no idea how it was made
image

@ivo95v
Copy link

ivo95v commented Apr 19, 2023

Did someone reslove the issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants