Jump to content

Recommended Posts

wellivea1
Posted (edited)

The subtitles play fine with the android app with direct play, but the web player fails with:

Quote

No compatible streams are currently available. Please try again later or contact your system administrator for details.

I've tried multiple files, all with .ass subtitles and embedded fonts and all fail. This is with "Allow subtitle extraction on the fly" unchecked. That option allows the video to play but it does not even display generic srt-type subs, it just plays without subtitles.

ffmpeg-transcode-7310c3f5-6549-4467-ae69-4de36eb64160_1.txt embyserver.txt

Edited by wellivea1
Posted

Hello wellivea1,

** This is an auto reply **

Please wait for someone from staff support or our members to reply to you.

It's recommended to provide more info, as it explain in this thread:


Thank you.

Emby Team

Mikoyan
Posted

I see references to .ASS subtitle file for 'Un Homme et une Femme (1966).mkv' in embyserver.txt

Execute: C:\Users\user\AppData\Roaming\Emby-Server\system\ffmpeg.exe -loglevel +timing -y -i "file:\\userNAS\Media\Other Family\Heather\Movies\Un Homme et une Femme (1966).mkv" -map 0:2 -vn -an -c:s:0 copy "C:\Users\user\AppData\Roaming\Emby-Server\programdata\cache\temp\f23551b8b1404150ac50be728a05a169.ass"

...<Truncated>...

2024-05-31 19:43:52.839 Info App: ProcessRun 'StreamTranscode 55846f' Execute: C:\Users\user\AppData\Roaming\Emby-Server\system\ffmpeg.exe -loglevel +timing -y -print_graphs_file "C:\Users\user\AppData\Roaming\Emby-Server\programdata\logs\ffmpeg-transcode-55846f33-c704-423d-8202-d79ca172fad8_1graph.txt" -copyts -start_at_zero -f matroska,webm -c:v:0 h264 -noautorotate -i "\\userNAS\Media\Other Family\Heather\Movies\Un Homme et une Femme (1966).mkv" -filter_complex "[0:0]subtitles@f1=filename='\\\\userNAS\\Media\\Other Family\\Heather\\Movies\\Un Homme et une Femme (1966).mkv':fontsdir='C\:\\Users\\user\\AppData\\Roaming\\Emby-Server\\programdata\\fonts':si=0[f1_out0]" -map [f1_out0] -map 0:1 -sn -c:v:0 libx264 -g:v:0 72 -maxrate:v:0 25522922 -bufsize:v:0 51045844 -sc_threshold:v:0 0 -keyint_min:v:0 72 -r:v:0 24 -pix_fmt:v:0 yuv420p -preset:v:0 veryfast -profile:v:0 high -x264opts:v:0 "subme=0:me_range=4:rc_lookahead=10:partitions=none" -crf:v:0 22 -c:a:0 aac -ab:a:0 192000 -ac:a:0 2 -metadata:s:a:0 language=fre -disposition:a:0 default -max_delay 5000000 -avoid_negative_ts disabled -f segment -map_metadata -1 -map_chapters -1 -segment_format mpegts -segment_list "C:\Users\user\AppData\Roaming\Emby-Server\programdata\transcoding-temp\824B29\824B29.m3u8" -segment_list_type m3u8 -segment_time 00:00:03.000 -segment_start_number 0 -individual_header_trailer 0 -write_header_trailer 0 -segment_write_temp 1 "C:\Users\user\AppData\Roaming\Emby-Server\programdata\transcoding-temp\824B29\824B29_%d.ts"
2024-05-31 19:43:57.190 Info Server: http/1.1 POST http://10.0.0.6:8096/emby/Sessions/Playing/Progress?X-Emby-Client=Emby Web&X-Emby-Device-Name=Firefox Windows&X-Emby-Device-Id=db6ea281-ebe0-4474-9acf-041973396212&X-Emby-Client-Version=4.8.8.0&X-Emby-Token=x_secret2_x&X-Emby-Language=en-us&reqformat=json. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:126.0) Gecko/20100101 Firefox/126.0
2024-05-31 19:43:57.191 Info Server: http/1.1 Response 204 to host1. Time: 2ms. POST http://10.0.0.6:8096/emby/Sessions/Playing/Progress?X-Emby-Client=Emby Web&X-Emby-Device-Name=Firefox Windows&X-Emby-Device-Id=db6ea281-ebe0-4474-9acf-041973396212&X-Emby-Client-Version=4.8.8.0&X-Emby-Token=x_secret2_x&X-Emby-Language=en-us&reqformat=json
2024-05-31 19:43:59.516 Error App: Error getting subtitles
	*** Error Report ***
	Version: 4.8.8.0
	Command line: C:\Users\user\AppData\Roaming\Emby-Server\system\EmbyServer.dll
	Operating system: Microsoft Windows 10.0.22621
	Framework: .NET 6.0.30
	OS/Process: x64/x64
	Runtime: C:/Users/user/AppData/Roaming/Emby-Server/system/System.Private.CoreLib.dll
	Processor count: 12
	Data path: C:\Users\user\AppData\Roaming\Emby-Server\programdata
	Application path: C:\Users\user\AppData\Roaming\Emby-Server\system
	System.Threading.Tasks.TaskCanceledException: System.Threading.Tasks.TaskCanceledException: A task was canceled.
	   at Emby.ProcessRun.CoreProcess.CoreProcessLocal.WaitForExitAsync(CancellationToken cancellationToken)
	   at Emby.ProcessRun.Runners.ProcessRunnerBase.WaitForExitAsync(Int32 timeoutMs, CancellationToken cancellationToken)
	   at Emby.Server.MediaEncoding.Subtitles.SubtitleEncoder.ExtractTextSubtitleInternal(String inputPath, Boolean isAudio, String inputSubtitleCodec, MediaStream subtitleStream, SubtitleMediaTypes outputCodec, String outputPath, Nullable`1 startTime, Nullable`1 endTime, Boolean preserveOriginalTimestamps, CancellationToken cancellationToken)
	   at Emby.Server.MediaEncoding.Subtitles.SubtitleEncoder.ExtractTextSubtitle(ReadOnlyMemory`1 inputPath, Boolean isAudio, String inputSubtitleCodec, MediaProtocol protocol, MediaStream subtitleStream, SubtitleMediaTypes outputCodec, String outputPath, Nullable`1 startTime, Nullable`1 endTime, Boolean preserveOriginalTimestamps, CancellationToken cancellationToken)
	   at Emby.Server.MediaEncoding.Subtitles.SubtitleEncoder.GetReadableFile(String mediaPath, MediaProtocol mediaSourceProtocol, Boolean isAudio, IDictionary`2 requestHeaders, MediaStream subtitleStream, String outputFormat, Int64 startTimeTicks, Int64 endTimeTicks, Boolean preserveOriginalTimestamps, EncodingContext encodingContext, CancellationToken cancellationToken)
	   at Emby.Server.MediaEncoding.Subtitles.SubtitleEncoder.GetSubtitles(String inputPath, MediaProtocol inputProtocol, Boolean isAudio, IDictionary`2 requestHeaders, MediaStream subtitleStream, String outputFormat, Int64 startTimeTicks, Int64 endTimeTicks, Boolean preserveOriginalTimestamps, EncodingContext encodingContext, CancellationToken cancellationToken)
	   at Emby.Api.Subtitles.SubtitleService.GetSubtitles(GetSubtitle request, CancellationToken cancellationToken)
	   at Emby.Api.Subtitles.SubtitleService.Get(GetSubtitle request)
	Source: System.Private.CoreLib
	TargetSite: Void ThrowForNonSuccess(System.Threading.Tasks.Task)
	
2024-05-31 19:43:59.517 Info Server: http/1.1 Response 500 to host1. Time: 97995ms. GET http://10.0.0.6:8096/emby/Videos/33053/1d3f08232aaaa787b3ab8a19c633389d/Subtitles/2/0/Stream.ass?api_key=x_secret2_x
2024-05-31 19:43:59.570 Info Server: http/1.1 Response 500 to host1. Time: 1ms. GET http://10.0.0.6:8096/web/favicon.ico
2024-05-31 19:43:59.571 Info Server: http/1.1 Response 500 to host1. Time: 1ms. GET http://10.0.0.6:8096/web/images/icon-512x512.png
2024-05-31 19:43:59.661 Info App: AppendExtraLogData - Read graph file: C:\Users\user\AppData\Roaming\Emby-Server\programdata\logs\ffmpeg-transcode-55846f33-c704-423d-8202-d79ca172fad8_1graph.txt
2024-05-31 19:43:59.661 Warn App: AppendExtraLogData: Unable read graph output file: C:\Users\user\AppData\Roaming\Emby-Server\programdata\logs\ffmpeg-transcode-55846f33-c704-423d-8202-d79ca172fad8_1graph.txt
2024-05-31 19:43:59.662 Info App: ProcessRun 'StreamTranscode 55846f' Process exited with code -1 - Failed

But transcode log is for 'Into.The.Wild.2007.1080p.BluRay.DTS.x264-HDMaNiAcS.mkv'

C:\Users\user\AppData\Roaming\Emby-Server\system\ffmpeg.exe -loglevel +timing -y -print_graphs_file "C:\Users\user\AppData\Roaming\Emby-Server\programdata\logs\ffmpeg-transcode-7310c3f5-6549-4467-ae69-4de36eb64160_1graph.txt" -copyts -start_at_zero -f matroska,webm -c:v:0 h264 -noautorotate -i "\\userNAS\Media\Other Family\Heather\Movies\Into.The.Wild.2007.1080p.BluRay.DTS.x264-HDMaNiAcS.mkv" -map 0:0 -map 0:1 -sn -c:v:0 libx264 -g:v:0 72 -maxrate:v:0 4232000 -bufsize:v:0 8464000 -sc_threshold:v:0 0 -keyint_min:v:0 72 -r:v:0 23.976024627685547 -pix_fmt:v:0 yuv420p -preset:v:0 veryfast -profile:v:0 high -x264opts:v:0 "subme=0:me_range=4:rc_lookahead=10:partitions=none" -crf:v:0 21 -c:a:0 ac3 -ab:a:0 384000 -ar:a:0 48000 -ac:a:0 6 -metadata:s:a:0 language=eng -disposition:a:0 default -max_delay 5000000 -avoid_negative_ts disabled -f segment -map_metadata -1 -map_chapters -1 -segment_format mpegts -segment_list "C:\Users\user\AppData\Roaming\Emby-Server\programdata\transcoding-temp\5D1A83\5D1A83.m3u8" -segment_list_type m3u8 -segment_time 00:00:03.000 -segment_start_number 0 -individual_header_trailer 0 -write_header_trailer 0 -segment_write_temp 1 "C:\Users\user\AppData\Roaming\Emby-Server\programdata\transcoding-temp\5D1A83\5D1A83_%d.ts" -map 0:2 -map 0:0 -an -c:v:0 copy -c:s:0 webvtt -max_delay 5000000 -avoid_negative_ts disabled -f segment -map_metadata -1 -segment_format webvtt -segment_list "C:\Users\user\AppData\Roaming\Emby-Server\programdata\transcoding-temp\5D1A83\5D1A83_s2.m3u8" -segment_list_type m3u8 -segment_time 00:00:03.000 -segment_start_number 0 -break_non_keyframes 1 -individual_header_trailer 1 -write_header_trailer 0 -write_empty_segments 1 -segment_write_temp 1 -min_frame_time 00:00:00.000 "C:\Users\user\AppData\Roaming\Emby-Server\programdata\transcoding-temp\5D1A83\5D1A83_s2_%d.vtt" -map 0:3 -map 0:0 -an -c:v:0 copy -c:s:0 webvtt -max_delay 5000000 -avoid_negative_ts disabled -f segment -map_metadata -1 -segment_format webvtt -segment_list "C:\Users\user\AppData\Roaming\Emby-Server\programdata\transcoding-temp\5D1A83\5D1A83_s3.m3u8" -segment_list_type m3u8 -segment_time 00:00:03.000 -segment_start_number 0 -break_non_keyframes 1 -individual_header_trailer 1 -write_header_trailer 0 -write_empty_segments 1 -segment_write_temp 1 -min_frame_time 00:00:00.000 "C:\Users\user\AppData\Roaming\Emby-Server\programdata\transcoding-temp\5D1A83\5D1A83_s3_%d.vtt" -map 0:4 -map 0:0 -an -c:v:0 copy -c:s:0 webvtt -max_delay 5000000 -avoid_negative_ts disabled -f segment -map_metadata -1 -segment_format webvtt -segment_list "C:\Users\user\AppData\Roaming\Emby-Server\programdata\transcoding-temp\5D1A83\5D1A83_s4.m3u8" -segment_list_type m3u8 -segment_time 00:00:03.000 -segment_start_number 0 -break_non_keyframes 1 -individual_header_trailer 1 -write_header_trailer 0 -write_empty_segments 1 -segment_write_temp 1 -min_frame_time 00:00:00.000 "C:\Users\user\AppData\Roaming\Emby-Server\programdata\transcoding-temp\5D1A83\5D1A83_s4_%d.vtt" -map 0:5 -map 0:0 -an -c:v:0 copy -c:s:0 webvtt -max_delay 5000000 -avoid_negative_ts disabled -f segment -map_metadata -1 -segment_format webvtt -segment_list "C:\Users\user\AppData\Roaming\Emby-Server\programdata\transcoding-temp\5D1A83\5D1A83_s5.m3u8" -segment_list_type m3u8 -segment_time 00:00:03.000 -segment_start_number 0 -break_non_keyframes 1 -individual_header_trailer 1 -write_header_trailer 0 -write_empty_segments 1 -segment_write_temp 1 -min_frame_time 00:00:00.000 "C:\Users\user\AppData\Roaming\Emby-Server\programdata\transcoding-temp\5D1A83\5D1A83_s5_%d.vtt" -map 0:6 -map 0:0 -an -c:v:0 copy -c:s:0 webvtt -max_delay 5000000 -avoid_negative_ts disabled -f segment -map_metadata -1 -segment_format webvtt -segment_list "C:\Users\user\AppData\Roaming\Emby-Server\programdata\transcoding-temp\5D1A83\5D1A83_s6.m3u8" -segment_list_type m3u8 -segment_time 00:00:03.000 -segment_start_number 0 -break_non_keyframes 1 -individual_header_trailer 1 -write_header_trailer 0 -write_empty_segments 1 -segment_write_temp 1 -min_frame_time 00:00:00.000 "C:\Users\user\AppData\Roaming\Emby-Server\programdata\transcoding-temp\5D1A83\5D1A83_s6_%d.vtt" -map 0:7 -map 0:0 -an -c:v:0 copy -c:s:0 webvtt -max_delay 5000000 -avoid_negative_ts disabled -f segment -map_metadata -1 -segment_format webvtt -segment_list "C:\Users\user\AppData\Roaming\Emby-Server\programdata\transcoding-temp\5D1A83\5D1A83_s7.m3u8" -segment_list_type m3u8 -segment_time 00:00:03.000 -segment_start_number 0 -break_non_keyframes 1 -individual_header_trailer 1 -write_header_trailer 0 -write_empty_segments 1 -segment_write_temp 1 -min_frame_time 00:00:00.000 "C:\Users\user\AppData\Roaming\Emby-Server\programdata\transcoding-temp\5D1A83\5D1A83_s7_%d.vtt"

which only has srt streams embedded in the container

20:14:35.935 Stream mapping:
20:14:35.935   Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
20:14:35.935   Stream #0:1 -> #0:1 (dts (dca) -> ac3 (native))
20:14:35.935   Stream #0:2 -> #1:0 (subrip (srt) -> webvtt (native))
20:14:35.935   Stream #0:0 -> #1:1 (copy)
20:14:35.935   Stream #0:3 -> #2:0 (subrip (srt) -> webvtt (native))
20:14:35.935   Stream #0:0 -> #2:1 (copy)
20:14:35.935   Stream #0:4 -> #3:0 (subrip (srt) -> webvtt (native))
20:14:35.935   Stream #0:0 -> #3:1 (copy)
20:14:35.935   Stream #0:5 -> #4:0 (subrip (srt) -> webvtt (native))
20:14:35.935   Stream #0:0 -> #4:1 (copy)
20:14:35.935   Stream #0:6 -> #5:0 (subrip (srt) -> webvtt (native))
20:14:35.935   Stream #0:0 -> #5:1 (copy)
20:14:35.935   Stream #0:7 -> #6:0 (subrip (srt) -> webvtt (native))
20:14:35.935   Stream #0:0 -> #6:1 (copy)

For the file with .ASS, what language is it in? Also may help to attach logs for that as well

For the second file that has SRT subtitles, does regular burn-in work? (without on the fly extraction)

I had a similar issue on my system due to the global font package failing to register specific subtitle stream types and breaking the video. But for SRT that should be fine since its just text

wellivea1
Posted (edited)
13 hours ago, Mikoyan said:

I see references to .ASS subtitle file for 'Un Homme et une Femme (1966).mkv' in embyserver.txt

Execute: C:\Users\user\AppData\Roaming\Emby-Server\system\ffmpeg.exe -loglevel +timing -y -i "file:\\userNAS\Media\Other Family\Heather\Movies\Un Homme et une Femme (1966).mkv" -map 0:2 -vn -an -c:s:0 copy "C:\Users\user\AppData\Roaming\Emby-Server\programdata\cache\temp\f23551b8b1404150ac50be728a05a169.ass"

...<Truncated>...

2024-05-31 19:43:52.839 Info App: ProcessRun 'StreamTranscode 55846f' Execute: C:\Users\user\AppData\Roaming\Emby-Server\system\ffmpeg.exe -loglevel +timing -y -print_graphs_file "C:\Users\user\AppData\Roaming\Emby-Server\programdata\logs\ffmpeg-transcode-55846f33-c704-423d-8202-d79ca172fad8_1graph.txt" -copyts -start_at_zero -f matroska,webm -c:v:0 h264 -noautorotate -i "\\userNAS\Media\Other Family\Heather\Movies\Un Homme et une Femme (1966).mkv" -filter_complex "[0:0]subtitles@f1=filename='\\\\userNAS\\Media\\Other Family\\Heather\\Movies\\Un Homme et une Femme (1966).mkv':fontsdir='C\:\\Users\\user\\AppData\\Roaming\\Emby-Server\\programdata\\fonts':si=0[f1_out0]" -map [f1_out0] -map 0:1 -sn -c:v:0 libx264 -g:v:0 72 -maxrate:v:0 25522922 -bufsize:v:0 51045844 -sc_threshold:v:0 0 -keyint_min:v:0 72 -r:v:0 24 -pix_fmt:v:0 yuv420p -preset:v:0 veryfast -profile:v:0 high -x264opts:v:0 "subme=0:me_range=4:rc_lookahead=10:partitions=none" -crf:v:0 22 -c:a:0 aac -ab:a:0 192000 -ac:a:0 2 -metadata:s:a:0 language=fre -disposition:a:0 default -max_delay 5000000 -avoid_negative_ts disabled -f segment -map_metadata -1 -map_chapters -1 -segment_format mpegts -segment_list "C:\Users\user\AppData\Roaming\Emby-Server\programdata\transcoding-temp\824B29\824B29.m3u8" -segment_list_type m3u8 -segment_time 00:00:03.000 -segment_start_number 0 -individual_header_trailer 0 -write_header_trailer 0 -segment_write_temp 1 "C:\Users\user\AppData\Roaming\Emby-Server\programdata\transcoding-temp\824B29\824B29_%d.ts"
2024-05-31 19:43:57.190 Info Server: http/1.1 POST http://10.0.0.6:8096/emby/Sessions/Playing/Progress?X-Emby-Client=Emby Web&X-Emby-Device-Name=Firefox Windows&X-Emby-Device-Id=db6ea281-ebe0-4474-9acf-041973396212&X-Emby-Client-Version=4.8.8.0&X-Emby-Token=x_secret2_x&X-Emby-Language=en-us&reqformat=json. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:126.0) Gecko/20100101 Firefox/126.0
2024-05-31 19:43:57.191 Info Server: http/1.1 Response 204 to host1. Time: 2ms. POST http://10.0.0.6:8096/emby/Sessions/Playing/Progress?X-Emby-Client=Emby Web&X-Emby-Device-Name=Firefox Windows&X-Emby-Device-Id=db6ea281-ebe0-4474-9acf-041973396212&X-Emby-Client-Version=4.8.8.0&X-Emby-Token=x_secret2_x&X-Emby-Language=en-us&reqformat=json
2024-05-31 19:43:59.516 Error App: Error getting subtitles
	*** Error Report ***
	Version: 4.8.8.0
	Command line: C:\Users\user\AppData\Roaming\Emby-Server\system\EmbyServer.dll
	Operating system: Microsoft Windows 10.0.22621
	Framework: .NET 6.0.30
	OS/Process: x64/x64
	Runtime: C:/Users/user/AppData/Roaming/Emby-Server/system/System.Private.CoreLib.dll
	Processor count: 12
	Data path: C:\Users\user\AppData\Roaming\Emby-Server\programdata
	Application path: C:\Users\user\AppData\Roaming\Emby-Server\system
	System.Threading.Tasks.TaskCanceledException: System.Threading.Tasks.TaskCanceledException: A task was canceled.
	   at Emby.ProcessRun.CoreProcess.CoreProcessLocal.WaitForExitAsync(CancellationToken cancellationToken)
	   at Emby.ProcessRun.Runners.ProcessRunnerBase.WaitForExitAsync(Int32 timeoutMs, CancellationToken cancellationToken)
	   at Emby.Server.MediaEncoding.Subtitles.SubtitleEncoder.ExtractTextSubtitleInternal(String inputPath, Boolean isAudio, String inputSubtitleCodec, MediaStream subtitleStream, SubtitleMediaTypes outputCodec, String outputPath, Nullable`1 startTime, Nullable`1 endTime, Boolean preserveOriginalTimestamps, CancellationToken cancellationToken)
	   at Emby.Server.MediaEncoding.Subtitles.SubtitleEncoder.ExtractTextSubtitle(ReadOnlyMemory`1 inputPath, Boolean isAudio, String inputSubtitleCodec, MediaProtocol protocol, MediaStream subtitleStream, SubtitleMediaTypes outputCodec, String outputPath, Nullable`1 startTime, Nullable`1 endTime, Boolean preserveOriginalTimestamps, CancellationToken cancellationToken)
	   at Emby.Server.MediaEncoding.Subtitles.SubtitleEncoder.GetReadableFile(String mediaPath, MediaProtocol mediaSourceProtocol, Boolean isAudio, IDictionary`2 requestHeaders, MediaStream subtitleStream, String outputFormat, Int64 startTimeTicks, Int64 endTimeTicks, Boolean preserveOriginalTimestamps, EncodingContext encodingContext, CancellationToken cancellationToken)
	   at Emby.Server.MediaEncoding.Subtitles.SubtitleEncoder.GetSubtitles(String inputPath, MediaProtocol inputProtocol, Boolean isAudio, IDictionary`2 requestHeaders, MediaStream subtitleStream, String outputFormat, Int64 startTimeTicks, Int64 endTimeTicks, Boolean preserveOriginalTimestamps, EncodingContext encodingContext, CancellationToken cancellationToken)
	   at Emby.Api.Subtitles.SubtitleService.GetSubtitles(GetSubtitle request, CancellationToken cancellationToken)
	   at Emby.Api.Subtitles.SubtitleService.Get(GetSubtitle request)
	Source: System.Private.CoreLib
	TargetSite: Void ThrowForNonSuccess(System.Threading.Tasks.Task)
	
2024-05-31 19:43:59.517 Info Server: http/1.1 Response 500 to host1. Time: 97995ms. GET http://10.0.0.6:8096/emby/Videos/33053/1d3f08232aaaa787b3ab8a19c633389d/Subtitles/2/0/Stream.ass?api_key=x_secret2_x
2024-05-31 19:43:59.570 Info Server: http/1.1 Response 500 to host1. Time: 1ms. GET http://10.0.0.6:8096/web/favicon.ico
2024-05-31 19:43:59.571 Info Server: http/1.1 Response 500 to host1. Time: 1ms. GET http://10.0.0.6:8096/web/images/icon-512x512.png
2024-05-31 19:43:59.661 Info App: AppendExtraLogData - Read graph file: C:\Users\user\AppData\Roaming\Emby-Server\programdata\logs\ffmpeg-transcode-55846f33-c704-423d-8202-d79ca172fad8_1graph.txt
2024-05-31 19:43:59.661 Warn App: AppendExtraLogData: Unable read graph output file: C:\Users\user\AppData\Roaming\Emby-Server\programdata\logs\ffmpeg-transcode-55846f33-c704-423d-8202-d79ca172fad8_1graph.txt
2024-05-31 19:43:59.662 Info App: ProcessRun 'StreamTranscode 55846f' Process exited with code -1 - Failed

But transcode log is for 'Into.The.Wild.2007.1080p.BluRay.DTS.x264-HDMaNiAcS.mkv'

C:\Users\user\AppData\Roaming\Emby-Server\system\ffmpeg.exe -loglevel +timing -y -print_graphs_file "C:\Users\user\AppData\Roaming\Emby-Server\programdata\logs\ffmpeg-transcode-7310c3f5-6549-4467-ae69-4de36eb64160_1graph.txt" -copyts -start_at_zero -f matroska,webm -c:v:0 h264 -noautorotate -i "\\userNAS\Media\Other Family\Heather\Movies\Into.The.Wild.2007.1080p.BluRay.DTS.x264-HDMaNiAcS.mkv" -map 0:0 -map 0:1 -sn -c:v:0 libx264 -g:v:0 72 -maxrate:v:0 4232000 -bufsize:v:0 8464000 -sc_threshold:v:0 0 -keyint_min:v:0 72 -r:v:0 23.976024627685547 -pix_fmt:v:0 yuv420p -preset:v:0 veryfast -profile:v:0 high -x264opts:v:0 "subme=0:me_range=4:rc_lookahead=10:partitions=none" -crf:v:0 21 -c:a:0 ac3 -ab:a:0 384000 -ar:a:0 48000 -ac:a:0 6 -metadata:s:a:0 language=eng -disposition:a:0 default -max_delay 5000000 -avoid_negative_ts disabled -f segment -map_metadata -1 -map_chapters -1 -segment_format mpegts -segment_list "C:\Users\user\AppData\Roaming\Emby-Server\programdata\transcoding-temp\5D1A83\5D1A83.m3u8" -segment_list_type m3u8 -segment_time 00:00:03.000 -segment_start_number 0 -individual_header_trailer 0 -write_header_trailer 0 -segment_write_temp 1 "C:\Users\user\AppData\Roaming\Emby-Server\programdata\transcoding-temp\5D1A83\5D1A83_%d.ts" -map 0:2 -map 0:0 -an -c:v:0 copy -c:s:0 webvtt -max_delay 5000000 -avoid_negative_ts disabled -f segment -map_metadata -1 -segment_format webvtt -segment_list "C:\Users\user\AppData\Roaming\Emby-Server\programdata\transcoding-temp\5D1A83\5D1A83_s2.m3u8" -segment_list_type m3u8 -segment_time 00:00:03.000 -segment_start_number 0 -break_non_keyframes 1 -individual_header_trailer 1 -write_header_trailer 0 -write_empty_segments 1 -segment_write_temp 1 -min_frame_time 00:00:00.000 "C:\Users\user\AppData\Roaming\Emby-Server\programdata\transcoding-temp\5D1A83\5D1A83_s2_%d.vtt" -map 0:3 -map 0:0 -an -c:v:0 copy -c:s:0 webvtt -max_delay 5000000 -avoid_negative_ts disabled -f segment -map_metadata -1 -segment_format webvtt -segment_list "C:\Users\user\AppData\Roaming\Emby-Server\programdata\transcoding-temp\5D1A83\5D1A83_s3.m3u8" -segment_list_type m3u8 -segment_time 00:00:03.000 -segment_start_number 0 -break_non_keyframes 1 -individual_header_trailer 1 -write_header_trailer 0 -write_empty_segments 1 -segment_write_temp 1 -min_frame_time 00:00:00.000 "C:\Users\user\AppData\Roaming\Emby-Server\programdata\transcoding-temp\5D1A83\5D1A83_s3_%d.vtt" -map 0:4 -map 0:0 -an -c:v:0 copy -c:s:0 webvtt -max_delay 5000000 -avoid_negative_ts disabled -f segment -map_metadata -1 -segment_format webvtt -segment_list "C:\Users\user\AppData\Roaming\Emby-Server\programdata\transcoding-temp\5D1A83\5D1A83_s4.m3u8" -segment_list_type m3u8 -segment_time 00:00:03.000 -segment_start_number 0 -break_non_keyframes 1 -individual_header_trailer 1 -write_header_trailer 0 -write_empty_segments 1 -segment_write_temp 1 -min_frame_time 00:00:00.000 "C:\Users\user\AppData\Roaming\Emby-Server\programdata\transcoding-temp\5D1A83\5D1A83_s4_%d.vtt" -map 0:5 -map 0:0 -an -c:v:0 copy -c:s:0 webvtt -max_delay 5000000 -avoid_negative_ts disabled -f segment -map_metadata -1 -segment_format webvtt -segment_list "C:\Users\user\AppData\Roaming\Emby-Server\programdata\transcoding-temp\5D1A83\5D1A83_s5.m3u8" -segment_list_type m3u8 -segment_time 00:00:03.000 -segment_start_number 0 -break_non_keyframes 1 -individual_header_trailer 1 -write_header_trailer 0 -write_empty_segments 1 -segment_write_temp 1 -min_frame_time 00:00:00.000 "C:\Users\user\AppData\Roaming\Emby-Server\programdata\transcoding-temp\5D1A83\5D1A83_s5_%d.vtt" -map 0:6 -map 0:0 -an -c:v:0 copy -c:s:0 webvtt -max_delay 5000000 -avoid_negative_ts disabled -f segment -map_metadata -1 -segment_format webvtt -segment_list "C:\Users\user\AppData\Roaming\Emby-Server\programdata\transcoding-temp\5D1A83\5D1A83_s6.m3u8" -segment_list_type m3u8 -segment_time 00:00:03.000 -segment_start_number 0 -break_non_keyframes 1 -individual_header_trailer 1 -write_header_trailer 0 -write_empty_segments 1 -segment_write_temp 1 -min_frame_time 00:00:00.000 "C:\Users\user\AppData\Roaming\Emby-Server\programdata\transcoding-temp\5D1A83\5D1A83_s6_%d.vtt" -map 0:7 -map 0:0 -an -c:v:0 copy -c:s:0 webvtt -max_delay 5000000 -avoid_negative_ts disabled -f segment -map_metadata -1 -segment_format webvtt -segment_list "C:\Users\user\AppData\Roaming\Emby-Server\programdata\transcoding-temp\5D1A83\5D1A83_s7.m3u8" -segment_list_type m3u8 -segment_time 00:00:03.000 -segment_start_number 0 -break_non_keyframes 1 -individual_header_trailer 1 -write_header_trailer 0 -write_empty_segments 1 -segment_write_temp 1 -min_frame_time 00:00:00.000 "C:\Users\user\AppData\Roaming\Emby-Server\programdata\transcoding-temp\5D1A83\5D1A83_s7_%d.vtt"

which only has srt streams embedded in the container

20:14:35.935 Stream mapping:
20:14:35.935   Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
20:14:35.935   Stream #0:1 -> #0:1 (dts (dca) -> ac3 (native))
20:14:35.935   Stream #0:2 -> #1:0 (subrip (srt) -> webvtt (native))
20:14:35.935   Stream #0:0 -> #1:1 (copy)
20:14:35.935   Stream #0:3 -> #2:0 (subrip (srt) -> webvtt (native))
20:14:35.935   Stream #0:0 -> #2:1 (copy)
20:14:35.935   Stream #0:4 -> #3:0 (subrip (srt) -> webvtt (native))
20:14:35.935   Stream #0:0 -> #3:1 (copy)
20:14:35.935   Stream #0:5 -> #4:0 (subrip (srt) -> webvtt (native))
20:14:35.935   Stream #0:0 -> #4:1 (copy)
20:14:35.935   Stream #0:6 -> #5:0 (subrip (srt) -> webvtt (native))
20:14:35.935   Stream #0:0 -> #5:1 (copy)
20:14:35.935   Stream #0:7 -> #6:0 (subrip (srt) -> webvtt (native))
20:14:35.935   Stream #0:0 -> #6:1 (copy)

For the file with .ASS, what language is it in? Also may help to attach logs for that as well

For the second file that has SRT subtitles, does regular burn-in work? (without on the fly extraction)

I had a similar issue on my system due to the global font package failing to register specific subtitle stream types and breaking the video. But for SRT that should be fine since its just text

Sorry, I sent the wrong one. Here are two with ASS subs that failed to play.

Update: Yes, the SRT subs burn-in just fine. The ASS subs are in English.

ffmpeg-transcode-55644efa-becb-4aaa-827e-15a723a54d4e_1.txt ffmpeg-transcode-ca45fc03-26a4-4900-add9-5d01424252e1_1.txt

Edited by wellivea1
wellivea1
Posted
9 hours ago, visproduction said:

Related forum posts regarding solutions with ASS files inside different .mkv media.  This appears to be a known issue:

 https://www.reddit.com/r/PleX/comments/d39gtu/no_more_transcode_with_ass_subtitles_use_ffmpeg/

 https://forum.videohelp.com/threads/342216-Embedding-ass-subtitles-to-mp4-files

Those posts are quite old and don't seem directly related to this issue but thanks anyway.

  • 3 weeks later...
Posted

Maybe related issue? I also have issues with mkv on ASS.

I notice that ffmpeg generally does not like it when I use Hi10 H264 (older files) but tends to work okay on average when using files that are encoded with H.265. The reason being is that Hi10 is not supported by hardware decoding on almost any GPU platform, and tends to default to software encoding. I've noted that this sometimes causes issues.

