Jump to content

problem with the subtitle list


muhul
Go to solution Solved by muhul,

Recommended Posts

embedded vobsub subtitles in the file appear correctly in the list, but external vobsub subtitles do not appear in the list.

see this image

post-262356-0-06972500-1548098739_thumb.png

post-262356-0-44876900-1548098740_thumb.png

Edited by muhul
Link to comment
Share on other sites

I'm sorry for the late reply.
Posts the log generated when playing the video

 

16:42:00.453 T:38908 NOTICE: EMBY.webservice -> Webservice called with params: {'KodiId': '1250', 'Name': 'heat.mkv', 'Id': '63974'}
16:42:01.164 T:2496 NOTICE: Previous line repeats 1 times.
16:42:01.164 T:2496 NOTICE: EMBY.entrypoint.default -> path: ?mode=play&id=63974&dbid=1250&filename=heat.mkv&transcode=False params: {
"dbid": "1250",
"filename": "heat.mkv",
"transcode": "False",
"mode": "play",
"id": "63974"
}
16:42:01.164 T:2496 NOTICE: EMBY.downloader -> ---[ contact MU-TH-UR 6000/GetItem ]
16:42:01.265 T:2496 NOTICE: EMBY.downloader -> --[ void/fc55b0c9-4dd9-4b4f-86d3-91bf5a6a5d9d ]
16:42:01.265 T:2496 NOTICE: EMBY.downloader -> ---[ contact MU-TH-UR 6000/GetServerAddress ]
16:42:01.367 T:2496 NOTICE: EMBY.downloader -> --[ void/9af95aa2-bba4-49a7-b172-95577a70c235 ]
16:42:01.473 T:2496 NOTICE: EMBY.objects.actions -> [ play/63974 ] 히트
16:42:01.474 T:2496 NOTICE: EMBY.downloader -> ---[ contact MU-TH-UR 6000/GetToken ]
16:42:01.575 T:2496 NOTICE: EMBY.downloader -> --[ void/eac56ee8-f448-47df-880a-c46e54fe9a61 ]
16:42:01.579 T:2496 NOTICE: EMBY.downloader -> ---[ contact MU-TH-UR 6000/GetPlaybackInfo ]
16:42:01.681 T:2496 NOTICE: EMBY.downloader -> --[ void/71911822-a2c5-4339-8694-0da1a4ac603d ]
16:42:01.681 T:2496 NOTICE: EMBY.helper.playutils -> {u'PlaySessionId': u'9b8b39bfd4f2437aa2996e24126fb641', u'MediaSources': [{u'SupportsDirectStream': True, u'Container': u'mkv', u'RequiresClosing': False, u'IgnoreDts': False, u'IgnoreIndex': False, u'DefaultAudioStreamIndex': 1, u'SupportsDirectPlay': True, u'MediaStreams': [{u'IsInterlaced': False, u'Index': 0, u'AverageFrameRate': 23.9760246, u'Width': 1920, u'VideoRange': u'SDR', u'Codec': u'h264', u'IsForced': False, u'AspectRatio': u'16:9', u'Type': u'Video', u'IsTextSubtitleStream': False, u'Profile': u'High', u'TimeBase': u'1/1000', u'NalLengthSize': u'4', u'CodecTimeBase': u'1001/48000', u'RealFrameRate': 23.9760246, u'Language': u'eng', u'Level': 41, u'DisplayTitle': u'1080p H264', u'RefFrames': 1, u'BitDepth': 8, u'BitRate': 31895308, u'IsDefault': False, u'IsAnamorphic': False, u'SupportsExternalStream': False, u'Height': 1080, u'IsAVC': True, u'PixelFormat': u'yuv420p', u'IsExternal': False}, {u'Profile': u'DTS-HD MA', u'IsInterlaced': False, u'DisplayTitle': u'Eng DTS 5.1 Default', u'ChannelLayout': u'5.1', u'Language': u'eng', u'Title': u'Surround 5.1', u'Index': 1, u'Level': 0, u'Channels': 6, u'TimeBase': u'1/1000', u'Codec': u'dts', u'SupportsExternalStream': False, u'IsForced': False, u'BitDepth': 24, u'CodecTimeBase': u'1/48000', u'SampleRate': 48000, u'Type': u'Audio', u'IsTextSubtitleStream': False, u'IsDefault': True, u'IsExternal': False}, {u'Profile': u'DTS', u'IsInterlaced': False, u'DisplayTitle': u'Eng DTS 5.1', u'ChannelLayout': u'5.1', u'Language': u'eng', u'Title': u'Surround 5.1', u'Index': 2, u'BitRate': 1536000, u'Level': 0, u'Channels': 6, u'TimeBase': u'1/1000', u'Codec': u'dts', u'SupportsExternalStream': False, u'IsForced': False, u'CodecTimeBase': u'1/48000', u'SampleRate': 48000, u'Type': u'Audio', u'IsTextSubtitleStream': False, u'IsDefault': False, u'IsExternal': False}, {u'Profile': u'DTS', u'IsInterlaced': False, u'DisplayTitle': u'Fre DTS 5.1', u'ChannelLayout': u'5.1', u'Language': u'fre', u'Title': u'Surround 5.1', u'Index': 3, u'BitRate': 768000, u'Level': 0, u'Channels': 6, u'TimeBase': u'1/1000', u'Codec': u'dts', u'SupportsExternalStream': False, u'IsForced': False, u'CodecTimeBase': u'1/48000', u'SampleRate': 48000, u'Type': u'Audio', u'IsTextSubtitleStream': False, u'IsDefault': False, u'IsExternal': False}, {u'Index': 4, u'DisplayTitle': u'Kor', u'SupportsExternalStream': False, u'Language': u'kor', u'IsInterlaced': False, u'Title': u'Korean', u'DeliveryMethod': u'Embed', u'TimeBase': u'1/1000', u'Codec': u'DVDSUB', u'IsForced': False, u'CodecTimeBase': u'0/1', u'Level': 0, u'Type': u'Subtitle', u'IsTextSubtitleStream': False, u'IsDefault': False, u'IsExternal': False}, {u'IsInterlaced': False, u'DisplayTitle': u'Kor', u'IsExternalUrl': False, u'Language': u'kor', u'Index': 5, u'DeliveryUrl': u'/Videos/63974/d165ac1c5bb11f7ba4487bdf787fa003/Subtitles/5/0/Stream.srt?api_key={emby-token}', u'SupportsExternalStream': True, u'DeliveryMethod': u'External', u'Codec': u'srt', u'IsForced': False, u'Path': u'/share/USB3/\ud788\ud2b8/heat.kor.srt', u'Type': u'Subtitle', u'IsTextSubtitleStream': True, u'IsDefault': False, u'IsExternal': True}, {u'IsInterlaced': False, u'DisplayTitle': u'Kor', u'IsExternalUrl': False, u'Language': u'kor', u'Index': 6, u'DeliveryUrl': u'/Videos/63974/d165ac1c5bb11f7ba4487bdf787fa003/Subtitles/6/0/Stream.sub?api_key={emby-token}', u'SupportsExternalStream': True, u'DeliveryMethod': u'External', u'Codec': u'sub', u'IsForced': False, u'Path': u'/share/USB3/\ud788\ud2b8/heat.kor.sub', u'Type': u'Subtitle', u'IsTextSubtitleStream': False, u'IsDefault': False, u'IsExternal': True}, {u'IsInterlaced': False, u'DisplayTitle': u'Und', u'IsExternalUrl': False, u'SupportsExternalStream': True, u'DeliveryUrl': u'/Videos/63974/d165ac1c5bb11f7ba4487bdf787fa003/Subtitles/7/0/Stream.smi?api_key={emby-token}', u'IsForced': False, u'DeliveryMethod': u'External', u'Codec': u'smi', u'Index': 7, u'Path': u'/share/USB3/\ud788\ud2b8/heat.smi', u'Type': u'Subtitle', u'IsTextSubtitleStream': True, u'IsDefault': False, u'IsExternal': True}], u'Type': u'Default', u'ReadAtNativeFramerate': False, u'RequiresLooping': False, u'Path': u'/share/USB3/\ud788\ud2b8/heat.mkv', u'RequiresOpening': False, u'Bitrate': 31895308, u'IsRemote': False, u'Name': u'heat', u'RequiredHttpHeaders': {}, u'SupportsTranscoding': True, u'DiscardCorruptPts': False, u'Formats': [], u'Protocol': u'File', u'IsInfiniteStream': False, u'RunTimeTicks': 102182510592L, u'FillWallClockDts': False, u'Size': 40739283084L, u'SupportsProbing': True, u'Id': u'd165ac1c5bb11f7ba4487bdf787fa003', u'DefaultSubtitleStreamIndex': 4}]}
16:42:01.681 T:2496 NOTICE: EMBY.helper.playutils -> Skip source selection.
16:42:01.683 T:2496 NOTICE: EMBY.helper.playutils -> --[ direct stream ]
16:42:01.684 T:2496 NOTICE: EMBY.helper.playutils -> [ subtitles/5 ] http://{emby-server}/emby/Videos/63974/d165ac1c5bb11f7ba4487bdf787fa003/Subtitles/5/Stream.srt?api_key={emby-token}
16:42:01.701 T:2496 NOTICE: EMBY.helper.playutils -> [ subtitles/7 ] http://{emby-server}/emby/Videos/63974/d165ac1c5bb11f7ba4487bdf787fa003/Subtitles/7/Stream.smi?api_key={emby-token}
16:42:01.707 T:2496 NOTICE: EMBY.downloader -> ---[ contact MU-TH-UR 6000/GetIntros ]
16:42:01.809 T:2496 NOTICE: EMBY.downloader -> --[ void/2846ca13-236c-446f-b429-69d6032aa6e3 ]
16:42:01.841 T:16920 NOTICE: VideoPlayer::OpenFile: http://127.0.0.1:57578/emby/kodi/movies/63974/file.strm?KodiId=1250&Name=heat.mkv&Id=63974
16:42:01.841 T:23868 NOTICE: Creating InputStream
16:42:01.853 T:23868 NOTICE: Creating Demuxer
16:42:01.881 T:23868 NOTICE: Opening stream: 0 source: 256
16:42:01.881 T:23868 NOTICE: Creating video codec with codec id: 27
16:42:01.881 T:23868 NOTICE: CDVDVideoCodecFFmpeg::Open() Using codec: H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
16:42:01.881 T:23868 NOTICE: Creating video thread
16:42:01.882 T:26268 NOTICE: running thread: video_thread
16:42:01.882 T:23868 NOTICE: Opening stream: 1 source: 256
16:42:01.882 T:23868 NOTICE: Finding audio codec for: 86020
16:42:01.882 T:23868 NOTICE: CDVDAudioCodecFFmpeg::Open() Successful opened audio decoder dca
16:42:01.882 T:23868 NOTICE: Creating audio thread
16:42:01.882 T:23868 NOTICE: Opening stream: 4 source: 256
16:42:01.882 T:20312 NOTICE: running thread: CVideoPlayerAudio::Process()
16:42:01.893 T:20312 NOTICE: Creating audio stream (codec id: 86020, channels: 6, sample rate: 48000, no pass-through)
16:42:01.935 T:26756 NOTICE: EMBY.player -> -->[ play/63974 ] {'Volume': 83, u'PlaySessionId': u'9b8b39bfd4f2437aa2996e24126fb641', u'SubsMapping': {u'1': 7, u'0': 5}, u'CurrentPosition': 0, 'Muted': False, u'SubtitleStreamIndex': 4, 'Server': , 'Paused': False, u'MediaSourceId': u'd165ac1c5bb11f7ba4487bdf787fa003', u'AudioStreamIndex': 1, u'DeviceId': u'DB6163FDC2B499A8DB6512C5310F42E', 'File': 'http://{emby-server}/emby/Videos/63974/stream?static=true&MediaSourceId=d165ac1c5bb11f7ba4487bdf787fa003&api_key={emby-token}' u'PlayOption': u'Addon', u'CurrentEpisode': None, u'Path': u'http://{emby-server}/emby/Videos/63974/stream?static=true&MediaSourceId=d165ac1c5bb11f7ba4487bdf787fa003&api_key={emby-token}' u'ServerId': None, u'Runtime': 102182510592L, u'Type': u'Movie', u'Id': u'63974', u'PlayMethod': u'DirectStream'}
16:42:01.957 T:16920 NOTICE: DXVA::CProcessorHD::InitProcessor: supported deinterlace methods: blend:yes, bob:yes, adaptive:yes, mocomp:no.
16:42:01.957 T:16920 WARNING: CWinRenderer::UpdateVideoFilter: chosen scaling method 1 is not supported by renderer
16:42:01.974 T:2496 NOTICE: EMBY.objects.actions -> {u'jsonrpc': u'2.0', u'id': 1, u'result': {u'items': [{u'type': u'movie', u'id': 1250, u'label': u'\ud788\ud2b8'}], u'limits': {u'start': 0, u'total': 1, u'end': 1}}}
16:42:01.974 T:2496 NOTICE: EMBY.default -> ---<[ default ]
16:42:02.065 T:26756 NOTICE: EMBY.objects.actions -> [ play ] kodi_id: 1250 media: movie
16:42:02.371 T:26268 NOTICE: CDVDVideoCodecFFmpeg::CDropControl: calculated diff time: 41727
16:42:02.479 T:26756 NOTICE: EMBY.entrypoint.service -> [ UserDataChanged ] {u'UserId': u'602e0927fbac4b2e8826d263180deda6', u'UserDataList': [{u'ItemId': u'63974', u'IsFavorite': False, u'Played': True, u'LastPlayedDate': u'2019-01-22T07:42:04.7190639+00:00', u'PlaybackPositionTicks': 0, u'Key': u'949', u'PlayCount': 9}, {u'ItemId': u'63973', u'IsFavorite': False, u'Played': False, u'PlaybackPositionTicks': 0, u'Key': u'a357440c-7df7-3ec8-0d41-8c8c8d8e964e', u'PlayCount': 0}]}
16:42:02.479 T:26756 NOTICE: EMBY.library -> ---[ userdata:2 ]
16:42:03.965 T:26756 NOTICE: EMBY.player -> Setting audio: 1 subs: 4
16:42:03.968 T:23868 NOTICE: Closing stream player 1
16:42:03.968 T:23868 NOTICE: Waiting for audio thread to exit
16:42:03.981 T:20312 NOTICE: thread end: CVideoPlayerAudio::OnExit()
16:42:03.981 T:23868 NOTICE: Closing audio device
16:42:04.031 T:23868 NOTICE: Deleting audio codec
16:42:04.032 T:23868 NOTICE: Opening stream: 1 source: 256
16:42:04.032 T:23868 NOTICE: Finding audio codec for: 86020
16:42:04.032 T:23868 NOTICE: CDVDAudioCodecFFmpeg::Open() Successful opened audio decoder dca
16:42:04.032 T:23868 NOTICE: Creating audio thread
16:42:04.032 T:32288 NOTICE: running thread: CVideoPlayerAudio::Process()
16:42:04.098 T:23868 NOTICE: Closing stream player 3
16:42:04.098 T:23868 NOTICE: Opening stream: 4 source: 256
16:42:04.109 T:32288 NOTICE: Creating audio stream (codec id: 86020, channels: 6, sample rate: 48000, no pass-through)
16:42:04.214 T:23172 NOTICE: EMBY.library -> -->[ q:download/2547438549816 ]
16:42:04.273 T:16920 NOTICE: DXVA::CDecoder::Close: closing decoder.
16:42:05.245 T:29580 NOTICE: EMBY.downloader -> --<[ q:download/2547438549816 ]
16:42:06.220 T:23172 NOTICE: EMBY.library -> -->[ q:userdata/Movie/2547438549816 ]
16:42:06.231 T:14012 NOTICE: EMBY.objects.movies -> USERDATA movie [2620/1250] 63974: 히트
16:42:06.508 T:16920 WARNING: CGUIWindowManager - CGUIWindowManager::HandleAction - ignoring action 107, because topmost modal dialog closing animation is running
16:42:07.233 T:14012 WARNING: Previous line repeats 1 times.
16:42:07.233 T:14012 NOTICE: EMBY.database -> [emby] 1 rows updated.
16:42:07.241 T:14012 NOTICE: EMBY.database -> 1 rows updated.
16:42:07.241 T:16920 WARNING: CGUIWindowManager - CGUIWindowManager::HandleAction - ignoring action 107, because topmost modal dialog closing animation is running
16:42:07.248 T:14012 NOTICE: EMBY.library -> --<[ q:userdata/2547438549816 ]
16:42:07.258 T:16920 WARNING: CGUIWindowManager - CGUIWindowManager::HandleAction - ignoring action 107, because topmost modal dialog closing animation is running

 

Edited by muhul
  • Like 1
Link to comment
Share on other sites

Angelblue05

Thanks for providing the log snippet. Looking into it.

 

Edit: This is not fixed with 3.1.46, but I'll make sure to squeeze the fix in with the stable version.

Edited by Angelblue05
Link to comment
Share on other sites

Something's wrong.
Not only is there a problem with add-ons, but there seems to be a problem with external subtitling process of Emby server.
Kodi Log

13:23:03.223 T:34264 ERROR: CCurlFile::FillBuffer - Failed: HTTP returned error 500
13:23:03.223 T:34264 ERROR: CCurlFile::Open failed with code 500 for http://192.168.0.107:8096/emby/Videos/63974/d165ac1c5bb11f7ba4487bdf787fa003/Subtitles/6/0/Stream.sub?api_key=9d924cd97c9642a38f94eb0d653952a6:
13:23:03.223 T:34264 ERROR: XFILE::CFileCache::Open - failed to open source
13:23:03.223 T:34264 ERROR: CVideoPlayerSubtitle::OpenStream - Unable to create subtitle parser
13:23:03.223 T:34264 NOTICE: Opening stream: 0 source: 1024
13:23:03.314 T:34264 NOTICE: Closing stream player 1
13:23:03.314 T:34264 NOTICE: Waiting for audio thread to exit
13:23:03.325 T:25532 NOTICE: thread end: CVideoPlayerAudio::OnExit()
13:23:03.325 T:34264 NOTICE: Closing audio device
13:23:03.325 T:34264 NOTICE: Deleting audio codec
13:23:03.325 T:34264 NOTICE: Opening stream: 1 source: 256
13:23:03.325 T:34264 NOTICE: Finding audio codec for: 86020
13:23:03.325 T:34264 NOTICE: CDVDAudioCodecFFmpeg::Open() Successful opened audio decoder dca
13:23:03.325 T:34264 NOTICE: Creating audio thread
13:23:03.325 T:34264 NOTICE: Closing stream player 3
13:23:03.325 T:31564 NOTICE: running thread: CVideoPlayerAudio::Process()
13:23:03.325 T:34264 NOTICE: Opening stream: 0 source: 1024
13:23:03.347 T:31564 NOTICE: Creating audio stream (codec id: 86020, channels: 6, sample rate: 48000, no pass-through)
13:23:03.391 T:22388 NOTICE: DXVA::CProcessorHD::InitProcessor: supported deinterlace methods: blend:yes, bob:yes, adaptive:yes, mocomp:no.
13:23:03.410 T:22388 WARNING: CWinRenderer::UpdateVideoFilter: chosen scaling method 1 is not supported by renderer
13:23:03.589 T:11848 NOTICE: CDVDVideoCodecFFmpeg::CDropControl: calculated diff time: 41636
13:23:25.344 T:34264 NOTICE: Closing stream player 3
13:23:25.344 T:34264 NOTICE: Opening stream: 0 source: 1025
13:23:26.909 T:22388 WARNING: CGUIWindowManager - CGUIWindowManager::HandleAction - ignoring action 107, because topmost modal dialog closing animation is running
13:23:33.464 T:31564 WARNING: Previous line repeats 21 times.
13:23:33.464 T:31564 NOTICE: CVideoPlayerAudio::Process - stream stalled
13:23:34.847 T:34264 ERROR: CCurlFile::FillBuffer - Failed: HTTP returned error 500
13:23:34.847 T:34264 ERROR: CCurlFile::Open failed with code 500 for http://192.168.0.107:8096/emby/Videos/63974/d165ac1c5bb11f7ba4487bdf787fa003/Subtitles/6/0/Stream.sub?api_key=9d924cd97c9642a38f94eb0d653952a6:
13:23:34.847 T:34264 ERROR: XFILE::CFileCache::Open - failed to open source
13:23:34.847 T:34264 ERROR: CVideoPlayerSubtitle::OpenStream - Unable to create subtitle parser
13:23:34.847 T:34264 NOTICE: Opening stream: 0 source: 1026
13:23:35.143 T:34264 ERROR: CCurlFile::FillBuffer - Failed: HTTP returned error 500
13:23:35.143 T:34264 ERROR: CCurlFile::Open failed with code 500 for http://192.168.0.107:8096/emby/Videos/63974/d165ac1c5bb11f7ba4487bdf787fa003/Subtitles/7/0/Stream.smi?api_key=9d924cd97c9642a38f94eb0d653952a6:
13:23:35.143 T:34264 ERROR: XFILE::CFileCache::Open - failed to open source
13:23:35.143 T:34264 ERROR: CVideoPlayerSubtitle::OpenStream - Unable to create subtitle parser
13:23:35.367 T:22388 NOTICE: DXVA::CDecoder::Close: closing decoder.
13:23:35.967 T:22388 WARNING: CGUIWindowManager - CGUIWindowManager::HandleAction - ignoring action 107, because topmost modal dialog closing animation is running

 
Emby Log

2019-01-23 13:23:31.032 Info HttpServer: HTTP GET http://192.168.0.107:8096/emby/Videos/63974/d165ac1c5bb11f7ba4487bdf787fa003/Subtitles/6/0/Stream.sub. Host=192.168.0.107:8096, Range=bytes=0-, User-Agent=Kodi/18.0-RC5 (Windows NT 10.0.17763; Win64; x64) App_Bitness/64 Version/18.0-RC5-Git:20190118-9a49e6c1bc, Accept=*/*, Accept-Charset=UTF-8,*;q=0.8
2019-01-23 13:23:35.618 Debug SubtitleEncoder: charset cp949 detected for /share/USB3/히트/heat.kor.sub
2019-01-23 13:23:40.218 Debug SubtitleEncoder: charset cp949 detected for /share/USB3/히트/heat.kor.sub
2019-01-23 13:23:40.218 Info SubtitleEncoder: ProcessRun 'ffmpeg-subtitle_convert' Execute: /usr/local/AppCentral/emby-server/bin/ffmpeg -sub_charenc cp949 -i "/share/USB3/히트/heat.kor.sub" "/home/emby/cache/subtitles/3/3e64e19011ca11cb057a03e0030b8f41_636836948521126348_6_0_0_False.sub"
2019-01-23 13:23:40.303 Info SubtitleEncoder: ProcessRun 'ffmpeg-subtitle_convert' Started.
2019-01-23 13:23:40.523 Info SubtitleEncoder: ProcessRun 'ffmpeg-subtitle_convert' Process exited with code 1
2019-01-23 13:23:40.523 Error SubtitleEncoder: ffmpeg subtitle conversion failed for /share/USB3/히트/heat.kor.sub
2019-01-23 13:23:40.523 Error SubtitleEncoder: ProcessRun 'ffmpeg-subtitle_convert' Output:

2019-01-23 13:23:40.523 Error SubtitleEncoder: ProcessRun 'ffmpeg-subtitle_convert' Error Output:
ffmpeg version 4.0.2-emby_2018_12_09 Copyright © 2000-2018 the FFmpeg developers
built with gcc 6.3.0 (crosstool-NG crosstool-ng-1.23.0)
configuration: --cc=x86_64-pc-linux-gnu-gcc --arch=x86_64 --prefix=/home/embybuilder/Buildbot/x64/ffmpeg-x64/staging --pkg-config=pkg-config --disable-doc --disable-ffplay --disable-vdpau --disable-xlib --enable-fontconfig --enable-gnutls --enable-gpl --enable-iconv --enable-libass --enable-libfreetype --enable-libfribidi --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libwebp --enable-libx264 --enable-libzvbi --enable-version3 --enable-libsmbclient --enable-cuda --enable-cuvid --enable-libmfx --enable-nvenc --enable-vaapi --enable-cross-compile --cross-prefix=x86_64-pc-linux-gnu- --extra-libs='-lexpat -lfreetype -lfribidi -lfontconfig -liconv -lpng -lz -lvorbis -logg -lnettle -lhogweed -lgmp -laddns-samba4 -lasn1util-samba4 -lauthkrb5-samba4 -lCHARSET3-samba4 -lcliauth-samba4 -lcli-cldap-samba4 -lcli-ldap-common-samba4 -lcli-nbt-samba4 -lcli-smb-common-samba4 -lcom_err -lcommon-auth-samba4 -ldbwrap-samba4 -ldcerpc-binding -ldcerpc-samba-samba4 -ldl -lflag-mapping-samba4 -lgenrand-samba4 -lgensec-samba4 -lgse-samba4 -lgssapi_krb5 -llibcli-lsa3-samba4 -llibsmb-samba4 -linterfaces-samba4 -liov-buf-samba4 -lk5crypto -lkrb5 -lkrb5samba-samba4 -lkrb5support -lldb -lldbsamba-samba4 -lmessages-dgm-samba4 -lmessages-util-samba4 -lmsghdr-samba4 -lmsrpc3-samba4 -lndr -lndr-krb5pac -lndr-nbt -lndr-samba-samba4 -lndr-standard -lreplace-samba4 -lsamba-cluster-support-samba4 -lsamba-credentials -lsamba-debug-samba4 -lsamba-errors -lsamba-hostconfig -lsamba-modules-samba4 -lsamba-security-samba4 -lsamba-sockets-samba4 -lsamba-util -lsamba3-util-samba4 -lsamdb -lsamdb-common-samba4 -lsecrets3-samba4 -lserver-id-db-samba4 -lserver-role-samba4 -lsmbconf -lsmbd-shim-samba4 -lsmb-transport-samba4 -lsocket-blocking-samba4 -lsys-rw-samba4 -ltalloc -ltalloc-report-samba4 -ltdb -ltdb-wrap-samba4 -ltevent -ltevent-util -ltime-basic-samba4 -lutil-cmdline-samba4 -lutil-reg-samba4 -lutil-setid-samba4 -lutil-tdb-samba4 -luuid -lwbclient -lwinbind-client-samba4 -ldrm' --target-os=linux --enable-shared --disable-static
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
Input #0, mpeg, from '/share/USB3/히트/heat.kor.sub':
Duration: 02:43:48.15, start: 40.081700, bitrate: 8 kb/s
Stream #0:0[0x20]: Subtitle: dvd_subtitle
Output #0, microdvd, to '/home/emby/cache/subtitles/3/3e64e19011ca11cb057a03e0030b8f41_636836948521126348_6_0_0_False.sub':
Output file #0 does not contain any stream

