jellyfin-androidtv
jellyfin-androidtv copied to clipboard
Live TV Bug
Describe the bug
Hello, I have noticed when putting the m3u in IPTV the channels take time to show the image as I have also checked that it takes a period of 30 seconds, but I have also seen that at times the Live TV in M3U freezes but with http format from IPTV but when I play from another service it works 100% but in Jellyfin it takes a while for the channels to come out and sometimes it freezes, any help for this information? I'll be very grateful.
Logs
/videos/8c9be4e8-7f2d-1a63-b0f7-48582ccb9341/live.m3u8
{"Protocol":1,"Id":"36161","Path":"http://127.0.0.1:8096/LiveTv/LiveStreamFiles/50229618-35e9-4740-987c-135bd7facf70/stream.ts","EncoderPath":null,"EncoderProtocol":1,"Type":0,"Container":"mpegts","Size":null,"Name":"default","IsRemote":true,"ETag":null,"RunTimeTicks":null,"ReadAtNativeFramerate":false,"IgnoreDts":false,"IgnoreIndex":false,"GenPtsInput":false,"SupportsTranscoding":true,"SupportsDirectStream":true,"SupportsDirectPlay":false,"IsInfiniteStream":true,"RequiresOpening":true,"OpenToken":null,"RequiresClosing":true,"LiveStreamId":"a17c75760a04e99b68cf766e11316e1c_ee8461408bd99accf028baca3558e074_36161","BufferMs":null,"RequiresLooping":false,"SupportsProbing":true,"VideoType":null,"IsoType":null,"Video3DFormat":null,"MediaStreams":[{"Codec":"h264","CodecTag":null,"Language":null,"ColorRange":"tv","ColorSpace":"bt709","ColorTransfer":"bt709","ColorPrimaries":"bt709","DvVersionMajor":null,"DvVersionMinor":null,"DvProfile":null,"DvLevel":null,"RpuPresentFlag":null,"ElPresentFlag":null,"BlPresentFlag":null,"DvBlSignalCompatibilityId":null,"Comment":null,"TimeBase":"1/90000","CodecTimeBase":null,"Title":null,"VideoRange":"SDR","VideoRangeType":"SDR","VideoDoViTitle":null,"LocalizedUndefined":null,"LocalizedDefault":null,"LocalizedForced":null,"LocalizedExternal":null,"DisplayTitle":"720p H264 SDR","NalLengthSize":"0","IsInterlaced":false,"IsAVC":null,"ChannelLayout":null,"BitRate":8000000,"BitDepth":8,"RefFrames":1,"PacketLength":null,"Channels":null,"SampleRate":null,"IsDefault":false,"IsForced":false,"Height":720,"Width":1280,"AverageFrameRate":25,"RealFrameRate":29.97003,"Profile":"High","Type":1,"AspectRatio":"16:9","Index":-1,"Score":null,"IsExternal":false,"DeliveryMethod":null,"DeliveryUrl":null,"IsExternalUrl":null,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Path":null,"PixelFormat":"yuv420p","Level":31,"IsAnamorphic":false},{"Codec":"aac","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":"1/90000","CodecTimeBase":null,"Title":null,"VideoRange":null,"VideoRangeType":null,"VideoDoViTitle":null,"LocalizedUndefined":null,"LocalizedDefault":null,"LocalizedForced":null,"LocalizedExternal":null,"DisplayTitle":"AAC - Stereo","NalLengthSize":null,"IsInterlaced":false,"IsAVC":null,"ChannelLayout":"stereo","BitRate":130678,"BitDepth":null,"RefFrames":null,"PacketLength":null,"Channels":2,"SampleRate":48000,"IsDefault":false,"IsForced":false,"Height":null,"Width":null,"AverageFrameRate":null,"RealFrameRate":null,"Profile":"LC","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":0,"IsAnamorphic":null}],"MediaAttachments":[],"Formats":[],"Bitrate":8130678,"Timestamp":null,"RequiredHttpHeaders":{},"TranscodingUrl":null,"TranscodingSubProtocol":null,"TranscodingContainer":null,"AnalyzeDurationMs":3000,"DefaultAudioStreamIndex":null,"DefaultSubtitleStreamIndex":null}
/usr/lib/jellyfin-ffmpeg/ffmpeg -analyzeduration 200M -fflags +genpts -f mpegts -i "http://127.0.0.1:8096/LiveTv/LiveStreamFiles/50229618-35e9-4740-987c-135bd7facf70/stream.ts" -map_metadata -1 -map_chapters -1 -threads 0 -sn -codec:v:0 copy -start_at_zero -flags -global_header -codec:a:0 copy -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/140ff4f3d8f996fadf68734dcaa7b83e/" -hls_segment_filename "/var/lib/jellyfin/transcodes/140ff4f3d8f996fadf68734dcaa7b83e%d.ts" -hls_playlist_type event -hls_list_size 0 -y "/var/lib/jellyfin/transcodes/140ff4f3d8f996fadf68734dcaa7b83e.m3u8"
ffmpeg version 5.1-Jellyfin Copyright (c) 2000-2022 the FFmpeg developers
built with gcc 9 (Ubuntu 9.4.0-1ubuntu1~20.04.1)
configuration: --prefix=/usr/lib/jellyfin-ffmpeg --target-os=linux --extra-libs=-lfftw3f --extra-version=Jellyfin --disable-doc --disable-ffplay --disable-ptx-compression --disable-shared --disable-libxcb --disable-sdl2 --disable-xlib --enable-lto --enable-gpl --enable-version3 --enable-static --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-libdav1d --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
Input #0, mpegts, from 'http://127.0.0.1:8096/LiveTv/LiveStreamFiles/50229618-35e9-4740-987c-135bd7facf70/stream.ts':
Duration: N/A, start: 10540.438000, bitrate: N/A
Program 1
Metadata:
service_name : Service01
service_provider: FFmpeg
Stream #0:0[0x100]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(tv, bt709, progressive), 1280x720 [SAR 1:1 DAR 16:9], 25 fps, 29.97 tbr, 90k tbn
Stream #0:1[0x101]: Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp, 130 kb/s
Output #0, hls, to '/var/lib/jellyfin/transcodes/140ff4f3d8f996fadf68734dcaa7b83e.m3u8':
Metadata:
encoder : Lavf59.27.100
Stream #0:0: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(tv, bt709, progressive), 1280x720 [SAR 1:1 DAR 16:9], q=2-31, 25 fps, 29.97 tbr, 90k tbn
Stream #0:1: Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp, 130 kb/s
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
frame= 1 fps=0.0 q=-1.0 size=N/A time=-00:00:00.04 bitrate=N/A speed=N/A
[hls @ 0x55834eb24480] Opening '/var/lib/jellyfin/transcodes/140ff4f3d8f996fadf68734dcaa7b83e0.ts' for writing
[hls @ 0x55834eb24480] Opening '/var/lib/jellyfin/transcodes/140ff4f3d8f996fadf68734dcaa7b83e.m3u8.tmp' for writing
[hls @ 0x55834eb24480] Opening '/var/lib/jellyfin/transcodes/140ff4f3d8f996fadf68734dcaa7b83e1.ts' for writing
[hls @ 0x55834eb24480] Opening '/var/lib/jellyfin/transcodes/140ff4f3d8f996fadf68734dcaa7b83e.m3u8.tmp' for writing
[hls @ 0x55834eb24480] Opening '/var/lib/jellyfin/transcodes/140ff4f3d8f996fadf68734dcaa7b83e2.ts' for writing
[hls @ 0x55834eb24480] Opening '/var/lib/jellyfin/transcodes/140ff4f3d8f996fadf68734dcaa7b83e.m3u8.tmp' for writing
[hls @ 0x55834eb24480] Opening '/var/lib/jellyfin/transcodes/140ff4f3d8f996fadf68734dcaa7b83e3.ts' for writing
[hls @ 0x55834eb24480] Opening '/var/lib/jellyfin/transcodes/140ff4f3d8f996fadf68734dcaa7b83e.m3u8.tmp' for writing
[hls @ 0x55834eb24480] Opening '/var/lib/jellyfin/transcodes/140ff4f3d8f996fadf68734dcaa7b83e4.ts' for writing
[hls @ 0x55834eb24480] Opening '/var/lib/jellyfin/transcodes/140ff4f3d8f996fadf68734dcaa7b83e.m3u8.tmp' for writing
[hls @ 0x55834eb24480] Opening '/var/lib/jellyfin/transcodes/140ff4f3d8f996fadf68734dcaa7b83e5.ts' for writing
[hls @ 0x55834eb24480] Opening '/var/lib/jellyfin/transcodes/140ff4f3d8f996fadf68734dcaa7b83e.m3u8.tmp' for writing
frame= 590 fps=0.0 q=-1.0 size=N/A time=00:00:19.61 bitrate=N/A speed=34.4x
frame= 601 fps=549 q=-1.0 size=N/A time=00:00:19.98 bitrate=N/A speed=18.3x
frame= 607 fps=376 q=-1.0 size=N/A time=00:00:20.18 bitrate=N/A speed=12.5x
frame= 614 fps=288 q=-1.0 size=N/A time=00:00:20.41 bitrate=N/A speed=9.56x
frame= 624 fps=236 q=-1.0 size=N/A time=00:00:20.74 bitrate=N/A speed=7.86x
[hls @ 0x55834eb24480] Opening '/var/lib/jellyfin/transcodes/140ff4f3d8f996fadf68734dcaa7b83e6.ts' for writing
[hls @ 0x55834eb24480] Opening '/var/lib/jellyfin/transcodes/140ff4f3d8f996fadf68734dcaa7b83e.m3u8.tmp' for writing
frame= 640 fps=202 q=-1.0 size=N/A time=00:00:21.28 bitrate=N/A speed= 6.7x
frame= 650 fps=173 q=-1.0 size=N/A time=00:00:21.61 bitrate=N/A speed=5.76x
frame= 660 fps=155 q=-1.0 size=N/A time=00:00:21.94 bitrate=N/A speed=5.14x
frame= 665 fps=137 q=-1.0 size=N/A time=00:00:22.11 bitrate=N/A speed=4.56x
frame= 675 fps=124 q=-1.0 size=N/A time=00:00:22.44 bitrate=N/A speed=4.14x
frame= 684 fps=113 q=-1.0 size=N/A time=00:00:22.74 bitrate=N/A speed=3.76x
frame= 699 fps=106 q=-1.0 size=N/A time=00:00:23.25 bitrate=N/A speed=3.54x
frame= 720 fps= 93 q=-1.0 size=N/A time=00:00:23.95 bitrate=N/A speed= 3.1x
[hls @ 0x55834eb24480] Opening '/var/lib/jellyfin/transcodes/140ff4f3d8f996fadf68734dcaa7b83e7.ts' for writing
[hls @ 0x55834eb24480] Opening '/var/lib/jellyfin/transcodes/140ff4f3d8f996fadf68734dcaa7b83e.m3u8.tmp' for writing
frame= 725 fps= 87 q=-1.0 size=N/A time=00:00:24.11 bitrate=N/A speed= 2.9x
frame= 732 fps= 82 q=-1.0 size=N/A time=00:00:24.35 bitrate=N/A speed=2.74x
frame= 741 fps= 79 q=-1.0 size=N/A time=00:00:24.65 bitrate=N/A speed=2.62x
frame= 747 fps= 75 q=-1.0 size=N/A time=00:00:24.85 bitrate=N/A speed= 2.5x
frame= 752 fps= 72 q=-1.0 size=N/A time=00:00:25.01 bitrate=N/A speed=2.39x
frame= 757 fps= 69 q=-1.0 size=N/A time=00:00:25.18 bitrate=N/A speed=2.29x
frame= 762 fps= 66 q=-1.0 size=N/A time=00:00:25.35 bitrate=N/A speed= 2.2x
frame= 767 fps= 64 q=-1.0 size=N/A time=00:00:25.51 bitrate=N/A speed=2.11x
frame= 771 fps= 61 q=-1.0 size=N/A time=00:00:25.65 bitrate=N/A speed=2.04x
frame= 778 fps= 59 q=-1.0 size=N/A time=00:00:25.88 bitrate=N/A speed=1.97x
frame= 783 fps= 57 q=-1.0 size=N/A time=00:00:26.05 bitrate=N/A speed=1.91x
frame= 788 fps= 55 q=-1.0 size=N/A time=00:00:26.21 bitrate=N/A speed=1.83x
frame= 796 fps= 54 q=-1.0 size=N/A time=00:00:26.48 bitrate=N/A speed=1.79x
frame= 803 fps= 52 q=-1.0 size=N/A time=00:00:26.72 bitrate=N/A speed=1.74x
frame= 812 fps= 51 q=-1.0 size=N/A time=00:00:27.02 bitrate=N/A speed= 1.7x
[hls @ 0x55834eb24480] Opening '/var/lib/jellyfin/transcodes/140ff4f3d8f996fadf68734dcaa7b83e8.ts' for writing
[hls @ 0x55834eb24480] Opening '/var/lib/jellyfin/transcodes/140ff4f3d8f996fadf68734dcaa7b83e.m3u8.tmp' for writing
frame= 824 fps= 50 q=-1.0 size=N/A time=00:00:27.42 bitrate=N/A speed=1.67x
Application version
0.14.0
Where did you install the app from?
Sideloaded APK
Device information
Amazon Fire TV, Mi Stick Android
Android version
Android 9, Fire OS 7
Jellyfin server version
10.8.3
Have you checked the settings?, there is an area for Live tv. Choose player Disable transcoding
After choosing those settings and Live Tv is quicker and better.
But at the moment I put the m3u on the web manually, everything is fine but at the moment of reproducing it that is the only problem, that first it takes time to reproduce and second that it says that the Item is not supported. ☹️
If I already tried it and it's still slow and it also says item not supported, since for example if I put localhost:8080/username/password/324 on the web as m3u... it tells me that this item is not allowed and it takes time to play or Freezes are made every time but when using vlc or another program it plays without problems
If this also happens on jellyfin web then it's not the app but Jellyfin itself.
So for live channels on IPTV, it is not good on the web, are you waiting for an update? If not, the strange thing is, as in m3u8 but taken from the same page as the live programs if it is played without errors it does not freeze but IPTV does freeze?
I have a little query, I don't know whether to do it through this thread or the other, but I want to speed up the hardware but I have an AMD EPYC but I get an error when installing or I don't see or I can't find the /dev/dri format. can you help please?
Install vainfo with the command sudo apt install vainfo
There is something wrong with the link, the good thing is that it's not an issue with the app.
If I have tried it that way and in other ways that I have seen tutorials but it comes out as something that server X and it does not reproduce me :(
@DumberSoft There is nothing I can do to help here.
@nielsvanvelzen This doesn't seem like an app issue but an issue with the Link and Jellyfin Server.
@sourpatched That I believe that if it is correct, because it does not work those formats mentioned, osea in the delay of leaving a channel is perfect, but I have noticed that records all m3u8 or channels and makes a delay for that reason is made freezes every moment, now on the other hand I am seeing other forums and indicate that it was before what was IPTV plugin that hiba faster now is no longer or stopped working, but the rest everything is excellent only that is the only failure that is getting @nielsvanvelzen .
The delayed start time for live tv is something of a known issue in Jellyfin 10.8 at the moment. This comment provides some additional details: https://github.com/jellyfin/jellyfin/issues/3930#issuecomment-1166172969
@thornbill That means I have to lower it to 30M so that Live TV can play instantly, is that correct? And if this is how I can configure it at that speed, can you help me how to enter that configuration.
This issue has gone 120 days without comment. To avoid abandoned issues, it will be closed in 21 days if there are no new comments.
If you're the original submitter of this issue, please comment confirming if this issue still affects you in the latest release or master branch, or close the issue if it has been fixed. If you're another user also affected by this bug, please comment confirming so. Either action will remove the stale label.
This bot exists to prevent issues from becoming stale and forgotten. Jellyfin is always moving forward, and bugs are often fixed as side effects of other changes. We therefore ask that bug report authors remain vigilant about their issues to ensure they are closed if fixed, or re-confirmed - perhaps with fresh logs or reproduction examples - regularly. If you have any questions you can reach us on Matrix or Social Media.