-
Notifications
You must be signed in to change notification settings - Fork 63
[DeckLink] clicking in audio with 24 FPS in sync mode #345
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
Comments
reproducible also simply with |
Thanks for looking into this. Do you think it is fixable? Having to send un-compressed PCM with sync mode is not ideal, but it is better than un-syncronized V/A. |
Well, I've slightly ill-designed the new audio compression code while perhaps too much complicating it. I've just simplified it by properly time-stamping the compressed audio. It is already pushed it but not much tested – just the simple use-cases, where it seem to work. Hopefully I'll get to some more testing in following days. |
Forgot to say – |
now icorrectly working: ``` uv -r embedded -t testcard:mode=Hp24 -s embedded -A AAC -d decklink:sync ```` (clicking) Refers to CESNETGH-345 - sample count was actually not the issue here, streamTime is incorrect, but to ensure it is valid.
I've just fixed a small bug (8e8c1f3) that sometimes triggered incorrect behavior (on incommensurable codec and input frame sizes and when audio BPS doesn't much compression, which 4 for AAC, so eg. testcard's 2). |
I believe this is now fixed in latest continuous. Tested with both AAC and OPUS. Thank you. |
Originally posted by @alatteri in #326 (comment)
Clicks in audio are present if using audio compression with 24 FPS. Steps to reproduce:
Occurs also with OPUS. Doesn't occur if anything of following holds:
The text was updated successfully, but these errors were encountered: