Synching app to live tv

Arjen Veenhuizen arjen.veenhuizen at tno.nl
Sun Nov 2 23:31:47 PST 2014


Yes, this has been done before, e.g. synchronizing DVB with HLS/DASH using
GStreamer running on Linux/iOs:
https://www.youtube.com/watch?v=DvRsXa1xU6o
https://www.youtube.com/watch?v=Ny99G-7RjC0
And slightly less applicable: https://www.youtube.com/watch?v=h5X5NMd_lIA

Basically, this is what one could do:

1. Share system clock information between devices in order to obtain a
common wallclock
2. Define a common content clock which is synchronized among all media
streams (note: Presentation Timestamps (PTS) are not always static, e.g.
they change upon (re-)multiplexing)
3. Determine the current playout position (the exact moment in time when a
specific frame was played) of all media players and share that between all
players using a communication channel (e.g. websockets)
4. Adjust playout position to make sure all media players can keep up taking
into consideration buffer sizes.
5. Regularly check whether things are running in sync and adjust if needed.




--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Re-Synching-app-to-live-tv-tp4669320p4669332.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list