Re: [FFmpeg-user] ddagrab

2023-02-20 Thread Michael Koch

Am 20.02.2023 um 15:50 schrieb Michael Koch:

Am 20.02.2023 um 15:46 schrieb Gyan Doshi:



On 2023-02-20 07:58 pm, Michael Koch wrote:

Am 20.02.2023 um 15:18 schrieb Gyan Doshi:


On 2023-02-20 07:33 pm, Michael Koch wrote:

Am 20.02.2023 um 14:54 schrieb Gyan Doshi:



On 2023-02-20 07:15 pm, Michael Koch wrote:

Am 20.02.2023 um 14:29 schrieb Gyan Doshi:



On 2023-02-20 06:27 pm, Michael Koch wrote:

Am 20.02.2023 um 13:50 schrieb Gyan Doshi:



On 2023-02-20 06:03 pm, Michael Koch wrote:

Hello,

I'm testing the ddagrab filter with the example from the 
documentation. I did only add -t 10 -y, but that can't be 
the problem.


ffmpeg -f lavfi -i ddagrab -c:v h264_nvenc -cq 18 -t 10 -y 
out.mp4


What does this error message mean?
[h264_nvenc @ 01f5f7bbf980] OpenEncodeSessionEx failed: 
no encode device (1): (no details)


Works here. Could be a driver issue - try reverting.


It did not work woth the older driver either. That's why I 
updated the driver today.


1) Try older builds, say, a month or two older.


Do you mean older builds of FFmpeg, or older Nvidia driver?


Older ffmpeg builds.


I will do that later.


From System Information, what is the OS version?


Windows 10 Home
Version 22H2
OS build 19045.2604



From dxdiag, what is the DirectX version?



DirectX 12


Ok, don't see any obvious issues.

One last try: run the cmd with -cq removed.


same problem.


I opened ticket 10205.

Michael

___
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] ddagrab

2023-02-20 Thread Michael Koch

Am 20.02.2023 um 15:46 schrieb Gyan Doshi:



On 2023-02-20 07:58 pm, Michael Koch wrote:

Am 20.02.2023 um 15:18 schrieb Gyan Doshi:


On 2023-02-20 07:33 pm, Michael Koch wrote:

Am 20.02.2023 um 14:54 schrieb Gyan Doshi:



On 2023-02-20 07:15 pm, Michael Koch wrote:

Am 20.02.2023 um 14:29 schrieb Gyan Doshi:



On 2023-02-20 06:27 pm, Michael Koch wrote:

Am 20.02.2023 um 13:50 schrieb Gyan Doshi:



On 2023-02-20 06:03 pm, Michael Koch wrote:

Hello,

I'm testing the ddagrab filter with the example from the 
documentation. I did only add -t 10 -y, but that can't be the 
problem.


ffmpeg -f lavfi -i ddagrab -c:v h264_nvenc -cq 18 -t 10 -y 
out.mp4


What does this error message mean?
[h264_nvenc @ 01f5f7bbf980] OpenEncodeSessionEx failed: 
no encode device (1): (no details)


Works here. Could be a driver issue - try reverting.


It did not work woth the older driver either. That's why I 
updated the driver today.


1) Try older builds, say, a month or two older.


Do you mean older builds of FFmpeg, or older Nvidia driver?


Older ffmpeg builds.


I will do that later.


From System Information, what is the OS version?


Windows 10 Home
Version 22H2
OS build 19045.2604



From dxdiag, what is the DirectX version?



DirectX 12


Ok, don't see any obvious issues.

One last try: run the cmd with -cq removed.


same problem.

Michael

___
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] ddagrab

2023-02-20 Thread Gyan Doshi




On 2023-02-20 07:58 pm, Michael Koch wrote:

Am 20.02.2023 um 15:18 schrieb Gyan Doshi:


On 2023-02-20 07:33 pm, Michael Koch wrote:

Am 20.02.2023 um 14:54 schrieb Gyan Doshi:



On 2023-02-20 07:15 pm, Michael Koch wrote:

Am 20.02.2023 um 14:29 schrieb Gyan Doshi:



On 2023-02-20 06:27 pm, Michael Koch wrote:

