Re: [FFmpeg-user] yadif-cuda issues

2020-05-23 Thread Andy Sheimo
Thanks for looking into this.

On Sat, May 23, 2020 at 12:12 AM Kyle Schwarz  wrote:

> I worked with Rodger to address this, and it's been resolved in his
> patch 'compat/cuda/ptx2c: fix BSD sed compatibility'
>
> It's sitting in the devel list, but hopefully it'll be committed soon
> to fix this.
> ___
> 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".

Re: [FFmpeg-user] yadif-cuda issues

2020-05-22 Thread Kyle Schwarz
I worked with Rodger to address this, and it's been resolved in his
patch 'compat/cuda/ptx2c: fix BSD sed compatibility'

It's sitting in the devel list, but hopefully it'll be committed soon
to fix this.
___
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".

Re: [FFmpeg-user] yadif-cuda issues

2020-05-22 Thread Kyle Schwarz
I'm able to reproduce this, and I believe it's due to building the
CUDA modules with clang.

Will update when I learn more, but thank you for the report Andy.
___
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".

Re: [FFmpeg-user] yadif-cuda issues

2020-05-22 Thread Carl Zwanzig

On 5/22/2020 9:33 AM, Kyle Schwarz wrote:

You don't even need the build script though, you could easily
cross-compile with Cygwin as you really only need the
nv-codec-headers.


MinGW-64? I've used that build ffmpeg w/ decklink and IIRC it was pretty 
much without problems once I had the necessary packages installed and the 
right configure cmd line.


"You are in a maze of twisty huge windows build systems"

z!
___
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".

Re: [FFmpeg-user] yadif-cuda issues

2020-05-22 Thread Kyle Schwarz
On Fri, May 22, 2020 at 12:21 PM Andy Sheimo  wrote:
> I've been trying those scripts and been getting errors which I have a
> ticket open on.

Roger will need to help with that, but I'd strongly recommend not
using WSL (pretty much ever) and set up a VirtualBox VM.

You don't even need the build script though, you could easily
cross-compile with Cygwin as you really only need the
nv-codec-headers.
___
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".

Re: [FFmpeg-user] yadif-cuda issues

2020-05-22 Thread Andy Sheimo
I've been trying those scripts and been getting errors which I have a
ticket open on.

On Fri, May 22, 2020 at 11:43 AM Kyle Schwarz  wrote:

