Log in

View Full Version : [HELP] Configure FFMPEG for best quality captures


PatchWorKs
1st March 2023, 08:00
Hi everyone, we do need your kindly expertise to squeeze out the best possible quality from FFMPEG's capture function.

Our digitization rig is currently composed of i7-4790S/16Gb/Win11 + Blackmagic Intensity Pro + customized/modded Panasonic NV-HD630 (note that - unfortunally - it won't work under Linux V4L2's qv4l2 tool (https://gordonlesti.com/digitize-a-vhs-tape-with-ffmpeg-and-easycap-on-linux/))

At the moment we have "cobbled together" this - ffplay - command line:
ffplay -rtbufsize 1G -pixel_format uyvy422 -framerate 25 -f dshow -i video="Decklink Video Capture":audio="Decklink Audio Capture" -aspect 4:3 -vf "scale=in_range=full:out_range=full,lut='y=(va l-16)*1.067',bwdif=mode=send_field:parity=auto:deint=all"

Result:
https://user-images.githubusercontent.com/171307/221958978-4b015bb0-f3e6-48a5-a301-d8b85f3a28d4.png

Thanks in advance to anyone that will help to optimize it.

Emulgator
4th March 2023, 14:41
A sample uploaded to wetransfer.com maybe ?

PatchWorKs
15th March 2023, 12:58
Sorry for the delay, but we received an SVHS VCR so we're testing it for captures.

Meantime here's the chatGPT-generated commandline:
ffmpeg -f dshow -i video="Your Capture Card Name" -f dshow -i audio="Your Audio Device Name" -c:v huffyuv -c:a pcm_s16le -pix_fmt yuv420p -preset ultrafast -bufsize 2G -filter:v bwdif=mode=send_field -q:v 0 -f matroska output.mkv

The funny chat:

https://i31.servimg.com/u/f31/16/32/04/85/chatff10.png