Am 20.02.2023 um 13:50 schrieb Gyan Doshi:



On 2023-02-20 06:03 pm, Michael Koch wrote:

Hello,

I'm testing the ddagrab filter with the example from the 
documentation. I did only add -t 10 -y, but that can't be the 
problem.


ffmpeg -f lavfi -i ddagrab -c:v h264_nvenc -cq 18 -t 10 -y 
out.mp4


What does this error message mean?
[h264_nvenc @ 01f5f7bbf980] OpenEncodeSessionEx failed: no 
encode device (1): (no details)


Works here. Could be a driver issue - try reverting.


It did not work woth the older driver either. That's why I 
updated the driver today.


1) Try older builds, say, a month or two older.


Do you mean older builds of FFmpeg, or older Nvidia driver?


Older ffmpeg builds.


I will do that later.


From System Information, what is the OS version?


Windows 10 Home
Version 22H2
OS build 19045.2604



From dxdiag, what is the DirectX version?



DirectX 12


Ok, don't see any obvious issues.

One last try: run the cmd with -cq removed.

Regards,
Gyan

___
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] ddagrab

2023-02-20 Thread Michael Koch

Am 20.02.2023 um 15:18 schrieb Gyan Doshi:


On 2023-02-20 07:33 pm, Michael Koch wrote:

Am 20.02.2023 um 14:54 schrieb Gyan Doshi:



On 2023-02-20 07:15 pm, Michael Koch wrote:

Am 20.02.2023 um 14:29 schrieb Gyan Doshi:



On 2023-02-20 06:27 pm, Michael Koch wrote:

Am 20.02.2023 um 13:50 schrieb Gyan Doshi:



On 2023-02-20 06:03 pm, Michael Koch wrote:

Hello,

I'm testing the ddagrab filter with the example from the 
documentation. I did only add -t 10 -y, but that can't be the 
problem.


ffmpeg -f lavfi -i ddagrab -c:v h264_nvenc -cq 18 -t 10 -y out.mp4

What does this error message mean?
[h264_nvenc @ 01f5f7bbf980] OpenEncodeSessionEx failed: no 
encode device (1): (no details)


Works here. Could be a driver issue - try reverting.


It did not work woth the older driver either. That's why I 
updated the driver today.


1) Try older builds, say, a month or two older.


Do you mean older builds of FFmpeg, or older Nvidia driver?


Older ffmpeg builds.


I will do that later.


From System Information, what is the OS version?


Windows 10 Home
Version 22H2
OS build 19045.2604



From dxdiag, what is the DirectX version?



DirectX 12


___
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] ddagrab

2023-02-20 Thread Michael Koch

Am 20.02.2023 um 14:54 schrieb Gyan Doshi:



On 2023-02-20 07:15 pm, Michael Koch wrote:

Am 20.02.2023 um 14:29 schrieb Gyan Doshi:



On 2023-02-20 06:27 pm, Michael Koch wrote:

Am 20.02.2023 um 13:50 schrieb Gyan Doshi:



On 2023-02-20 06:03 pm, Michael Koch wrote:

Hello,

I'm testing the ddagrab filter with the example from the 
documentation. I did only add -t 10 -y, but that can't be the 
problem.


ffmpeg -f lavfi -i ddagrab -c:v h264_nvenc -cq 18 -t 10 -y out.mp4

What does this error message mean?
[h264_nvenc @ 01f5f7bbf980] OpenEncodeSessionEx failed: no 
encode device (1): (no details)


Works here. Could be a driver issue - try reverting.


It did not work woth the older driver either. That's why I updated 
the driver today.


1) Try older builds, say, a month or two older.


Do you mean older builds of FFmpeg, or older Nvidia driver?


Older ffmpeg builds.


FFmpeg build from December 15th has the same problem, but one more error 
message at the end:


C:\Users\astro\Desktop\test_333>ffmpeg -f lavfi -i ddagrab -c:v 
h264_nvenc -v 40 -cq 18 -t 10 -y out.mp4
ffmpeg version 2022-12-15-git-9adf02247c-full_build-www.gyan.dev 
Copyright (c) 2000-2022 the FFmpeg developers

  built with gcc 12.1.0 (Rev2, Built by MSYS2 project)
  configuration: --enable-gpl --enable-version3 --enable-static 