> On Fri May 22 2020 at 06:44:40 Andy Sheimo  wrote:
> > I tried to report this issue to Zeranoe's forums but they have since
> closed
> > down and a message pointing to the official ffmpeg contact messages is in
> > the forums place. Could you please advise if official support for
> > Zeranoe's builds is available here or are windows users trying to use
> those
> > builds out of luck?
>
> So far I'm unable to reproduce this as apparently my GTX 1060 "is lacking
> required capabilities". I tried:
> > ffmpeg -hwaccel nvdec -hwaccel_output_format cuda -i i.mkv -vf
> yadif_cuda=0:-1:1 -c:v h264_nvenc o.mkv
>
> On Tue Apr 21 2020 at 00:43:07, Dennis Mungai 
> wrote:
> > 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.
>
> I'm not able to find other mailing list posts that contain
> "CUDA_ERROR_INVALID_IMAGE" related to the Zeranoe builds. There is however
> an
> open bug that contains it (https://trac.ffmpeg.org/ticket/8457), which is
> not
> Windows related.
>
> If this is indeed a Windows/Zeranoe issue, it's rather specific and would
> implicate my cross-compiler itself. I'll need to be able to reproduce this
> to
> confirm, but you could try Rogers build script to see if it happens there
> too.
> ___
> 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".

Re: [FFmpeg-user] yadif-cuda issues

2020-05-22 Thread Kyle Schwarz
On Fri May 22 2020 at 06:44:40 Andy Sheimo  wrote:
> I tried to report this issue to Zeranoe's forums but they have since closed
> down and a message pointing to the official ffmpeg contact messages is in
> the forums place. Could you please advise if official support for
> Zeranoe's builds is available here or are windows users trying to use those
> builds out of luck?

So far I'm unable to reproduce this as apparently my GTX 1060 "is lacking
required capabilities". I tried:
> ffmpeg -hwaccel nvdec -hwaccel_output_format cuda -i i.mkv -vf 
> yadif_cuda=0:-1:1 -c:v h264_nvenc o.mkv

On Tue Apr 21 2020 at 00:43:07, Dennis Mungai  wrote:
> 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.

I'm not able to find other mailing list posts that contain
"CUDA_ERROR_INVALID_IMAGE" related to the Zeranoe builds. There is however an
open bug that contains it (https://trac.ffmpeg.org/ticket/8457), which is not
Windows related.

If this is indeed a Windows/Zeranoe issue, it's rather specific and would
implicate my cross-compiler itself. I'll need to be able to reproduce this to
confirm, but you could try Rogers build script to see if it happens there too.
___
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".

Re: [FFmpeg-user] yadif-cuda issues

2020-05-21 Thread Andy Sheimo
I tried to report this issue to Zeranoe's forums but they have since closed
down and a message pointing to the official ffmpeg contact messages is in
the forums place. Could you please advise if official support for
Zeranoe's builds is available here or are windows users trying to use those
builds out of luck?

Thanks

On Mon, Apr 20, 2020 at 6:12 PM Andy Sheimo  wrote:

> OK will report. Thanks!
>
> On Mon, Apr 20, 2020 at 6:11 PM Dennis Mungai  wrote:
>
>> On Tue, 21 Apr 2020, 00:59 Andy Sheimo,  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  NameTCC/WDDM | Bus-IdDisp.A | Volatile
>> Uncorr.
>> > ECC |
>> > | Fan  Temp  Perf  Pwr:Usage/Cap| Memory-Usage | GPU-Util
>> Compute
>> > M. |
>> >
>> >
>> |===+==+==|
>> > |   0  GeForce GTX 106... WDDM  | :01:00.0  On |
>> >  N/A |
>> > | 41%   31CP8 8W / 120W |341MiB /  3072MiB |  0%
>> >  Default |
>> >
>> >
>> +---+--+--+
>> >
>> >
>> >
>> >
>> +-+
>> > | Processes:   GPU
>> > Memory |
>> > |  GPU   PID   Type   Process name Usage
>> >|
>> >
>> >
>> |=|
>> > |0  3588C+G   Insufficient Permissions   N/A
>> >|
>> > |0  5432C+G   ...osoft.LockApp_cw5n1h2txyewy\LockApp.exe N/A
>> >|
>> > |0  6580C+G   ...t_cw5n1h2txyewy\ShellExperienceHost.exe N/A
>> >|
>> > |0  7292C+G   ...3.0.0_x64__8wekyb3d8bbwe\Calculator.exe N/A
>> >|
>> > |0 11704C+G   ...AppData\Local\slack\app-4.4.2\slack.exe N/A
>> >|
>> > |0 12492C+G   ...w5n1h2txyewy\InputApp\TextInputHost.exe N/A
>> >|
>> > |0 13628C+G   ...\bin\cef\cef.win7x64\steamwebhelper.exe N/A
>> >|
>> > |0 13888C+G   ...x64__8wekyb3d8bbwe\Microsoft.Photos.exe N/A
>> >|
>> > |0 13960C+G   C:\Windows\explorer.exeN/A
>> >|
>> > |0 14424C+G   ...s (x86)\DisplayFusion\DisplayFusion.exe N/A
>> >|
>> > |0 15028C+G   ...mmersiveControlPanel\SystemSettings.exe N/A
>> >|
>> > |0 16680C+G   ...6)\Google\Chrome\Application\chrome.exe N/A
>> >|
>> > |0 17068C+G   110.0_x64__8wekyb3d8bbwe\YourPhone.exe N/A
>> >|
>> > |0 18020C+G   ...5n1h2txyewy\StartMenuExperienceHost.exe N/A
>> >|
>> > |0 18268C+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 
>> wrote:
>> >
>> > > On Tue, 21 Apr 2020 at 00:31, Andy Sheimo  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
>> > > > 

Re: [FFmpeg-user] yadif-cuda issues

2020-04-20 Thread Andy Sheimo
OK will report. Thanks!

On Mon, Apr 20, 2020 at 6:11 PM Dennis Mungai  wrote:

> On Tue, 21 Apr 2020, 00:59 Andy Sheimo,  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  NameTCC/WDDM | Bus-IdDisp.A | Volatile Uncorr.
> > ECC |
> > | Fan  Temp  Perf  Pwr:Usage/Cap| Memory-Usage | GPU-Util
> Compute
> > M. |
> >
> >
> |===+==+==|
> > |   0  GeForce GTX 106... WDDM  | :01:00.0  On |
> >  N/A |
> > | 41%   31CP8 8W / 120W |341MiB /  3072MiB |  0%
> >  Default |
> >
> >
> +---+--+--+
> >
> >
> >
> >
> +-+
> > | Processes:   GPU
> > Memory |
> > |  GPU   PID   Type   Process name Usage
> >|
> >
> >
> |=|
> > |0  3588C+G   Insufficient Permissions   N/A
> >|
> > |0  5432C+G   ...osoft.LockApp_cw5n1h2txyewy\LockApp.exe N/A
> >|
> > |0  6580C+G   ...t_cw5n1h2txyewy\ShellExperienceHost.exe N/A
> >|
> > |0  7292C+G   ...3.0.0_x64__8wekyb3d8bbwe\Calculator.exe N/A
> >|
> > |0 11704C+G   ...AppData\Local\slack\app-4.4.2\slack.exe N/A
> >|
> > |0 12492C+G   ...w5n1h2txyewy\InputApp\TextInputHost.exe N/A
> >|
> > |0 13628C+G   ...\bin\cef\cef.win7x64\steamwebhelper.exe N/A
> >|
> > |0 13888C+G   ...x64__8wekyb3d8bbwe\Microsoft.Photos.exe N/A
> >|
> > |0 13960C+G   C:\Windows\explorer.exeN/A
> >|
> > |0 14424C+G   ...s (x86)\DisplayFusion\DisplayFusion.exe N/A
> >|
> > |0 15028C+G   ...mmersiveControlPanel\SystemSettings.exe N/A
> >|
> > |0 16680C+G   ...6)\Google\Chrome\Application\chrome.exe N/A
> >|
> > |0 17068C+G   110.0_x64__8wekyb3d8bbwe\YourPhone.exe N/A
> >|
> > |0 18020C+G   ...5n1h2txyewy\StartMenuExperienceHost.exe N/A
> >|
> > |0 18268C+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  wrote:
> >
> > > On Tue, 21 Apr 2020 at 00:31, Andy Sheimo  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
> > > > libavformat58. 42.100 / 58. 42.100
> > > > libavdevice58.  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
> > > > libpostproc55.  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
> -
> > > > 

