Open citronalco opened 3 weeks ago
I believe I am encountering the same problem. Jellyfin 10.9.6 in Docker, Tvheadend Plugin 12.0.0.0. Trying to stream a channel just results in the loading spinner.
Some log output below (XXXX are values that I redacted; they did not look unusual or anything though):
Jellyfin Docker output:
[19:47:48] [INF] [3] TVHeadEnd.AccessTicketHandler: [TVHclient] AccessTicketHandler.GetAccessTicket: New ticket (#3) created for channelId=XXXX
[19:47:48] [INF] [3] TVHeadEnd.LiveTvService: [TVHclient] LiveTvService.GetChannelStream: support for live TV subtitles and multiple audio tracks is enabled
[19:47:48] [INF] [3] Jellyfin.Api.Helpers.MediaInfoHelper: User policy for XXXX. EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
[19:47:48] [INF] [3] TVHeadEnd.LiveTvService: [TVHclient] LiveTvService.GetChannelStream: support for live TV subtitles and multiple audio tracks is enabled
[19:47:48] [INF] [45] TVHeadEnd.LiveTvService: [TVHclient] LiveTvService.GetChannelStream: support for live TV subtitles and multiple audio tracks is enabled
[19:47:48] [INF] [45] Jellyfin.Api.Controllers.DynamicHlsController: Current HLS implementation doesn't support non-keyframe breaks but one is requested, ignoring that request
[19:47:49] [INF] [3] MediaBrowser.MediaEncoding.Transcoding.TranscodeManager: /usr/lib/jellyfin-ffmpeg/ffmpeg -analyzeduration 3000000 -probesize 1G -init_hw_device vaapi=va:/dev/dri/renderD128,driver=i965 -noautorotate -i "http://XXXX:XXXX@192.168.0.105:9981/stream/channelid/XXXX" -map_metadata -1 -map_chapters -1 -threads 4 -sn -codec:v:0 h264_vaapi -rc_mode CBR -b:v 19616000 -maxrate 19616000 -bufsize 39232000 -sei -a53_cc -force_key_frames:0 "expr:gte(t,n_forced*3)" -vf "setparams=color_primaries=bt709:color_trc=bt709:colorspace=bt709,yadif=0:-1:0,scale=trunc(min(max(iw\,ih*a)\,1920)/2)*2:trunc(ow/a/2)*2,format=nv12,hwupload_vaapi" -codec:a:0 libfdk_aac -ab 384000 -copyts -avoid_negative_ts disabled -max_muxing_queue_size 2048 -f hls -max_delay 5000000 -hls_time 3 -hls_segment_type fmp4 -hls_fmp4_init_filename "59ed7962c6ddbf4b290f96cbfac90bce-1.mp4" -start_number 0 -hls_base_url "hls/59ed7962c6ddbf4b290f96cbfac90bce/" -hls_segment_filename "/cache/transcodes/59ed7962c6ddbf4b290f96cbfac90bce%d.mp4" -hls_playlist_type event -hls_list_size 0 -y "/cache/transcodes/59ed7962c6ddbf4b290f96cbfac90bce.m3u8"
[19:50:32] [INF] [3] Emby.Server.Implementations.Session.SessionManager: Playback stopped reported by app Jellyfin Web 10.9.6 playing XXXX. Stopped at 0 ms
Tvheadend does output an error after a little bit of trying, here is a log snippet:
Jun 16 14:47:03 XXXX tvheadend[1260]: subscription: 009F: "HTTP" unsubscribing from "XXXX", hostname="10.89.0.5", client="Lavf/60.3.100"
Jun 16 14:47:49 XXXX tvheadend[1260]: mpegts: 605.028MHz in ATSC-T Network - tuning on LG Electronics LGDT3306A VSB/QAM Frontend #0 : ATSC-T #0
Jun 16 14:47:49 XXXX tvheadend[1260]: subscription: 00A0: "HTTP" subscribing on channel "XXXX", weight: 100, adapter: "LG Electronics LGDT3306A VSB/QAM Frontend #0 : ATSC-T #0", network: "ATSC-T Network", mux: "XXXX", service: "XXXX", profile="pass", hostname="10.89.0.5", client="Lavf/60.3.100"
Jun 16 14:48:20 XXXX tvheadend[1260]: pass: Live stream: Write failed -- Resource temporarily unavailable
Jun 16 14:48:20 XXXX tvheadend[1260]: webui: Stop streaming /stream/channelid/XXXX, muxer reported errors
Jun 16 14:48:20 XXXX tvheadend[1260]: subscription: 00A0: "HTTP" unsubscribing from "XXXX", hostname="10.89.0.5", client="Lavf/60.3.100"
Jellyfin transcode log did not output anything unusual but let me know if you'd like it, or if there is anything else I can provide.
Same Here. Logs are similar. Did test with Firefox, Chromium and Jellyfin F-Droid and GPlay App. My server is a KVM arch linux VM with official jellyfin-server 1.9.6 package installed. TVHeadend is working flawlessly in kodi or via direct http url.
Still does not work on Jellyfin 10.9.7. Server is Debian 12, client is Firefox.
With Jellyfin 10.9.6 amd Plugin 12, LiveTV does not work. The web GUI just keeps showing the spinner. It did work with Jellyfin 10.8 and Plugin 11
tvheadend log:
Jellyfin's log:
Excerpt of jellyfin's transcoding log:
So technically it seems to work - at least to a certain extent. But it does not display anything, except for the spinner.