--disable-w32threads --disable-autodetect --enable-fontconfig 
--enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp 
--enable-bzlib --enable-lzma --enable-libsnappy --enable-zlib 
--enable-librist --enable-libsrt --enable-libssh --enable-libzmq 
--enable-avisynth --enable-libbluray --enable-libcaca --enable-sdl2 
--enable-libaribb24 --enable-libdav1d --enable-libdavs2 
--enable-libuavs3d --enable-libzvbi --enable-librav1e --enable-libsvtav1 
--enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs2 
--enable-libxvid --enable-libaom --enable-libjxl --enable-libopenjpeg 
--enable-libvpx --enable-mediafoundation --enable-libass --enable-frei0r 
--enable-libfreetype --enable-libfribidi --enable-liblensfun 
--enable-libvidstab --enable-libvmaf --enable-libzimg --enable-amf 
--enable-cuda-llvm --enable-cuvid --enable-ffnvcodec --enable-nvdec 
--enable-nvenc --enable-d3d11va --enable-dxva2 --enable-libvpl 
--enable-libshaderc --enable-vulkan --enable-libplacebo --enable-opencl 
--enable-libcdio --enable-libgme --enable-libmodplug --enable-libopenmpt 
--enable-libopencore-amrwb --enable-libmp3lame --enable-libshine 
--enable-libtheora --enable-libtwolame --enable-libvo-amrwbenc 
--enable-libilbc --enable-libgsm --enable-libopencore-amrnb 
--enable-libopus --enable-libspeex --enable-libvorbis --enable-ladspa 
--enable-libbs2b --enable-libflite --enable-libmysofa 
--enable-librubberband --enable-libsoxr --enable-chromaprint

  libavutil  57. 43.100 / 57. 43.100
  libavcodec 59. 55.100 / 59. 55.100
  libavformat    59. 34.102 / 59. 34.102
  libavdevice    59.  8.101 / 59.  8.101
  libavfilter 8. 52.100 /  8. 52.100
  libswscale  6.  8.112 /  6.  8.112
  libswresample   4.  9.100 /  4.  9.100
  libpostproc    56.  7.100 / 56.  7.100
[Parsed_ddagrab_0 @ 01849a735440] Created internal hw_device_ctx
[Parsed_ddagrab_0 @ 01849a735440] Opened dxgi output 0 with 
dimensions 1920x1080

[Parsed_ddagrab_0 @ 01849a735440] Updated pointer shape texture
[Parsed_ddagrab_0 @ 01849a735440] Probed 8 bit RGB frame format
Input #0, lavfi, from 'ddagrab':
  Duration: N/A, start: 0.01, bitrate: N/A
  Stream #0:0: Video: wrapped_avframe, 1 reference frame, d3d11, 
1920x1080 [SAR 1:1 DAR 16:9], 30 fps, 30 tbr, 1000k tbn

Stream mapping:
  Stream #0:0 -> #0:0 (wrapped_avframe (native) -> h264 (h264_nvenc))
Press [q] to stop, [?] for help
[graph 0 input from stream 0:0 @ 01849a7a4840] w:1920 h:1080 
pixfmt:d3d11 tb:1/100 fr:30/1 sar:1/1
[h264_nvenc @ 01849a73f880] Using input frames context (format 
d3d11) with h264_nvenc encoder.

[h264_nvenc @ 01849a73f880] Loaded Nvenc version 12.0
[h264_nvenc @ 01849a73f880] Nvenc initialized successfully
[h264_nvenc @ 01849a73f880] OpenEncodeSessionEx failed: no encode 
device (1): (no details)

[h264_nvenc @ 01849a73f880] Nvenc unloaded
Error initializing output stream 0:0 -- Error while opening encoder for 
output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, 
width or height
[AVIOContext @ 01849a79afc0] Statistics: 0 bytes written, 0 seeks, 0 
writeouts

Terminating demuxer thread 0
Conversion failed!

___
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] ddagrab

2023-02-20 Thread Gyan Doshi



On 2023-02-20 07:33 pm, Michael Koch wrote:

