Jump to content

Opensubtitle alerts


Recommended Posts

TugboatBill
Posted

I've noticed a lot of alerts on opensubtitle fails, EG:

Subtitles failed to download from Open Subtitles for South Park - S1, Ep10 - Mr. Hankey the Christmas Poo
10/7/2020, 9:36:29 AM
ffmpeg subtitle extraction failed for file:"/var/packages/EmbyServer/target/var/cache/temp/834aed9b-974b-4f31-912d-a303139e0770.txt" to /var/packages/EmbyServer/tar...
 

The log shows:

 

2020-10-07 09:36:29.011 Info SubtitleEncoder: ProcessRun 'ffmpeg-subtitle_extract' Process exited with code 1
2020-10-07 09:36:29.012 Error SubtitleEncoder: ffmpeg subtitle extraction failed for file:"/var/packages/EmbyServer/target/var/cache/temp/834aed9b-974b-4f31-912d-a303139e0770.txt" to /var/packages/EmbyServer/target/var/cache/subtitles/f/fdc1bc22914def436dd600a873f5bf76_637376853888758127_0_0_0_False.srt
2020-10-07 09:36:29.012 Error SubtitleEncoder: ProcessRun 'ffmpeg-subtitle_extract' Output:
	
2020-10-07 09:36:29.012 Error SubtitleEncoder: ProcessRun 'ffmpeg-subtitle_extract' Error Output:
	ffmpeg version 4.3.0-emby_2020_02_24-20200402T204542UTC Copyright (c) 2000-2019 the FFmpeg developers and softworkz for Emby LLC
	  built with gcc 7.3.0 (GCC)
	Execution Date: 2020-10-07 16:36:28
	Input #0, tty, from 'file:/var/packages/EmbyServer/target/var/cache/temp/834aed9b-974b-4f31-912d-a303139e0770.txt':
	  Duration: 00:00:03.72, bitrate: 47 kb/s
	    Stream #0:0: Video: ansi, pal8, 640x400, 25 fps, 25 tbr, 25 tbn, 25 tbc
	Output #0, srt, to '/var/packages/EmbyServer/target/var/cache/subtitles/f/fdc1bc22914def436dd600a873f5bf76_637376853888758127_0_0_0_False.srt':
	Output file #0 does not contain any stream
	
