Hello. I have an issue with using yadif and OpenCL (opencl with the latest
git updates) in combination.

Using the latest ffmpeg master built as at 2017.11.26, I'm having trouble
deciphering what the error messages means and, more importantly, what to do
about them.

Changing from -vf to -filter_complex did nothing (I had to try). The main
error message seems to be
"Impossible to convert between the formats supported by the filter "

I have tried to insert "format=" and "scale" before/between/after yadif and
unsharp_opencl but to no avail.

I wonder, could it be something to do with needing hwupload/hwdownload/hwmap
or is that a red herring ?

What am I doing wrong ?  Advice welcomed.

".\ffmpeg_3.latest_master.exe" -hide_banner -v verbose -init_hw_device
opencl=ocl:1.0 -filter_hw_device ocl -i
".\test_01.mpg" -an -map_metadata -1 -sws_flags
lanczos+accurate_rnd+full_chroma_int+full_chroma_inp -filter_complex
"[0:v]yadif=0:0:0,scale=flags=lanczos+accurate_rnd+full_chroma_int+full_chroma_inp,unsharp_opencl=lx=3:ly=3:la=0.5:cx=3:cy=3:ca=0.5,setdar=dar=16/9"
-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 -movflags
+faststart -profile:v high -level 4.1 -pixel_format yuv420p -y
".\test_01.newest.MP4"

never mind.  found something that works, only posted here for closure.
eg

.\ffmpeg.exe -hide_banner -v verbose -init_hw_device opencl=ocl:1.0 -filter_hw_device ocl -i ".\test_01.mpg" -an -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,setdar=dar=16/9" -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 26 -coder cabac -movflags +faststart -profile:v high -level 4.1 -pixel_format yuv420p -y ".\test_01.newest.MP4"

_______________________________________________
ffmpeg-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to