mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-16 05:43:54 +03:00
Not eligible for DirectPlay/DirectStream due to unsupported subtitles #187
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 @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:
The problem is from subtitles, so my ask is why emby can direct stream but not jellyfin?
Thanks per advance
@jaredallard commented on GitHub (Jan 3, 2019):
I'm encountering this as well. Happy to provide logs if needed. If only I knew C# :(
@dnachev commented on GitHub (Jan 3, 2019):
@HotMykeul I think it will be good to know little more about your setup:
@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:
@hawken93 commented on GitHub (Jan 3, 2019):
I have this problem with ass subtitles in mkv container as well. Have not tested srt
@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.
@Evoley commented on GitHub (Jan 4, 2019):
Edit
Doesn't seem to work now for some reason.
@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.
@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
@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?
@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.
@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 ?
@cvium commented on GitHub (Jan 21, 2019):
This should be fixed in 10.1.0 which will be coming soonish
@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...
@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.
@Evoley commented on GitHub (Jan 21, 2019):
So from my understanding... everything besides PGS will be able to direct stream?
@cvium commented on GitHub (Jan 22, 2019):
Any text based subtitles should in theory be compatible with direct stream.
@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
@cvium commented on GitHub (Jan 24, 2019):
ASS subtitles not working is a different issue I'd say
@Evoley commented on GitHub (Jan 24, 2019):
It's actually all types of subtitles.
@cvium commented on GitHub (Jan 24, 2019):
Have any logs? Cause the ones you've uploaded are all ASS.
@JustAMan commented on GitHub (Jan 24, 2019):
@Evoley can you start a separate issue?
@Evoley commented on GitHub (Jan 24, 2019):
@JustAMan Doing so right now
@mazzystr commented on GitHub (Nov 9, 2019):
Bumping this up. I also get transcoding for external srt subtitles. Here's a log example...
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)
@JustAMan commented on GitHub (Nov 11, 2019):
@mazzystr can you post
mediainfo problematic-file.mkvhere?@mazzystr commented on GitHub (Nov 11, 2019):
@mazzystr commented on GitHub (Nov 11, 2019):
But really every one of my mkv movie files transcode due to external srt subtitles.
@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.
@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?