Am 20.02.2023 um 14:54 schrieb Gyan Doshi:



On 2023-02-20 07:15 pm, Michael Koch wrote:

Am 20.02.2023 um 14:29 schrieb Gyan Doshi:



On 2023-02-20 06:27 pm, Michael Koch wrote:

Am 20.02.2023 um 13:50 schrieb Gyan Doshi:



On 2023-02-20 06:03 pm, Michael Koch wrote:

Hello,

I'm testing the ddagrab filter with the example from the 
documentation. I did only add -t 10 -y, but that can't be the 
problem.


ffmpeg -f lavfi -i ddagrab -c:v h264_nvenc -cq 18 -t 10 -y out.mp4

What does this error message mean?
[h264_nvenc @ 01f5f7bbf980] OpenEncodeSessionEx failed: no 
encode device (1): (no details)


Works here. Could be a driver issue - try reverting.


It did not work woth the older driver either. That's why I updated 
the driver today.


1) Try older builds, say, a month or two older.


Do you mean older builds of FFmpeg, or older Nvidia driver?


Older ffmpeg builds.


I will do that later.


From System Information, what is the OS version?
From dxdiag, what is the DirectX version?

Gyan
___
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] ddagrab

2023-02-20 Thread Michael Koch

Am 20.02.2023 um 14:54 schrieb Gyan Doshi:



On 2023-02-20 07:15 pm, Michael Koch wrote:

Am 20.02.2023 um 14:29 schrieb Gyan Doshi:



On 2023-02-20 06:27 pm, Michael Koch wrote:

Am 20.02.2023 um 13:50 schrieb Gyan Doshi:



On 2023-02-20 06:03 pm, Michael Koch wrote:

Hello,

I'm testing the ddagrab filter with the example from the 
documentation. I did only add -t 10 -y, but that can't be the 
problem.


ffmpeg -f lavfi -i ddagrab -c:v h264_nvenc -cq 18 -t 10 -y out.mp4

What does this error message mean?
[h264_nvenc @ 01f5f7bbf980] OpenEncodeSessionEx failed: no 
encode device (1): (no details)


Works here. Could be a driver issue - try reverting.


It did not work woth the older driver either. That's why I updated 
the driver today.


1) Try older builds, say, a month or two older.


Do you mean older builds of FFmpeg, or older Nvidia driver?


Older ffmpeg builds.


I will do that later.




Also rerun ddagrab cmd with -v 40 and paste full log.


C:\Users\astro\Desktop\test_333>ffmpeg -f lavfi -i ddagrab -c:v 
h264_nvenc -v 40 -cq 18 -t 10 -y out.mp4
ffmpeg version 2023-02-19-git-2aec86695a-full_build-www.gyan.dev 
Copyright (c) 2000-2023 the FFmpeg developers

  built with gcc 12.2.0 (Rev10, Built by MSYS2 project)
  configuration: --enable-gpl --enable-version3 --enable-static 
--disable-w32threads --disable-autodetect --enable-fontconfig 
--enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp 
--enable-bzlib --enable-lzma --enable-libsnappy --enable-zlib 
--enable-librist --enable-libsrt --enable-libssh --enable-libzmq 
--enable-avisynth --enable-libbluray --enable-libcaca --enable-sdl2 
--enable-libaribb24 --enable-libdav1d --enable-libdavs2 
--enable-libuavs3d --enable-libzvbi --enable-librav1e --enable-libsvtav1 
--enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs2 
--enable-libxvid --enable-libaom --enable-libjxl --enable-libopenjpeg 
--enable-libvpx --enable-mediafoundation --enable-libass --enable-frei0r 
--enable-libfreetype --enable-libfribidi --enable-liblensfun 
--enable-libvidstab --enable-libvmaf --enable-libzimg --enable-amf 
--enable-cuda-llvm --enable-cuvid --enable-ffnvcodec --enable-nvdec 
--enable-nvenc --enable-d3d11va --enable-dxva2 --enable-libvpl 
--enable-libshaderc --enable-vulkan --enable-libplacebo --enable-opencl 
--enable-libcdio --enable-libgme --enable-libmodplug --enable-libopenmpt 
--enable-libopencore-amrwb --enable-libmp3lame --enable-libshine 
--enable-libtheora --enable-libtwolame --enable-libvo-amrwbenc 
--enable-libilbc --enable-libgsm --enable-libopencore-amrnb 
--enable-libopus --enable-libspeex --enable-libvorbis --enable-ladspa 
--enable-libbs2b --enable-libflite --enable-libmysofa 
--enable-librubberband --enable-libsoxr --enable-chromaprint

  libavutil  58.  3.100 / 58.  3.100
  libavcodec 60.  4.100 / 60.  4.100
  libavformat    60.  4.100 / 60.  4.100
  libavdevice    60.  2.100 / 60.  2.100
  libavfilter 9.  4.100 /  9.  4.100
  libswscale  7.  2.100 /  7.  2.100
  libswresample   4. 11.100 /  4. 11.100
  libpostproc    57.  2.100 / 57.  2.100
