2024-02-08, 12:16 PM
(2024-02-06, 06:12 PM)TheDreadPirate Wrote: Do you have a reverse proxy setup?
Yes. But I tried it today using my jellyfin's server ip and I'm still getting the same problem
If this will help, Here's the logs i'm getting on Android client (Playback not working)
Code:
[20:05:37] [WRN] Slow HTTP Response from http://192.168.0.5:8096/videos/5705dc6f-983f-d7b0-d89f-9eea9add392d/live.m3u8?DeviceId=52e7f8e7da22515609ba8fcb70e548a69a114181c920fc9d&MediaSourceId=1906441028&VideoCodec=h264&AudioCodec=mp3,aac,ac3,eac3&AudioStreamIndex=-1&VideoBitrate=119872000&AudioBitrate=128000&PlaySessionId=5476d398e4754dcca2e5a644f9980aa4&api_key=9e46fba69b0a4da7b8c11fc2cf16bf41&RequireAvc=false&SegmentContainer=ts&BreakOnNonKeyFrames=False&TranscodeReasons=ContainerNotSupported,%20VideoCodecNotSupported,%20AudioCodecNotSupported to 192.168.0.195 in 0:00:01.6507008 with Status Code 500
Feb 8 20:05:41 jellyfin jellyfin[117]: [20:05:41] [INF] /usr/lib/jellyfin-ffmpeg/ffmpeg -analyzeduration 200M -init_hw_device vaapi=va:,kernel_driver=i915,driver=iHD -init_hw_device qsv=qs@va -filter_hw_device qs -autorotate 0 -i "http://192.168.0.4:9981/stream/channelid/1906441028?ticket=b0c65a5a06d39e635986549a4fb7072e9a533d23" -map_metadata -1 -map_chapters -1 -threads 0 -sn -codec:v:0 h264_qsv -preset 7 -look_ahead 0 -b:v 119872000 -maxrate 119872000 -bufsize 239744000 -vf "setparams=color_primaries=bt709:color_trc=bt709:colorspace=bt709,yadif=0:-1:0,format=yuv420p" -flags -global_header -codec:a:0 libmp3lame -ac 2 -ab 128000 -copyts -avoid_negative_ts disabled -max_muxing_queue_size 2048 -f hls -max_delay 5000000 -hls_time 3 -hls_segment_type mpegts -start_number 0 -hls_base_url "hls/2c2c719b524bbb1ca9ac675fa00894a7/" -hls_segment_filename "/mnt/ssd/Transcodes/2c2c719b524bbb1ca9ac675fa00894a7%d.ts" -hls_playlist_type event -hls_list_size 0 -y "/mnt/ssd/Transcodes/2c2c719b524bbb1ca9ac675fa00894a7.m3u8"
Feb 8 20:05:41 jellyfin jellyfin[117]: [20:05:41] [ERR] FFmpeg exited with code 1
Feb 8 20:05:41 jellyfin jellyfin[117]: [20:05:41] [ERR] Error processing request. URL GET /videos/5705dc6f-983f-d7b0-d89f-9eea9add392d/live.m3u8.
Feb 8 20:05:41 jellyfin jellyfin[117]: MediaBrowser.Common.FfmpegException: FFmpeg exited with code 1
Feb 8 20:05:41 jellyfin jellyfin[117]: at Jellyfin.Api.Helpers.TranscodingJobHelper.StartFfMpeg(StreamState state, String outputPath, String commandLineArguments, HttpRequest request, TranscodingJobType transcodingJobType, CancellationTokenSource cancellationTokenSource, String workingDirectory)
Feb 8 20:05:41 jellyfin jellyfin[117]: at Jellyfin.Api.Controllers.DynamicHlsController.GetLiveHlsStream(Guid itemId, String container, Nullable`1 static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Nullable`1 segmentLength, Nullable`1 minSegments, String mediaSourceId, String deviceId, String audioCodec, Nullable`1 enableAutoStreamCopy, Nullable`1 allowVideoStreamCopy, Nullable`1 allowAudioStreamCopy, Nullable`1 breakOnNonKeyFrames, Nullable`1 audioSampleRate, Nullable`1 maxAudioBitDepth, Nullable`1 audioBitRate, Nullable`1 audioChannels, Nullable`1 maxAudioChannels, String profile, String level, Nullable`1 framerate, Nullable`1 maxFramerate, Nullable`1 copyTimestamps, Nullable`1 startTimeTicks, Nullable`1 width, Nullable`1 height, Nullable`1 videoBitRate, Nullable`1 subtitleStreamIndex, Nullable`1 subtitleMethod, Nullable`1 maxRefFrames, Nullable`1 maxVideoBitDepth, Nullable`1 requireAvc, Nullable`1 deInterlace, Nullable`1 requireNonAnamorphic, Nullable`1 transcodingMaxAudioChannels, Nullable`1 cpuCoreLimit, String liveStreamId, Nullable`1 enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Nullable`1 audioStreamIndex, Nullable`1 videoStreamIndex, Nullable`1 context, Dictionary`2 streamOptions, Nullable`1 maxWidth, Nullable`1 maxHeight, Nullable`1 enableSubtitlesInManifest)
vs
Windows client (Jellyfin Media Player) which playback is working
Code:
eb 8 20:08:36 jellyfin jellyfin[117]: [20:08:36] [INF] [TVHclient] AccessTicketHandler.GetAccessTicket: New ticket (#14) created for channelId=1906441028
Feb 8 20:08:36 jellyfin jellyfin[117]: [20:08:36] [INF] User policy for nikko. EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
Feb 8 20:08:36 jellyfin jellyfin[117]: [20:08:36] [INF] StreamBuilder.BuildVideoItem( Profile=Jellyfin Media Player, Path=http://192.168.0.4:9981/stream/channelid/1906441028?ticket=00ac710f99e03c20e09d338928b97910af6211c4, AudioStreamIndex=null, SubtitleStreamIndex=null ) => ( PlayMethod=DirectPlay, TranscodeReason=0 ) media:/videos/5705dc6f-983f-d7b0-d89f-9eea9add392d/stream?MediaSourceId=1906441028&Static=true&AudioStreamIndex=-1&api_key=<token>
Feb 8 20:08:36 jellyfin jellyfin[117]: [20:08:36] [INF] Adding playback tracker : SmVsbHlmaW5NZWRpYVBsYXllciAxLjkuMSAod2luZG93cy14ODZfNjQgMTApfDE3MDcxMjQwOTAzMjQ1-09ba8fcb70e548a69a114181c920fc9d-5705dc6f983fd7b0d89f9eea9add392d
Feb 8 20:08:36 jellyfin jellyfin[117]: [20:08:36] [INF] PlaybackTracker : Adding Start Event : 02/08/2024 20:08:36
Feb 8 20:08:36 jellyfin jellyfin[117]: [20:08:36] [INF] Creating StartPlaybackTimer Task
Feb 8 20:08:36 jellyfin jellyfin[117]: [20:08:36] [INF] StartPlaybackTimer : Entered
Feb 8 20:08:37 jellyfin jellyfin[117]: [20:08:37] [INF] Sending ForceKeepAlive message to 1 inactive WebSockets.
Feb 8 20:08:37 jellyfin jellyfin[117]: [20:08:37] [INF] Processing playback tracker : SmVsbHlmaW5NZWRpYVBsYXllciAxLjkuMSAod2luZG93cy14ODZfNjQgMTApfDE3MDcxMjQwOTAzMjQ1-09ba8fcb70e548a69a114181c920fc9d-5705dc6f983fd7b0d89f9eea9add392d
Feb 8 20:08:49 jellyfin jellyfin[117]: [20:08:49] [INF] Lost 1 WebSockets.
Feb 8 20:08:56 jellyfin jellyfin[117]: [20:08:56] [INF] session.RemoteEndPoint : 192.168.0.10
Feb 8 20:08:56 jellyfin jellyfin[117]: [20:08:56] [INF] StartPlaybackTimer : event_playing_id = 5705dc6f983fd7b0d89f9eea9add392d
Feb 8 20:08:56 jellyfin jellyfin[117]: [20:08:56] [INF] StartPlaybackTimer : event_user_id = 09ba8fcb70e548a69a114181c920fc9d
Feb 8 20:08:56 jellyfin jellyfin[117]: [20:08:56] [INF] StartPlaybackTimer : event_user_id_int = 1
Feb 8 20:08:56 jellyfin jellyfin[117]: [20:08:56] [INF] StartPlaybackTimer : session_playing_id = 5705dc6f983fd7b0d89f9eea9add392d
Feb 8 20:08:56 jellyfin jellyfin[117]: [20:08:56] [INF] StartPlaybackTimer : session_user_id = 09ba8fcb70e548a69a114181c920fc9d
Feb 8 20:08:56 jellyfin jellyfin[117]: [20:08:56] [INF] StartPlaybackTimer : play_method = DirectPlay
Feb 8 20:08:56 jellyfin jellyfin[117]: [20:08:56] [INF] StartPlaybackTimer : e.ClientName = Jellyfin Media Player
Feb 8 20:08:56 jellyfin jellyfin[117]: [20:08:56] [INF] StartPlaybackTimer : e.DeviceName = Nikko-MiniPC
Feb 8 20:08:56 jellyfin jellyfin[117]: [20:08:56] [INF] StartPlaybackTimer : ItemName = GMA
Feb 8 20:08:56 jellyfin jellyfin[117]: [20:08:56] [INF] StartPlaybackTimer : ItemId = 5705dc6f983fd7b0d89f9eea9add392d
Feb 8 20:08:56 jellyfin jellyfin[117]: [20:08:56] [INF] StartPlaybackTimer : ItemType = TvChannel
Feb 8 20:08:56 jellyfin jellyfin[117]: [20:08:56] [INF] StartPlaybackTimer : All matches, playback registered
Feb 8 20:08:56 jellyfin jellyfin[117]: [20:08:56] [INF] Playback tracker found, adding playback info : SmVsbHlmaW5NZWRpYVBsYXllciAxLjkuMSAod2luZG93cy14ODZfNjQgMTApfDE3MDcxMjQwOTAzMjQ1-09ba8fcb70e548a69a114181c920fc9d-5705dc6f983fd7b0d89f9eea9add392d
Feb 8 20:08:56 jellyfin jellyfin[117]: [20:08:56] [INF] Saving playback tracking activity in DB
Feb 8 20:08:56 jellyfin jellyfin[117]: [20:08:56] [INF] StartPlaybackTimer : Exited
Feb 8 20:08:57 jellyfin jellyfin[117]: [20:08:57] [INF] Processing playback tracker : SmVsbHlmaW5NZWRpYVBsYXllciAxLjkuMSAod2luZG93cy14ODZfNjQgMTApfDE3MDcxMjQwOTAzMjQ1-09ba8fcb70e548a69a114181c920fc9d-5705dc6f983fd7b0d89f9eea9add392d
Feb 8 20:09:17 jellyfin jell