Skip to content

Update lua script for mpv based qc view - #1021

Open
privatezero wants to merge 4 commits into
mainfrom
update-lua
Open

privatezero wants to merge 4 commits into
mainfrom
update-lua

Conversation

@privatezero

Copy link
Copy Markdown
Member

Switches the qc view lua script to use --lafi-complex for filters and fixes issues with audio scopes and signal stats.

This addresses #847 and #782 and can be built upon for ideas in #989.

Note that for Video + Signal view I dropped the stats being displayed at the bottom of the screen to make things cleaner (and I wasn't sure how to access the main vrecord log path variable from within the lua script since it is assigned externally).

@dericed

dericed commented Sep 6, 2026

Copy link
Copy Markdown
Member

@privatezero have you ran this with a live source. When I play from tape I get a half second pause in the player every 4 seconds or so

@privatezero

Copy link
Copy Markdown
Member Author

@dericed I'm having some issues on my mac mpv build with it not linking to dependencies correctly to enable drawtext so I haven't been able to test out all the views, but in the ones that don't involve drawtext I don't have any pauses with a live source.

Is there a particular view that is triggering that for you, or is it all of them?

@retokromer

Copy link
Copy Markdown
Member

Hello @privatezero
Out of curiosity: what mpv are you using? I am asking, because since a while now we use our own flavour, which is linked to our ffmpeg implementation. If I recall carefully, currently vrecord uses ffmpeg-ma.

@privatezero

Copy link
Copy Markdown
Member Author

@retokromer it's the one that gets built by brew - there are a few things tangled up on that computer, so I just assume that it isn't linking to ffmpeg-ma for whatever reason. I'll just need to go sort out what is happening over there - I have no similar problems on my Ubuntu machine using standard builds.

@retokromer

retokromer commented Sep 9, 2026

Copy link
Copy Markdown
Member

Thank you! (If an AMIA implementation is needed, don't hesitate to get in touch.)

@privatezero

Copy link
Copy Markdown
Member Author

@dericed for expediency of testing I loaded a different build of MPV (mac ports installation) and retested - I still didn't have any pauses or issues during both live preview and live capture, even while using Audio + Video mode, which should be the most intensive filter graph in there

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants