6 hours ago
Update: It works fine IF the mkv is the first one alphabetically. Where before, selecting the mkv when it wasn't the first one would result in video stats not displaying, but now they do. And it doesn't break anymore. But it would be nice to default to a lower quality, I did this intentionally.
Versioned and alphabetically first: link
Versioned and alphabetically not first: link
-----------------
I tried looking at the logs myself and was comparing the ffmpeg logs for when the version did and didn't share a title. I noticed that the transcoding was different.
Transcoding without multi-versioned title:
Transcoding with multi-versioned title:
It looks like both video and audio are being transcoded differently. Idk what really any of this means except for 5.1. I did a quick google search and chrome doesn't support 5.1 audio so maybe thats the reason for this case? I have a feeling that the problem is deeper than simply this though. But i did go through a few other mkv movies, and so far the ones that have stereo sound don't have this problem, but ones with 5.1 sound do.
Versioned and alphabetically first: link
Versioned and alphabetically not first: link
-----------------
I tried looking at the logs myself and was comparing the ffmpeg logs for when the version did and didn't share a title. I noticed that the transcoding was different.
Transcoding without multi-versioned title:
Code:
...
Stream mapping:
Stream #0:0 -> #0:0 (mpeg2video (native) -> h264 (h264_qsv))
Stream #0:1 -> #0:1 (ac3 (native) -> aac (libfdk_aac))
...
Output #0, hls, to '/var/cache/jellyfin/transcodes/0f4366a51a5380737e945109717fa8c5.m3u8':
Metadata:
encoder : Lavf61.7.100
Stream #0:0: Video: h264, qsv(tv, bt709, progressive), 720x480 [SAR 853:720 DAR 853:480], q=2-31, 6325 kb/s, 29.97 fps, 30k tbn
Metadata:
encoder : Lavc61.19.101 h264_qsv
Side data:
cpb: bitrate max/min/avg: 6325942/0/6325941 buffer size: 25303764 vbv_delay: N/A
Stream #0:1: Audio: aac, 48000 Hz, stereo, s16, 256 kb/s (default)
Metadata:
encoder : Lavc61.19.101 libfdk_aac
Side data:
cpb: bitrate max/min/avg: 256000/256000/256000 buffer size: 0 vbv_delay: N/A
...Transcoding with multi-versioned title:
Code:
...
Stream mapping:
Stream #0:0 -> #0:0 (mpeg2video (native) -> h264 (libx264))
Stream #0:1 -> #0:1 (ac3 (native) -> aac (native))
...
Output #0, hls, to '/var/cache/jellyfin/transcodes/5edc49ff4fc8838ee86e9cb330ac56b2.m3u8':
Metadata:
encoder : Lavf61.7.100
Stream #0:0: Video: h264, yuv420p(tv, progressive), 720x480 [SAR 853:720 DAR 853:480], q=2-31, 29.97 fps, 30k tbn
Metadata:
encoder : Lavc61.19.101 libx264
Side data:
cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: N/A
Stream #0:1: Audio: aac (LC), 48000 Hz, 5.1(side), fltp, 394 kb/s (default)
Metadata:
encoder : Lavc61.19.101 aac
...It looks like both video and audio are being transcoded differently. Idk what really any of this means except for 5.1. I did a quick google search and chrome doesn't support 5.1 audio so maybe thats the reason for this case? I have a feeling that the problem is deeper than simply this though. But i did go through a few other mkv movies, and so far the ones that have stereo sound don't have this problem, but ones with 5.1 sound do.