2019-01-23 13:23:40.530 Error HttpServer: Error processing request
*** Error Report ***
Version: 4.1.0.1
Command line: /volume1/.@plugins/AppCentral/emby-server/system/EmbyServer.dll -programdata /home/emby -ffdetect /usr/local/AppCentral/emby-server/bin/ffdetect -ffmpeg /usr/local/AppCentral/emby-server/bin/ffmpeg -ffprobe /usr/local/AppCentral/emby-server/bin/ffprobe -updatepackage emby-server-asustor_{version}_x86-64.apk -noautorunwebapp
Operating system: Unix 4.4.24.0
64-Bit OS: True
64-Bit Process: True
User Interactive: True
Processor count: 4
Program data path: /home/emby
Application directory: /volume1/.@plugins/AppCentral/emby-server/system
System.Exception: System.Exception: ffmpeg subtitle conversion failed for /share/USB3/히트/heat.kor.sub
at Emby.Server.MediaEncoding.Subtitles.SubtitleEncoder.ConvertExternalSubtitleInternal(String inputPath, String language, MediaProtocol inputProtocol, String outputPath, Int64 startTimeTicks, Int64 endTimeTicks, Boolean preserveOriginalTimestamps, CancellationToken cancellationToken)
at Emby.Server.MediaEncoding.Subtitles.SubtitleEncoder.ConvertExternalSubtitle(String inputPath, String language, MediaProtocol inputProtocol, String outputPath, Int64 startTimeTicks, Int64 endTimeTicks, Boolean preserveOriginalTimestamps, CancellationToken cancellationToken)
at Emby.Server.MediaEncoding.Subtitles.SubtitleEncoder.GetReadableFile(String mediaPath, MediaProtocol mediaSourceProtocol, MediaStream subtitleStream, String outputFormat, Int64 startTimeTicks, Int64 endTimeTicks, Boolean preserveOriginalTimestamps, CancellationToken cancellationToken)
at Emby.Server.MediaEncoding.Subtitles.SubtitleEncoder.GetSubtitles(BaseItem item, String mediaSourceId, Int32 subtitleStreamIndex, String outputFormat, Int64 startTimeTicks, Int64 endTimeTicks, Boolean preserveOriginalTimestamps, CancellationToken cancellationToken)
at MediaBrowser.Api.Subtitles.SubtitleService.Get(GetSubtitle request)
at Emby.Server.Implementations.Services.ServiceExecGeneral.GetTaskResult(Task task)
at Emby.Server.Implementations.Services.ServiceHandler.ProcessRequestAsync(HttpListenerHost appHost, IRequest httpReq, IResponse httpRes, ILogger logger, String operationName, CancellationToken cancellationToken)
at Emby.Server.Implementations.HttpServer.HttpListenerHost.RequestHandler(IRequest httpReq, String urlString, String host, String localPath, CancellationToken cancellationToken)
Source: Emby.Server.MediaEncoding
TargetSite: Void MoveNext()

2019-01-23 13:23:40.530 Info HttpServer: HTTP Response 500 to 192.168.0.199. Time: 9498ms. http://192.168.0.107:8096/emby/Videos/63974/d165ac1c5bb11f7ba4487bdf787fa003/Subtitles/6/0/Stream.sub

 
However, in Emby Web, Emby App, it is played without any problems.
 
edit: I think emby server should not have a passthough format except srt subtitle.
        external smi subtitles have the same problem.
      

2019-01-23 13:23:47.150 Info HttpServer: HTTP GET http://192.168.0.107:8096/emby/Videos/63974/d165ac1c5bb11f7ba4487bdf787fa003/Subtitles/7/0/Stream.smi. Host=192.168.0.107:8096, Range=bytes=0-, User-Agent=Kodi/18.0-RC5 (Windows NT 10.0.17763; Win64; x64) App_Bitness/64 Version/18.0-RC5-Git:20190118-9a49e6c1bc, Accept=*/*, Accept-Charset=UTF-8,*;q=0.8
2019-01-23 13:23:47.205 Debug SubtitleEncoder: charset EUC-KR detected for /share/USB3/히트/heat.smi
2019-01-23 13:23:47.252 Debug SubtitleEncoder: charset EUC-KR detected for /share/USB3/히트/heat.smi
2019-01-23 13:23:47.252 Info SubtitleEncoder: ProcessRun 'ffmpeg-subtitle_convert' Execute: /usr/local/AppCentral/emby-server/bin/ffmpeg -sub_charenc EUC-KR -i "/share/USB3/히트/heat.smi" "/home/emby/cache/subtitles/3/3aef847351a7bdddac02f2effad8cebe_636826492552502705_7_0_0_False.smi"
2019-01-23 13:23:47.338 Info SubtitleEncoder: ProcessRun 'ffmpeg-subtitle_convert' Started.
2019-01-23 13:23:47.483 Info SubtitleEncoder: ProcessRun 'ffmpeg-subtitle_convert' Process exited with code 1
2019-01-23 13:23:47.484 Error SubtitleEncoder: ffmpeg subtitle conversion failed for /share/USB3/히트/heat.smi
2019-01-23 13:23:47.484 Error SubtitleEncoder: ProcessRun 'ffmpeg-subtitle_convert' Output:

2019-01-23 13:23:47.484 Error SubtitleEncoder: ProcessRun 'ffmpeg-subtitle_convert' Error Output:
ffmpeg version 4.0.2-emby_2018_12_09 Copyright © 2000-2018 the FFmpeg developers
built with gcc 6.3.0 (crosstool-NG crosstool-ng-1.23.0)
configuration: --cc=x86_64-pc-linux-gnu-gcc --arch=x86_64 --prefix=/home/embybuilder/Buildbot/x64/ffmpeg-x64/staging --pkg-config=pkg-config --disable-doc --disable-ffplay --disable-vdpau --disable-xlib --enable-fontconfig --enable-gnutls --enable-gpl --enable-iconv --enable-libass --enable-libfreetype --enable-libfribidi --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libwebp --enable-libx264 --enable-libzvbi --enable-version3 --enable-libsmbclient --enable-cuda --enable-cuvid --enable-libmfx --enable-nvenc --enable-vaapi --enable-cross-compile --cross-prefix=x86_64-pc-linux-gnu- --extra-libs='-lexpat -lfreetype -lfribidi -lfontconfig -liconv -lpng -lz -lvorbis -logg -lnettle -lhogweed -lgmp -laddns-samba4 -lasn1util-samba4 -lauthkrb5-samba4 -lCHARSET3-samba4 -lcliauth-samba4 -lcli-cldap-samba4 -lcli-ldap-common-samba4 -lcli-nbt-samba4 -lcli-smb-common-samba4 -lcom_err -lcommon-auth-samba4 -ldbwrap-samba4 -ldcerpc-binding -ldcerpc-samba-samba4 -ldl -lflag-mapping-samba4 -lgenrand-samba4 -lgensec-samba4 -lgse-samba4 -lgssapi_krb5 -llibcli-lsa3-samba4 -llibsmb-samba4 -linterfaces-samba4 -liov-buf-samba4 -lk5crypto -lkrb5 -lkrb5samba-samba4 -lkrb5support -lldb -lldbsamba-samba4 -lmessages-dgm-samba4 -lmessages-util-samba4 -lmsghdr-samba4 -lmsrpc3-samba4 -lndr -lndr-krb5pac -lndr-nbt -lndr-samba-samba4 -lndr-standard -lreplace-samba4 -lsamba-cluster-support-samba4 -lsamba-credentials -lsamba-debug-samba4 -lsamba-errors -lsamba-hostconfig -lsamba-modules-samba4 -lsamba-security-samba4 -lsamba-sockets-samba4 -lsamba-util -lsamba3-util-samba4 -lsamdb -lsamdb-common-samba4 -lsecrets3-samba4 -lserver-id-db-samba4 -lserver-role-samba4 -lsmbconf -lsmbd-shim-samba4 -lsmb-transport-samba4 -lsocket-blocking-samba4 -lsys-rw-samba4 -ltalloc -ltalloc-report-samba4 -ltdb -ltdb-wrap-samba4 -ltevent -ltevent-util -ltime-basic-samba4 -lutil-cmdline-samba4 -lutil-reg-samba4 -lutil-setid-samba4 -lutil-tdb-samba4 -luuid -lwbclient -lwinbind-client-samba4 -ldrm' --target-os=linux --enable-shared --disable-static
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
Input #0, sami, from '/share/USB3/히트/heat.smi':
Duration: N/A, bitrate: N/A
Stream #0:0: Subtitle: sami
[NULL @ 0x17a2c80] Unable to find a suitable output format for '/home/emby/cache/subtitles/3/3aef847351a7bdddac02f2effad8cebe_636826492552502705_7_0_0_False.smi'
/home/emby/cache/subtitles/3/3aef847351a7bdddac02f2effad8cebe_636826492552502705_7_0_0_False.smi: Invalid argument

2019-01-23 13:23:47.490 Error HttpServer: Error processing request
*** Error Report ***
Version: 4.1.0.1
Command line: /volume1/.@plugins/AppCentral/emby-server/system/EmbyServer.dll -programdata /home/emby -ffdetect /usr/local/AppCentral/emby-server/bin/ffdetect -ffmpeg /usr/local/AppCentral/emby-server/bin/ffmpeg -ffprobe /usr/local/AppCentral/emby-server/bin/ffprobe -updatepackage emby-server-asustor_{version}_x86-64.apk -noautorunwebapp
Operating system: Unix 4.4.24.0
64-Bit OS: True
64-Bit Process: True
User Interactive: True
Processor count: 4
Program data path: /home/emby
Application directory: /volume1/.@plugins/AppCentral/emby-server/system
System.Exception: System.Exception: ffmpeg subtitle conversion failed for /share/USB3/히트/heat.smi
at Emby.Server.MediaEncoding.Subtitles.SubtitleEncoder.ConvertExternalSubtitleInternal(String inputPath, String language, MediaProtocol inputProtocol, String outputPath, Int64 startTimeTicks, Int64 endTimeTicks, Boolean preserveOriginalTimestamps, CancellationToken cancellationToken)
at Emby.Server.MediaEncoding.Subtitles.SubtitleEncoder.ConvertExternalSubtitle(String inputPath, String language, MediaProtocol inputProtocol, String outputPath, Int64 startTimeTicks, Int64 endTimeTicks, Boolean preserveOriginalTimestamps, CancellationToken cancellationToken)
at Emby.Server.MediaEncoding.Subtitles.SubtitleEncoder.GetReadableFile(String mediaPath, MediaProtocol mediaSourceProtocol, MediaStream subtitleStream, String outputFormat, Int64 startTimeTicks, Int64 endTimeTicks, Boolean preserveOriginalTimestamps, CancellationToken cancellationToken)
at Emby.Server.MediaEncoding.Subtitles.SubtitleEncoder.GetSubtitles(BaseItem item, String mediaSourceId, Int32 subtitleStreamIndex, String outputFormat, Int64 startTimeTicks, Int64 endTimeTicks, Boolean preserveOriginalTimestamps, CancellationToken cancellationToken)
at MediaBrowser.Api.Subtitles.SubtitleService.Get(GetSubtitle request)
at Emby.Server.Implementations.Services.ServiceExecGeneral.GetTaskResult(Task task)
at Emby.Server.Implementations.Services.ServiceHandler.ProcessRequestAsync(HttpListenerHost appHost, IRequest httpReq, IResponse httpRes, ILogger logger, String operationName, CancellationToken cancellationToken)
at Emby.Server.Implementations.HttpServer.HttpListenerHost.RequestHandler(IRequest httpReq, String urlString, String host, String localPath, CancellationToken cancellationToken)
Source: Emby.Server.MediaEncoding
TargetSite: Void MoveNext()

2019-01-23 13:23:47.491 Info HttpServer: HTTP Response 500 to 192.168.0.199. Time: 341ms. http://192.168.0.107:8096/emby/Videos/63974/d165ac1c5bb11f7ba4487bdf787fa003/Subtitles/7/0/Stream.smi

Edited by muhul
  • Like 1
Link to comment
Share on other sites

Angelblue05

@@Luke

 

I'm not sure what I'm doing wrong with subtitles with the property IsTextSubtitleStream being False. Currently using the deliveryurl provided with playbackinfo, but that returns an error, see the post above.

 

When IsTextSubtitleStream is True, it works as intended.

Edited by Angelblue05
Link to comment
Share on other sites

Android Emby app allows external SUB subtitles to directplayed properly, but Kodi does not play properly unless SUB is included inside.

Blu-ray subtitles are basically in PGS format, but if I change them to SUB format and save them inside, there is a problem with transcoding (very slow).

