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

Switching to an external high bitrate audio track for the first time during playback will cause the video to freeze and lag continuously #13915

Closed
dyphire opened this issue Apr 17, 2024 · 2 comments · Fixed by #14399
Labels

Comments

@dyphire
Copy link
Contributor

dyphire commented Apr 17, 2024

Important Information

Provide following Information:

Reproduction steps

Try playing video files with high bitrate external audio tracks using similar configurations:

aid=1
audio-file-auto=fuzzy
audio-file-paths=Audio 5.1

Try to switch to external audio tracks during playback.

Expected behavior

Switch to external audio track for normal loading and video playback.

Actual behavior

The external audio track was not immediately loaded, and the video continued to freeze and lag until the external audio track was loaded and played.

There is a simple way to avoid this problem: execute the frame-step command after switching to an external audio track for the first time, and then the external audio track will immediately load and the video play normally.

Log file

mpv.log

Sample files

The video and audio files are too large to upload. This is the BT download link: https://nyaa.si/view/1430458

@dyphire dyphire added the os:win label Apr 17, 2024
@sunpenghao
Copy link
Contributor

Having the same problem.

execute the frame-step command after switching to an external audio track for the first time, and then the external audio track will immediately load and the video play normally

This doesn't work for me. I've tried frame stepping/pausing then resuming before/after switching track and none worked.

@dyphire
Copy link
Contributor Author

dyphire commented Apr 20, 2024

execute the frame-step command after switching to an external audio track for the first time, and then the external audio track will immediately load and the video play normally

This doesn't work for me. I've tried frame stepping/pausing then resuming before/after switching track and none worked.

It works for me, but it's likely not an effective solution.

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

Successfully merging a pull request may close this issue.

2 participants