davidpenn2001 0 Posted July 6, 2020 Share Posted July 6, 2020 I can't show external srt subtitle even I put it in same directory and same name. It always reports some invalid data. So I finally created a test srt with contents below: 1 00:00:00:000 --> 01:00:00,000 hello, world! as name of seqingnannv.english.srt. My video file name is seqingnanv.mkv. But it still can't show up with same invalid data error. The error is: 2020-07-06 20:21:35.368 Info HttpServer: HTTP POST http://10.0.0.3:8096/emby/Sessions/Playing/Stopped. UserAgent: Mozilla/5.0 (iPhone; CPU iPhone OS 13_5_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148 2020-07-06 20:21:35.369 Info SessionManager: Playback stopped reported by app Emby for iOS 1.9.7 playing 色情男女完整版 高清中文字幕. Stopped at 0 ms 2020-07-06 20:21:35.369 Info HttpServer: HTTP Response 204 to 10.0.0.24. Time: 2ms. http://10.0.0.3:8096/emby/Sessions/Playing/Stopped 2020-07-06 20:21:35.376 Info HttpServer: HTTP OPTIONS http://10.0.0.3:8096/emby/Items/1440/PlaybackInfo?UserId=84e42ffd4bb0464dae8b24c5ea08662f&StartTimeTicks=0&IsPlayback=true&AutoOpenLiveStream=true&AudioStreamIndex=1&SubtitleStreamIndex=3&MediaSourceId=b2923c67feaf5ffb6387f66ca1bfc92e&MaxStreamingBitrate=420000000. UserAgent: Mozilla/5.0 (iPhone; CPU iPhone OS 13_5_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148 2020-07-06 20:21:35.376 Info HttpServer: HTTP Response 200 to 10.0.0.24. Time: 0ms. http://10.0.0.3:8096/emby/Items/1440/PlaybackInfo?UserId=84e42ffd4bb0464dae8b24c5ea08662f&StartTimeTicks=0&IsPlayback=true&AutoOpenLiveStream=true&AudioStreamIndex=1&SubtitleStreamIndex=3&MediaSourceId=b2923c67feaf5ffb6387f66ca1bfc92e&MaxStreamingBitrate=420000000 2020-07-06 20:21:35.381 Info HttpServer: HTTP POST http://10.0.0.3:8096/emby/Items/1440/PlaybackInfo?UserId=84e42ffd4bb0464dae8b24c5ea08662f&StartTimeTicks=0&IsPlayback=true&AutoOpenLiveStream=true&AudioStreamIndex=1&SubtitleStreamIndex=3&MediaSourceId=b2923c67feaf5ffb6387f66ca1bfc92e&MaxStreamingBitrate=420000000. UserAgent: Mozilla/5.0 (iPhone; CPU iPhone OS 13_5_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148 2020-07-06 20:21:35.388 Info MediaInfoService: User policy for delta. EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True 2020-07-06 20:21:35.389 Info HttpServer: HTTP Response 200 to 10.0.0.24. Time: 8ms. http://10.0.0.3:8096/emby/Items/1440/PlaybackInfo?UserId=84e42ffd4bb0464dae8b24c5ea08662f&StartTimeTicks=0&IsPlayback=true&AutoOpenLiveStream=true&AudioStreamIndex=1&SubtitleStreamIndex=3&MediaSourceId=b2923c67feaf5ffb6387f66ca1bfc92e&MaxStreamingBitrate=420000000 2020-07-06 20:21:35.403 Info HttpServer: HTTP GET http://10.0.0.3:8096/emby/videos/1440/stream.mkv?DeviceId=EE46B11B-1C1F-4A2F-A803-C7A8BA10917F&MediaSourceId=b2923c67feaf5ffb6387f66ca1bfc92e&Static=true&PlaySessionId=b4d859db7c7b4c2b81e0e7183ab194e7. User-Agent=mpv 0.30.0-UNKNOWN, Accept=*/*, Range=bytes=0-, Connection=close, Host=10.0.0.3:8096, Icy-MetaData=1 2020-07-06 20:21:35.403 Info HttpServer: HTTP GET http://10.0.0.3:8096/emby/Items/1440/Images/Primary?Tag=122a243fee84f8206321db249326c7b7&MaxWidth=400. UserAgent: Emby/14 CFNetwork/1126 Darwin/19.5.0 2020-07-06 20:21:35.416 Info HttpServer: HTTP GET http://10.0.0.3:8096/emby/videos/1440/stream.mkv?DeviceId=EE46B11B-1C1F-4A2F-A803-C7A8BA10917F&MediaSourceId=b2923c67feaf5ffb6387f66ca1bfc92e&Static=true&PlaySessionId=b4d859db7c7b4c2b81e0e7183ab194e7. User-Agent=mpv 0.30.0-UNKNOWN, Accept=*/*, Range=bytes=1581186372-, Connection=close, Host=10.0.0.3:8096, Icy-MetaData=1 2020-07-06 20:21:35.419 Info HttpServer: HTTP Response 206 to 10.0.0.24. Time: 3ms. http://10.0.0.3:8096/emby/videos/1440/stream.mkv?DeviceId=EE46B11B-1C1F-4A2F-A803-C7A8BA10917F&MediaSourceId=b2923c67feaf5ffb6387f66ca1bfc92e&Static=true&PlaySessionId=b4d859db7c7b4c2b81e0e7183ab194e7 2020-07-06 20:21:35.423 Info HttpServer: SocketException: http://10.0.0.3:8096/emby/videos/1440/stream.mkv?DeviceId=EE46B11B-1C1F-4A2F-A803-C7A8BA10917F&MediaSourceId=b2923c67feaf5ffb6387f66ca1bfc92e&Static=true&PlaySessionId=b4d859db7c7b4c2b81e0e7183ab194e7&api_key=602ca1eca0fe4883abb2bf2779b41d45 2020-07-06 20:21:35.424 Info HttpServer: HTTP Response 206 to 10.0.0.24. Time: 21ms. http://10.0.0.3:8096/emby/videos/1440/stream.mkv?DeviceId=EE46B11B-1C1F-4A2F-A803-C7A8BA10917F&MediaSourceId=b2923c67feaf5ffb6387f66ca1bfc92e&Static=true&PlaySessionId=b4d859db7c7b4c2b81e0e7183ab194e7 2020-07-06 20:21:35.436 Info HttpServer: HTTP GET http://10.0.0.3:8096/emby/videos/1440/stream.mkv?DeviceId=EE46B11B-1C1F-4A2F-A803-C7A8BA10917F&MediaSourceId=b2923c67feaf5ffb6387f66ca1bfc92e&Static=true&PlaySessionId=b4d859db7c7b4c2b81e0e7183ab194e7. User-Agent=mpv 0.30.0-UNKNOWN, Accept=*/*, Range=bytes=5583-, Connection=close, Host=10.0.0.3:8096, Icy-MetaData=1 2020-07-06 20:21:35.438 Info HttpServer: HTTP Response 200 to 10.0.0.24. Time: 35ms. http://10.0.0.3:8096/emby/Items/1440/Images/Primary?Tag=122a243fee84f8206321db249326c7b7&MaxWidth=400 2020-07-06 20:21:35.493 Info HttpServer: HTTP OPTIONS http://10.0.0.3:8096/emby/Sessions/Playing. UserAgent: Mozilla/5.0 (iPhone; CPU iPhone OS 13_5_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148 2020-07-06 20:21:35.493 Info HttpServer: HTTP Response 200 to 10.0.0.24. Time: 0ms. http://10.0.0.3:8096/emby/Sessions/Playing 2020-07-06 20:21:35.509 Info HttpServer: HTTP POST http://10.0.0.3:8096/emby/Sessions/Playing. UserAgent: Mozilla/5.0 (iPhone; CPU iPhone OS 13_5_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148 2020-07-06 20:21:35.530 Info SessionManager: Playback start reported by app Emby for iOS 1.9.7 playing seqingnannv. Started at 0 ms 2020-07-06 20:21:35.530 Info HttpServer: HTTP Response 204 to 10.0.0.24. Time: 21ms. http://10.0.0.3:8096/emby/Sessions/Playing 2020-07-06 20:21:35.548 Info HttpServer: HTTP GET http://10.0.0.3:8096/emby/Items/1440/Images/Primary?height=1536&tag=122a243fee84f8206321db249326c7b7&quality=90. UserAgent: Emby/14 CFNetwork/1126 Darwin/19.5.0 2020-07-06 20:21:35.733 Info HttpServer: HTTP GET http://10.0.0.3:8096/emby/Videos/1440/b2923c67feaf5ffb6387f66ca1bfc92e/Subtitles/3/0/Stream.srt. User-Agent=mpv 0.30.0-UNKNOWN, Accept=*/*, Range=bytes=0-, Connection=close, Host=10.0.0.3:8096, Icy-MetaData=1 2020-07-06 20:21:35.736 Info SubtitleEncoder: ProcessRun 'ffmpeg-subtitle_convert' Execute: /bin/ffmpeg -sub_charenc ASCII -i file:"/data/video/adu/seqingnannv/seqingnannv.english.srt" "/config/cache/subtitles/e/e553e614675d916e9c1b0925138c1df6_637296337082083748_3_0_0_False.srt" 2020-07-06 20:21:35.773 Info SubtitleEncoder: ProcessRun 'ffmpeg-subtitle_convert' Process exited with code 1 2020-07-06 20:21:35.773 Error SubtitleEncoder: ffmpeg subtitle conversion failed for /data/video/adu/seqingnannv/seqingnannv.english.srt 2020-07-06 20:21:35.773 Error SubtitleEncoder: ProcessRun 'ffmpeg-subtitle_convert' Output: 2020-07-06 20:21:35.773 Error SubtitleEncoder: ProcessRun 'ffmpeg-subtitle_convert' Error Output: ffmpeg version 4.3.0-emby_2020_05_23 Copyright (c) 2000-2019 the FFmpeg developers and softworkz for Emby LLC built with gcc 8.3.0 (crosstool-NG 1.24.0) Execution Date: 2020-07-06 20:21:35 file:/data/video/adu/seqingnannv/seqingnannv.english.srt: Invalid data found when processing input 2020-07-06 20:21:35.774 Error HttpServer: Error processing request *** Error Report *** Version: 4.4.3.0 Command line: /system/EmbyServer.dll -programdata /config -ffdetect /bin/ffdetect -ffmpeg /bin/ffmpeg -ffprobe /bin/ffprobe -restartexitcode 3 Operating system: Unix 3.10.0.1062 64-Bit OS: True 64-Bit Process: True User Interactive: True Runtime: file:///system/System.Private.CoreLib.dll System.Environment.Version: 3.1.2 Processor count: 4 Program data path: /config Application directory: /system System.Exception: System.Exception: ffmpeg subtitle conversion failed for /data/video/adu/seqingnannv/seqingnannv.english.srt at Emby.Server.MediaEncoding.Subtitles.SubtitleEncoder.ConvertExternalSubtitleInternal(ReadOnlyMemory`1 inputPath, ReadOnlyMemory`1 language, MediaProtocol inputProtocol, IDictionary`2 requestHeaders, String outputPath, Int64 startTimeTicks, Int64 endTimeTicks, Boolean preserveOriginalTimestamps, CancellationToken cancellationToken) at Emby.Server.MediaEncoding.Subtitles.SubtitleEncoder.ConvertExternalSubtitle(ReadOnlyMemory`1 inputPath, ReadOnlyMemory`1 language, MediaProtocol inputProtocol, IDictionary`2 requestHeaders, String outputPath, Int64 startTimeTicks, Int64 endTimeTicks, Boolean preserveOriginalTimestamps, CancellationToken cancellationToken) at Emby.Server.MediaEncoding.Subtitles.SubtitleEncoder.GetReadableFile(String mediaPath, MediaProtocol mediaSourceProtocol, IDictionary`2 requestHeaders, MediaStream subtitleStream, ReadOnlyMemory`1 outputFormat, Int64 startTimeTicks, Int64 endTimeTicks, Boolean preserveOriginalTimestamps, CancellationToken cancellationToken) at Emby.Server.MediaEncoding.Subtitles.SubtitleEncoder.GetSubtitles(String inputPath, MediaProtocol inputProtocol, IDictionary`2 requestHeaders, MediaStream subtitleStream, ReadOnlyMemory`1 outputFormat, Int64 startTimeTicks, Int64 endTimeTicks, Boolean preserveOriginalTimestamps, CancellationToken cancellationToken) at MediaBrowser.Api.Subtitles.SubtitleService.GetSubtitles(GetSubtitle request, CancellationToken cancellationToken) at MediaBrowser.Api.Subtitles.SubtitleService.Get(GetSubtitle request) at Emby.Server.Implementations.Services.ServiceController.GetTaskResult(Task task) at Emby.Server.Implementations.Services.ServiceHandler.ProcessRequestAsync(HttpListenerHost appHost, IRequest httpReq, IResponse httpRes, RestPath restPath, String responseContentType, CancellationToken cancellationToken) at Emby.Server.Implementations.HttpServer.HttpListenerHost.RequestHandler(IRequest httpReq, ReadOnlyMemory`1 urlString, ReadOnlyMemory`1 localPath, CancellationToken cancellationToken) Source: Emby.Server.MediaEncoding TargetSite: Void MoveNext() Link to comment Share on other sites More sharing options...
davidpenn2001 0 Posted July 6, 2020 Author Share Posted July 6, 2020 version info: 2020-07-06 00:00:00.003 Info App: Application version: 4.4.3.0 2020-07-06 00:00:00.003 Info App: Emby Command line: /system/EmbyServer.dll -programdata /config -ffdetect /bin/ffdetect -ffmpeg /bin/ffmpeg -ffprobe /bin/ffprobe -restartexitcode 3 Operating system: Unix 3.10.0.1062 64-Bit OS: True 64-Bit Process: True User Interactive: True Runtime: file:///system/System.Private.CoreLib.dll System.Environment.Version: 3.1.2 Processor count: 4 Program data path: /config Application directory: /system 2020-07-06 00:00:00.004 Info App: Plugins: Bluray Folder Support 1.0.0.0 Cinema Intros 1.0.32.0 Dvd Folder Support 1.0.0.0 Fanart.tv 1.0.8.0 Kodi companion 2.1.8.0 MusicBrainz 1.0.13.0 Nfo Metadata 1.0.30.0 OMDb 1.0.9.0 Open Subtitles 1.0.27.0 Port Mapper 1.0.4.0 Studio Images 1.0.3.0 TheAudioDb 1.0.10.0 TheTVDB 1.0.34.0 Webhooks 1.0.12.0 Link to comment Share on other sites More sharing options...
Carlo 4337 Posted July 6, 2020 Share Posted July 6, 2020 Are you saying subtitles do not work at all? SRT not working? Or just your handmade SRT is not working? Link to comment Share on other sites More sharing options...
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