Guest User

ffmpeg 7 issue

a guest
Aug 8th, 2024
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.11 KB | None | 0 0
  1. Working - Not using NVDEC or NVENC
  2.  
  3. ffmpeg -init_hw_device cuda=cu:0,primary_ctx=0 -init_hw_device vulkan=vk@cu -i IMG_8057.MOV -vf:v "hwupload=derive_device=vulkan,libplacebo=tonemapping=auto:colorspace=bt709:color_primaries=bt709:color_trc=bt709:format=yuv420p:upscaler=none:downscaler=none:peak_detect=0,hwupload=derive_device=cuda,scale_cuda=format=yuv420p" -f null -
  4.  
  5. ffmpeg version 7.0.2-full_build-www.gyan.dev Copyright (c) 2000-2024 the FFmpeg developers
  6. built with gcc 13.2.0 (Rev5, Built by MSYS2 project)
  7. 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-libaribcaption --enable-libdav1d --enable-libdavs2 --enable-libuavs3d --enable-libxevd --enable-libzvbi --enable-librav1e --enable-libsvtav1 --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs2 --enable-libxeve --enable-libxvid --enable-libaom --enable-libjxl --enable-libopenjpeg --enable-libvpx --enable-mediafoundation --enable-libass --enable-frei0r --enable-libfreetype --enable-libfribidi --enable-libharfbuzz --enable-liblensfun --enable-libvidstab --enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm --enable-cuvid --enable-dxva2 --enable-d3d11va --enable-d3d12va --enable-ffnvcodec --enable-libvpl --enable-nvdec --enable-nvenc --enable-vaapi --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-libcodec2 --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
  8. libavutil 59. 8.100 / 59. 8.100
  9. libavcodec 61. 3.100 / 61. 3.100
  10. libavformat 61. 1.100 / 61. 1.100
  11. libavdevice 61. 1.100 / 61. 1.100
  12. libavfilter 10. 1.100 / 10. 1.100
  13. libswscale 8. 1.100 / 8. 1.100
  14. libswresample 5. 1.100 / 5. 1.100
  15. libpostproc 58. 1.100 / 58. 1.100
  16. Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'IMG_8057.MOV':
  17. Duration: 00:04:39.67, start: 0.000000, bitrate: 16168 kb/s
  18. Stream #0:0[0x1](und): Video: hevc (Main 10) (hvc1 / 0x31637668), yuv420p10le(tv, bt2020nc/bt2020/arib-std-b67), 1920x1080, 15953 kb/s, 29.99 fps, 30 tbr, 600 tbn (default)
  19. Metadata:
  20. creation_time : 2024-04-30T23:50:37.000000Z
  21. handler_name : Core Media Video
  22. vendor_id : [0][0][0][0]
  23. encoder : HEVC
  24. Side data:
  25. DOVI configuration record: version: 1.0, profile: 8, level: 4, rpu flag: 1, el flag: 0, bl flag: 1, compatibility id: 4
  26. displaymatrix: rotation of -90.00 degrees
  27. Ambient Viewing Environment, ambient_illuminance=314.000000, ambient_light_x=0.312700, ambient_light_y=0.329000
  28. Stream #0:1[0x2](und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 164 kb/s (default)
  29. Metadata:
  30. creation_time : 2024-04-30T23:50:37.000000Z
  31. handler_name : Core Media Audio
  32. vendor_id : [0][0][0][0]
  33. Stream #0:2[0x3](und): Data: none (mebx / 0x7862656D) (default)
  34. Metadata:
  35. creation_time : 2024-04-30T23:50:37.000000Z
  36. handler_name : Core Media Metadata
  37. Stream #0:3[0x4](und): Data: none (mebx / 0x7862656D) (default)
  38. Metadata:
  39. creation_time : 2024-04-30T23:50:37.000000Z
  40. handler_name : Core Media Metadata
  41. Stream #0:4[0x5](und): Data: none (mebx / 0x7862656D), 37 kb/s (default)
  42. Metadata:
  43. creation_time : 2024-04-30T23:50:37.000000Z
  44. handler_name : Core Media Metadata
  45. Stream mapping:
  46. Stream #0:0 -> #0:0 (hevc (native) -> wrapped_avframe (native))
  47. Stream #0:1 -> #0:1 (aac (native) -> pcm_s16le (native))
  48. Press [q] to stop, [?] for help
  49. There are 2 hardware devices. device vk of type vulkan is picked for filters by default. Set hardware device explicitly with the filter_hw_device option if device vk is not usable for filters.
  50. Last message repeated 1 times
  51. Output #0, null, to 'pipe:':
  52. Stream #0:0(und): Video: wrapped_avframe, cuda(tv, bt709, progressive), 1080x1920, q=2-31, 200 kb/s, 30 fps, 30 tbn (default)
  53. Metadata:
  54. creation_time : 2024-04-30T23:50:37.000000Z
  55. handler_name : Core Media Video
  56. vendor_id : [0][0][0][0]
  57. encoder : Lavc61.3.100 wrapped_avframe
  58. Side data:
  59. DOVI configuration record: version: 1.0, profile: 8, level: 4, rpu flag: 1, el flag: 0, bl flag: 1, compatibility id: 4
  60. displaymatrix: rotation of -0.00 degrees
  61. Ambient Viewing Environment, ambient_illuminance=314.000000, ambient_light_x=0.312700, ambient_light_y=0.329000
  62. Stream #0:1(und): Audio: pcm_s16le, 44100 Hz, stereo, s16, 1411 kb/s (default)
  63. Metadata:
  64. creation_time : 2024-04-30T23:50:37.000000Z
  65. handler_name : Core Media Audio
  66. vendor_id : [0][0][0][0]
  67. encoder : Lavc61.3.100 pcm_s16le
  68. [null @ 0000020e7759d880] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 5359 >= 5359
  69. [out#0/null @ 0000020e775961c0] video:3603KiB audio:48180KiB subtitle:0KiB other streams:0KiB global headers:0KiB muxing overhead: unknown
  70. frame= 8386 fps=293 q=-0.0 Lsize=N/A time=00:04:39.66 bitrate=N/A speed=9.77x
  71.  
  72. Not Working - Attempting to use NVDEC with the intention to pass things on to NVENC down the line:
  73.  
  74. ffmpeg -init_hw_device cuda=cu:0,primary_ctx=0 -init_hw_device vulkan=vk@cu -hwaccel cuda -hwaccel_output_format cuda -i IMG_8057.MOV -vf:v "hwupload=derive_device=vulkan,libplacebo=tonemapping=auto:colorspace=bt709:color_primaries=bt709:color_trc=bt709:format=yuv420p:upscaler=none:downscaler=none:peak_detect=0,hwupload=derive_device=cuda,scale_cuda=format=yuv420p" -f null -
  75.  
  76. ffmpeg version 7.0.2-full_build-www.gyan.dev Copyright (c) 2000-2024 the FFmpeg developers
  77. built with gcc 13.2.0 (Rev5, Built by MSYS2 project)
  78. 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-libaribcaption --enable-libdav1d --enable-libdavs2 --enable-libuavs3d --enable-libxevd --enable-libzvbi --enable-librav1e --enable-libsvtav1 --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs2 --enable-libxeve --enable-libxvid --enable-libaom --enable-libjxl --enable-libopenjpeg --enable-libvpx --enable-mediafoundation --enable-libass --enable-frei0r --enable-libfreetype --enable-libfribidi --enable-libharfbuzz --enable-liblensfun --enable-libvidstab --enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm --enable-cuvid --enable-dxva2 --enable-d3d11va --enable-d3d12va --enable-ffnvcodec --enable-libvpl --enable-nvdec --enable-nvenc --enable-vaapi --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-libcodec2 --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
  79. libavutil 59. 8.100 / 59. 8.100
  80. libavcodec 61. 3.100 / 61. 3.100
  81. libavformat 61. 1.100 / 61. 1.100
  82. libavdevice 61. 1.100 / 61. 1.100
  83. libavfilter 10. 1.100 / 10. 1.100
  84. libswscale 8. 1.100 / 8. 1.100
  85. libswresample 5. 1.100 / 5. 1.100
  86. libpostproc 58. 1.100 / 58. 1.100
  87. Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'IMG_8057.MOV':
  88. Duration: 00:04:39.67, start: 0.000000, bitrate: 16168 kb/s
  89. Stream #0:0[0x1](und): Video: hevc (Main 10) (hvc1 / 0x31637668), yuv420p10le(tv, bt2020nc/bt2020/arib-std-b67), 1920x1080, 15953 kb/s, 29.99 fps, 30 tbr, 600 tbn (default)
  90. Metadata:
  91. creation_time : 2024-04-30T23:50:37.000000Z
  92. handler_name : Core Media Video
  93. vendor_id : [0][0][0][0]
  94. encoder : HEVC
  95. Side data:
  96. DOVI configuration record: version: 1.0, profile: 8, level: 4, rpu flag: 1, el flag: 0, bl flag: 1, compatibility id: 4
  97. displaymatrix: rotation of -90.00 degrees
  98. Ambient Viewing Environment, ambient_illuminance=314.000000, ambient_light_x=0.312700, ambient_light_y=0.329000
  99. Stream #0:1[0x2](und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 164 kb/s (default)
  100. Metadata:
  101. creation_time : 2024-04-30T23:50:37.000000Z
  102. handler_name : Core Media Audio
  103. vendor_id : [0][0][0][0]
  104. Stream #0:2[0x3](und): Data: none (mebx / 0x7862656D) (default)
  105. Metadata:
  106. creation_time : 2024-04-30T23:50:37.000000Z
  107. handler_name : Core Media Metadata
  108. Stream #0:3[0x4](und): Data: none (mebx / 0x7862656D) (default)
  109. Metadata:
  110. creation_time : 2024-04-30T23:50:37.000000Z
  111. handler_name : Core Media Metadata
  112. Stream #0:4[0x5](und): Data: none (mebx / 0x7862656D), 37 kb/s (default)
  113. Metadata:
  114. creation_time : 2024-04-30T23:50:37.000000Z
  115. handler_name : Core Media Metadata
  116. Stream mapping:
  117. Stream #0:0 -> #0:0 (hevc (native) -> wrapped_avframe (native))
  118. Stream #0:1 -> #0:1 (aac (native) -> pcm_s16le (native))
  119. Press [q] to stop, [?] for help
  120. There are 2 hardware devices. device vk of type vulkan is picked for filters by default. Set hardware device explicitly with the filter_hw_device option if device vk is not usable for filters.
  121. Last message repeated 1 times
  122. Impossible to convert between the formats supported by the filter 'graph 0 input from stream 0:0' and the filter 'auto_scale_0'
  123. [vf#0:0 @ 000001f93da6fbc0] Error reinitializing filters!
  124. [vf#0:0 @ 000001f93da6fbc0] Task finished with error code: -40 (Function not implemented)
  125. [vf#0:0 @ 000001f93da6fbc0] Terminating thread with return code -40 (Function not implemented)
  126. [vost#0:0/wrapped_avframe @ 000001f93da6d280] Could not open encoder before EOF
  127. [vost#0:0/wrapped_avframe @ 000001f93da6d280] Task finished with error code: -22 (Invalid argument)
  128. [vost#0:0/wrapped_avframe @ 000001f93da6d280] Terminating thread with return code -22 (Invalid argument)
  129. [out#0/null @ 000001f91d247180] Nothing was written into output file, because at least one of its streams received no packets.
  130. frame= 0 fps=0.0 q=0.0 Lsize= 0KiB time=N/A bitrate=N/A speed=N/A
  131. Conversion failed!
  132.  
Advertisement
Add Comment
Please, Sign In to add comment