maxiu 4 Posted February 6, 2021 Posted February 6, 2021 (edited) Hello, I have a problem with subtitles on some files, not sure why, no language works on Edge or Chrome, works fine on Android, is a little weird on Opera (I have to start the show with no subs, the select them while it is already playing, but stopping the playback makes subtitles disappear again). The subtitles are in .srt format and there doesn't seem to be anything wrong with them (like overlapping time codes etc.) Here is a pertinent part of the log I hope (is a little long): 2021-02-06 21:40:57.435 Operating System: Linux version 5.4.0-59-generic (buildd@lcy01-amd64-028) (gcc version 9.3.0 (Ubuntu 9.3.0-17ubuntu1~20.04)) #65-Ubuntu SMP Thu Dec 10 12:01:51 UTC 2020 OS/Process: x64/x64 Emby Server version: 4.5.4.0 Operating system: Unix 5.4.0.59 Command Line: /system/EmbyServer.dll -programdata /config -ffdetect /bin/ffdetect -ffmpeg /bin/ffmpeg -ffprobe /bin/ffprobe -restartexitcode 3 App: Emby Web 4.5.4.0 Chrome http://x.x/videos/42767/hls1/main/0.ts?DeviceId=1e4db01a-08cf-432e-8589-027780901f9c&MediaSourceId=21345ebbbb53ff2d094fa06da1ab66b4&PlaySessionId=ec8610e7e06e42cd84a942b959ae39b2&api_key=19567d197a1f497e8e26b0c1ca3dd84b&VideoCodec=h264&AudioCodec=mp3,aac&VideoBitrate=6190000&AudioBitrate=320000&AudioStreamIndex=1&SubtitleStreamIndex=2&SubtitleMethod=Encode&TranscodingMaxAudioChannels=2&SegmentContainer=ts&MinSegments=1&BreakOnNonKeyFrames=True&ManifestSubtitles=vtt&h264-profile=high,main,baseline,constrainedbaseline,high10&h264-level=52&TranscodeReasons=SubtitleCodecNotSupported {"Protocol":"File","Id":"21345ebbbb53ff2d094fa06da1ab66b4","Path":"/media/tv_shows/Dexter/Season 1/Dexter.S01E01.Dexter.Bluray-720p.Sonarr.x264.AAC.mkv","Type":"Default","Container":"mkv","Size":498746530,"Name":"Dexter.S01E01.Dexter.Bluray-720p.Sonarr.x264.AAC","IsRemote":false,"RunTimeTicks":31832410000,"SupportsTranscoding":true,"SupportsDirectStream":true,"SupportsDirectPlay":true,"IsInfiniteStream":false,"RequiresOpening":false,"RequiresClosing":false,"RequiresLooping":false,"SupportsProbing":false,"MediaStreams":[{"Codec":"h264","TimeBase":"1/1000","CodecTimeBase":"1001/48000","Title":"mkvCinemas","VideoRange":"SDR","DisplayTitle":"720p H264","NalLengthSize":"4","IsInterlaced":false,"IsAVC":true,"BitRate":1253430,"BitDepth":8,"RefFrames":1,"IsDefault":true,"IsForced":false,"Height":720,"Width":1280,"AverageFrameRate":23.976025,"RealFrameRate":23.976025,"Profile":"High","Type":"Video","AspectRatio":"16:9","Index":0,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Protocol":"File","PixelFormat":"yuv420p","Level":41,"IsAnamorphic":false},{"Codec":"aac","Language":"eng","TimeBase":"1/1000","CodecTimeBase":"1/48000","Title":"mkvCinemas","DisplayTitle":"English AAC 5.1 (Default)","DisplayLanguage":"English","IsInterlaced":false,"ChannelLayout":"5.1","BitRate":320000,"Channels":6,"SampleRate":48000,"IsDefault":true,"IsForced":false,"Profile":"LC","Type":"Audio","Index":1,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Protocol":"File"},{"Codec":"PGSSUB","Language":"eng","TimeBase":"1/1000","CodecTimeBase":"0/1","Title":"mkvCinemas","DisplayTitle":"English (Default PGSSUB)","DisplayLanguage":"English","IsInterlaced":false,"IsDefault":true,"IsForced":false,"Type":"Subtitle","Index":2,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Protocol":"File"},{"Codec":"srt","Language":"pol","DisplayTitle":"Polish (SRT)","DisplayLanguage":"Polish","IsInterlaced":false,"IsDefault":false,"IsForced":false,"Type":"Subtitle","Index":3,"IsExternal":true,"IsTextSubtitleStream":true,"SupportsExternalStream":true,"Path":"/media/tv_shows/Dexter/Season 1/Dexter.S01E01.Dexter.Bluray-720p.Sonarr.x264.AAC.pl.srt","Protocol":"File"}],"Formats":[],"Bitrate":1253430,"RequiredHttpHeaders":{},"ReadAtNativeFramerate":false} >>>>>> User policy for max EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: False EnableAudioPlaybackTranscoding: True >>>>>> Processing Plan Info Name CanDoInHardware WillDoInHardware Reason Info Copy video stream >> False False Software Codec Info VideoInput >> False False Not a hardware decoder Info VideoOutput >> False False Not a hardware encoder Info Copy video stream >> False False Software Codec >>>>>> Projected Processing Formats Info Previous HW-Context Format SW-Format Next Info h264 >> - yuv420p yuv420p >> /bin/ffmpeg -loglevel +timing -y -print_graphs_file "/config/logs/ffmpeg-directstream-414b4a3e-517b-4c5f-91a6-e1cc8d5426d6_1graph.txt" -copyts -start_at_zero -f matroska,webm -noaccurate_seek -c:v:0 h264 -i "/media/tv_shows/Dexter/Season 1/Dexter.S01E01.Dexter.Bluray-720p.Sonarr.x264.AAC.mkv" -map 0:0 -map 0:1 -sn -c:v:0 copy -bsf:v:0 h264_mp4toannexb -c:a:0 copy -metadata:s:a:0 language=eng -disposition:a:0 default -copypriorss:a:0 0 -max_delay 5000000 -avoid_negative_ts disabled -f segment -map_metadata -1 -map_chapters -1 -segment_format mpegts -segment_list "/config/transcoding-temp/5DF709.m3u8" -segment_list_type m3u8 -segment_time 6 -segment_start_number 0 -break_non_keyframes 1 -individual_header_trailer 0 -write_header_trailer 0 -segment_write_temp 1 "/config/transcoding-temp/5DF709_%d.ts" 21:40:57.455 ffmpeg version 4.3.0-emby_2020_05_23 Copyright (c) 2000-2019 the FFmpeg developers and softworkz for Emby LLC 21:40:57.455 built with gcc 8.3.0 (crosstool-NG 1.24.0) 21:40:57.455 Execution Date: 2021-02-06 21:40:57 21:40:57.472 [matroska,webm @ 0x162bc00] Could not find codec parameters for stream 2 (Subtitle: hdmv_pgs_subtitle (pgssub)): unspecified size Consider increasing the value for the 'analyzeduration' and 'probesize' options 21:40:57.473 Input #0, matroska,webm, from '/media/tv_shows/Dexter/Season 1/Dexter.S01E01.Dexter.Bluray-720p.Sonarr.x264.AAC.mkv': 21:40:57.473 Metadata: 21:40:57.473 title : Dexter S01 E01 BluRay - mkvCinemas 21:40:57.473 encoder : libebml v1.4.0 + libmatroska v1.6.2 21:40:57.473 creation_time : 2021-01-21T09:48:04.000000Z 21:40:57.473 TITLE-eng : Encoded By: mkvCinemas 21:40:57.473 Website : mkvCinemas 21:40:57.473 Duration: 00:53:03.24, start: 0.000000, bitrate: 1253 kb/s 21:40:57.473 Stream #0:0: Video: h264 (High), yuv420p(progressive), 1280x720 [SAR 1:1 DAR 16:9], Level 41, 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default) 21:40:57.473 Metadata: 21:40:57.473 title : mkvCinemas 21:40:57.473 BPS-eng : 1048179 21:40:57.473 DURATION-eng : 00:53:03.180000000 21:40:57.473 NUMBER_OF_FRAMES-eng: 76320 21:40:57.473 NUMBER_OF_BYTES-eng: 417067932 21:40:57.473 Stream #0:1(eng): Audio: aac (LC), 48000 Hz, 5.1, fltp, Start-Time 0.009s (default) 21:40:57.473 Metadata: 21:40:57.473 title : mkvCinemas 21:40:57.473 BPS-eng : 191578 21:40:57.473 DURATION-eng : 00:53:03.232000000 21:40:57.473 NUMBER_OF_FRAMES-eng: 149214 21:40:57.473 NUMBER_OF_BYTES-eng: 76229703 21:40:57.473 Stream #0:2(eng): Subtitle: hdmv_pgs_subtitle (default) 21:40:57.473 Metadata: 21:40:57.473 title : mkvCinemas 21:40:57.473 BPS-eng : 43248 21:40:57.473 DURATION-eng : 00:50:45.751000000 21:40:57.473 NUMBER_OF_FRAMES-eng: 1290 21:40:57.473 NUMBER_OF_BYTES-eng: 16465429 21:40:57.473 Output #0, segment, to '/config/transcoding-temp/5DF709_%d.ts': 21:40:57.473 Metadata: 21:40:57.473 encoder : Lavf58.35.100 21:40:57.473 Stream #0:0: Video: h264 (High), yuv420p(progressive), 1280x720 [SAR 1:1 DAR 16:9], q=2-31, Level 41, 23.98 fps, 23.98 tbr, 90k tbn, 23.98 tbc (default) 21:40:57.473 Stream #0:1(eng): Audio: aac (LC), 48000 Hz, 5.1, fltp (default) 21:40:57.473 Stream mapping: 21:40:57.473 Stream #0:0 -> #0:0 (copy) 21:40:57.473 Stream #0:1 -> #0:1 (copy) 21:40:57.473 Press [q] to stop, [?] for help Thanks for any advice. Edited February 6, 2021 by maxiu
Luke 42078 Posted February 6, 2021 Posted February 6, 2021 Hi there, please attach the complete emby server and ffmpeg log files. thanks.
maxiu 4 Posted February 6, 2021 Author Posted February 6, 2021 Here embyserver.txt ffmpeg-directstream-414b4a3e-517b-4c5f-91a6-e1cc8d5426d6_1.txt
Luke 42078 Posted February 8, 2021 Posted February 8, 2021 You enabled PGS format subtitles, which the browser does not support. 1
maxiu 4 Posted February 8, 2021 Author Posted February 8, 2021 (edited) Hello, Thanks, that was it, when I downloaded another subtitles in the original language and loaded the video file with those it worked. It seems starting playback with the embedded subs caused a glitch and I was unable to select different ones. Is it possible to make emby ignore those? I found such setting in bazarr but not in emby. I keep transcoding disabled for performance reasons, sometimes emby will try to transcode even though the connection can easily handle downloading and sending the original file and it keeps my server's CPU at 100% for hours. Edited February 8, 2021 by maxiu
Luke 42078 Posted February 8, 2021 Posted February 8, 2021 There's currently no option to ignore specific subtitle formats.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now