[Parsed_ddagrab_0 @ 01ff3f058c00] Created internal hw_device_ctx
[Parsed_ddagrab_0 @ 01ff3f058c00] Opened dxgi output 0 with 
dimensions 1920x1080

[Parsed_ddagrab_0 @ 01ff3f058c00] Updated pointer shape texture
[Parsed_ddagrab_0 @ 01ff3f058c00] Probed 8 bit RGB frame format
Input #0, lavfi, from 'ddagrab':
  Duration: N/A, start: 0.27, bitrate: N/A
  Stream #0:0: Video: wrapped_avframe, 1 reference frame, d3d11, 
1920x1080 [SAR 1:1 DAR 16:9], 30 fps, 30 tbr, 1000k tbn

Stream mapping:
  Stream #0:0 -> #0:0 (wrapped_avframe (native) -> h264 (h264_nvenc))
Press [q] to stop, [?] for help
[graph 0 input from stream 0:0 @ 01ff3f0c4a00] w:1920 h:1080 
pixfmt:d3d11 tb:1/100 fr:30/1 sar:1/1
[h264_nvenc @ 01ff3f05fb40] Using input frames context (format 
d3d11) with h264_nvenc encoder.

[h264_nvenc @ 01ff3f05fb40] Loaded Nvenc version 12.0
[h264_nvenc @ 01ff3f05fb40] Nvenc initialized successfully
[h264_nvenc @ 01ff3f05fb40] OpenEncodeSessionEx failed: no encode 
device (1): (no details)



___
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] ddagrab

2023-02-20 Thread Gyan Doshi




On 2023-02-20 07:15 pm, Michael Koch wrote:

Am 20.02.2023 um 14:29 schrieb Gyan Doshi:



On 2023-02-20 06:27 pm, Michael Koch wrote:

Am 20.02.2023 um 13:50 schrieb Gyan Doshi:



On 2023-02-20 06:03 pm, Michael Koch wrote:

Hello,

I'm testing the ddagrab filter with the example from the 
documentation. I did only add -t 10 -y, but that can't be the 
problem.


ffmpeg -f lavfi -i ddagrab -c:v h264_nvenc -cq 18 -t 10 -y out.mp4

What does this error message mean?
[h264_nvenc @ 01f5f7bbf980] OpenEncodeSessionEx failed: no 
encode device (1): (no details)


Works here. Could be a driver issue - try reverting.


It did not work woth the older driver either. That's why I updated 
the driver today.


1) Try older builds, say, a month or two older.


Do you mean older builds of FFmpeg, or older Nvidia driver?


Older ffmpeg builds.

Also rerun ddagrab cmd with -v 40 and paste full log.

Regards,
Gyan

___
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] ddagrab

2023-02-20 Thread Michael Koch

Am 20.02.2023 um 14:29 schrieb Gyan Doshi:



On 2023-02-20 06:27 pm, Michael Koch wrote:

Am 20.02.2023 um 13:50 schrieb Gyan Doshi:



On 2023-02-20 06:03 pm, Michael Koch wrote:

Hello,

I'm testing the ddagrab filter with the example from the 
documentation. I did only add -t 10 -y, but that can't be the problem.


ffmpeg -f lavfi -i ddagrab -c:v h264_nvenc -cq 18 -t 10 -y out.mp4

What does this error message mean?
[h264_nvenc @ 01f5f7bbf980] OpenEncodeSessionEx failed: no 
encode device (1): (no details)


Works here. Could be a driver issue - try reverting.


It did not work woth the older driver either. That's why I updated 
the driver today.


1) Try older builds, say, a month or two older.


Do you mean older builds of FFmpeg, or older Nvidia driver?


2) Paste full log of working gdigrab command.


C:\Users\astro\Desktop\test_333>ffmpeg -f gdigrab -i desktop -c:v 
h264_nvenc -t 10 -y out.mp4
ffmpeg version 2023-02-19-git-2aec86695a-full_build-www.gyan.dev 
Copyright (c) 2000-2023 the FFmpeg developers

  built with gcc 12.2.0 (Rev10, Built by MSYS2 project)
  configuration: --enable-gpl --enable-version3 --enable-static 
--disable-w32threads --disable-autodetect --enable-fontconfig 
--enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp 
--enable-bzlib --enable-lzma --enable-libsnappy --enable-zlib 
--enable-librist --enable-libsrt --enable-libssh --enable-libzmq 
--enable-avisynth --enable-libbluray --enable-libcaca --enable-sdl2 
--enable-libaribb24 --enable-libdav1d --enable-libdavs2 
--enable-libuavs3d --enable-libzvbi --enable-librav1e --enable-libsvtav1 
--enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs2 
--enable-libxvid --enable-libaom --enable-libjxl --enable-libopenjpeg 
--enable-libvpx --enable-mediafoundation --enable-libass --enable-frei0r 
--enable-libfreetype --enable-libfribidi --enable-liblensfun 
--enable-libvidstab --enable-libvmaf --enable-libzimg --enable-amf 
--enable-cuda-llvm --enable-cuvid --enable-ffnvcodec --enable-nvdec 
--enable-nvenc --enable-d3d11va --enable-dxva2 --enable-libvpl 
--enable-libshaderc --enable-vulkan --enable-libplacebo --enable-opencl 
--enable-libcdio --enable-libgme --enable-libmodplug --enable-libopenmpt 
--enable-libopencore-amrwb --enable-libmp3lame --enable-libshine 
--enable-libtheora --enable-libtwolame --enable-libvo-amrwbenc 
--enable-libilbc --enable-libgsm --enable-libopencore-amrnb 
--enable-libopus --enable-libspeex --enable-libvorbis --enable-ladspa 
--enable-libbs2b --enable-libflite --enable-libmysofa 
--enable-librubberband --enable-libsoxr --enable-chromaprint

  libavutil  58.  3.100 / 58.  3.100
  libavcodec 60.  4.100 / 60.  4.100
  libavformat    60.  4.100 / 60.  4.100
  libavdevice    60.  2.100 / 60.  2.100
  libavfilter 9.  4.100 /  9.  4.100
  libswscale  7.  2.100 /  7.  2.100
  libswresample   4. 11.100 /  4. 11.100
  libpostproc    57.  2.100 / 57.  2.100
[gdigrab @ 017397686300] Capturing whole desktop as 1920x1080x32 at 
(0,0)
[gdigrab @ 017397686300] Stream #0: not enough frames to estimate 
rate; consider increasing probesize

Input #0, gdigrab, from 'desktop':
  Duration: N/A, start: 1676900136.382457, bitrate: 1988680 kb/s
  Stream #0:0: Video: bmp, bgra, 1920x1080, 1988680 kb/s, 29.97 fps, 
1000k tbr, 1000k tbn

Stream mapping:
  Stream #0:0 -> #0:0 (bmp (native) -> h264 (h264_nvenc))
Press [q] to stop, [?] for help
Output #0, mp4, to 'out.mp4':
  Metadata:
    encoder : Lavf60.4.100
  Stream #0:0: Video: h264 (Main) (avc1 / 0x31637661), 
bgra(progressive), 1920x1080, q=2-31, 2000 kb/s, 29.97 fps, 30k tbn

    Metadata:
  encoder : Lavc60.4.100 h264_nvenc
    Side data:
  cpb: bitrate max/min/avg: 0/0/200 buffer size: 400 