However, there is no such problem with external SUB.

So I always have to make and insert the subtitles in SRT, but this request was made because PGS or SUB subtitles are more generalized by my standard than SRT subtitles.
 
But if there's a problem that's complicated to fix, I'll use it as it is.
Edited by muhul
Link to comment
Share on other sites

Angelblue05

Right ok you can't extract this format.

 

What is the value of Supports external stream ?

        {
          u'IsInterlaced': False,
          u'DisplayTitle': u'Kor',
          u'IsExternalUrl': False,
          u'Language': u'kor',
          u'Index': 6,
          u'DeliveryUrl': u'/Videos/63974/d165ac1c5bb11f7ba4487bdf787fa003/Subtitles/6/0/Stream.sub?api_key={emby-token}',
          u'SupportsExternalStream': True,
          u'DeliveryMethod': u'External',
          u'Codec': u'sub',
          u'IsForced': False,
          u'Path': u'/share/USB3/\ud788\ud2b8/heat.kor.sub',
          u'Type': u'Subtitle',
          u'IsTextSubtitleStream': False,
          u'IsDefault': False,
          u'IsExternal': True
        },
Link to comment
Share on other sites

Sorry, my mistake. the subtitle is external smi and for whatever reason the server is trying to process it and do a conversion on it when that isn't needed. I'll need to fix that. Thanks.

  • Like 1
Link to comment
Share on other sites

  • 2 weeks later...
Smi subtitles work well.
However, external SUB subtitles still fail.
KODI Log

07:17:39.535 T:25564 ERROR: CCurlFile::FillBuffer - Failed: HTTP returned error 500
07:17:39.535 T:25564 ERROR: CCurlFile::Open failed with code 500 for http://192.168.0.107:8096/emby/Videos/66323/7a8163e2e2abcfdc83cc1e93a958f172/Subtitles/6/0/Stream.sub?api_key=9d924cd97c9642a38f94eb0d653952a6:
07:17:39.535 T:25564 ERROR: XFILE::CFileCache::Open - failed to open source
07:17:39.535 T:25564 ERROR: CVideoPlayerSubtitle::OpenStream - Unable to create subtitle parser

Emby Log

