On 12.03.2021 16:14, Patrick Ecord wrote:
Tried that and ran configure and it failed with Option '--ptx (-ptx)' is not allowed when compiling for multiple GPU architectures"So I removed the `-ptx` flag and I was able to run configure and make and make install without any errors.
FFmpeg embeds the ptx assembly code. Removing the -ptx option WILL breaks any and all CUDA filters.
Tested by converting Big Buck Bunny and it played fine. ffmpeg -y -vsync 0 -hwaccel cuda -hwaccel_output_format cuda -i ./Big_Buck_Bunny_1080_10s_30MB.mp4 -c:a copy -c:v h264_nvenc -b:v 5M output.mp4
This only works because you are not actually using any CUDA filters. There is zero need for nvcc support for that commandline.On top of that, just use clang and don't bother with the Nvidia SDK unless you are developing filters.
smime.p7s
Description: S/MIME Cryptographic Signature
_______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".