On Tue, 21 Apr 2020, 00:59 Andy Sheimo, <ashe...@gmail.com> wrote: > Here is the output from nvidia-smi: > Mon Apr 20 17:56:48 2020 > > +-----------------------------------------------------------------------------+ > | NVIDIA-SMI 442.92 Driver Version: 442.92 CUDA Version: 10.2 > | > > |-------------------------------+----------------------+----------------------+ > | GPU Name TCC/WDDM | Bus-Id Disp.A | Volatile Uncorr. > ECC | > | Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute > M. | > > |===============================+======================+======================| > | 0 GeForce GTX 106... WDDM | 00000000:01:00.0 On | > N/A | > | 41% 31C P8 8W / 120W | 341MiB / 3072MiB | 0% > Default | > > +-------------------------------+----------------------+----------------------+ > > > > +-----------------------------------------------------------------------------+ > | Processes: GPU > Memory | > | GPU PID Type Process name Usage > | > > |=============================================================================| > | 0 3588 C+G Insufficient Permissions N/A > | > | 0 5432 C+G ...osoft.LockApp_cw5n1h2txyewy\LockApp.exe N/A > | > | 0 6580 C+G ...t_cw5n1h2txyewy\ShellExperienceHost.exe N/A > | > | 0 7292 C+G ...3.0.0_x64__8wekyb3d8bbwe\Calculator.exe N/A > | > | 0 11704 C+G ...AppData\Local\slack\app-4.4.2\slack.exe N/A > | > | 0 12492 C+G ...w5n1h2txyewy\InputApp\TextInputHost.exe N/A > | > | 0 13628 C+G ...\bin\cef\cef.win7x64\steamwebhelper.exe N/A > | > | 0 13888 C+G ...x64__8wekyb3d8bbwe\Microsoft.Photos.exe N/A > | > | 0 13960 C+G C:\Windows\explorer.exe N/A > | > | 0 14424 C+G ...s (x86)\DisplayFusion\DisplayFusion.exe N/A > | > | 0 15028 C+G ...mmersiveControlPanel\SystemSettings.exe N/A > | > | 0 16680 C+G ...6)\Google\Chrome\Application\chrome.exe N/A > | > | 0 17068 C+G ....110.0_x64__8wekyb3d8bbwe\YourPhone.exe N/A > | > | 0 18020 C+G ...5n1h2txyewy\StartMenuExperienceHost.exe N/A > | > | 0 18268 C+G ...dows.Search_cw5n1h2txyewy\SearchApp.exe N/A > | > > +-----------------------------------------------------------------------------+ > > 2. the build is a Zeranoe build: ffmpeg-20200417-889ad93-win64-static > > On Mon, Apr 20, 2020 at 5:51 PM Dennis Mungai <dmng...@gmail.com> wrote: > > > On Tue, 21 Apr 2020 at 00:31, Andy Sheimo <ashe...@gmail.com> wrote: > > > > > I'm trying to use the yadif_cuda deinterlace but I have not been able > to > > > get it to work. Every option I.ve tried fails, I'm pretty sure I'm > > getting > > > something wrong so I'm looking for some advice. > > > > > > Here is my version: > > > ffmpeg version git-2020-04-17-889ad93 Copyright (c) 2000-2020 the > FFmpeg > > > developers > > > built with gcc 9.3.1 (GCC) 20200328 > > > configuration: --enable-gpl --enable-version3 --enable-sdl2 > > > --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass > > > --enable-libdav1d --enable-libbluray --enable-libfreetype > > > --enable-libmp3lame --enable-libopencore-amrnb > --enable-libopencore-amrwb > > > --enable-libopenjpeg --enable-libopus --enable-libshine > > --enable-libsnappy > > > --enable-libsoxr --enable-libsrt --enable-libtheora --enable-libtwolame > > > --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 > > > --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma > > > --enable-zlib --enable-gmp --enable-libvidstab --enable-libvmaf > > > --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa > > > --enable-libspeex --enable-libxvid --enable-libaom --disable-w32threads > > > --enable-libmfx --enable-ffnvcodec --enable-cuda-llvm --enable-cuvid > > > --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 > > > --enable-avisynth --enable-libopenmpt --enable-amf > > > libavutil 56. 42.102 / 56. 42.102 > > > libavcodec 58. 80.100 / 58. 80.100 > > > libavformat 58. 42.100 / 58. 42.100 > > > libavdevice 58. 9.103 / 58. 9.103 > > > libavfilter 7. 77.101 / 7. 77.101 > > > libswscale 5. 6.101 / 5. 6.101 > > > libswresample 3. 6.100 / 3. 6.100 > > > libpostproc 55. 6.100 / 55. 6.100 > > > > > > here are the commands I am using: > > > ffmpeg -loglevel debug -stats -hwaccel nvdec -hwaccel_output_format > cuda > > -i > > > "L:\Sheimo_Originals\Star Trek Into Darkness\Star Trek Into Darkness - > > > 1080p.mkv" -map 0:0 -vf yadif_cuda=0:-1:1 -c:v h264_nvenc -map 0:1 > -c:a:0 > > > eac3 -b:a:0 640k -metadata:s:a:0 title= -disposition:a:0 default -sn > > > -metadata:g title= "Star Trek Into Darkness - 1080p.mkv" > > > > > > or > > > ffmpeg -loglevel debug -stats -hwaccel nvdec -hwaccel_output_format > cuda > > -i > > > "L:\Sheimo_Originals\Star Trek Into Darkness\Star Trek Into Darkness - > > > 1080p.mkv" -map 0:0 -vf yadif_cuda=deint=interlaced -c:v h264_nvenc > -map > > > 0:1 -c:a:0 eac3 -b:a:0 640k -metadata:s:a:0 title= -disposition:a:0 > > default > > > -sn -metadata:g title= "Star Trek Into Darkness - 1080p.mkv" > > > > > > or > > > ffmpeg -loglevel debug -stats -hwaccel nvdec -hwaccel_output_format > cuda > > -i > > > "L:\Sheimo_Originals\Star Trek Into Darkness\Star Trek Into Darkness - > > > 1080p.mkv" -map 0:0 -filter:v yadif_cuda=deint=interlaced -c:v > h264_nvenc > > > -b:v 2000k -maxrate:v 6000k -rc:v vbr_hq -profile:v high > > -color_primaries:v > > > smpte170m -color_trc:v bt709 -colorspace:v smpte170m -metadata:s:v > title= > > > -disposition:v default -map 0:1 -c:a:0 eac3 -b:a:0 640k -metadata:s:a:0 > > > title= -disposition:a:0 default -sn -metadata:g title= "Star Trek Into > > > Darkness - 1080p.mkv" > > > > > > The most common error I receive is: > > > [Parsed_yadif_cuda_0 @ 0000020bd180a2c0] > > > cu->cuModuleLoadData(&s->cu_module, vf_yadif_cuda_ptx) failed -> > > > CUDA_ERROR_INVALID_IMAGE: device kernel image is invalid > > > [Parsed_yadif_cuda_0 @ 0000020bd180a2c0] Failed to configure output pad > > on > > > Parsed_yadif_cuda_0 > > > Error reinitializing filters! > > > Failed to inject frame into filter network: Generic error in an > external > > > library > > > Error while processing the decoded data for stream #0:0 > > > > > > full log attached as output.txt > > > > > > The other common error is: > > > [auto_scaler_0 @ 0000020daa1ac880] Setting 'flags' to value 'bicubic' > > > [auto_scaler_0 @ 0000020daa1ac880] w:iw h:ih flags:'bicubic' interl:0 > > > [Parsed_yadif_cuda_0 @ 0000020da98bedc0] auto-inserting filter > > > 'auto_scaler_0' between the filter 'graph 0 input from stream 0:0' and > > the > > > filter 'Parsed_yadif_cuda_0' > > > Impossible to convert between the formats supported by the filter > 'graph > > 0 > > > input from stream 0:0' and the filter 'auto_scaler_0' > > > Error reinitializing filters! > > > Failed to inject frame into filter network: Function not implemented > > > Error while processing the decoded data for stream #0:0 > > > > > > full log attached as output2.txt. > > > > > > The second error I am pretty sure has to do with me calling some > software > > > filter in a full hardware pipeline but I am unsure what it is. I also > > heard > > > rumor of auto_scale being inserted when it doesn't need to be but I > will > > > let the experts tell me if they see that. > > > > > > My goal is to be able to use yadif_cuda so that I can keep a complete > gpu > > > pipeline. Any and all help is appreciated. Thanks > > > > > > > > Hello there, > > > > 1. Which GPU do you have? Confirm the GPU and the driver version by > running > > nvidia-smi. > > 2. How did you build ffmpeg? Did you fetch a static build from Zeranoe? > > I've seen a similar issue here on the "CUDA_ERROR_INVALID_IMAGE: device > > kernel image is invalid error" posted on this mailing list related to > > Zeranoe's builds. > > > > If that's the case, please confirm. If you built FFmpeg from source, > > describe how the binary was built. For example, if you used a build > helper > > such as https://github.com/rdp/ffmpeg-windows-build-helpers. > > > > Warm regards, > > > > Dennis. > > _______________________________________________ > > ffmpeg-user mailing list > > ffmpeg-user@ffmpeg.org > > https://ffmpeg.org/mailman/listinfo/ffmpeg-user > > > > To unsubscribe, visit link above, or email > > ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe". > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user@ffmpeg.org > https://ffmpeg.org/mailman/listinfo/ffmpeg-user > > To unsubscribe, visit link above, or email > ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Yes, that's the problem. Report this to Zeranoe's forums. If you want a working Windows build with these features, use the build helper I posted in the previous reply. Set up a Linux VM (Ubuntu is recommended) to get started. _______________________________________________ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".