Skip to content

Conversation

@Trouffman
Copy link
Collaborator

@Trouffman Trouffman commented Dec 30, 2024

Add logging for timestamps & Timecode
Force timecode to be provided by the NDI lib instead of hardcoded in plugin
Unifiy usage accross recv/sender
Update filter audio to v3

Force FrameSync to use Audio_frame v3 instead of v2.

This is not really supposed to fix any specific bugs, but should help to keep the codebase up to date.

I have tested locally, but I do not use the NDI Filter that much so could be missing some things.

Things to test :

  • NDI source with Framesync ON. (now using audio_frame3 instead of audio_frame2) - report if no working.
  • NDI Filter (audio only) - If not working please report.
  • Extra TS/TC debugging (Verbose mode only) - Report any inconsistencies

Add logging fro timestamps & Timecode
Force timecode to be provided by the NDI lib instead of hardcoded in plugin + unifiy usage accross recv/sender
Update filter audio to v3
@Trouffman Trouffman added enhancement av-desync audio Dependencies Relate to a dependency (package / version) labels Dec 30, 2024
@Trouffman Trouffman added this to the 6.2.0 milestone Dec 30, 2024
@Trouffman Trouffman self-assigned this Dec 30, 2024
@Trouffman Trouffman added the Seeking Testers PRs with this label will package the plugin so that others can test label Dec 30, 2024
@Trouffman
Copy link
Collaborator Author

Looking at the historical changes for this piece of code and how the "video_frame.timecode" is set I found that:

Great summary PR #564

To confirm : why was this reverted...

@RayneYoruka
Copy link
Member

RayneYoruka commented Jan 2, 2025

I have tested locally, but I do not use the NDI Filter that much so could be missing some things.

Since I run so many NDI filter sources I can test it today.

Edit: Initial tests with the filters show no issues. I'll see if I can arrange a 2-3 hour test with them soon enough

@BitRate27
Copy link
Contributor

BitRate27 commented Jan 2, 2025

Minor suggestion is to remove the audio_frame2 variable from the ndi_source_thread since it is no longer used. Might as well remove the ndi_source_thread_process_audio2 function also. Would also be nice to remove the 3 from the end of all remaining variable and function names as the designation is no longer needed.

Renamed audio_fram3 >> audio_frame and video_frame2 >> video_frame to avoid confusion and simplify code
@Trouffman
Copy link
Collaborator Author

This should be "complete". I haven't experienced any issue with it since last commit. Used on Mac & windows.

@RayneYoruka
Copy link
Member

So far it's been fine. Should push IMO

@Trouffman Trouffman merged commit 2e29a55 into master Feb 4, 2025
6 checks passed
@Trouffman Trouffman deleted the audio-sync-timecodes-fix branch February 4, 2025 15:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

audio av-desync Dependencies Relate to a dependency (package / version) enhancement Seeking Testers PRs with this label will package the plugin so that others can test

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants