Skip to content
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

Audio sync to external audio track #1517

Open
DannyZB opened this issue Mar 7, 2024 · 0 comments
Open

Audio sync to external audio track #1517

DannyZB opened this issue Mar 7, 2024 · 0 comments

Comments

@DannyZB
Copy link

DannyZB commented Mar 7, 2024

My player has the following scenario:

  1. A video stream is mapped from an MP4 file using HLS with .ts segments.
  2. The audio is converted separately using ffmpeg.

How can I get the audio to be in sync with the video when they are generated separately like this?
I already use -copyts when converting the audio to m3u8/ts segments in ffmpeg.

This need exists because I have multiple video quality levels and a single audio stream, and the video levels are converted separately.

Any ideas what can be done? What is the best way to keep audio in sync?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant