-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Video/audio sync doesn't work #5359
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
I faced the same problem and resolved it by separating the video and audio elements. Here's the my solution:
|
I tried this and it did not work unfortunately |
cloudmark
added a commit
to cloudmark/label-studio
that referenced
this issue
Apr 15, 2025
… components Fixes #4892: How can we label video and time series signals while watching them together? Fixes HumanSignal#5359: Video/audio sync doesn't work - Add sync attribute to TimeSeries tag model to enable group-based synchronization - Compose TimeSeries with SyncableMixin for event broadcasting and handling - Implement sync event handlers for seek, play, and pause events - Add smooth view updates during audio/video playback - Prevent event flooding by suppressing sync events during playback - Maintain view window size during playback - Map media timeline to TimeSeries range (start/end points) This enables synchronized playback and seeking between Video, Audio, and TimeSeries components when they share the same sync group. Multiple TimeSeries components can also sync with each other, allowing for coordinated view updates across different time series data. For example: ``` <View> <Video name="video" value="$video" sync="group_a"/> <AudioPlus name="audio" value="$audio" sync="group_a"/> <TimeSeries name="accel_timeseries" value="$accel_data" sync="group_a"> <Channel column="accel_x" strokeColor="#FF0000"/> <Channel column="accel_y" strokeColor="#00FF00"/> </TimeSeries> <TimeSeries name="gyro_timeseries" value="$gyro_data" sync="group_a"> <Channel column="gyro_x" strokeColor="#0000FF"/> <Channel column="gyro_y" strokeColor="#FF00FF"/> </TimeSeries> </View> ```
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am trying to do Video Timeline Segmentation in LSF, I have an issue with the audio not syncing to the video, I can play each of them separately but each play button doesn't start both video and audio together.
This is the config I am using:
I tried with several different videos, all have the same issue.
I also tried different config formats, with different decoder/player combinations for the audio.
Here is an example video I tried to use: https://commondatastorage.googleapis.com/gtv-videos-bucket/sample/VolkswagenGTIReview.mp4
My LS version is 1.10.1, I am running it on Windows 11, using Chrome.
This is a warning that I see in the console logs:
I don't have any browser extensions active.
The text was updated successfully, but these errors were encountered: