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 when cutting out sponsorblock segments #831

Open
rjbutler opened this issue Dec 8, 2023 · 5 comments
Open

Audio sync when cutting out sponsorblock segments #831

rjbutler opened this issue Dec 8, 2023 · 5 comments
Labels
bug Something isn't working

Comments

@rjbutler
Copy link

rjbutler commented Dec 8, 2023

Audio gets out of sync when cutting out sponsorblock segments. I can get it back in sync by skipping forward and then back in the player. It doesn't seem to be player specific though, it happens in Plex, Jellyfin and Infuse.

I'm guessing this is a yt-dlp thing? But do you have any suggestions? Is it something you've seen?

@jmbannon
Copy link
Owner

jmbannon commented Dec 9, 2023

Which preset are you using? Maybe it has to do with merging best audio, best video, then slicing based on a different format. You are right that it's moreso a yt-dlp issue though

@rjbutler
Copy link
Author

rjbutler commented Dec 10, 2023

I don’t think I’m doing anything unusual

  • "only_recent_videos"
  • "include_info_json"
  • "season_by_year__episode_by_month_day"
  • "add_subtitles"
  • "best_video_quality"
  • "plex_tv_show_by_date"
  • sponsorblock

subtitles are not embedded in the video

I’ll try commenting out best_video_quality

Thanks

@jmbannon
Copy link
Owner

Plex presets will still merge vid/audio into MP4 which may be a root-cause. You could try enabling the key frames option in chapters (though it's very cpu intensive )

@rjbutler
Copy link
Author

Ah, OK. It looks like Jellyfin presets don't? I'll try that.

@jmbannon jmbannon added the bug Something isn't working label Dec 11, 2023
@Serph91P
Copy link

Plex presets will still merge vid/audio into MP4 which may be a root-cause. You could try enabling the key frames option in chapters (though it's very cpu intensive )

Have the same but with the jellyfin preset, using the advanced example subscription and config.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants