Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trying to use synchronized in my command line but it wont work with the multiplier command #419

Open
TheSashmo opened this issue Oct 4, 2024 · 0 comments

Comments

@TheSashmo
Copy link

Bringing this back up to the top to get some help:

Using the following two commands successfully:

/usr/bin/uv --control-port=2209 --audio-filter controlport_stats --capture-filter preview:path=/tmp/encode_thumbnail_209.socket:target_size=854x480 -t decklink:connection=sdi:device=5:codec=UYVY -c libavcodec:codec=H.264:encoder=libx264:bitrate=30000000:preset=superfast:subsampling=420 -s embedded --audio-codec=OPUS:sample_rate=48000:bitrate=128k --audio-capture-format channels=16 -f V:rs:: -f A:mult:3 -P 23374 172.18.20.4

and

/usr/bin/uv --control-port=2209 --audio-filter controlport_stats -d multiplier:decklink:device=7:drift_fix#preview:path=/tmp/decode_thumbnail_209.socket:hq:rate_limit=2:target_size=854x480 -r embedded -P 23374 172.18.20.4

These commands work for me, but what I am seeing that "sometimes" I begin to get random audio buffer overflows on the decoder. This comes and goes over time running the application but I can not seem to find a way why it comes and goes. For the most part this works, but its not flawless. It's all local network testing so highly doubtful its network issues. I've be trying to test the synchronized option, and it seems that this gets rid of my problem, but when I try to put it into my command it doesn't want to work with thumbnails:

/usr/bin/uv --control-port=2209 --audio-filter controlport_stats -d multiplier:decklink:device=7:synchronized#preview:path=/tmp/decode_thumbnail_209.socket:hq:rate_limit=2:target_size=854x480 -r embedded -P 23374 172.18.20.4

and

/usr/bin/uv --control-port=2209 --audio-filter controlport_stats -d multiplier:decklink:device=7:synchronized=4,6#preview:path=/tmp/decode_thumbnail_209.socket:hq:rate_limit=2:target_size=854x480 -r embedded -P 23374 172.18.20.4

Both of these last two command don't output any audio and are throwing tons of overflow errors:
[DeckLink display] Missing frame
[DeckLink display] Dismissed frame, buffered: 6
[DeckLink display] audio buffer overflow!

If I drop the multiplier it's able to work with these commands:

/usr/bin/uv --param window-title=qframe2_ultragird_decode_process_209 --control-port=2209 --audio-filter controlport_stats -d decklink:device=7:synchronized -r embedded -P 23374 172.18.20.4

and

/usr/bin/uv --control-port=2209 --audio-filter controlport_stats -d decklink:device=7:synchronized=4,6 -r embedded -P 23374 172.18.20.4

Is it a multiplier issue or I am missing something to separate the thumbnail generator in the miltiplier? I tried to move the sync command elsewhere into the output device argument but it's same result. If I use drift_fix the command works just fine but has the audio over/under flows on the decoder.

Using 1.9.6 release.

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

No branches or pull requests

1 participant