2020-10-07 09:36:29.014 Error App: Error downloading subtitles
	*** Error Report ***
	Version: 4.4.3.0
	Command line: /var/packages/EmbyServer/target/server/EmbyServer.exe -package synology -programdata /var/packages/EmbyServer/target/var -ffmpeg /var/packages/EmbyServer/target/ffmpeg/bin/ffmpeg -ffprobe /var/packages/EmbyServer/target/ffmpeg/bin/ffprobe -ffdetect /var/packages/EmbyServer/target/ffmpeg/bin/ffdetect -restartexitcode 121
	Operating system: Unix 4.4.59.0
	64-Bit OS: True
	64-Bit Process: True
	User Interactive: False
	Mono: 6.8.0.105 (tarball Sat Mar 28 20:18:55 UTC 2020)
	Runtime: file:///volume1/@appstore/EmbyServer/3rdparty/mono/6.8.0.105/lib/mono/4.5/mscorlib.dll
	System.Environment.Version: 4.0.30319.42000
	Processor count: 4
	Program data path: /var/packages/EmbyServer/target/var
	Application directory: /volume1/@appstore/EmbyServer/releases/4.4.3.0
	System.Exception: System.Exception: ffmpeg subtitle extraction failed for file:"/var/packages/EmbyServer/target/var/cache/temp/834aed9b-974b-4f31-912d-a303139e0770.txt" to /var/packages/EmbyServer/target/var/cache/subtitles/f/fdc1bc22914def436dd600a873f5bf76_637376853888758127_0_0_0_False.srt
	  at Emby.Server.MediaEncoding.Subtitles.SubtitleEncoder.ExtractTextSubtitleInternal (System.String inputPath, System.String inputSubtitleCodec, System.Int32 subtitleStreamIndex, System.String outputCodec, System.String outputPath, System.Int64 startTimeTicks, System.Int64 endTimeTicks, System.Boolean preserveOriginalTimestamps, System.Threading.CancellationToken cancellationToken) [0x00370] in <f6a8f6abf2a540f5bbf5851ebc0bf5b2>:0 
	  at Emby.Server.MediaEncoding.Subtitles.SubtitleEncoder.ExtractTextSubtitle (System.ReadOnlyMemory`1[T] inputPath, System.String inputSubtitleCodec, MediaBrowser.Model.MediaInfo.MediaProtocol protocol, System.Int32 subtitleStreamIndex, System.String outputCodec, System.String outputPath, System.Int64 startTimeTicks, System.Int64 endTimeTicks, System.Boolean preserveOriginalTimestamps, System.Threading.CancellationToken cancellationToken) [0x00163] in <f6a8f6abf2a540f5bbf5851ebc0bf5b2>:0 
	  at Emby.Server.MediaEncoding.Subtitles.SubtitleEncoder.GetReadableFile (System.String mediaPath, MediaBrowser.Model.MediaInfo.MediaProtocol mediaSourceProtocol, System.Collections.Generic.IDictionary`2[TKey,TValue] requestHeaders, MediaBrowser.Model.Entities.MediaStream subtitleStream, System.ReadOnlyMemory`1[T] outputFormat, System.Int64 startTimeTicks, System.Int64 endTimeTicks, System.Boolean preserveOriginalTimestamps, System.Threading.CancellationToken cancellationToken) [0x0042d] in <f6a8f6abf2a540f5bbf5851ebc0bf5b2>:0 
	  at Emby.Server.MediaEncoding.Subtitles.SubtitleEncoder.GetSubtitles (System.String inputPath, MediaBrowser.Model.MediaInfo.MediaProtocol inputProtocol, System.Collections.Generic.IDictionary`2[TKey,TValue] requestHeaders, MediaBrowser.Model.Entities.MediaStream subtitleStream, System.ReadOnlyMemory`1[T] outputFormat, System.Int64 startTimeTicks, System.Int64 endTimeTicks, System.Boolean preserveOriginalTimestamps, System.Threading.CancellationToken cancellationToken) [0x00107] in <f6a8f6abf2a540f5bbf5851ebc0bf5b2>:0 
	  at MediaBrowser.Providers.Subtitles.SubtitleManager.GetConvertedStream (System.IO.Stream downloadedSubtitleStream, MediaBrowser.Controller.Subtitles.SubtitleResponse response, System.Threading.CancellationToken cancellationToken) [0x0021a] in <6ae0ccbd7ce14a2bb4884c56de031324>:0 
	  at MediaBrowser.Providers.Subtitles.SubtitleManager.DownloadSubtitles (MediaBrowser.Controller.Entities.Video video, System.String subtitleId, MediaBrowser.Model.Configuration.LibraryOptions libraryOptions, System.Threading.CancellationToken cancellationToken) [0x003b4] in <6ae0ccbd7ce14a2bb4884c56de031324>:0 
	  at MediaBrowser.Providers.MediaInfo.SubtitleDownloader.DownloadSubtitles (MediaBrowser.Controller.Entities.Video video, MediaBrowser.Model.Configuration.LibraryOptions libraryOptions, System.Collections.Generic.List`1[T] mediaStreams, System.Boolean skipIfEmbeddedSubtitlesPresent, System.Boolean skipIfAudioTrackMatches, System.Boolean isHashMatch, System.Nullable`1[T] isForcedSubtitle, MediaBrowser.Model.Globalization.CultureDto language, System.String[] disabledSubtitleFetchers, System.String[] subtitleFetcherOrder, MediaBrowser.Controller.Providers.VideoContentType mediaType, System.Threading.CancellationToken cancellationToken) [0x0030d] in <6ae0ccbd7ce14a2bb4884c56de031324>:0 
	Source: mscorlib
	TargetSite: Void Throw()
	
2020-10-07 09:36:29.299 Info HttpClient: HttpClientManager POST: https://api.opensubtitles.org/xml-rpc
2020-10-07 09:36:29.825 Info HttpClient: HttpClientManager POST: https://api.opensubtitles.org/xml-rpc

 

Entire log is attached. 

 

Question - Is this normal or is there something I should be doing to fix it?  We do use subtitles and sometimes a show doesn't have them which is inconvenient.

Emby Server v4.4.3.0 on Synology FS2018  My opensubtitles account is not a VIP account.

 

 

embyserver-63737662629.txt

Posted

Hi, in most cases this is resolved with emby server 4.5. thanks.

TugboatBill
Posted

Any idea how long it'll be before 4.5 will appear on Synology?  I know it can be manually installed but I'd rather wait until it is available through the update channel.  

Posted

It won't be using the custom repository. We are using the manual install method over that.

It will be in the official Synology listing but that will take a little time so I wouldn't wait for that.

TugboatBill
Posted

OK.  I'll look into doing a manual install when I have time.  

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...