Closed Rassilion closed 3 years ago
Probably same cause as this https://github.com/jellyfin/jellyfin-android/issues/301
Could you verify that the subtitles stay in sync and that it's the video that becomes out of sync? The video is remuxing which tracks with the known issue
@Artiume I did some testing, no its different from jellyfin/jellyfin-android#301. Video and audio stays in sync there is no problem.
And looks like my first description was wrong. The subtitles was a little delayed, but main problem it's not rendering like %80 of the lines. The problem occurs even without seeking video.
To Reproduce(updated)
Also resuming a video does not work on ps4, it's shows a black screen. I'm not sure it's connected, maybe needs differen issue
logs for resume problem
[2020-04-22 23:15:07.553 +03:00] [INF] GetPostedPlaybackInfo profile: DeviceProfile { Name: null, Id: null, Identification: null, FriendlyName: null, Manufacturer: null, ManufacturerUrl: null, ModelName: null, ModelDescription: null, ModelNumber: null, ModelUrl: null, SerialNumber: null, EnableAlbumArtInDidl: False, EnableSingleAlbumArtLimit: False, EnableSingleSubtitleLimit: False, SupportedMediaTypes: "Audio,Photo,Video", UserId: null, AlbumArtPn: null, MaxAlbumArtWidth: 0, MaxAlbumArtHeight: 0, MaxIconWidth: null, MaxIconHeight: null, MaxStreamingBitrate: 120000000, MaxStaticBitrate: 100000000, MusicStreamingTranscodingBitrate: 192000, MaxStaticMusicBitrate: null, SonyAggregationFlags: null, ProtocolInfo: null, TimelineOffsetSeconds: 0, RequiresPlainVideoItems: False, RequiresPlainFolders: False, EnableMSMediaReceiverRegistrar: False, IgnoreTranscodeByteRangeRequests: False, XmlRootAttributes: [], DirectPlayProfiles: [DirectPlayProfile { Container: "mp4,m4v", AudioCodec: "mp3,aac", VideoCodec: "h264", Type: Video }], TranscodingProfiles: [TranscodingProfile { Container: "aac", Type: Audio, VideoCodec: null, AudioCodec: "aac", Protocol: "hls", EstimateContentLength: False, EnableMpegtsM2TsMode: False, TranscodeSeekInfo: Auto, CopyTimestamps: False, Context: Streaming, EnableSubtitlesInManifest: False, MaxAudioChannels: "6", MinSegments: 1, SegmentLength: 0, BreakOnNonKeyFrames: False }, TranscodingProfile { Container: "ts", Type: Video, VideoCodec: "h264", AudioCodec: "aac", Protocol: "hls", EstimateContentLength: False, EnableMpegtsM2TsMode: False, TranscodeSeekInfo: Auto, CopyTimestamps: False, Context: Streaming, EnableSubtitlesInManifest: False, MaxAudioChannels: "6", MinSegments: 1, SegmentLength: 0, BreakOnNonKeyFrames: False }, TranscodingProfile { Container: "mp4", Type: Video, VideoCodec: "h264", AudioCodec: "mp3,aac", Protocol: "http", EstimateContentLength: False, EnableMpegtsM2TsMode: False, TranscodeSeekInfo: Auto, CopyTimestamps: False, Context: Static, EnableSubtitlesInManifest: False, MaxAudioChannels: null, MinSegments: 0, SegmentLength: 0, BreakOnNonKeyFrames: False }], ContainerProfiles: [], CodecProfiles: [CodecProfile { Type: Video, Conditions: [ProfileCondition { Condition: NotEquals, Property: IsAnamorphic, Value: "true", IsRequired: False }, ProfileCondition { Condition: EqualsAny, Property: VideoProfile, Value: "high|main|baseline|constrained baseline", IsRequired: False }, ProfileCondition { Condition: LessThanEqual, Property: VideoLevel, Value: "51", IsRequired: False }, ProfileCondition { Condition: LessThanEqual, Property: VideoBitrate, Value: "8000000", IsRequired: True }], ApplyConditions: [], Codec: "h264", Container: null }, CodecProfile { Type: Video, Conditions: [ProfileCondition { Condition: LessThanEqual, Property: VideoBitrate, Value: "8000000", IsRequired: True }], ApplyConditions: [], Codec: null, Container: null }], ResponseProfiles: [ResponseProfile { Container: "m4v", AudioCodec: null, VideoCodec: null, Type: Video, OrgPn: null, MimeType: "video/mp4", Conditions: [] }], SubtitleProfiles: [SubtitleProfile { Format: "vtt", Method: External, DidlMode: null, Language: null, Container: null }, SubtitleProfile { Format: "ass", Method: External, DidlMode: null, Language: null, Container: null }, SubtitleProfile { Format: "ssa", Method: External, DidlMode: null, Language: null, Container: null }] }
[2020-04-22 23:15:07.555 +03:00] [INF] User policy for "Frank". EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
[2020-04-22 23:15:07.556 +03:00] [INF] Profile: "Unknown Profile", Path: "/mnt/usb1/share/downloads/anime/Jibaku Shounen Hanako-kun/[HorribleSubs] Jibaku Shounen Hanako-kun - 10 [1080p].mkv", isEligibleForDirectPlay: True, isEligibleForDirectStream: True
[2020-04-22 23:15:07.556 +03:00] [INF] Profile: "Unknown Profile", No direct play profiles found for Path: "/mnt/usb1/share/downloads/anime/Jibaku Shounen Hanako-kun/[HorribleSubs] Jibaku Shounen Hanako-kun - 10 [1080p].mkv"
[2020-04-22 23:15:07.581 +03:00] [INF] Profile: "Unknown Profile", Path: "/mnt/usb1/share/downloads/anime/Jibaku Shounen Hanako-kun/[HorribleSubs] Jibaku Shounen Hanako-kun - 10 [1080p].mkv", isEligibleForDirectPlay: True, isEligibleForDirectStream: True
[2020-04-22 23:15:07.582 +03:00] [INF] Profile: "Unknown Profile", No direct play profiles found for Path: "/mnt/usb1/share/downloads/anime/Jibaku Shounen Hanako-kun/[HorribleSubs] Jibaku Shounen Hanako-kun - 10 [1080p].mkv"
[2020-04-22 23:15:07.583 +03:00] [INF] Profile: "Unknown Profile", Path: "/mnt/usb1/share/downloads/anime/Jibaku Shounen Hanako-kun/[HorribleSubs] Jibaku Shounen Hanako-kun - 10 [1080p].mkv", isEligibleForDirectPlay: True, isEligibleForDirectStream: True
[2020-04-22 23:15:07.583 +03:00] [INF] Profile: "Unknown Profile", No direct play profiles found for Path: "/mnt/usb1/share/downloads/anime/Jibaku Shounen Hanako-kun/[HorribleSubs] Jibaku Shounen Hanako-kun - 10 [1080p].mkv"
[2020-04-22 23:15:08.976 +03:00] [ERR] Error processing request. URL: "http://192.168.1.36:8096/jellyfin/videos/b21a2f9d-9f77-3138-80b5-5e044b11cecb/hls1/main/0.ts?DeviceId=TW96aWxsYS81LjAgKFBsYXlTdGF0aW9uIDQgNi41MCkgQXBwbGVXZWJLaXQvNjA1LjEuMTUgKEtIVE1MLCBsaWtlIEdlY2tvKXwxNTUyNTA4NjQwNDMz&MediaSourceId=b21a2f9d9f77313880b55e044b11cecb&VideoCodec=h264&AudioCodec=aac&AudioStreamIndex=1&VideoBitrate=8000000&AudioBitrate=192000&PlaySessionId=efa1db69605b49c29edd1263fbe0ff88&TranscodingMaxAudioChannels=6&RequireAvc=false&Tag=c66a740e3bfd98e9deba1f8717af9017&SegmentContainer=ts&MinSegments=1&BreakOnNonKeyFrames=False&h264-profile=high,main,baseline,constrainedbaseline&h264-level=51&TranscodeReasons=ContainerNotSupported,VideoCodecNotSupported,AudioCodecNotSupported%23t%3D356.050228"
System.ArgumentException: Requested value 'AudioCodecNotSupported#t=356.050228' was not found.
at System.Enum.TryParseByName(RuntimeType enumType, String originalValueString, ReadOnlySpan`1 value, Boolean ignoreCase, Boolean throwOnFailure, UInt64& result)
at System.Enum.TryParseInt32Enum(RuntimeType enumType, String originalValueString, ReadOnlySpan`1 value, Int32 minInclusive, Int32 maxInclusive, Boolean ignoreCase, Boolean throwOnFailure, TypeCode type, Int32& result)
at System.Enum.TryParse(Type enumType, String value, Boolean ignoreCase, Boolean throwOnFailure, Object& result)
at System.Enum.Parse(Type enumType, String value, Boolean ignoreCase)
at MediaBrowser.Controller.MediaEncoding.EncodingJobInfo.<>c.<get_TranscodeReasons>b__87_1(String v)
at System.Linq.Enumerable.WhereSelectArrayIterator`2.ToArray()
at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
at MediaBrowser.Controller.MediaEncoding.EncodingJobInfo.get_TranscodeReasons()
at MediaBrowser.Api.ApiEntryPoint.ReportTranscodingProgress(TranscodingJob job, StreamState state, Nullable`1 transcodingPosition, Nullable`1 framerate, Nullable`1 percentComplete, Nullable`1 bytesTranscoded, Nullable`1 bitRate)
at MediaBrowser.Api.ApiEntryPoint.OnTranscodeBeginning(String path, String playSessionId, String liveStreamId, String transcodingJobId, TranscodingJobType type, Process process, String deviceId, StreamState state, CancellationTokenSource cancellationTokenSource)
at MediaBrowser.Api.Playback.BaseStreamingService.StartFfMpeg(StreamState state, String outputPath, CancellationTokenSource cancellationTokenSource, String workingDirectory)
at MediaBrowser.Api.Playback.Hls.DynamicHlsService.GetDynamicSegment(StreamRequest request, String segmentId)
at Emby.Server.Implementations.Services.ServiceExecGeneral.GetTaskResult(Task task)
at Emby.Server.Implementations.Services.ServiceHandler.ProcessRequestAsync(HttpListenerHost httpHost, IRequest httpReq, HttpResponse httpRes, ILogger logger, CancellationToken cancellationToken)
at Emby.Server.Implementations.HttpServer.HttpListenerHost.RequestHandler(IHttpRequest httpReq, String urlString, String host, String localPath, CancellationToken cancellationToken)
[2020-04-22 23:15:08.990 +03:00] [INF] Stopping ffmpeg process with q command for "/config/transcoding-temp/transcodes/transcodes/transcodes/f40288600fb3922d476ee6548c96113b.m3u8"
[2020-04-22 23:15:08.992 +03:00] [ERR] Error processing request. URL: "http://192.168.1.36:8096/jellyfin/videos/b21a2f9d-9f77-3138-80b5-5e044b11cecb/hls1/main/1.ts?DeviceId=TW96aWxsYS81LjAgKFBsYXlTdGF0aW9uIDQgNi41MCkgQXBwbGVXZWJLaXQvNjA1LjEuMTUgKEtIVE1MLCBsaWtlIEdlY2tvKXwxNTUyNTA4NjQwNDMz&MediaSourceId=b21a2f9d9f77313880b55e044b11cecb&VideoCodec=h264&AudioCodec=aac&AudioStreamIndex=1&VideoBitrate=8000000&AudioBitrate=192000&PlaySessionId=efa1db69605b49c29edd1263fbe0ff88&TranscodingMaxAudioChannels=6&RequireAvc=false&Tag=c66a740e3bfd98e9deba1f8717af9017&SegmentContainer=ts&MinSegments=1&BreakOnNonKeyFrames=False&h264-profile=high,main,baseline,constrainedbaseline&h264-level=51&TranscodeReasons=ContainerNotSupported,VideoCodecNotSupported,AudioCodecNotSupported%23t%3D356.050228"
System.ArgumentException: Requested value 'AudioCodecNotSupported#t=356.050228' was not found.
at System.Enum.TryParseByName(RuntimeType enumType, String originalValueString, ReadOnlySpan`1 value, Boolean ignoreCase, Boolean throwOnFailure, UInt64& result)
at System.Enum.TryParseInt32Enum(RuntimeType enumType, String originalValueString, ReadOnlySpan`1 value, Int32 minInclusive, Int32 maxInclusive, Boolean ignoreCase, Boolean throwOnFailure, TypeCode type, Int32& result)
at System.Enum.TryParse(Type enumType, String value, Boolean ignoreCase, Boolean throwOnFailure, Object& result)
at System.Enum.Parse(Type enumType, String value, Boolean ignoreCase)
at MediaBrowser.Controller.MediaEncoding.EncodingJobInfo.<>c.<get_TranscodeReasons>b__87_1(String v)
at System.Linq.Enumerable.WhereSelectArrayIterator`2.ToArray()
at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
at MediaBrowser.Controller.MediaEncoding.EncodingJobInfo.get_TranscodeReasons()
at MediaBrowser.Api.ApiEntryPoint.ReportTranscodingProgress(TranscodingJob job, StreamState state, Nullable`1 transcodingPosition, Nullable`1 framerate, Nullable`1 percentComplete, Nullable`1 bytesTranscoded, Nullable`1 bitRate)
at MediaBrowser.Api.ApiEntryPoint.OnTranscodeBeginning(String path, String playSessionId, String liveStreamId, String transcodingJobId, TranscodingJobType type, Process process, String deviceId, StreamState state, CancellationTokenSource cancellationTokenSource)
at MediaBrowser.Api.Playback.BaseStreamingService.StartFfMpeg(StreamState state, String outputPath, CancellationTokenSource cancellationTokenSource, String workingDirectory)
at MediaBrowser.Api.Playback.Hls.DynamicHlsService.GetDynamicSegment(StreamRequest request, String segmentId)
at Emby.Server.Implementations.Services.ServiceExecGeneral.GetTaskResult(Task task)
at Emby.Server.Implementations.Services.ServiceHandler.ProcessRequestAsync(HttpListenerHost httpHost, IRequest httpReq, HttpResponse httpRes, ILogger logger, CancellationToken cancellationToken)
at Emby.Server.Implementations.HttpServer.HttpListenerHost.RequestHandler(IHttpRequest httpReq, String urlString, String host, String localPath, CancellationToken cancellationToken)
[2020-04-22 23:15:09.004 +03:00] [INF] Stopping ffmpeg process with q command for "/config/transcoding-temp/transcodes/transcodes/transcodes/f40288600fb3922d476ee6548c96113b.m3u8"
System.ArgumentException: Requested value 'AudioCodecNotSupported#t=356.050228' was not found.
I wonder what this is about.
@Artiume I did some testing, no its different from jellyfin/jellyfin-android#301. Video and audio stays in sync there is no problem
Audio/video stays in sync in that issue as well. The issue is the audio/video become desynced with the playback position so the a/v is off by a few seconds while the subtitles are positioned correctly.
And looks like my first description was wrong. The subtitles was a little delayed, but main problem it's not rendering like %80 of the lines. The problem occurs even without seeking video.
Can you describe this better? What 80% are missing? Multiple lines that are supposed to appear at the same time or just that they come and go?
Audio/video stays in sync in that issue as well. The issue is the audio/video become desynced with the playback position so the a/v is off by a few seconds while the subtitles are positioned correctly.
They are sync with playback position, I compared with MPC.
Can you describe this better? What 80% are missing? Multiple lines that are supposed to appear at the same time or just that they come and go?
They just come and go. Sometimes subtitles appear in correct time(sync with audio) then dissappear some time then appear again correctly.
I tested docker nightly image today(nightly-20200609) . It works better than 10.5.5 the random line skipping issue gone but subtitle still not in sync like there is 0.5 to 1 second delay. Also external srt subtitles works without a problem.
Issues go stale after 90d of inactivity. Mark the issue as fresh by adding a comment or commit. Stale issues close after an additional 14d of inactivity. If this issue is safe to close now please do so. If you have any questions you can reach us on Matrix or Social Media.
issue still active
stale[bot] notifications@github.com, 7 Eyl 2020 Pzt, 17:05 tarihinde şunu yazdı:
Issues go stale after 90d of inactivity. Mark the issue as fresh by adding a comment or commit. Stale issues close after an additional 14d of inactivity. If this issue is safe to close now please do so. If you have any questions you can reach us on Matrix or Social Media https://docs.jellyfin.org/general/getting-help.html.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/jellyfin/jellyfin-web/issues/1080#issuecomment-688348162, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAOMQKCGHLP3I3UQCYSA72DSETSDHANCNFSM4MG7VXMA .
Issues go stale after 90d of inactivity. Mark the issue as fresh by adding a comment or commit. Stale issues close after an additional 14d of inactivity. If this issue is safe to close now please do so. If you have any questions you can reach us on Matrix or Social Media.
I'm not using ps4 for jellyfin but tested again today with 1.7 rc1. It looks like gotten worse, It's always in desync even without seeking, also it's misses half the lines randomly (there was a scene with 2 character talking back and forth it's printed only one side of dialog)
Also looks like there is maybe a new problem with styled subtitles, cause I tested a new file and it only printed like background text or noise subtitles, not printed main dialog subtitles. Maybe a font problem I didn't look into it much.
Again I'm not using ps4 for jellyfin no longer, but I'm happy to help if anyone is trying to fix this. I can provide files (anime torrents) or test again to gather more information.
Issues go stale after 90d of inactivity. Mark the issue as fresh by adding a comment or commit. Stale issues close after an additional 14d of inactivity. If this issue is safe to close now please do so. If you have any questions you can reach us on Matrix or Social Media.
Describe the bug Issue started with 10.5.0 update. In PC with normal browsers like chrome or firefox there is no problem. But in playstation subtitles appear delayed, and with seeking video forward or backward it's get more de-sync with audio.
My home server is low powered, so i only use with directplay and hardware acceleration is disabled. Server and PS4 connected with gbit network.
To Reproduce
Expected behavior
Logs Jellyfin log
FFMPEG log
I don't if it's possible get browser logs from ps4, if there is a way I can re-test and get logs from ps4
System (please complete the following information):
Server specs: 120gb ssd 4gb ram intel G1820 cpu 1gbit network