amiaopensource / vrecord

Vrecord is open-source software for capturing a video signal and turning it into a digital file.
https://github.com/amiaopensource/vrecord
149 stars 44 forks source link

function of `snappy` dependency? #746

Open EG-tech opened 1 year ago

EG-tech commented 1 year ago

Hello team! I was working my way through getting the latest vrecord set up on a mid-2011 iMac running macOS 10.13 the other day (unfortunately that is the furthest that machine can be upgraded); I realize this is a pretty thoroughly unsupported use-case, especially given various Homebrew changes and deprecations, so I'm happy to work through the various dependency issues myself. But I was hoping at least to clarify a point: what exactly is the snappy library/dependency included in the default ffmpegdecklink build used for in vrecord? Among other fixes, I had to at least temporarily remove --enable-libsnappy from my ffmpegdecklink build to get vrecord to install, but everything seems to be working OK and I've not noticed any issues in passthrough or capture.

(total side note, but I've written up some notes on the changes and dependency versioning I had to go through for installing on High Sierra in 2023, just in case this is something anyone else has to work through: https://gitlab.com/-/snippets/2545594)

The ffmpeg docs aren't super clear, libsnappy seems related to the Vidvox Hap encoder: https://ffmpeg.org/ffmpeg-codecs.html#Hap

but I can't find any direct mention of either in the vrecord script. Where/why exactly does vrecord use snappy? Am I correct assuming that it's maybe related to the video capture views and can probably be safely ignored without affecting actual capture?