mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-05-04 18:09:12 +03:00
Video and audio is mismatched on playback #686
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @hrvstr on GitHub (May 13, 2019).
Describe the bug
When playing back certain items from my library the correct video will start but the audio track of another library item is being played back. This does only happen for some items, most work fine. I tried several clients: Jellyfin for Kodi, AndroidTV client and Web UI/Browser.
E.g. Library has "Movie A" and "Movie B" - play "Movie A" - video will be "Movie A" but with the audio track of "Movie B".
To Reproduce
Not really reproducable without sending the media files in question. I noticed in the logs that Jellyfin remuxes the media files on playback so I think that is where the bug is comming from.
Expected behavior
Logs
System (please complete the following information):
Video
Audio
@oddstr13 commented on GitHub (Jun 16, 2019):
Can you please verify that playing the video file in question via a stand-alone video player (such as VLC) does not show this problem?
@sparky8251 commented on GitHub (Jun 25, 2019):
We need oddstr13's question answered before we can proceed further. If not, we will have to close this issue.
@hrvstr commented on GitHub (Jun 26, 2019):
Sorry for the late reply. I just checked again and it's still present in 10.3.5.
The file plays back fine (correct video and audio) when I open it directly from the HDD with IINA or VLC. When I play it back via the Jellyfin Web Interface or Jellyfin for Kodi the audio is from a tv show from my library. It seems that it's always the same tv show.
@sparky8251 commented on GitHub (Jun 26, 2019):
Not a problem! Thanks for the confirmation. Hopefully we can address this soon.
@stale[bot] commented on GitHub (Sep 24, 2019):
Issues go stale after 90d of inactivity. Mark the issue as fresh by adding a comment or commit. Stale issues close after an additional 14d of inactivity. If this issue is safe to close now please do so. If you have any questions you can reach us on Matrix or Social Media.
@anthonylavado commented on GitHub (Sep 29, 2019):
Shoo bot
@JustAMan commented on GitHub (Oct 10, 2019):
I am somewhat sorry to mis-believe you (or, rather, I don't think you're interpreting what you're experiencing correctly) but I have seen some parts of the code inside out, and it's just not possible for it to do what you say.
For ffmpeg to make something, it needs to read from input, and for remuxing it uses single file as input. According to your logs, ffmpeg is remuxing "/mnt/Router/Filme/Unsorted/Inside Mcdonalds the 300 Billion Dollar Burger Business (2019)/Inside Mcdonalds the 300 Billion Dollar Burger Business (2019).mkv".
Might it be so by any chance that you have more than one tab open, and "movie B" is being played back in parallel?
@hrvstr commented on GitHub (Oct 10, 2019):
Sorry, I just checked the file again and the audio mismatched inside the file itself. I might had a correct version at some point. What got me confused was that I have the the source of the audio in my library as well but I did not convert it myself.