Re: [FFmpeg-user] yadif-cuda issues

2020-04-20 Thread Dennis Mungai
On Tue, 21 Apr 2020, 00:59 Andy Sheimo,  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  NameTCC/WDDM | Bus-IdDisp.A | Volatile Uncorr.
> ECC |
> | Fan  Temp  Perf  Pwr:Usage/Cap| Memory-Usage | GPU-Util  Compute
> M. |
>
> |===+==+==|
> |   0  GeForce GTX 106... WDDM  | :01:00.0  On |
>  N/A |
> | 41%   31CP8 8W / 120W |341MiB /  3072MiB |  0%
>  Default |
>
> +---+--+--+
>
>
>
> +-+
> | Processes:   GPU
> Memory |
> |  GPU   PID   Type   Process name Usage
>|
>
> |=|
> |0  3588C+G   Insufficient Permissions   N/A
>|
> |0  5432C+G   ...osoft.LockApp_cw5n1h2txyewy\LockApp.exe N/A
>|
> |0  6580C+G   ...t_cw5n1h2txyewy\ShellExperienceHost.exe N/A
>|
> |0  7292C+G   ...3.0.0_x64__8wekyb3d8bbwe\Calculator.exe N/A
>|
> |0 11704C+G   ...AppData\Local\slack\app-4.4.2\slack.exe N/A
>|
> |0 12492C+G   ...w5n1h2txyewy\InputApp\TextInputHost.exe N/A
>|
> |0 13628C+G   ...\bin\cef\cef.win7x64\steamwebhelper.exe N/A
>|
> |0 13888C+G   ...x64__8wekyb3d8bbwe\Microsoft.Photos.exe N/A
>|
> |0 13960C+G   C:\Windows\explorer.exeN/A
>|
> |0 14424C+G   ...s (x86)\DisplayFusion\DisplayFusion.exe N/A
>|
> |0 15028C+G   ...mmersiveControlPanel\SystemSettings.exe N/A
>|
> |0 16680C+G   ...6)\Google\Chrome\Application\chrome.exe N/A
>|
> |0 17068C+G   110.0_x64__8wekyb3d8bbwe\YourPhone.exe N/A
>|
> |0 18020C+G   ...5n1h2txyewy\StartMenuExperienceHost.exe N/A
>|
> |0 18268C+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  wrote:
>
> > On Tue, 21 Apr 2020 at 00:31, Andy Sheimo  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
> > > libavformat58. 42.100 / 58. 42.100
> > > libavdevice58.  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
> > > libpostproc55.  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
> > > 

Re: [FFmpeg-user] yadif-cuda issues

2020-04-20 Thread Andy Sheimo
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  NameTCC/WDDM | Bus-IdDisp.A | Volatile Uncorr.
ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap| Memory-Usage | GPU-Util  Compute
M. |
|===+==+==|
|   0  GeForce GTX 106... WDDM  | :01:00.0  On |
 N/A |
| 41%   31CP8 8W / 120W |341MiB /  3072MiB |  0%
 Default |
+---+--+--+


+-+
| Processes:   GPU
Memory |
|  GPU   PID   Type   Process name Usage
   |
|=|
|0  3588C+G   Insufficient Permissions   N/A
   |
|0  5432C+G   ...osoft.LockApp_cw5n1h2txyewy\LockApp.exe N/A
   |
|0  6580C+G   ...t_cw5n1h2txyewy\ShellExperienceHost.exe N/A
   |
|0  7292C+G   ...3.0.0_x64__8wekyb3d8bbwe\Calculator.exe N/A
   |
|0 11704C+G   ...AppData\Local\slack\app-4.4.2\slack.exe N/A
   |
|0 12492C+G   ...w5n1h2txyewy\InputApp\TextInputHost.exe N/A
   |
|0 13628C+G   ...\bin\cef\cef.win7x64\steamwebhelper.exe N/A
   |
|0 13888C+G   ...x64__8wekyb3d8bbwe\Microsoft.Photos.exe N/A
   |
|0 13960C+G   C:\Windows\explorer.exeN/A
   |
|0 14424C+G   ...s (x86)\DisplayFusion\DisplayFusion.exe N/A
   |
|0 15028C+G   ...mmersiveControlPanel\SystemSettings.exe N/A
   |
|0 16680C+G   ...6)\Google\Chrome\Application\chrome.exe N/A
   |
|0 17068C+G   110.0_x64__8wekyb3d8bbwe\YourPhone.exe N/A
   |
|0 18020C+G   ...5n1h2txyewy\StartMenuExperienceHost.exe N/A
   |
|0 18268C+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  wrote:

> On Tue, 21 Apr 2020 at 00:31, Andy Sheimo  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
> > libavformat58. 42.100 / 58. 42.100
> > libavdevice58.  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
> > libpostproc55.  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 - 

Re: [FFmpeg-user] yadif-cuda issues

2020-04-20 Thread Dennis Mungai
On Tue, 21 Apr 2020 at 00:31, Andy Sheimo  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
> libavformat58. 42.100 / 58. 42.100
> libavdevice58.  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
> libpostproc55.  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 @ 020bd180a2c0]
> cu->cuModuleLoadData(>cu_module, vf_yadif_cuda_ptx) failed ->
> CUDA_ERROR_INVALID_IMAGE: device kernel image is invalid
> [Parsed_yadif_cuda_0 @ 020bd180a2c0] 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 @ 020daa1ac880] Setting 'flags' to value 'bicubic'
> [auto_scaler_0 @ 020daa1ac880] w:iw h:ih flags:'bicubic' interl:0
> [Parsed_yadif_cuda_0 @ 020da98bedc0] 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-user] yadif-cuda issues

2020-04-20 Thread Andy Sheimo
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
libavformat58. 42.100 / 58. 42.100
libavdevice58.  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
libpostproc55.  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 @ 020bd180a2c0]
cu->cuModuleLoadData(>cu_module, vf_yadif_cuda_ptx) failed ->
CUDA_ERROR_INVALID_IMAGE: device kernel image is invalid
[Parsed_yadif_cuda_0 @ 020bd180a2c0] 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 @ 020daa1ac880] Setting 'flags' to value 'bicubic'
[auto_scaler_0 @ 020daa1ac880] w:iw h:ih flags:'bicubic' interl:0
[Parsed_yadif_cuda_0 @ 020da98bedc0] 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
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