2019-02-03 07:17:36.975 Debug SubtitleEncoder: charset cp949 detected for /share/USB3/보헤미안 랩소디/Bohemian.Rhapsody.2018.kor.sub
2019-02-03 07:17:37.147 Error Trakt: Exception handled sending status update
*** Error Report ***
Version: 4.1.0.5
Command line: /volume1/.@plugins/AppCentral/emby-server/system/EmbyServer.dll -programdata /home/emby -ffdetect /usr/local/AppCentral/emby-server/bin/ffdetect -ffmpeg /usr/local/AppCentral/emby-server/bin/ffmpeg -ffprobe /usr/local/AppCentral/emby-server/bin/ffprobe -updatepackage emby-server-asustor_{version}_x86-64.apk
Operating system: Unix 4.4.24.0
64-Bit OS: True
64-Bit Process: True
User Interactive: True
Processor count: 4
Program data path: /home/emby
Application directory: /volume1/.@plugins/AppCentral/emby-server/system
MediaBrowser.Model.Net.HttpException: MediaBrowser.Model.Net.HttpException: Unauthorized
at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.SendAsyncInternal(HttpRequestOptions options, String httpMethod)
at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.SendAsync(HttpRequestOptions options, String httpMethod)
at Trakt.Api.TraktApi.<>c__DisplayClass30_0.<b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at Trakt.Api.TraktApi.Retry[T](Func`1 function)
at Trakt.Api.TraktApi.PostToTrakt(String url, Object data, CancellationToken cancellationToken, TraktUser traktUser)
at Trakt.Api.TraktApi.RefreshUserAuth(TraktUser traktUser)
at Trakt.Api.TraktApi.SetRequestHeaders(HttpRequestOptions options, TraktUser traktUser)
at Trakt.Api.TraktApi.PostToTrakt(String url, Object data, CancellationToken cancellationToken, TraktUser traktUser)
at Trakt.Api.TraktApi.SendMovieStatusUpdateAsync(Movie movie, MediaStatus mediaStatus, TraktUser traktUser, Single progressPercent)
at Trakt.ServerMediator.KernelPlaybackStart(Object sender, PlaybackProgressEventArgs e)
Source: Emby.Server.Implementations
TargetSite: Void MoveNext()

2019-02-03 07:17:40.711 Debug SubtitleEncoder: charset cp949 detected for /share/USB3/보헤미안 랩소디/Bohemian.Rhapsody.2018.kor.sub
2019-02-03 07:17:40.711 Info SubtitleEncoder: ProcessRun 'ffmpeg-subtitle_convert' Execute: /usr/local/AppCentral/emby-server/bin/ffmpeg -sub_charenc cp949 -i "/share/USB3/보헤미안 랩소디/Bohemian.Rhapsody.2018.kor.sub" "/home/emby/cache/subtitles/b/b2f21960e21dd555efaa15cd3790d340_636847421159126192_6_0_0_False.sub"
2019-02-03 07:17:40.796 Info SubtitleEncoder: ProcessRun 'ffmpeg-subtitle_convert' Started.
2019-02-03 07:17:40.969 Info SubtitleEncoder: ProcessRun 'ffmpeg-subtitle_convert' Process exited with code 1
2019-02-03 07:17:40.969 Error SubtitleEncoder: ffmpeg subtitle conversion failed for /share/USB3/보헤미안 랩소디/Bohemian.Rhapsody.2018.kor.sub
2019-02-03 07:17:40.969 Error SubtitleEncoder: ProcessRun 'ffmpeg-subtitle_convert' Output:

2019-02-03 07:17:40.969 Error SubtitleEncoder: ProcessRun 'ffmpeg-subtitle_convert' Error Output:
ffmpeg version 4.0.2-emby_2018_12_09 Copyright © 2000-2018 the FFmpeg developers
built with gcc 6.3.0 (crosstool-NG crosstool-ng-1.23.0)
configuration: --cc=x86_64-pc-linux-gnu-gcc --arch=x86_64 --prefix=/home/embybuilder/Buildbot/x64/ffmpeg-x64/staging --pkg-config=pkg-config --disable-doc --disable-ffplay --disable-vdpau --disable-xlib --enable-fontconfig --enable-gnutls --enable-gpl --enable-iconv --enable-libass --enable-libfreetype --enable-libfribidi --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libwebp --enable-libx264 --enable-libzvbi --enable-version3 --enable-libsmbclient --enable-cuda --enable-cuvid --enable-libmfx --enable-nvenc --enable-vaapi --enable-cross-compile --cross-prefix=x86_64-pc-linux-gnu- --extra-libs='-lexpat -lfreetype -lfribidi -lfontconfig -liconv -lpng -lz -lvorbis -logg -lnettle -lhogweed -lgmp -laddns-samba4 -lasn1util-samba4 -lauthkrb5-samba4 -lCHARSET3-samba4 -lcliauth-samba4 -lcli-cldap-samba4 -lcli-ldap-common-samba4 -lcli-nbt-samba4 -lcli-smb-common-samba4 -lcom_err -lcommon-auth-samba4 -ldbwrap-samba4 -ldcerpc-binding -ldcerpc-samba-samba4 -ldl -lflag-mapping-samba4 -lgenrand-samba4 -lgensec-samba4 -lgse-samba4 -lgssapi_krb5 -llibcli-lsa3-samba4 -llibsmb-samba4 -linterfaces-samba4 -liov-buf-samba4 -lk5crypto -lkrb5 -lkrb5samba-samba4 -lkrb5support -lldb -lldbsamba-samba4 -lmessages-dgm-samba4 -lmessages-util-samba4 -lmsghdr-samba4 -lmsrpc3-samba4 -lndr -lndr-krb5pac -lndr-nbt -lndr-samba-samba4 -lndr-standard -lreplace-samba4 -lsamba-cluster-support-samba4 -lsamba-credentials -lsamba-debug-samba4 -lsamba-errors -lsamba-hostconfig -lsamba-modules-samba4 -lsamba-security-samba4 -lsamba-sockets-samba4 -lsamba-util -lsamba3-util-samba4 -lsamdb -lsamdb-common-samba4 -lsecrets3-samba4 -lserver-id-db-samba4 -lserver-role-samba4 -lsmbconf -lsmbd-shim-samba4 -lsmb-transport-samba4 -lsocket-blocking-samba4 -lsys-rw-samba4 -ltalloc -ltalloc-report-samba4 -ltdb -ltdb-wrap-samba4 -ltevent -ltevent-util -ltime-basic-samba4 -lutil-cmdline-samba4 -lutil-reg-samba4 -lutil-setid-samba4 -lutil-tdb-samba4 -luuid -lwbclient -lwinbind-client-samba4 -ldrm' --target-os=linux --enable-shared --disable-static
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
Input #0, mpeg, from '/share/USB3/보헤미안 랩소디/Bohemian.Rhapsody.2018.kor.sub':
Duration: 02:08:00.80, start: 67.650911, bitrate: 8 kb/s
Stream #0:0[0x20]: Subtitle: dvd_subtitle
Output #0, microdvd, to '/home/emby/cache/subtitles/b/b2f21960e21dd555efaa15cd3790d340_636847421159126192_6_0_0_False.sub':
Output file #0 does not contain any stream

2019-02-03 07:17:40.979 Error HttpServer: Error processing request
*** Error Report ***
Version: 4.1.0.5
Command line: /volume1/.@plugins/AppCentral/emby-server/system/EmbyServer.dll -programdata /home/emby -ffdetect /usr/local/AppCentral/emby-server/bin/ffdetect -ffmpeg /usr/local/AppCentral/emby-server/bin/ffmpeg -ffprobe /usr/local/AppCentral/emby-server/bin/ffprobe -updatepackage emby-server-asustor_{version}_x86-64.apk
Operating system: Unix 4.4.24.0
64-Bit OS: True
64-Bit Process: True
User Interactive: True
Processor count: 4
Program data path: /home/emby
Application directory: /volume1/.@plugins/AppCentral/emby-server/system
System.Exception: System.Exception: ffmpeg subtitle conversion failed for /share/USB3/보헤미안 랩소디/Bohemian.Rhapsody.2018.kor.sub
at Emby.Server.MediaEncoding.Subtitles.SubtitleEncoder.ConvertExternalSubtitleInternal(String inputPath, String language, MediaProtocol inputProtocol, String outputPath, Int64 startTimeTicks, Int64 endTimeTicks, Boolean preserveOriginalTimestamps, CancellationToken cancellationToken)
at Emby.Server.MediaEncoding.Subtitles.SubtitleEncoder.ConvertExternalSubtitle(String inputPath, String language, MediaProtocol inputProtocol, String outputPath, Int64 startTimeTicks, Int64 endTimeTicks, Boolean preserveOriginalTimestamps, CancellationToken cancellationToken)
at Emby.Server.MediaEncoding.Subtitles.SubtitleEncoder.GetReadableFile(String mediaPath, MediaProtocol mediaSourceProtocol, MediaStream subtitleStream, String outputFormat, Int64 startTimeTicks, Int64 endTimeTicks, Boolean preserveOriginalTimestamps, CancellationToken cancellationToken)
at Emby.Server.MediaEncoding.Subtitles.SubtitleEncoder.GetSubtitles(BaseItem item, String mediaSourceId, Int32 subtitleStreamIndex, String outputFormat, Int64 startTimeTicks, Int64 endTimeTicks, Boolean preserveOriginalTimestamps, CancellationToken cancellationToken)
at MediaBrowser.Api.Subtitles.SubtitleService.Get(GetSubtitle request)
at Emby.Server.Implementations.Services.ServiceExecGeneral.GetTaskResult(Task task)
at Emby.Server.Implementations.Services.ServiceHandler.ProcessRequestAsync(HttpListenerHost appHost, IRequest httpReq, IResponse httpRes, ILogger logger, String operationName, CancellationToken cancellationToken)
at Emby.Server.Implementations.HttpServer.HttpListenerHost.RequestHandler(IRequest httpReq, String urlString, String host, String localPath, CancellationToken cancellationToken)
Source: Emby.Server.MediaEncoding
TargetSite: Void MoveNext()

2019-02-03 07:17:40.979 Info HttpServer: HTTP Response 500 to 192.168.0.199. Time: 7929ms. http://192.168.0.107:8096/emby/Videos/66323/7a8163e2e2abcfdc83cc1e93a958f172/Subtitles/6/0/Stream.sub

 
5c5619cd0d3b6_Snap1809.png
 
I think subtitles that are not supported by the media player are attempted to encode,
but KODI, SUB subtitles are supported.
However, Emby server attempts to encode SUB subtitles.
Link to comment
Share on other sites

Angelblue05

Emby for Kodi passes the subs as it should be (stream.sub) no encoding. The issue is Emby has difficulty serving that format? The add-on uses the server api to provide the subs to Kodi. It doesn't provide the direct file, but no encoding should happen.

Edited by Angelblue05
Link to comment
Share on other sites

  • Solution
I think problem is Emby Sever.
Emby for Kodi brings up the subtitle list correctly,
However, server still attempts to encode SUB subtitles.
Edited by muhul
  • Like 1
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...