jellyfin-mpv-shim icon indicating copy to clipboard operation
jellyfin-mpv-shim copied to clipboard

Fail to play blu-ray files

Open isleon opened this issue 2 years ago • 0 comments

As jellyfin is able to recognize the blu-ray file structure folder, it can be played directly within the browser and via jellyfin-mpv-shim but with transcoding, I did not want the transcoding since it takes a lot time loading, so I unchecked the setting for transcoding h265 to h264 since the source video is in HEVC, then it failed to play, below are the error messages you may found useful.

  • OS: Windows 10
  • Version 2.0.2

Error Messages from jellyfin-mpv-shim 2022-04-02 23:41:35,086 [ DEBUG] event_handler: Handled Event GeneralCommand: {'Name': 'DisplayContent', 'ControllingUserId': 'f180c95748b64da2be63ab9776b01cfd', 'Arguments': {'ItemId': 'd9764aab4e60b2af1f73b68dae830ebd', 'ItemType': 'Movie'}, 'ServerId': 'b1188d504452448fbd70a4a6ab00fcac'} 2022-04-02 23:41:46,664 [ DEBUG] event_handler: Handled Event Play: {'ItemIds': ['d9764aab4e60b2af1f73b68dae830ebd'], 'PlayCommand': 'PlayNow', 'ControllingUserId': 'f180c95748b64da2be63ab9776b01cfd', 'ServerId': 'b1188d504452448fbd70a4a6ab00fcac'} 2022-04-02 23:41:46,665 [ DEBUG] urllib3.connectionpool: Resetting dropped connection: 192.168.1.3 2022-04-02 23:41:46,685 [ DEBUG] urllib3.connectionpool: http://192.168.1.3:8096 "GET /Users/f180c95748b64da2be63ab9776b01cfd/Items/d9764aab4e60b2af1f73b68dae830ebd HTTP/1.1" 200 None 2022-04-02 23:41:46,689 [ DEBUG] event_handler: EventHandler::playMedia <jellyfin_mpv_shim.media.Media object at 0x0000021671EED908> 2022-04-02 23:41:46,689 [ DEBUG] media: Bandwidth: local=True, bitrate=None, force=False 2022-04-02 23:41:46,807 [ DEBUG] urllib3.connectionpool: http://192.168.1.3:8096 "POST /Items/d9764aab4e60b2af1f73b68dae830ebd/PlaybackInfo HTTP/1.1" 200 None 2022-04-02 23:41:46,808 [ DEBUG] media: Using transcode url. 2022-04-02 23:41:46,808 [ ERROR] websocket: error from callback <function WSClient.run.. at 0x0000021671E0F048>: can only concatenate str (not "NoneType") to str 2022-04-02 23:41:46,809 [ ERROR] JELLYFIN.jellyfin_apiclient_python.ws_client: can only concatenate str (not "NoneType") to str 2022-04-02 23:41:46,809 [ DEBUG] event_handler: Unhandled Event WebSocketError: can only concatenate str (not "NoneType") to str

Error Messages from jellyfin [2022-04-02 23:41:27.418 +08:00] [INF] [41] Emby.Server.Implementations.HttpServer.WebSocketManager: WS "192.168.1.6" closed [2022-04-02 23:41:28.070 +08:00] [INF] [38] Emby.Server.Implementations.HttpServer.WebSocketManager: WS "192.168.1.6" request [2022-04-02 23:41:37.621 +08:00] [WRN] [42] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from "http://192.168.1.3:8096/Items/d9764aab4e60b2af1f73b68dae830ebd/Images/Backdrop/0?maxWidth=1920&tag=09616e2f1bcb609961302aceeff11cdb&quality=80" to "192.168.1.6" in 0:00:00.5514763 with Status Code 200 [2022-04-02 23:41:48.637 +08:00] [INF] [8] Jellyfin.Api.Controllers.MediaInfoController: GetPostedPlaybackInfo profile: DeviceProfile { Name: "Jellyfin MPV Shim", 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: 2147483000, MaxStaticBitrate: 2147483000, MusicStreamingTranscodingBitrate: 1280000, MaxStaticMusicBitrate: null, SonyAggregationFlags: null, ProtocolInfo: null, TimelineOffsetSeconds: 5, RequiresPlainVideoItems: False, RequiresPlainFolders: False, EnableMSMediaReceiverRegistrar: False, IgnoreTranscodeByteRangeRequests: False, XmlRootAttributes: [], DirectPlayProfiles: [DirectPlayProfile { Container: null, AudioCodec: null, VideoCodec: null, Type: Video }, DirectPlayProfile { Container: null, AudioCodec: null, VideoCodec: null, Type: Audio }, DirectPlayProfile { Container: null, AudioCodec: null, VideoCodec: null, Type: Photo }], TranscodingProfiles: [TranscodingProfile { Container: null, Type: Audio, VideoCodec: null, AudioCodec: null, Protocol: null, EstimateContentLength: False, EnableMpegtsM2TsMode: False, TranscodeSeekInfo: Auto, CopyTimestamps: False, Context: Streaming, EnableSubtitlesInManifest: False, MaxAudioChannels: null, MinSegments: 0, SegmentLength: 0, BreakOnNonKeyFrames: False }, TranscodingProfile { Container: "ts", Type: Video, VideoCodec: "h264,h265,hevc,mpeg4,mpeg2video", AudioCodec: "aac,mp3,ac3,opus,flac,vorbis", Protocol: "hls", EstimateContentLength: False, EnableMpegtsM2TsMode: False, TranscodeSeekInfo: Auto, CopyTimestamps: False, Context: Streaming, EnableSubtitlesInManifest: False, MaxAudioChannels: "6", MinSegments: 0, SegmentLength: 0, BreakOnNonKeyFrames: False }, TranscodingProfile { Container: "jpeg", Type: Photo, VideoCodec: null, AudioCodec: null, Protocol: null, EstimateContentLength: False, EnableMpegtsM2TsMode: False, TranscodeSeekInfo: Auto, CopyTimestamps: False, Context: Streaming, EnableSubtitlesInManifest: False, MaxAudioChannels: null, MinSegments: 0, SegmentLength: 0, BreakOnNonKeyFrames: False }], ContainerProfiles: [], CodecProfiles: [], ResponseProfiles: [], SubtitleProfiles: [SubtitleProfile { Format: "srt", Method: External, DidlMode: null, Language: null, Container: null }, SubtitleProfile { Format: "srt", Method: Embed, DidlMode: null, Language: null, Container: null }, SubtitleProfile { Format: "ass", Method: External, DidlMode: null, Language: null, Container: null }, SubtitleProfile { Format: "ass", Method: Embed, DidlMode: null, Language: null, Container: null }, SubtitleProfile { Format: "sub", Method: Embed, DidlMode: null, Language: null, Container: null }, SubtitleProfile { Format: "sub", Method: External, DidlMode: null, Language: null, Container: null }, SubtitleProfile { Format: "ssa", Method: Embed, DidlMode: null, Language: null, Container: null }, SubtitleProfile { Format: "ssa", Method: External, DidlMode: null, Language: null, Container: null }, SubtitleProfile { Format: "smi", Method: Embed, DidlMode: null, Language: null, Container: null }, SubtitleProfile { Format: "smi", Method: External, DidlMode: null, Language: null, Container: null }, SubtitleProfile { Format: "pgssub", Method: Embed, DidlMode: null, Language: null, Container: null }, SubtitleProfile { Format: "dvdsub", Method: Embed, DidlMode: null, Language: null, Container: null }, SubtitleProfile { Format: "pgs", Method: Embed, DidlMode: null, Language: null, Container: null }] } [2022-04-02 23:41:48.740 +08:00] [INF] [8] Jellyfin.Api.Helpers.MediaInfoHelper: User policy for "Leon-H". EnablePlaybackRemuxing: False EnableVideoPlaybackTranscoding: False EnableAudioPlaybackTranscoding: False [2022-04-02 23:41:48.743 +08:00] [INF] [8] Jellyfin.Api.Helpers.MediaInfoHelper: Profile: "Jellyfin MPV Shim", Path: "D:\Movie\Test.2019.COMPLETE.UHD.BLURAY-TERMiNAL", isEligibleForDirectPlay: True, isEligibleForDirectStream: True [2022-04-02 23:41:48.747 +08:00] [INF] [8] Jellyfin.Api.Helpers.MediaInfoHelper: Profile: "Jellyfin MPV Shim", Path: "D:\Movie\Test.2019.COMPLETE.UHD.BLURAY-TERMiNAL", isEligibleForDirectPlay: True, isEligibleForDirectStream: True

isleon avatar Apr 02 '22 15:04 isleon