[FFmpeg-user] using YADIF_CUDA - how to fix error "Impossible to convert between the formats supported by the filter"
hydra3333
hydra3333 at gmail.com
Mon Mar 4 16:39:19 EET 2019
OK, just for completeness then, these work, as mentioned here
https://forum.videohelp.com/threads/392398-FFMPEG-and-new-GPU-based-YADIF_CU
DA-deinterlacer#post2544357
Result = slower to use yadif_cuda with unsharp_opencl than vanilla yadif
with unsharp_opencl
----------------------------------------------------
"C:\SOFTWARE\ffmpeg\0-homebuilt-x64\ffmpeg.exe" -loglevel verbose -stats -i
".\1.7TWO.mpg" -t 05 -map_metadata -1 -init_hw_device opencl=ocl:0.0
-filter_hw_device ocl -vf "hwupload_cuda,yadif_cuda=0:-1:0" -r 25 -c:v
h264_nvenc -preset slow -bf 2 -g 50 -refs 3 -rc:v vbr_hq -rc-lookahead:v 32
-cq 22 -qmin 16 -qmax 25 -coder cabac -strict experimental -movflags
+faststart+write_colr -profile:v high -level 4.1 -an -y
".\1.7TWO.aac.yadif_cuda.mp4"
----------------------------------------------------
"C:\SOFTWARE\ffmpeg\0-homebuilt-x64\ffmpeg.exe" -loglevel warning -stats
-init_hw_device opencl=ocl:0.0 -filter_hw_device ocl -i ".\1.7TWO.mpg" -t 60
-map_metadata -1 -sws_flags
lanczos+accurate_rnd+full_chroma_int+full_chroma_inp -filter_complex
"[0:v]yadif=0:0:0,hwupload,unsharp_opencl=lx=3:ly=3:la=0.5:cx=3:cy=3:ca=0.5,
hwdownload,format=pix_fmts=yuv420p,setdar=dar=16/9" -r 25 -c:v h264_nvenc
-pix_fmt nv12 -preset slow -bf 2 -g 50 -refs 3 -rc:v vbr_hq -rc-lookahead:v
32 -cq 22 -qmin 16 -qmax 25 -coder cabac -strict experimental -movflags
+faststart+write_colr -profile:v high -level 4.1 -af
loudnorm=I=-16:TP=0.0:LRA=11:measured_I=-25.78:measured_LRA=4.50:measured_TP
=-6.82:measured_thresh=-36.00:offset=0.17:linear=true:print_format=summary
-c:a libfdk_aac -cutoff 18000 -ab 384k -ar 48000 -y
".\1.7TWO.aac.standard.mp4"
frame= 1500 fps=142 q=18.0 Lsize= 15010kB time=00:01:00.01
bitrate=2049.0kbits/s speed=5.66x
----------------------------------------------------
"C:\SOFTWARE\ffmpeg\0-homebuilt-x64\ffmpeg.exe" -loglevel warning -stats
-init_hw_device opencl=ocl:0.0 -filter_hw_device ocl -i ".\1.7TWO.mpg" -t 60
-map_metadata -1 -sws_flags
lanczos+accurate_rnd+full_chroma_int+full_chroma_inp -filter_complex
"[0:v]hwupload_cuda,yadif_cuda=0:-1:0,hwdownload,format=pix_fmts=yuv420p,hwu
pload,unsharp_opencl=lx=3:ly=3:la=0.5:cx=3:cy=3:ca=0.5,hwdownload,format=pix
_fmts=yuv420p" -r 25 -c:v h264_nvenc -pix_fmt nv12 -preset slow -bf 2 -g 50
-refs 3 -rc:v vbr_hq -rc-lookahead:v 32 -cq 22 -qmin 16 -qmax 25 -coder
cabac -strict experimental -movflags +faststart+write_colr -profile:v high
-level 4.1 -af
loudnorm=I=-16:TP=0.0:LRA=11:measured_I=-25.78:measured_LRA=4.50:measured_TP
=-6.82:measured_thresh=-36.00:offset=0.17:linear=true:print_format=summary
-c:a libfdk_aac -cutoff 18000 -ab 384k -ar 48000 -y
".\1.7TWO.aac.yadif_cuda.opencl.mp4"
frame= 1500 fps=125 q=18.0 Lsize= 15000kB time=00:01:00.01
bitrate=2047.7kbits/s speed=5.01x
----------------------------------------------------
More information about the ffmpeg-user
mailing list