vbv_delay: N/A
frame=    0 fps=0.0 q=0.0 size=   0kB time=-577014:32:22.77 
bitrate=  -0.0kbits/s dup=1 drop=0 sframe=   48 fps= 25 q=36.0 size= 
256kB time=00:00:01.50 bitrate=1397.0kbits/s dup=44 drop=1 speeframe=   
63 fps= 26 q=35.0 size= 256kB time=00:00:02.00 bitrate=1047.7kbits/s 
dup=44 drop=4 speeframe=   79 fps= 27 q=32.0 size= 256kB 
time=00:00:02.53 bitrate= 827.1kbits/s dup=44 drop=4 speeframe=   94 
fps= 27 q=27.0 size= 256kB time=00:00:03.03 bitrate= 690.8kbits/s 
dup=44 drop=4 speeframe=  110 fps= 27 q=25.0 size= 512kB 
time=00:00:03.57 bitrate=1174.9kbits/s dup=44 drop=4 speeframe=  125 
fps= 28 q=20.0 size= 512kB time=00:00:04.07 bitrate=1030.5kbits/s 
dup=44 drop=4 speeframe=  141 fps= 28 q=19.0 size= 512kB 
time=00:00:04.60 bitrate= 911.0kbits/s dup=44 drop=4 speeframe=  156 
fps= 28 q=20.0 size= 512kB time=00:00:05.10 bitrate= 821.7kbits/s 
dup=44 drop=4 speeframe=  172 fps= 28 q=26.0 size= 768kB 
time=00:00:05.63 bitrate=1115.8kbits/s dup=44 drop=4 speeframe=  186 
fps= 28 q=19.0 size= 768kB time=00:00:06.10 bitrate=1030.4kbits/s 
dup=44 drop=4 speeframe=  202 fps= 28 q=14.0 size= 768kB 
time=00:00:06.63 bitrate= 947.6kbits/s dup=44 drop=4 

Re: [FFmpeg-user] ddagrab

2023-02-20 Thread Gyan Doshi




On 2023-02-20 06:27 pm, Michael Koch wrote:

Am 20.02.2023 um 13:50 schrieb Gyan Doshi:



On 2023-02-20 06:03 pm, Michael Koch wrote:

Hello,

I'm testing the ddagrab filter with the example from the 
documentation. I did only add -t 10 -y, but that can't be the problem.


ffmpeg -f lavfi -i ddagrab -c:v h264_nvenc -cq 18 -t 10 -y out.mp4

What does this error message mean?
[h264_nvenc @ 01f5f7bbf980] OpenEncodeSessionEx failed: no 
encode device (1): (no details)


Works here. Could be a driver issue - try reverting.


It did not work woth the older driver either. That's why I updated the 
driver today.


1) Try older builds, say, a month or two older.
2) Paste full log of working gdigrab command.

Regards,
Gyan

___
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] ddagrab

2023-02-20 Thread Michael Koch

Am 20.02.2023 um 13:50 schrieb Gyan Doshi:



On 2023-02-20 06:03 pm, Michael Koch wrote:

Hello,

I'm testing the ddagrab filter with the example from the 
documentation. I did only add -t 10 -y, but that can't be the problem.


ffmpeg -f lavfi -i ddagrab -c:v h264_nvenc -cq 18 -t 10 -y out.mp4

What does this error message mean?
[h264_nvenc @ 01f5f7bbf980] OpenEncodeSessionEx failed: no encode 
device (1): (no details)


Works here. Could be a driver issue - try reverting.


It did not work woth the older driver either. That's why I updated the 
driver today.


Michael

___
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] ddagrab

2023-02-20 Thread Gyan Doshi




On 2023-02-20 06:03 pm, Michael Koch wrote:

Hello,

I'm testing the ddagrab filter with the example from the 
documentation. I did only add -t 10 -y, but that can't be the problem.


ffmpeg -f lavfi -i ddagrab -c:v h264_nvenc -cq 18 -t 10 -y out.mp4

What does this error message mean?
[h264_nvenc @ 01f5f7bbf980] OpenEncodeSessionEx failed: no encode 
device (1): (no details)


Works here. Could be a driver issue - try reverting.

Regards,
Gyan

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