Jellyfin Forum
Live TV on FireStick - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting)
+--- Thread: Live TV on FireStick (/t-live-tv-on-firestick)



Live TV on FireStick - Veehxia - 2024-05-05

Greetings everyone,
I've been messing around with my Jellyfin server for a bunch of days trying to get the live TV to work on a Fire Stick TV but without any kind of luck.
My server is running in a Proxmox LXC with GPU passthru, I've made another LXC with TVHeadEnd and passed the TV tuner to it.
I've installed the TVHE plugins and everything works fine on every device, except one.
My Fire Stick just doesnt want to play those live TV channels, it always says player error no matter what settings I choose.
I've tried to toggle / untoggle every possible combination of the 3 settings that I think are influencing this but with no luck.
Under my user profile there is a setting that says "Force transcoding of remote media like live TV", another one is in the TVHE plugin settings and it says "Force deinterlacing of all TV channels" and in the FireStick app I've tried to toggle all the players and the direct TV support, every possible combination of these 3 settings has been tried but with no luck.
From my server control panel I can see that it says "Device is fully compatible " so I guess it's ignoring the transcoding, which I want to force it to do so I can deinterlace the video since the firestick cant do it.
I know it's possible because last year I tried the same thing and I got it working, but I have no clue on how I did it and how to make it work again.
I'm often abroad so being able to just bring a FireStick and be able to watch my home Tv is a very useful feature for me, everything else works like movies and tv series even with transcoding, just the live TV one is not working.
How could I try to solve this?
Thanks in advance to whoever might be able to help me out.
I'll leave some logs.
This is done with "Force trascoding of remote media" and "Force deinterlacing of all TV channels" toggled on, with ExoPlayer selected on the FireStick and "Direct Stream" unchecked after a fresh server & stick reboot.


Quote:/videos/bbac5811-c10b-f8af-43c4-61309e550a89/live.m3u8
{"Protocol":1,"Id":"820486594","Path":"http://192.168.1.104:9981/stream/channelid/820486594?ticket=407dedd13f873e8293e70379dc12448bf773bc5d","EncoderPath":null,"EncoderProtocol":null,"Type":0,"Container":null,"Size":null,"Name":null,"IsRemote":false,"ETag":null,"RunTimeTicks":null,"ReadAtNativeFramerate":false,"IgnoreDts":false,"IgnoreIndex":false,"GenPtsInput":false,"SupportsTranscoding":true,"SupportsDirectStream":true,"SupportsDirectPlay":true,"IsInfiniteStream":true,"RequiresOpening":false,"OpenToken":null,"RequiresClosing":false,"LiveStreamId":null,"BufferMs":1500,"RequiresLooping":false,"SupportsProbing":true,"VideoType":null,"IsoType":null,"Video3DFormat":null,"MediaStreams":[{"Codec":null,"CodecTag":null,"Language":null,"ColorRange":null,"ColorSpace":null,"ColorTransfer":null,"ColorPrimaries":null,"DvVersionMajor":null,"DvVersionMinor":null,"DvProfile":null,"DvLevel":null,"RpuPresentFlag":null,"ElPresentFlag":null,"BlPresentFlag":null,"DvBlSignalCompatibilityId":null,"Comment":null,"TimeBase":null,"CodecTimeBase":null,"Title":null,"VideoRange":"SDR","VideoRangeType":"SDR","VideoDoViTitle":null,"LocalizedUndefined":null,"LocalizedDefault":null,"LocalizedForced":null,"LocalizedExternal":null,"DisplayTitle":"SDR","NalLengthSize":"0","IsInterlaced":true,"IsAVC":null,"ChannelLayout":null,"BitRate":null,"BitDepth":null,"RefFrames":null,"PacketLength":null,"Channels":null,"SampleRate":null,"IsDefault":false,"IsForced":false,"Height":null,"Width":null,"AverageFrameRate":null,"RealFrameRate":null,"Profile":null,"Type":1,"AspectRatio":null,"Index":-1,"Score":null,"IsExternal":false,"DeliveryMethod":null,"DeliveryUrl":null,"IsExternalUrl":null,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Path":null,"PixelFormat":null,"Level":null,"IsAnamorphic":null},{"Codec":null,"CodecTag":null,"Language":null,"ColorRange":null,"ColorSpace":null,"ColorTransfer":null,"ColorPrimaries":null,"DvVersionMajor":null,"DvVersionMinor":null,"DvProfile":null,"DvLevel":null,"RpuPresentFlag":null,"ElPresentFlag":null,"BlPresentFlag":null,"DvBlSignalCompatibilityId":null,"Comment":null,"TimeBase":null,"CodecTimeBase":null,"Title":null,"VideoRange":null,"VideoRangeType":null,"VideoDoViTitle":null,"LocalizedUndefined":null,"LocalizedDefault":null,"LocalizedForced":null,"LocalizedExternal":null,"DisplayTitle":"","NalLengthSize":null,"IsInterlaced":false,"IsAVC":null,"ChannelLayout":null,"BitRate":null,"BitDepth":null,"RefFrames":null,"PacketLength":null,"Channels":null,"SampleRate":null,"IsDefault":false,"IsForced":false,"Height":null,"Width":null,"AverageFrameRate":null,"RealFrameRate":null,"Profile":null,"Type":0,"AspectRatio":null,"Index":-1,"Score":null,"IsExternal":false,"DeliveryMethod":null,"DeliveryUrl":null,"IsExternalUrl":null,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Path":null,"PixelFormat":null,"Level":null,"IsAnamorphic":null}],"MediaAttachments":[],"Formats":[],"Bitrate":null,"Timestamp":null,"RequiredHttpHeaders":{},"TranscodingUrl":null,"TranscodingSubProtocol":null,"TranscodingContainer":null,"AnalyzeDurationMs":null,"DefaultAudioStreamIndex":null,"DefaultSubtitleStreamIndex":null}
/usr/lib/jellyfin-ffmpeg/ffmpeg -analyzeduration 200M -init_hw_device cuda=cu:0 -filter_hw_device cu -autorotate 0 -i "http://192.168.1.104:9981/stream/channelid/820486594?ticket=407dedd13f873e8293e70379dc12448bf773bc5d" -map_metadata -1 -map_chapters -1 -threads 0 -sn -codec:v:0 hevc_nvenc -tag:v:0 hvc1 -preset p1 -b:v 4872000 -maxrate 4872000 -bufsize 9744000 -vf "setparams=color_primaries=bt709:color_trc=bt709:colorspace=bt709,yadif=0:-1:0,scale=trunc(min(max(iw\,ih*a)\,min(1920\,1080*a))/2)*2:trunc(min(max(iw/a\,ih)\,min(1920/a\,1080))/2)*2,format=yuv420p" -flags -global_header -codec:a:0 libfdk_aac -ac 8 -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/dfd273871e14fdb13d146c0480b7c463/" -hls_segment_filename "/var/lib/jellyfin/transcodes/dfd273871e14fdb13d146c0480b7c463%d.ts" -hls_playlist_type event -hls_list_size 0 -y "/var/lib/jellyfin/transcodes/dfd273871e14fdb13d146c0480b7c463.m3u8"
ffmpeg version 5.1.4-Jellyfin Copyright © 2000-2023 the FFmpeg developers
  built with gcc 12 (Debian 12.2.0-14)
  configuration: --prefix=/usr/lib/jellyfin-ffmpeg --target-os=linux --extra-libs=-lfftw3f --extra-version=Jellyfin --disable-doc --disable-ffplay --disable-ptx-compression --disable-static --disable-libxcb --disable-sdl2 --disable-xlib --enable-lto --enable-gpl --enable-version3 --enable-shared --enable-gmp --enable-gnutls --enable-chromaprint --enable-libdrm --enable-libass --enable-libfreetype --enable-libfribidi --enable-libfontconfig --enable-libbluray --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libopenmpt --enable-libdav1d --enable-libsvtav1 --enable-libwebp --enable-libvpx --enable-libx264 --enable-libx265 --enable-libzvbi --enable-libzimg --enable-libfdk-aac --arch=amd64 --enable-libshaderc --enable-libplacebo --enable-vulkan --enable-opencl --enable-vaapi --enable-amf --enable-libmfx --enable-ffnvcodec --enable-cuda --enable-cuda-llvm --enable-cuvid --enable-nvdec --enable-nvenc
  libavutil      57. 28.100 / 57. 28.100
  libavcodec    59. 37.100 / 59. 37.100
  libavformat    59. 27.100 / 59. 27.100
  libavdevice    59.  7.100 / 59.  7.100
  libavfilter    8. 44.100 /  8. 44.100
  libswscale      6.  7.100 /  6.  7.100
  libswresample  4.  7.100 /  4.  7.100
  libpostproc    56.  6.100 / 56.  6.100
[h264 @ 0x628e3728ab00] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x628e3728ab00] decode_slice_header error
[h264 @ 0x628e3728ab00] no frame!
[h264 @ 0x628e3728ab00] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x628e3728ab00] decode_slice_header error
[h264 @ 0x628e3728ab00] no frame!
[h264 @ 0x628e3728ab00] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x628e3728ab00] decode_slice_header error
[h264 @ 0x628e3728ab00] no frame!
[h264 @ 0x628e3728ab00] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x628e3728ab00] decode_slice_header error
[h264 @ 0x628e3728ab00] no frame!
[h264 @ 0x628e3728ab00] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x628e3728ab00] decode_slice_header error
[h264 @ 0x628e3728ab00] no frame!
[h264 @ 0x628e3728ab00] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x628e3728ab00] decode_slice_header error
[h264 @ 0x628e3728ab00] no frame!
[h264 @ 0x628e3728ab00] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x628e3728ab00] decode_slice_header error
[h264 @ 0x628e3728ab00] no frame!
[h264 @ 0x628e3728ab00] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x628e3728ab00] decode_slice_header error
[h264 @ 0x628e3728ab00] no frame!
[h264 @ 0x628e3728ab00] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x628e3728ab00] decode_slice_header error
[h264 @ 0x628e3728ab00] no frame!
[h264 @ 0x628e3728ab00] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x628e3728ab00] decode_slice_header error
[h264 @ 0x628e3728ab00] no frame!
[h264 @ 0x628e3728ab00] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x628e3728ab00] decode_slice_header error
[h264 @ 0x628e3728ab00] no frame!
[h264 @ 0x628e3728ab00] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x628e3728ab00] decode_slice_header error
[h264 @ 0x628e3728ab00] no frame!
[h264 @ 0x628e3728ab00] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x628e3728ab00] decode_slice_header error
[h264 @ 0x628e3728ab00] no frame!
[h264 @ 0x628e3728ab00] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x628e3728ab00] decode_slice_header error
[h264 @ 0x628e3728ab00] no frame!
[h264 @ 0x628e3728ab00] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x628e3728ab00] decode_slice_header error
[h264 @ 0x628e3728ab00] no frame!
[h264 @ 0x628e3728ab00] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x628e3728ab00] decode_slice_header error
[h264 @ 0x628e3728ab00] no frame!
[h264 @ 0x628e3728ab00] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x628e3728ab00] decode_slice_header error
[h264 @ 0x628e3728ab00] no frame!
[h264 @ 0x628e3728ab00] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x628e3728ab00] decode_slice_header error
[h264 @ 0x628e3728ab00] no frame!
[h264 @ 0x628e3728ab00] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x628e3728ab00] decode_slice_header error
[h264 @ 0x628e3728ab00] no frame!
[h264 @ 0x628e3728ab00] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x628e3728ab00] decode_slice_header error
[h264 @ 0x628e3728ab00] no frame!
[h264 @ 0x628e3728ab00] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x628e3728ab00] decode_slice_header error
[h264 @ 0x628e3728ab00] no frame!
[h264 @ 0x628e3728ab00] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x628e3728ab00] decode_slice_header error
[h264 @ 0x628e3728ab00] no frame!
[h264 @ 0x628e3728ab00] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x628e3728ab00] decode_slice_header error
[h264 @ 0x628e3728ab00] no frame!
[h264 @ 0x628e3728ab00] mmco: unref short failure
    Last message repeated 1 times
Input #0, mpegts, from 'http://192.168.1.104:9981/stream/channelid/820486594?ticket=407dedd13f873e8293e70379dc12448bf773bc5d':
  Duration: N/A, start: 29603.561833, bitrate: N/A
  Program 1
    Metadata:
      service_name    : Real Time
      service_provider: Persidera
  Stream #0:0[0x99e]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(tv, bt709, top first), 1920x1080 [SAR 1:1 DAR 16:9], 25 fps, 25 tbr, 90k tbn
  Stream #0:1[0x99f](ita): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, fltp, 128 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (h264 (native) -> hevc (hevc_nvenc))
  Stream #0:1 -> #0:1 (mp2 (native) -> aac (libfdk_aac))
Press [q] to stop, [?] for help
[h264 @ 0x628e372915c0] co located POCs unavailable
[h264 @ 0x628e372915c0] reference picture missing during reorder
[h264 @ 0x628e372915c0] Missing reference picture, default is 65840
[h264 @ 0x628e3740b640] reference picture missing during reorder
[h264 @ 0x628e3740b640] Missing reference picture, default is 65856
[h264 @ 0x628e372c9980] mmco: unref short failure
Output #0, hls, to '/var/lib/jellyfin/transcodes/dfd273871e14fdb13d146c0480b7c463.m3u8':
  Metadata:
    encoder        : Lavf59.27.100
  Stream #0:0: Video: hevc (Main) (hvc1 / 0x31637668), yuv420p(tv, bt709, progressive), 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 4872 kb/s, 25 fps, 90k tbn
    Metadata:
      encoder        : Lavc59.37.100 hevc_nvenc
    Side data:
      cpb: bitrate max/min/avg: 4872000/0/4872000 buffer size: 9744000 vbv_delay: N/A
  Stream #0:1: Audio: aac, 48000 Hz, 7.1(wide), s16, 128 kb/s
    Metadata:
      encoder        : Lavc59.37.100 libfdk_aac
frame=    1 fps=0.0 q=0.0 size=N/A time=00:00:00.00 bitrate=N/A speed=  0x   
frame=  129 fps=0.0 q=26.0 size=N/A time=00:00:05.18 bitrate=N/A speed=8.76x   
frame=  254 fps=231 q=21.0 size=N/A time=00:00:10.19 bitrate=N/A speed=9.28x   
[hls @ 0x628e372e1900] Opening '/var/lib/jellyfin/transcodes/dfd273871e14fdb13d146c0480b7c4630.ts' for writing
[hls @ 0x628e372e1900] Opening '/var/lib/jellyfin/transcodes/dfd273871e14fdb13d146c0480b7c463.m3u8.tmp' for writing
frame=  266 fps=164 q=25.0 size=N/A time=00:00:10.81 bitrate=N/A speed=6.67x   
frame=  279 fps=129 q=26.0 size=N/A time=00:00:11.26 bitrate=N/A speed=5.19x   
frame=  299 fps=111 q=23.0 size=N/A time=00:00:11.88 bitrate=N/A speed=4.43x   
frame=  313 fps= 98 q=19.0 size=N/A time=00:00:12.35 bitrate=N/A speed=3.85x   
[q] command received. Exiting.
[hls @ 0x628e372e1900] Opening '/var/lib/jellyfin/transcodes/dfd273871e14fdb13d146c0480b7c4631.ts' for writing
[hls @ 0x628e372e1900] Opening '/var/lib/jellyfin/transcodes/dfd273871e14fdb13d146c0480b7c463.m3u8.tmp' for writing
frame=  323 fps= 90 q=18.0 Lsize=N/A time=00:00:12.80 bitrate=N/A speed=3.58x   
video:7828kB audio:221kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown


Quote:[2024-05-05 22:10:57.999 +00:00] [INF] [TVHclient] AccessTicketHandler.GetAccessTicket: New ticket (#"1") created for "channelId"="820486594"
[2024-05-05 22:10:58.039 +00:00] [INF] User policy for "Veehxia". EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
[2024-05-05 22:10:58.053 +00:00] [INF] StreamBuilder.BuildVideoItem( Profile="AndroidTV-External", Path="http://192.168.1.104:9981/stream/channelid/820486594?ticket=407dedd13f873e8293e70379dc12448bf773bc5d", AudioStreamIndex=null, SubtitleStreamIndex=null ) => ( PlayMethod=Transcode, TranscodeReason=ContainerBitrateExceedsLimit ) "media:/videos/bbac5811-c10b-f8af-43c4-61309e550a89/stream?MediaSourceId=820486594&AudioStreamIndex=-1&api_key=<token>&RequireAvc=false&TranscodeReasons=ContainerBitrateExceedsLimit"
[2024-05-05 22:11:08.768 +00:00] [INF] Sending ForceKeepAlive message to 1 inactive WebSockets.
[2024-05-05 22:11:20.768 +00:00] [INF] Lost 1 WebSockets.
[2024-05-05 22:11:36.939 +00:00] [INF] User policy for "Veehxia". EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
[2024-05-05 22:11:36.961 +00:00] [INF] StreamBuilder.BuildVideoItem( Profile="AndroidTV-ExoPlayer", Path="http://192.168.1.104:9981/stream/channelid/820486594?ticket=407dedd13f873e8293e70379dc12448bf773bc5d", AudioStreamIndex=null, SubtitleStreamIndex=null ) => ( PlayMethod=Transcode, TranscodeReason=ContainerBitrateExceedsLimit ) "media:/videos/bbac5811-c10b-f8af-43c4-61309e550a89/master.m3u8?MediaSourceId=820486594&VideoCodec=hevc,h264&AudioCodec=aac,mp3&AudioStreamIndex=-1&VideoBitrate=4872000&AudioBitrate=128000&MaxWidth=1920&MaxHeight=1080&api_key=<token>&RequireAvc=false&SegmentContainer=ts&BreakOnNonKeyFrames=False&aac-audiochannels=8&TranscodeReasons=ContainerBitrateExceedsLimit"
[2024-05-05 22:11:40.086 +00:00] [INF] "/usr/lib/jellyfin-ffmpeg/ffmpeg" "-analyzeduration 200M -init_hw_device cuda=cu:0 -filter_hw_device cu -autorotate 0 -i \"http://192.168.1.104:9981/stream/channelid/820486594?ticket=407dedd13f873e8293e70379dc12448bf773bc5d\" -map_metadata -1 -map_chapters -1 -threads 0 -sn -codec:v:0 hevc_nvenc -tag:v:0 hvc1 -preset p1 -b:v 4872000 -maxrate 4872000 -bufsize 9744000 -vf \"setparams=color_primaries=bt709:color_trc=bt709:colorspace=bt709,yadif=0:-1:0,scale=trunc(min(max(iw\,ih*a)\,min(1920\,1080*a))/2)*2:trunc(min(max(iw/a\,ih)\,min(1920/a\,1080))/2)*2,format=yuv420p\" -flags -global_header -codec:a:0 libfdk_aac -ac 8 -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/dfd273871e14fdb13d146c0480b7c463/\" -hls_segment_filename \"/var/lib/jellyfin/transcodes/dfd273871e14fdb13d146c0480b7c463%d.ts\" -hls_playlist_type event -hls_list_size 0 -y \"/var/lib/jellyfin/transcodes/dfd273871e14fdb13d146c0480b7c463.m3u8\""
[2024-05-05 22:11:55.251 +00:00] [ERR] Error processing request: "A task was canceled". URL "GET" "/videos/bbac5811-c10b-f8af-43c4-61309e550a89/live.m3u8".
[2024-05-05 22:11:55.251 +00:00] [WRN] Slow HTTP Response from "https://jellyfin.veehxia.eu/videos/bbac5811-c10b-f8af-43c4-61309e550a89/live.m3u8?DeviceId=0bca29712a077b492d6bc67b33b536b18a63c0f3&MediaSourceId=820486594&VideoCodec=hevc,h264&AudioCodec=aac,mp3&AudioStreamIndex=-1&VideoBitrate=4872000&AudioBitrate=128000&MaxWidth=1920&MaxHeight=1080&PlaySessionId=944adc49f8474d619d2cdd828d94b959&api_key=5462418353e74784b1491a443d9223ff&RequireAvc=false&SegmentContainer=ts&BreakOnNonKeyFrames=False&aac-audiochannels=8&TranscodeReasons=ContainerBitrateExceedsLimit" to "84.247.215.1" in 0:00:16.6955532 with Status Code 500
[2024-05-05 22:11:55.252 +00:00] [INF] Stopping ffmpeg process with q command for "/var/lib/jellyfin/transcodes/dfd273871e14fdb13d146c0480b7c463.m3u8"
[2024-05-05 22:11:55.252 +00:00] [WRN] Slow HTTP Response from "https://jellyfin.veehxia.eu/videos/bbac5811-c10b-f8af-43c4-61309e550a89/live.m3u8?DeviceId=0bca29712a077b492d6bc67b33b536b18a63c0f3&MediaSourceId=820486594&VideoCodec=hevc,h264&AudioCodec=aac,mp3&AudioStreamIndex=-1&VideoBitrate=4872000&AudioBitrate=128000&MaxWidth=1920&MaxHeight=1080&PlaySessionId=944adc49f8474d619d2cdd828d94b959&api_key=5462418353e74784b1491a443d9223ff&RequireAvc=false&SegmentContainer=ts&BreakOnNonKeyFrames=False&aac-audiochannels=8&TranscodeReasons=ContainerBitrateExceedsLimit" to "84.247.215.1" in 0:00:08.693076 with Status Code 200
[2024-05-05 22:11:55.269 +00:00] [INF] User policy for "Veehxia". EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
[2024-05-05 22:11:55.269 +00:00] [INF] StreamBuilder.BuildVideoItem( Profile="AndroidTV-ExoPlayer", Path="http://192.168.1.104:9981/stream/channelid/820486594?ticket=407dedd13f873e8293e70379dc12448bf773bc5d", AudioStreamIndex=null, SubtitleStreamIndex=null ) => ( PlayMethod=Transcode, TranscodeReason=ContainerBitrateExceedsLimit ) "media:/videos/bbac5811-c10b-f8af-43c4-61309e550a89/master.m3u8?MediaSourceId=820486594&VideoCodec=hevc,h264&AudioCodec=aac,mp3&AudioStreamIndex=-1&VideoBitrate=4872000&AudioBitrate=128000&MaxWidth=1920&MaxHeight=1080&api_key=<token>&RequireAvc=false&SegmentContainer=ts&BreakOnNonKeyFrames=False&aac-audiochannels=8&TranscodeReasons=ContainerBitrateExceedsLimit"
[2024-05-05 22:11:55.407 +00:00] [INF] FFmpeg exited with code 0
[2024-05-05 22:11:55.408 +00:00] [INF] Deleting partial stream file(s) "/var/lib/jellyfin/transcodes/dfd273871e14fdb13d146c0480b7c463.m3u8"
[2024-05-05 22:11:56.841 +00:00] [INF] "/usr/lib/jellyfin-ffmpeg/ffmpeg" "-analyzeduration 200M -init_hw_device cuda=cu:0 -filter_hw_device cu -autorotate 0 -i \"http://192.168.1.104:9981/stream/channelid/820486594?ticket=407dedd13f873e8293e70379dc12448bf773bc5d\" -map_metadata -1 -map_chapters -1 -threads 0 -sn -codec:v:0 hevc_nvenc -tag:v:0 hvc1 -preset p1 -b:v 4872000 -maxrate 4872000 -bufsize 9744000 -vf \"setparams=color_primaries=bt709:color_trc=bt709:colorspace=bt709,yadif=0:-1:0,scale=trunc(min(max(iw\,ih*a)\,min(1920\,1080*a))/2)*2:trunc(min(max(iw/a\,ih)\,min(1920/a\,1080))/2)*2,format=yuv420p\" -flags -global_header -codec:a:0 libfdk_aac -ac 8 -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/39d73acb700d7aabed4054adc12b8f48/\" -hls_segment_filename \"/var/lib/jellyfin/transcodes/39d73acb700d7aabed4054adc12b8f48%d.ts\" -hls_playlist_type event -hls_list_size 0 -y \"/var/lib/jellyfin/transcodes/39d73acb700d7aabed4054adc12b8f48.m3u8\""
[2024-05-05 22:11:56.916 +00:00] [INF] Playback stopped reported by app "Android TV" "0.16.10" playing "Real Time". Stopped at "0" ms
[2024-05-05 22:11:56.939 +00:00] [WRN] Slow HTTP Response from "https://jellyfin.veehxia.eu/Sessions/Playing/Stopped" to "84.247.215.1" in 0:00:01.6956234 with Status Code 204
[2024-05-05 22:12:11.741 +00:00] [ERR] Error processing request: "A task was canceled". URL "GET" "/videos/bbac5811-c10b-f8af-43c4-61309e550a89/live.m3u8".
[2024-05-05 22:12:11.741 +00:00] [WRN] Slow HTTP Response from "https://jellyfin.veehxia.eu/videos/bbac5811-c10b-f8af-43c4-61309e550a89/live.m3u8?DeviceId=0bca29712a077b492d6bc67b33b536b18a63c0f3&MediaSourceId=820486594&VideoCodec=hevc,h264&AudioCodec=aac,mp3&AudioStreamIndex=-1&VideoBitrate=4872000&AudioBitrate=128000&MaxWidth=1920&MaxHeight=1080&PlaySessionId=c9f1be10e220459fb72e81b434b490d1&api_key=5462418353e74784b1491a443d9223ff&RequireAvc=false&SegmentContainer=ts&BreakOnNonKeyFrames=False&aac-audiochannels=8&TranscodeReasons=ContainerBitrateExceedsLimit" to "84.247.215.1" in 0:00:16.4016943 with Status Code 500
[2024-05-05 22:12:11.741 +00:00] [INF] Stopping ffmpeg process with q command for "/var/lib/jellyfin/transcodes/39d73acb700d7aabed4054adc12b8f48.m3u8"
[2024-05-05 22:12:11.741 +00:00] [WRN] Slow HTTP Response from "https://jellyfin.veehxia.eu/videos/bbac5811-c10b-f8af-43c4-61309e550a89/live.m3u8?DeviceId=0bca29712a077b492d6bc67b33b536b18a63c0f3&MediaSourceId=820486594&VideoCodec=hevc,h264&AudioCodec=aac,mp3&AudioStreamIndex=-1&VideoBitrate=4872000&AudioBitrate=128000&MaxWidth=1920&MaxHeight=1080&PlaySessionId=c9f1be10e220459fb72e81b434b490d1&api_key=5462418353e74784b1491a443d9223ff&RequireAvc=false&SegmentContainer=ts&BreakOnNonKeyFrames=False&aac-audiochannels=8&TranscodeReasons=ContainerBitrateExceedsLimit" to "84.247.215.1" in 0:00:08.3992473 with Status Code 200
[2024-05-05 22:12:11.755 +00:00] [INF] [TVHclient] AccessTicketHandler.GetAccessTicket: New ticket (#"2") created for "channelId"="820486594"
[2024-05-05 22:12:11.755 +00:00] [INF] User policy for "Veehxia". EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
[2024-05-05 22:12:11.755 +00:00] [INF] StreamBuilder.BuildVideoItem( Profile="AndroidTV-ExoPlayer", Path="http://192.168.1.104:9981/stream/channelid/820486594?ticket=b28cadbab011098864c68c87d3fd1e00ef86bf9b", AudioStreamIndex=null, SubtitleStreamIndex=null ) => ( PlayMethod=Transcode, TranscodeReason=ContainerBitrateExceedsLimit ) "media:/videos/bbac5811-c10b-f8af-43c4-61309e550a89/master.m3u8?MediaSourceId=820486594&VideoCodec=hevc,h264&AudioCodec=aac,mp3&AudioStreamIndex=-1&VideoBitrate=4872000&AudioBitrate=128000&MaxWidth=1920&MaxHeight=1080&api_key=<token>&RequireAvc=false&SegmentContainer=ts&BreakOnNonKeyFrames=False&aac-audiochannels=8&TranscodeReasons=ContainerBitrateExceedsLimit"
[2024-05-05 22:12:12.035 +00:00] [INF] FFmpeg exited with code 0
[2024-05-05 22:12:12.035 +00:00] [INF] Deleting partial stream file(s) "/var/lib/jellyfin/transcodes/39d73acb700d7aabed4054adc12b8f48.m3u8"



RE: Live TV on FireStick - TheDreadPirate - 2024-05-06

Try libVLC as the preferred player. Some people here have had better luck with libVLC on Firesticks, specifically. Generally exo works better on other Android TV devices.


RE: Live TV on FireStick - xaque - 2024-05-06

You could also try downloading vlc for the firestick and using that as an external player. I get direct playback for live tv with that, while it remuxes with libvlc or exo. Not using tvhe so your mileage may vary.


RE: Live TV on FireStick - Veehxia - 2024-05-17

Thank you both for your replies and sorry for my delayed one.
I've managed to make it work later by turning off every forced transcode option and selecting libvlc, by doing that it works and it transcode (lol).

Now I have another issue, I've updated my Jellyfin server and it says TVHeadEnd plugin 11.0 is not supported, so I cant use it.
Is there a way to revert back to an older version without having to reconfigure the whole server?
Thanks.


RE: Live TV on FireStick - TheDreadPirate - 2024-05-17

Do you have a backup of your jellyfin server data and config directories? Even for minor updates we recommend backing up your jellyfin data.


RE: Live TV on FireStick - Veehxia - 2024-05-17

(2024-05-17, 02:00 PM)TheDreadPirate Wrote: Do you have a backup of your jellyfin server data and config directories?  Even for minor updates we recommend backing up your jellyfin data.

I do not, I always update with a simple "apt update && apt full-upgrade -y", I dont even realize when it updates..