Generally the apps have builtin support for most of the streams and do not require a separate process on the server to re-encode, so direct play is an option, but web player suffers a lot when it has to re-encode files with ASS subtitles imo.

For Un Homme et une Femme (1966).mkv :

20:03:51.797   Stream #0:3: Attachment: none
20:03:51.797     Metadata:
20:03:51.797       filename        : SitkaVF.ttf
20:03:51.798       mimetype        : font/ttf
20:03:51.798 [subtitles@f1 @ 00000154d797ef00] libass API version: 0x1600000
20:03:51.798 [subtitles@f1 @ 00000154d797ef00] libass source: commit: 0.16.0-0-g1af6240c5d1e499326146e0b88c987e626b13c23
20:03:51.800 [subtitles@f1 @ 00000154d797ef00] Shaper: FriBidi 1.0.12 (SIMPLE) HarfBuzz-ng 4.3.0 (COMPLEX)
20:03:51.812 [matroska,webm @ 00000154d79384c0] Could not find codec parameters for stream 3 (Attachment: none): unknown codec

Maybe bad file?

wellivea1
Posted
On 6/18/2024 at 1:03 PM, Mikoyan said:

Maybe related issue? I also have issues with mkv on ASS.

I notice that ffmpeg generally does not like it when I use Hi10 H264 (older files) but tends to work okay on average when using files that are encoded with H.265. The reason being is that Hi10 is not supported by hardware decoding on almost any GPU platform, and tends to default to software encoding. I've noted that this sometimes causes issues.

Generally the apps have builtin support for most of the streams and do not require a separate process on the server to re-encode, so direct play is an option, but web player suffers a lot when it has to re-encode files with ASS subtitles imo.

For Un Homme et une Femme (1966).mkv :

20:03:51.797   Stream #0:3: Attachment: none
20:03:51.797     Metadata:
20:03:51.797       filename        : SitkaVF.ttf
20:03:51.798       mimetype        : font/ttf
20:03:51.798 [subtitles@f1 @ 00000154d797ef00] libass API version: 0x1600000
20:03:51.798 [subtitles@f1 @ 00000154d797ef00] libass source: commit: 0.16.0-0-g1af6240c5d1e499326146e0b88c987e626b13c23
20:03:51.800 [subtitles@f1 @ 00000154d797ef00] Shaper: FriBidi 1.0.12 (SIMPLE) HarfBuzz-ng 4.3.0 (COMPLEX)
20:03:51.812 [matroska,webm @ 00000154d79384c0] Could not find codec parameters for stream 3 (Attachment: none): unknown codec

Maybe bad file?

The file plays fine in mpv, I could test it in other players but I'm sure the result would be the same. I muxed in the subtitles and font myself with mkvtoolnix. Also, Un Homme et une Femme is not in Hi10, so that's not the issue.

  • 3 weeks later...
Posted
On 6/1/2024 at 6:18 PM, wellivea1 said:

Sorry, I sent the wrong one. Here are two with ASS subs that failed to play.

Update: Yes, the SRT subs burn-in just fine. The ASS subs are in English.

ffmpeg-transcode-55644efa-becb-4aaa-827e-15a723a54d4e_1.txt 13.2 kB · 2 downloads ffmpeg-transcode-ca45fc03-26a4-4900-add9-5d01424252e1_1.txt 17.13 kB · 2 downloads

@wellivea1why not enable the server transcoding option to allow subtitle extraction on the fly?

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...