Skip to content

More timestamp improvements#102

Open
sdroege wants to merge 6 commits into
teltek:masterfrom
sdroege:more-timestamp-improvements
Open

More timestamp improvements#102
sdroege wants to merge 6 commits into
teltek:masterfrom
sdroege:more-timestamp-improvements

Conversation

@sdroege

@sdroege sdroege commented Jun 7, 2022

Copy link
Copy Markdown
Contributor

See individual commits.

CC @samuvlad @pnieto

sdroege added 4 commits May 31, 2022 14:28
Audio/video are in practice not always from the same clock and can have
different behaviours with regards to clock rate and jitter. Handling
them separately generally gives better results for the timestamps output
by the source element.
 - NDI HX Camera Android in the past used 1ns instead of 100ns as unit
   for timecodes/timestamps.
 - NDI HX Camera iOS uses 0 for all timecodes and the same non-zero
   value for all audio timestamps

Detect such situations and try to compensate for them. Also add a new
"auto" timestamping mode that prefers to use timecodes and otherwise
falls back to timestamps or receive times.

Fixes teltek#79
@vivia

vivia commented Jun 7, 2022

Copy link
Copy Markdown

This pull request also fixes a problem that I noticed, where by using the source and sink pipelines specified in the README.md the audio sounds choppy.

@sdroege

sdroege commented Jun 7, 2022

Copy link
Copy Markdown
Contributor Author

That's probably the 3rd commit

@raytiley

Copy link
Copy Markdown

I've pulled this down and tested it and it helps with some problematic NDI sources using gstreamer, specifically the NDI camera app on an iphone seems to work well using the auto mode now.

sdroege added 2 commits June 17, 2022 18:06
When using the Advanced SDK it is possible to output compressed formats
too.
@sdroege sdroege mentioned this pull request Jul 18, 2022
@sdroege

sdroege commented Sep 6, 2022

Copy link
Copy Markdown
Contributor Author

@samuvlad @pnieto Can we get this merged?

@sdroege

sdroege commented Oct 12, 2022

Copy link
Copy Markdown
Contributor Author

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.

3 participants