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

ffmpeg6.1 cuda fail. #67

Open
Junffzz opened this issue Apr 28, 2024 · 1 comment
Open

ffmpeg6.1 cuda fail. #67

Junffzz opened this issue Apr 28, 2024 · 1 comment

Comments

@Junffzz
Copy link

Junffzz commented Apr 28, 2024

ffmpeg6.1 cuda fail.

FFmpeg Version

ffmpeg6.1

Command Line

Start-Process -Wait -FilePath ".\project_generate.exe" -PassThru -NoNewWindow -ArgumentList "--disable-all",
"--disable-autodetect", "--enable-dxva2",
"--enable-d3d11va", "--enable-cuvid",
"--enable-amf", "--enable-libmfx",
"--enable-ffnvcodec", "--enable-w32threads",
"--enable-gpl", "--enable-version3",
"--enable-avutil", "--enable-avdevice",
"--enable-avcodec", "--enable-avformat",
"--enable-swresample", "--enable-libx264",
"--enable-libx265", "--enable-libopus",
"--enable-encoder=libx264", "--enable-encoder=libx265",
"--enable-encoder=libopus", "--enable-decoder=h264",
"--enable-decoder=hevc", "--enable-decoder=libopus",
"--disable-doc", "--disable-htmlpages",
"--disable-manpages", "--disable-podpages",
"--disable-txtpages", "--disable-network",
"--enable-nvenc", "--enable-nvdec",
"--enable-encoder=h264_amf", "--enable-encoder=h264_qsv",
"--enable-encoder=h264_nvenc", "--enable-decoder=h264_cuvid",
"--enable-decoder=h264_qsv", "--enable-hwaccel=h264_d3d11va2",
"--enable-hwaccel=h264_dxva2" `

Your Environment

  • Visual Studio Version:
  • Operating System and Version:
    github workflows

Possible Fix

Invalid switch - "".
Error: Errors detected during compilation :-
error C2039: 'cuCtxGetCurrent': is not a member of 'CudaFunctions'
error C2440: 'function': cannot convert from 'CUcontext *' to 'CUresult'
Unknown error detected. See ffvs_log.txt for further details.

@Sibras
Copy link
Member

Sibras commented Apr 28, 2024

cuda is not currently supported, enabling any options that require it will result in errors such as the above

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

2 participants