Not eligible for DirectPlay/DirectStream due to unsupported subtitles #187

Closed
opened 2026-02-06 19:24:39 +03:00 by OVERLORD · 28 comments
Owner

Originally created by @HotMykeul on GitHub (Jan 2, 2019).

Hello everyone,

I have a docker install of official emby and official jellybin.
For the same movie, when I play it with emby, it use Direct Stream which is faster than transcode
But with jellyfin, it transcode the movie, here is logs:

2019-01-02 19:55:06.346 Info App: User policy for user7er0. EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
2019-01-02 19:55:06.544 Info App: Not eligible for DirectPlay due to unsupported subtitles
2019-01-02 19:55:06.544 Info App: Not eligible for DirectStream due to unsupported subtitles
2019-01-02 19:55:06.407 Info App: Not eligible for DirectPlay due to unsupported subtitles
2019-01-02 19:55:06.409 Info App: Not eligible for DirectStream due to unsupported subtitles
2019-01-02 19:55:06.409 Info App: Profile: Unknown Profile, Path: /media/movie.mkv, isEligibleForDirectPlay: False, isEligibleForDirectStream: False

The problem is from subtitles, so my ask is why emby can direct stream but not jellyfin?

Thanks per advance

Originally created by @HotMykeul on GitHub (Jan 2, 2019). Hello everyone, I have a docker install of official emby and official jellybin. For the same movie, when I play it with emby, it use Direct Stream which is faster than transcode But with jellyfin, it transcode the movie, here is logs: ``` 2019-01-02 19:55:06.346 Info App: User policy for user7er0. EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True 2019-01-02 19:55:06.544 Info App: Not eligible for DirectPlay due to unsupported subtitles 2019-01-02 19:55:06.544 Info App: Not eligible for DirectStream due to unsupported subtitles 2019-01-02 19:55:06.407 Info App: Not eligible for DirectPlay due to unsupported subtitles 2019-01-02 19:55:06.409 Info App: Not eligible for DirectStream due to unsupported subtitles 2019-01-02 19:55:06.409 Info App: Profile: Unknown Profile, Path: /media/movie.mkv, isEligibleForDirectPlay: False, isEligibleForDirectStream: False ``` The problem is from subtitles, so my ask is why emby can direct stream but not jellyfin? Thanks per advance
OVERLORD added the backendbug labels 2026-02-06 19:24:39 +03:00
Author
Owner

@jaredallard commented on GitHub (Jan 3, 2019):

I'm encountering this as well. Happy to provide logs if needed. If only I knew C# :(

@jaredallard commented on GitHub (Jan 3, 2019): I'm encountering this as well. Happy to provide logs if needed. If only I knew C# :(
Author
Owner

@dnachev commented on GitHub (Jan 3, 2019):

@HotMykeul I think it will be good to know little more about your setup:

  • what is the display you are trying to play on
  • what are the type of the subtitles associated with the movie
@dnachev commented on GitHub (Jan 3, 2019): @HotMykeul I think it will be good to know little more about your setup: - what is the display you are trying to play on - what are the type of the subtitles associated with the movie
Author
Owner

@HotMykeul commented on GitHub (Jan 3, 2019):

I trying to play it on chromium on laptop
Here is the media infos:
Subtitles:
Sous-titre
TitleFre Default Forced
Languefre
CodecSUBRIP
DéfautYes
ForcéYes
ExterneNo

All:

Informations du média
Vidéo
Title1080P H264
CodecH264
AVCYes
ProfilHigh
Niveau40
Résolution1920x816
Ratio d'aspect original2.35:1
EntrelacéNo
Images par seconde23.9760246
Débit4910 kbps
Couleurs primairesbt709
Espace colorimétriquebt709
Transfert de couleurbt709
Profondeur en Bit8 bit
Format de pixelyuv420p
Images de référence1
NAL4
Audio
TitleEng Dolby Digital 5.1 Default
Langueeng
CodecAC3
Répartition5.1
Chaînes6 ch
Débit384 kbps
Débit échantillon48000 Hz
DéfautYes
Sous-titre
TitleFre Default Forced
Languefre
CodecSUBRIP
DéfautYes
ForcéYes
ExterneNo
Image intégrée
CodecMJPEG
Profil192
Niveau-99
Résolution120x176
Images par seconde90000
Espace colorimétriquebt470bg
Profondeur en Bit8 bit
Format de pixelyuvj444p
Images de référence1
DéfautNo
Image intégrée
CodecMJPEG
Profil192
Niveau-99
Résolution213x120
Images par seconde90000
Espace colorimétriquebt470bg
Profondeur en Bit8 bit
Format de pixelyuvj444p
Images de référence1
DéfautNo
Image intégrée
CodecMJPEG
Profil192
Niveau-99
Résolution600x882
Images par seconde90000
Espace colorimétriquebt470bg
Profondeur en Bit8 bit
Format de pixelyuvj444p
Images de référence1
DéfautNo
Image intégrée
CodecMJPEG
Profil192
Niveau-99
Résolution1067x600
Images par seconde90000
Espace colorimétriquebt470bg
Profondeur en Bit8 bit
Format de pixelyuvj444p
Images de référence1
DéfautNo
Conteneurmkv

@HotMykeul commented on GitHub (Jan 3, 2019): I trying to play it on chromium on laptop Here is the media infos: Subtitles: Sous-titre TitleFre Default Forced Languefre CodecSUBRIP DéfautYes ForcéYes ExterneNo All: > > Informations du média > Vidéo > Title1080P H264 > CodecH264 > AVCYes > ProfilHigh > Niveau40 > Résolution1920x816 > Ratio d'aspect original2.35:1 > EntrelacéNo > Images par seconde23.9760246 > Débit4910 kbps > Couleurs primairesbt709 > Espace colorimétriquebt709 > Transfert de couleurbt709 > Profondeur en Bit8 bit > Format de pixelyuv420p > Images de référence1 > NAL4 > Audio > TitleEng Dolby Digital 5.1 Default > Langueeng > CodecAC3 > Répartition5.1 > Chaînes6 ch > Débit384 kbps > Débit échantillon48000 Hz > DéfautYes > Sous-titre > TitleFre Default Forced > Languefre > CodecSUBRIP > DéfautYes > ForcéYes > ExterneNo > Image intégrée > CodecMJPEG > Profil192 > Niveau-99 > Résolution120x176 > Images par seconde90000 > Espace colorimétriquebt470bg > Profondeur en Bit8 bit > Format de pixelyuvj444p > Images de référence1 > DéfautNo > Image intégrée > CodecMJPEG > Profil192 > Niveau-99 > Résolution213x120 > Images par seconde90000 > Espace colorimétriquebt470bg > Profondeur en Bit8 bit > Format de pixelyuvj444p > Images de référence1 > DéfautNo > Image intégrée > CodecMJPEG > Profil192 > Niveau-99 > Résolution600x882 > Images par seconde90000 > Espace colorimétriquebt470bg > Profondeur en Bit8 bit > Format de pixelyuvj444p > Images de référence1 > DéfautNo > Image intégrée > CodecMJPEG > Profil192 > Niveau-99 > Résolution1067x600 > Images par seconde90000 > Espace colorimétriquebt470bg > Profondeur en Bit8 bit > Format de pixelyuvj444p > Images de référence1 > DéfautNo > Conteneurmkv >
Author
Owner

@hawken93 commented on GitHub (Jan 3, 2019):

I have this problem with ass subtitles in mkv container as well. Have not tested srt

@hawken93 commented on GitHub (Jan 3, 2019): I have this problem with ass subtitles in mkv container as well. Have not tested srt
Author
Owner

@sparky8251 commented on GitHub (Jan 4, 2019):

For those having this issue, try copying the ffmpeg binary from emby to jellyfin. Those using docker will likely want to use the custom location field.

Been seeing a lot of odd behavior lately due to jellyfin using the distro provided ffmpeg (which might be 3.x) instead of the 4.x that Emby/Jellyfin are written to support.

@sparky8251 commented on GitHub (Jan 4, 2019): For those having this issue, try copying the ffmpeg binary from emby to jellyfin. Those using docker will likely want to use the custom location field. Been seeing a lot of odd behavior lately due to jellyfin using the distro provided ffmpeg (which might be 3.x) instead of the 4.x that Emby/Jellyfin are written to support.
Author
Owner

@Evoley commented on GitHub (Jan 4, 2019):

For those having this issue, try copying the ffmpeg binary from emby to jellyfin. Those using docker will likely want to use the custom location field.

Been seeing a lot of odd behavior lately due to jellyfin using the distro provided ffmpeg (which might be 3.x) instead of the 4.x that Emby/Jellyfin are written to support.

Edit
Doesn't seem to work now for some reason.

@Evoley commented on GitHub (Jan 4, 2019): > For those having this issue, try copying the ffmpeg binary from emby to jellyfin. Those using docker will likely want to use the custom location field. > > Been seeing a lot of odd behavior lately due to jellyfin using the distro provided ffmpeg (which might be 3.x) instead of the 4.x that Emby/Jellyfin are written to support. Edit Doesn't seem to work now for some reason.
Author
Owner

@sparky8251 commented on GitHub (Jan 4, 2019):

Hmm... odd indeed. This def needs more investigating. If anyone can provide server logs showing the requests sent/received and the ffmpeg command used by Jellyfin that would be great.

@sparky8251 commented on GitHub (Jan 4, 2019): Hmm... odd indeed. This def needs more investigating. If anyone can provide server logs showing the requests sent/received and the ffmpeg command used by Jellyfin that would be great.
Author
Owner

@Evoley commented on GitHub (Jan 4, 2019):

ffmpeg.exe" -f matroska,webm -i file:"T:\TV\Band of Brothers\Band of Brothers - 1x02 - Day of Days.mkv" -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -codec:v:0 libx264 -pix_fmt yuv420p -preset veryfast -crf 23 -maxrate 15202370 -bufsize 30404740 -x264opts:0 subme=0:me_range=4:rc_lookahead=10:me=dia:no_chroma_me:8x8dct=0:partitions=none -force_key_frames "expr:gte(t,n_forced3)" -filter_complex "[0:4]scale=1920:1080:force_original_aspect_ratio=decrease[sub];[0:0][sub]overlay,scale=trunc(min(max(iw,ihdar),1920)/2)*2:trunc(ow/dar/2)*2" -copyts -vsync -1 -codec:a:0 libmp3lame -ac 2 -ab 384000 -af "volume=2" -f segment -max_delay 5000000 -avoid_negative_ts disabled -start_at_zero -segment_time 3 -individual_header_trailer 0 -segment_format mpegts -segment_list_type m3u8 -segment_start_number 0 -segment_list "C:\Users\user_\AppData\Roaming\jellyfin\transcoding-temp\c9f129e8428f487ab968f7da85950678.m3u8" -y "C:\Users\user_\AppData\Roaming\jellyfin\transcoding-temp\c9f129e8428f487ab968f7da85950678%d.ts"
This is what ffmpeg says. The I attached both the server.txt and ffmpeg-transcode log

server.txt
ffmpeg-transcode-075f7321-2c35-4395-8d3e-c006252fb541.txt

@Evoley commented on GitHub (Jan 4, 2019): ffmpeg.exe" -f matroska,webm -i file:"T:\TV\Band of Brothers\Band of Brothers - 1x02 - Day of Days.mkv" -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -codec:v:0 libx264 -pix_fmt yuv420p -preset veryfast -crf 23 -maxrate 15202370 -bufsize 30404740 -x264opts:0 subme=0:me_range=4:rc_lookahead=10:me=dia:no_chroma_me:8x8dct=0:partitions=none -force_key_frames "expr:gte(t,n_forced*3)" -filter_complex "[0:4]scale=1920:1080:force_original_aspect_ratio=decrease[sub];[0:0][sub]overlay,scale=trunc(min(max(iw\,ih*dar)\,1920)/2)*2:trunc(ow/dar/2)*2" -copyts -vsync -1 -codec:a:0 libmp3lame -ac 2 -ab 384000 -af "volume=2" -f segment -max_delay 5000000 -avoid_negative_ts disabled -start_at_zero -segment_time 3 -individual_header_trailer 0 -segment_format mpegts -segment_list_type m3u8 -segment_start_number 0 -segment_list "C:\Users\user_\AppData\Roaming\jellyfin\transcoding-temp\c9f129e8428f487ab968f7da85950678.m3u8" -y "C:\Users\user_\AppData\Roaming\jellyfin\transcoding-temp\c9f129e8428f487ab968f7da85950678%d.ts" This is what ffmpeg says. The I attached both the server.txt and ffmpeg-transcode log [server.txt](https://github.com/jellyfin/jellyfin/files/2725580/server.txt) [ffmpeg-transcode-075f7321-2c35-4395-8d3e-c006252fb541.txt](https://github.com/jellyfin/jellyfin/files/2725578/ffmpeg-transcode-075f7321-2c35-4395-8d3e-c006252fb541.txt)
Author
Owner

@sparky8251 commented on GitHub (Jan 4, 2019):

And in your case Evoley, both the theater app and web UI will not play this file, right?

Its using the ffmpeg 4.x binary that emby has too, yes?

And final question so the logs are of proper use, whats the platform you are using the theater app on? TV, desktop? OS?

@sparky8251 commented on GitHub (Jan 4, 2019): And in your case Evoley, both the theater app and web UI will not play this file, right? Its using the ffmpeg 4.x binary that emby has too, yes? And final question so the logs are of proper use, whats the platform you are using the theater app on? TV, desktop? OS?
Author
Owner

@Evoley commented on GitHub (Jan 4, 2019):

Yeah. Both the webui and theater app will transcode the file due to the subtiles. They're PGS. I just checked the ffmpeg version for emby v 3.5.30 and this is what came up

ffmpeg version 4.0.1 Copyright (c) 2000-2018 the FFmpeg developers
built with gcc 7.3.1 (GCC) 20180710
configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-bzlib --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-amf --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth
libavutil 56. 14.100 / 56. 14.100
libavcodec 58. 18.100 / 58. 18.100
libavformat 58. 12.100 / 58. 12.100
libavdevice 58. 3.100 / 58. 3.100
libavfilter 7. 16.100 / 7. 16.100
libswscale 5. 1.100 / 5. 1.100
libswresample 3. 1.100 / 3. 1.100
libpostproc 55. 1.100 / 55. 1.100

I'm using Windows 10 x64 for the server and theater app.

@Evoley commented on GitHub (Jan 4, 2019): Yeah. Both the webui and theater app will transcode the file due to the subtiles. They're PGS. I just checked the ffmpeg version for emby v 3.5.30 and this is what came up ffmpeg version 4.0.1 Copyright (c) 2000-2018 the FFmpeg developers built with gcc 7.3.1 (GCC) 20180710 configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-bzlib --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-amf --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth libavutil 56. 14.100 / 56. 14.100 libavcodec 58. 18.100 / 58. 18.100 libavformat 58. 12.100 / 58. 12.100 libavdevice 58. 3.100 / 58. 3.100 libavfilter 7. 16.100 / 7. 16.100 libswscale 5. 1.100 / 5. 1.100 libswresample 3. 1.100 / 3. 1.100 libpostproc 55. 1.100 / 55. 1.100 I'm using Windows 10 x64 for the server and theater app.
Author
Owner

@HotMykeul commented on GitHub (Jan 21, 2019):

Hello, I checked the doc https://jellyfin.readthedocs.io/en/latest/user-docs/building/ but I want to debug server side to understand the code, I can't find how to debug in the doc, I'm only able to build and install it on windows 10. What is the preferred IDE ad how to configure it to run and step by step debug ?

@HotMykeul commented on GitHub (Jan 21, 2019): Hello, I checked the doc https://jellyfin.readthedocs.io/en/latest/user-docs/building/ but I want to debug server side to understand the code, I can't find how to debug in the doc, I'm only able to build and install it on windows 10. What is the preferred IDE ad how to configure it to run and step by step debug ?
Author
Owner

@cvium commented on GitHub (Jan 21, 2019):

This should be fixed in 10.1.0 which will be coming soonish

@cvium commented on GitHub (Jan 21, 2019): This should be fixed in 10.1.0 which will be coming soonish
Author
Owner

@JustAMan commented on GitHub (Jan 21, 2019):

@cvium are you sure? I think PGS are image subtitles, not text ones, so they would probably trigger transcoding even after all the fixes in 10.1.0...

@JustAMan commented on GitHub (Jan 21, 2019): @cvium are you sure? I think PGS are image subtitles, not text ones, so they would probably trigger transcoding even after all the fixes in 10.1.0...
Author
Owner

@cvium commented on GitHub (Jan 21, 2019):

I was referring to the other comments in this issue. PGS will always require burn-in for most players.

@cvium commented on GitHub (Jan 21, 2019): I was referring to the other comments in this issue. PGS will always require burn-in for most players.
Author
Owner

@Evoley commented on GitHub (Jan 21, 2019):

So from my understanding... everything besides PGS will be able to direct stream?

@Evoley commented on GitHub (Jan 21, 2019): So from my understanding... everything besides PGS will be able to direct stream?
Author
Owner

@cvium commented on GitHub (Jan 22, 2019):

Any text based subtitles should in theory be compatible with direct stream.

@cvium commented on GitHub (Jan 22, 2019): Any text based subtitles should in theory be compatible with direct stream.
Author
Owner

@Evoley commented on GitHub (Jan 24, 2019):

Really hate to reply to this but for some unknown reason... Vivaldi will not play anything with subtitles. Firefox is the same way. Only Chrome seems to work for some unknown reason. I am unsure why Firefox generated 3 transcode files.

Here are all the logs and transcode logs for Vivaldi and Firefox.
log_20190123 Firefox.log
ffmpeg-transcode Firefox 3.txt
ffmpeg-transcode-Firefox 2.txt
ffmpeg-transcode-Firefox.txt
log_20190123 Vivaldi.log
ffmpeg-remux Vivaldi.txt

Edit
Here are logs from Waterfox
log_20190123.log
ffmpeg-transcode-cfdecfcc-c105-400e-a730-3a1bab300b3b.txt
ffmpeg-transcode-ca132aa4-8a67-4e5b-9e50-ddb404b1db77.txt

@Evoley commented on GitHub (Jan 24, 2019): Really hate to reply to this but for some unknown reason... Vivaldi will not play anything with subtitles. Firefox is the same way. Only Chrome seems to work for some unknown reason. I am unsure why Firefox generated 3 transcode files. Here are all the logs and transcode logs for Vivaldi and Firefox. [log_20190123 Firefox.log](https://github.com/jellyfin/jellyfin/files/2789757/log_20190123.Firefox.log) [ffmpeg-transcode Firefox 3.txt](https://github.com/jellyfin/jellyfin/files/2789758/ffmpeg-transcode.Firefox.3.txt) [ffmpeg-transcode-Firefox 2.txt](https://github.com/jellyfin/jellyfin/files/2789759/ffmpeg-transcode-Firefox.2.txt) [ffmpeg-transcode-Firefox.txt](https://github.com/jellyfin/jellyfin/files/2789760/ffmpeg-transcode-Firefox.txt) [log_20190123 Vivaldi.log](https://github.com/jellyfin/jellyfin/files/2789750/log_20190123.Vivaldi.log) [ffmpeg-remux Vivaldi.txt](https://github.com/jellyfin/jellyfin/files/2789751/ffmpeg-remux.Vivaldi.txt) Edit Here are logs from Waterfox [log_20190123.log](https://github.com/jellyfin/jellyfin/files/2789767/log_20190123.log) [ffmpeg-transcode-cfdecfcc-c105-400e-a730-3a1bab300b3b.txt](https://github.com/jellyfin/jellyfin/files/2789768/ffmpeg-transcode-cfdecfcc-c105-400e-a730-3a1bab300b3b.txt) [ffmpeg-transcode-ca132aa4-8a67-4e5b-9e50-ddb404b1db77.txt](https://github.com/jellyfin/jellyfin/files/2789769/ffmpeg-transcode-ca132aa4-8a67-4e5b-9e50-ddb404b1db77.txt)
Author
Owner

@cvium commented on GitHub (Jan 24, 2019):

ASS subtitles not working is a different issue I'd say

@cvium commented on GitHub (Jan 24, 2019): ASS subtitles not working is a different issue I'd say
Author
Owner

@Evoley commented on GitHub (Jan 24, 2019):

It's actually all types of subtitles.

@Evoley commented on GitHub (Jan 24, 2019): It's actually all types of subtitles.
Author
Owner

@cvium commented on GitHub (Jan 24, 2019):

Have any logs? Cause the ones you've uploaded are all ASS.

@cvium commented on GitHub (Jan 24, 2019): Have any logs? Cause the ones you've uploaded are all ASS.
Author
Owner

@JustAMan commented on GitHub (Jan 24, 2019):

@Evoley can you start a separate issue?

@JustAMan commented on GitHub (Jan 24, 2019): @Evoley can you start a separate issue?
Author
Owner

@Evoley commented on GitHub (Jan 24, 2019):

@JustAMan Doing so right now

@Evoley commented on GitHub (Jan 24, 2019): @JustAMan Doing so right now
Author
Owner

@mazzystr commented on GitHub (Nov 9, 2019):

Bumping this up. I also get transcoding for external srt subtitles. Here's a log example...

[15:46:19] [INF] Profile: Unknown Profile, No direct play profiles found for Path: /media/Movies/Avatar (2009)/Avatar (2009) - [EXTENDED][BLURAY-1080P][AAC 5.1][X265].mkv
[15:46:21] [INF] Current HLS implementation doesn't support non-keyframe breaks but one is requested, ignoring that request
[15:46:21] [INF] /usr/local/bin/ffmpeg -f matroska,webm -i file:"/media/Movies/Avatar (2009)/Avatar (2009) - [EXTENDED][BLURAY-1080P][AAC 5.1][X265].mkv" -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -map -0:s -codec:v:0 libx264 -pix_fmt yuv420p -preset veryfast -crf 23 -maxrate 13149834 -bufsize 26299668 -profile:v high -level 4.1 -x264opts:0 subme=0:me_range=4:rc_lookahead=10:me=dia:no_chroma_me:8x8dct=0:partitions=none -force_key_frames:0 "expr:gte(t,0+n_forced*3)" -vf "scale=trunc(min(max(iw\,ih*dar)\,1920)/2)*2:trunc(ow/dar/2)*2" -copyts -vsync -1 -codec:a:0 copy -f hls -max_delay 5000000 -avoid_negative_ts disabled -start_at_zero -hls_time 3 -individual_header_trailer 0 -hls_segment_type mpegts -start_number 0 -hls_segment_filename "/config/transcoding-temp/81cc974303de659909137c2400198021%d.ts" -hls_playlist_type vod -hls_list_size 0 -y "/config/transcoding-temp/81cc974303de659909137c2400198021.m3u8"

I'm not that good with subtitles. I'm happy to alter my mkv files or whatnot to fix this. I just need a direction on what to do to fix and reduce cpu load. Thanks.

Jellyfin server Version: 10.4.1
Client: FireFox 70.0.1 (64-bit)
Client: Chromecast Gen 3 (I think)

@mazzystr commented on GitHub (Nov 9, 2019): Bumping this up. I also get transcoding for external srt subtitles. Here's a log example... ``` [15:46:19] [INF] Profile: Unknown Profile, No direct play profiles found for Path: /media/Movies/Avatar (2009)/Avatar (2009) - [EXTENDED][BLURAY-1080P][AAC 5.1][X265].mkv [15:46:21] [INF] Current HLS implementation doesn't support non-keyframe breaks but one is requested, ignoring that request [15:46:21] [INF] /usr/local/bin/ffmpeg -f matroska,webm -i file:"/media/Movies/Avatar (2009)/Avatar (2009) - [EXTENDED][BLURAY-1080P][AAC 5.1][X265].mkv" -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -map -0:s -codec:v:0 libx264 -pix_fmt yuv420p -preset veryfast -crf 23 -maxrate 13149834 -bufsize 26299668 -profile:v high -level 4.1 -x264opts:0 subme=0:me_range=4:rc_lookahead=10:me=dia:no_chroma_me:8x8dct=0:partitions=none -force_key_frames:0 "expr:gte(t,0+n_forced*3)" -vf "scale=trunc(min(max(iw\,ih*dar)\,1920)/2)*2:trunc(ow/dar/2)*2" -copyts -vsync -1 -codec:a:0 copy -f hls -max_delay 5000000 -avoid_negative_ts disabled -start_at_zero -hls_time 3 -individual_header_trailer 0 -hls_segment_type mpegts -start_number 0 -hls_segment_filename "/config/transcoding-temp/81cc974303de659909137c2400198021%d.ts" -hls_playlist_type vod -hls_list_size 0 -y "/config/transcoding-temp/81cc974303de659909137c2400198021.m3u8" ``` I'm not that good with subtitles. I'm happy to alter my mkv files or whatnot to fix this. I just need a direction on what to do to fix and reduce cpu load. Thanks. Jellyfin server Version: 10.4.1 Client: FireFox 70.0.1 (64-bit) Client: Chromecast Gen 3 (I think)
Author
Owner

@JustAMan commented on GitHub (Nov 11, 2019):

@mazzystr can you post mediainfo problematic-file.mkv here?

@JustAMan commented on GitHub (Nov 11, 2019): @mazzystr can you post `mediainfo problematic-file.mkv` here?
Author
Owner

@mazzystr commented on GitHub (Nov 11, 2019):

# mediainfo *mkv
General
Complete name                            : Avatar (2009) - [EXTENDED][BLURAY-1080P][AAC 5.1][X265].mkv
Format                                   : Matroska
Format version                           : Version 4
File size                                : 8.18 GiB
Duration                                 : 2 h 58 min
Overall bit rate                         : 6 575 kb/s
Encoded date                             : UTC 2019-03-31 03:14:33
Writing application                      : mkvmerge v32.0.0 ('Astral Progressions') 64-bit
Writing library                          : libebml v1.3.7 + libmatroska v1.5.0

Video
ID                                       : 1
Format                                   : HEVC
Format/Info                              : High Efficiency Video Coding
Format profile                           : Main 10@L4@Main
Codec ID                                 : V_MPEGH/ISO/HEVC
Duration                                 : 2 h 58 min
Bit rate                                 : 6 000 kb/s
Width                                    : 1 920 pixels
Height                                   : 1 080 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Constant
Frame rate                               : 23.976 (24000/1001) FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 10 bits
Bits/(Pixel*Frame)                       : 0.121
Stream size                              : 7.47 GiB (91%)
Writing library                          : x265 3.0+1-ed72af837053:[Windows][GCC 8.2.0][64 bit] 10bit
Encoding settings                        : cpuid=1111039 / frame-threads=3 / numa-pools=8 / wpp / no-pmode / no-pme / no-psnr / no-ssim / log-level=2 / input-csp=1 / input-res=1920x1080 / interlace=0 / total-frames=256291 / level-idc=0 / high-tier=1 / uhd-bd=0 / ref=4 / no-allow-non-conformance / no-repeat-headers / annexb / no-aud / no-hrd / info / hash=0 / no-temporal-layers / open-gop / min-keyint=23 / keyint=250 / gop-lookahead=0 / bframes=8 / b-adapt=2 / b-pyramid / bframe-bias=0 / rc-lookahead=80 / lookahead-slices=4 / scenecut=40 / radl=0 / no-splice / no-intra-refresh / ctu=64 / min-cu-size=8 / no-rect / no-amp / max-tu-size=32 / tu-inter-depth=1 / tu-intra-depth=1 / limit-tu=0 / rdoq-level=2 / dynamic-rd=0.00 / no-ssim-rd / signhide / no-tskip / nr-intra=0 / nr-inter=0 / no-constrained-intra / no-strong-intra-smoothing / max-merge=3 / limit-refs=3 / limit-modes / me=3 / subme=5 / merange=57 / temporal-mvp / weightp / no-weightb / no-analyze-src-pics / deblock=-3:-3 / no-sao / no-sao-non-deblock / rd=4 / no-early-skip / rskip / no-fast-intra / no-tskip-fast / no-cu-lossless / no-b-intra / no-splitrd-skip / rdpenalty=0 / psy-rd=2.00 / psy-rdoq=1.25 / no-rd-refine / no-lossless / cbqpoffs=0 / crqpoffs=0 / rc=abr / bitrate=6000 / qcomp=0.60 / qpstep=4 / stats-write=0 / stats-read=2 / cplxblur=20.0 / qblur=0.5 / ipratio=1.40 / pbratio=1.30 / aq-mode=3 / aq-strength=1.00 / cutree / zone-count=0 / no-strict-cbr / qg-size=32 / no-rc-grain / qpmax=69 / qpmin=0 / no-const-vbv / sar=0 / overscan=0 / videoformat=5 / range=0 / colorprim=2 / transfer=2 / colormatrix=2 / chromaloc=0 / display-window=0 / max-cll=0,0 / min-luma=0 / max-luma=1023 / log2-max-poc-lsb=8 / vui-timing-info / vui-hrd-info / slices=1 / no-opt-qp-pps / no-opt-ref-list-length-pps / no-multi-pass-opt-rps / scenecut-bias=0.05 / no-opt-cu-delta-qp / no-aq-motion / no-hdr / no-hdr-opt / no-dhdr10-opt / no-idr-recovery-sei / analysis-reuse-level=5 / scale-factor=0 / refine-intra=0 / refine-inter=0 / refine-mv=0 / refine-ctu-distortion=0 / no-limit-sao / ctu-info=0 / no-lowpass-dct / refine-analysis-type=0 / copy-pic=1 / max-ausize-factor=1.0 / no-dynamic-refine / no-single-sei / no-hevc-aq / qp-adaptation-range=1.00
Default                                  : Yes
Forced                                   : No

Audio
ID                                       : 2
Format                                   : AAC LC
Format/Info                              : Advanced Audio Codec Low Complexity
Codec ID                                 : A_AAC-2
Duration                                 : 2 h 58 min
Bit rate                                 : 552 kb/s
Channel(s)                               : 6 channels
Channel layout                           : C L R Ls Rs LFE
Sampling rate                            : 48.0 kHz
Frame rate                               : 46.875 FPS (1024 SPF)
Compression mode                         : Lossy
Delay relative to video                  : 20 ms
Stream size                              : 703 MiB (8%)
Language                                 : English
Default                                  : No
Forced                                   : No

Text #1
ID                                       : 3
Format                                   : PGS
Muxing mode                              : zlib
Codec ID                                 : S_HDMV/PGS
Codec ID/Info                            : Picture based subtitle format used on BDs/HD-DVDs
Duration                                 : 2 h 43 min
Bit rate                                 : 1 159 b/s
Count of elements                        : 166
Stream size                              : 1.35 MiB (0%)
Title                                    : English (Forced)
Language                                 : English
Default                                  : Yes
Forced                                   : Yes

Text #2
ID                                       : 4
Format                                   : PGS
Muxing mode                              : zlib
Codec ID                                 : S_HDMV/PGS
Codec ID/Info                            : Picture based subtitle format used on BDs/HD-DVDs
Duration                                 : 2 h 57 min
Bit rate                                 : 24.7 kb/s
Count of elements                        : 2801
Stream size                              : 31.3 MiB (0%)
Title                                    : English
Language                                 : English
Default                                  : No
Forced                                   : No

Text #3
ID                                       : 5
Format                                   : PGS
Muxing mode                              : zlib
Codec ID                                 : S_HDMV/PGS
Codec ID/Info                            : Picture based subtitle format used on BDs/HD-DVDs
Duration                                 : 2 h 57 min
Bit rate                                 : 31.3 kb/s
Count of elements                        : 4376
Stream size                              : 39.8 MiB (0%)
Title                                    : English (SDH)
Language                                 : English
Default                                  : No
Forced                                   : No

Menu
00:00:00.000                             : en:Lost Soul
00:05:25.575                             : en:A New World
00:10:12.278                             : en:You Are Not In Kansas Anymore
00:11:47.915                             : en:"This Is Your Avatar Now, Jake ."
00:15:59.208                             : en:"This Is Why We're Here..."
00:17:54.782                             : en:First Awakening
00:23:54.891                             : en:Colonel Quaritch
00:27:54.547                             : en:First Sortie
00:30:27.617                             : en:Abandoned Schoolhouse
00:32:27.904                             : en:Thanator Chase
00:37:16.525                             : en:A Sign
00:39:08.053                             : en:Viperwolves
00:41:18.475                             : en:Neytiri
00:49:16.912                             : en:The Omaticaya Clan
00:55:42.213                             : en:Cover Report
01:01:09.415                             : en:The Hallelujah Mountains
01:07:03.227                             : en:Learn Fast Or Die
01:11:50.222                             : en:A Mother's Pain
01:15:53.799                             : en:Banshee Rookery
01:22:38.119                             : en:First Flight
01:26:12.709                             : en:Clan Hunt
01:27:42.298                             : en:Last Shadow
01:33:00.407                             : en:A Son Of the Omaticaya
01:37:36.892                             : en:Willow Glade Destruction
01:44:15.290                             : en:Conflict Escalation
01:50:02.595                             : en:"You Will Never Be One Of The People!"
01:51:53.581                             : en:Assault On Hometree
01:58:30.895                             : en:Aftermath
02:02:13.284                             : en:Escape From Hell's Gate
02:07:51.663                             : en:There's Something We Gotta Do..."
02:09:30.554                             : en:Toruk Macto
02:12:36.615                             : en:"She's Real"
02:16:03.363                             : en:Recruiting The Clans
02:19:31.654                             : en:Preamble To Battle
02:23:59.630                             : en:Battle For Pandora
02:30:05.079                             : en:Fall Of The Heroes
02:33:56.852                             : en:Eywa
02:40:02.259                             : en:Quartich Fight
02:45:33.214                             : en:"I See You"
02:46:48.498                             : en:My Brother
02:48:56.793                             : en:Transformation
02:51:32.073                             : en:End Credits
02:58:08.469                             : en:Chapter 43
@mazzystr commented on GitHub (Nov 11, 2019): ``` # mediainfo *mkv General Complete name : Avatar (2009) - [EXTENDED][BLURAY-1080P][AAC 5.1][X265].mkv Format : Matroska Format version : Version 4 File size : 8.18 GiB Duration : 2 h 58 min Overall bit rate : 6 575 kb/s Encoded date : UTC 2019-03-31 03:14:33 Writing application : mkvmerge v32.0.0 ('Astral Progressions') 64-bit Writing library : libebml v1.3.7 + libmatroska v1.5.0 Video ID : 1 Format : HEVC Format/Info : High Efficiency Video Coding Format profile : Main 10@L4@Main Codec ID : V_MPEGH/ISO/HEVC Duration : 2 h 58 min Bit rate : 6 000 kb/s Width : 1 920 pixels Height : 1 080 pixels Display aspect ratio : 16:9 Frame rate mode : Constant Frame rate : 23.976 (24000/1001) FPS Color space : YUV Chroma subsampling : 4:2:0 Bit depth : 10 bits Bits/(Pixel*Frame) : 0.121 Stream size : 7.47 GiB (91%) Writing library : x265 3.0+1-ed72af837053:[Windows][GCC 8.2.0][64 bit] 10bit Encoding settings : cpuid=1111039 / frame-threads=3 / numa-pools=8 / wpp / no-pmode / no-pme / no-psnr / no-ssim / log-level=2 / input-csp=1 / input-res=1920x1080 / interlace=0 / total-frames=256291 / level-idc=0 / high-tier=1 / uhd-bd=0 / ref=4 / no-allow-non-conformance / no-repeat-headers / annexb / no-aud / no-hrd / info / hash=0 / no-temporal-layers / open-gop / min-keyint=23 / keyint=250 / gop-lookahead=0 / bframes=8 / b-adapt=2 / b-pyramid / bframe-bias=0 / rc-lookahead=80 / lookahead-slices=4 / scenecut=40 / radl=0 / no-splice / no-intra-refresh / ctu=64 / min-cu-size=8 / no-rect / no-amp / max-tu-size=32 / tu-inter-depth=1 / tu-intra-depth=1 / limit-tu=0 / rdoq-level=2 / dynamic-rd=0.00 / no-ssim-rd / signhide / no-tskip / nr-intra=0 / nr-inter=0 / no-constrained-intra / no-strong-intra-smoothing / max-merge=3 / limit-refs=3 / limit-modes / me=3 / subme=5 / merange=57 / temporal-mvp / weightp / no-weightb / no-analyze-src-pics / deblock=-3:-3 / no-sao / no-sao-non-deblock / rd=4 / no-early-skip / rskip / no-fast-intra / no-tskip-fast / no-cu-lossless / no-b-intra / no-splitrd-skip / rdpenalty=0 / psy-rd=2.00 / psy-rdoq=1.25 / no-rd-refine / no-lossless / cbqpoffs=0 / crqpoffs=0 / rc=abr / bitrate=6000 / qcomp=0.60 / qpstep=4 / stats-write=0 / stats-read=2 / cplxblur=20.0 / qblur=0.5 / ipratio=1.40 / pbratio=1.30 / aq-mode=3 / aq-strength=1.00 / cutree / zone-count=0 / no-strict-cbr / qg-size=32 / no-rc-grain / qpmax=69 / qpmin=0 / no-const-vbv / sar=0 / overscan=0 / videoformat=5 / range=0 / colorprim=2 / transfer=2 / colormatrix=2 / chromaloc=0 / display-window=0 / max-cll=0,0 / min-luma=0 / max-luma=1023 / log2-max-poc-lsb=8 / vui-timing-info / vui-hrd-info / slices=1 / no-opt-qp-pps / no-opt-ref-list-length-pps / no-multi-pass-opt-rps / scenecut-bias=0.05 / no-opt-cu-delta-qp / no-aq-motion / no-hdr / no-hdr-opt / no-dhdr10-opt / no-idr-recovery-sei / analysis-reuse-level=5 / scale-factor=0 / refine-intra=0 / refine-inter=0 / refine-mv=0 / refine-ctu-distortion=0 / no-limit-sao / ctu-info=0 / no-lowpass-dct / refine-analysis-type=0 / copy-pic=1 / max-ausize-factor=1.0 / no-dynamic-refine / no-single-sei / no-hevc-aq / qp-adaptation-range=1.00 Default : Yes Forced : No Audio ID : 2 Format : AAC LC Format/Info : Advanced Audio Codec Low Complexity Codec ID : A_AAC-2 Duration : 2 h 58 min Bit rate : 552 kb/s Channel(s) : 6 channels Channel layout : C L R Ls Rs LFE Sampling rate : 48.0 kHz Frame rate : 46.875 FPS (1024 SPF) Compression mode : Lossy Delay relative to video : 20 ms Stream size : 703 MiB (8%) Language : English Default : No Forced : No Text #1 ID : 3 Format : PGS Muxing mode : zlib Codec ID : S_HDMV/PGS Codec ID/Info : Picture based subtitle format used on BDs/HD-DVDs Duration : 2 h 43 min Bit rate : 1 159 b/s Count of elements : 166 Stream size : 1.35 MiB (0%) Title : English (Forced) Language : English Default : Yes Forced : Yes Text #2 ID : 4 Format : PGS Muxing mode : zlib Codec ID : S_HDMV/PGS Codec ID/Info : Picture based subtitle format used on BDs/HD-DVDs Duration : 2 h 57 min Bit rate : 24.7 kb/s Count of elements : 2801 Stream size : 31.3 MiB (0%) Title : English Language : English Default : No Forced : No Text #3 ID : 5 Format : PGS Muxing mode : zlib Codec ID : S_HDMV/PGS Codec ID/Info : Picture based subtitle format used on BDs/HD-DVDs Duration : 2 h 57 min Bit rate : 31.3 kb/s Count of elements : 4376 Stream size : 39.8 MiB (0%) Title : English (SDH) Language : English Default : No Forced : No Menu 00:00:00.000 : en:Lost Soul 00:05:25.575 : en:A New World 00:10:12.278 : en:You Are Not In Kansas Anymore 00:11:47.915 : en:"This Is Your Avatar Now, Jake ." 00:15:59.208 : en:"This Is Why We're Here..." 00:17:54.782 : en:First Awakening 00:23:54.891 : en:Colonel Quaritch 00:27:54.547 : en:First Sortie 00:30:27.617 : en:Abandoned Schoolhouse 00:32:27.904 : en:Thanator Chase 00:37:16.525 : en:A Sign 00:39:08.053 : en:Viperwolves 00:41:18.475 : en:Neytiri 00:49:16.912 : en:The Omaticaya Clan 00:55:42.213 : en:Cover Report 01:01:09.415 : en:The Hallelujah Mountains 01:07:03.227 : en:Learn Fast Or Die 01:11:50.222 : en:A Mother's Pain 01:15:53.799 : en:Banshee Rookery 01:22:38.119 : en:First Flight 01:26:12.709 : en:Clan Hunt 01:27:42.298 : en:Last Shadow 01:33:00.407 : en:A Son Of the Omaticaya 01:37:36.892 : en:Willow Glade Destruction 01:44:15.290 : en:Conflict Escalation 01:50:02.595 : en:"You Will Never Be One Of The People!" 01:51:53.581 : en:Assault On Hometree 01:58:30.895 : en:Aftermath 02:02:13.284 : en:Escape From Hell's Gate 02:07:51.663 : en:There's Something We Gotta Do..." 02:09:30.554 : en:Toruk Macto 02:12:36.615 : en:"She's Real" 02:16:03.363 : en:Recruiting The Clans 02:19:31.654 : en:Preamble To Battle 02:23:59.630 : en:Battle For Pandora 02:30:05.079 : en:Fall Of The Heroes 02:33:56.852 : en:Eywa 02:40:02.259 : en:Quartich Fight 02:45:33.214 : en:"I See You" 02:46:48.498 : en:My Brother 02:48:56.793 : en:Transformation 02:51:32.073 : en:End Credits 02:58:08.469 : en:Chapter 43 ```
Author
Owner

@mazzystr commented on GitHub (Nov 11, 2019):

But really every one of my mkv movie files transcode due to external srt subtitles.

@mazzystr commented on GitHub (Nov 11, 2019): But really every one of my mkv movie files transcode due to external srt subtitles.
Author
Owner

@JustAMan commented on GitHub (Nov 11, 2019):

All those subtitles are image-based unless I'm mixing stuff.
So this seems to be an issue with either player requesting a text track or JF deciding not to burn those subtitles in. There's no client-side support in JF web of playing those image-based subtitles yet.

@JustAMan commented on GitHub (Nov 11, 2019): All those subtitles are image-based unless I'm mixing stuff. So this seems to be an issue with either player requesting a text track or JF deciding _not_ to burn those subtitles in. There's no client-side support in JF web of playing those image-based subtitles yet.
Author
Owner

@mazzystr commented on GitHub (Nov 11, 2019):

Seems some of my media has a subtitle streams and some don't. All of them have external srt subtitle files. I have another media file for Snowpiercer that has no subtitle track. It plays with no transcoding. Should I just scan all my media and strip out those streams?

@mazzystr commented on GitHub (Nov 11, 2019): Seems some of my media has a subtitle streams and some don't. All of them have external srt subtitle files. I have another media file for Snowpiercer that has no subtitle track. It plays with no transcoding. Should I just scan all my media and strip out those streams?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/jellyfin#187