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

No such filter: 'yadif_cuda' #42

Open
badjano opened this issue Oct 9, 2020 · 1 comment
Open

No such filter: 'yadif_cuda' #42

badjano opened this issue Oct 9, 2020 · 1 comment
Labels
question Further information is requested

Comments

@badjano
Copy link

badjano commented Oct 9, 2020

When I put this on my command line:

ffmpeg -i in.mkv -vf "hwupload_cuda,yadif_cuda=0:-1:0" -c:v h264_nvenc out.mp4

it works, but when I do this:

params = "-vf \"hwupload_cuda,yadif_cuda=0:-1:0\" -c:v h264_nvenc".split(" ")
stream = ffmpeg.read_frames(a, output_params=params)
meta = stream.__next__()
writer = ffmpeg.write_frames(out_file, meta["size"], output_params=params)

it tells me:

No such filter: 'yadif_cuda'
No such filter: 'hwupload_cuda'

any chance I might be doing something stupid?

@almarklein
Copy link
Member

That list of params will be subject to some shell escaping. Have you tried this:

params = ["-vf", "hwupload_cuda,yadif_cuda=0:-1:0", "-c:v", "h264_nvenc"]

@almarklein almarklein added the question Further information is requested label May 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants