2024-01-31, 07:59 PM
The container for a live TV stream should be in the ffmpeg log, IIRC.
2024-01-31, 07:59 PM
The container for a live TV stream should be in the ffmpeg log, IIRC.
2024-01-31, 09:03 PM
(This post was last modified: 2024-01-31, 09:04 PM by slippyC. Edited 1 time in total.)
(2024-01-31, 07:59 PM)TheDreadPirate Wrote: The container for a live TV stream should be in the ffmpeg log, IIRC. Thanks for info... Looks like it's mpegts(so ts). I don't know if this info will help of why it is transcoding, but this should be the useful info. I still don't understand why Jellyfin is not honoring "not to encode/transcode". If this can't be fixed I'll probably just end up looking for a different solution than Jellyfin. There are some other glaring issues that I have just dealt with with Jellyfin, mainly referring to the live guide. The whole filtering thing and how the guide works is pretty bad. I do like the look of the guide and it's responsiveness. The lack of custom genre filtering, channel numbering, not being able to set guide as default(instead of displaying channels) are some of the reasons. The whole genre filtering has been a request now for years, I believe(it's ridiculous that the feature wasn't there early in the apps lifecycle). I just lived with the guide mostly because I liked all the integration in one app that wasn't as bloated as Kodi(well and also worked on Roku TV). I also like not having to individually deal with Kodi installations. You can setup all your stuff on the Jellyfin server and then basically all your clients work off of that(centralized administration). {"Protocol":1,"Id":"27694000a01607aa0a256f8b2249b7cf","Path":"http://10.0.0.250:5004/Notta/auto/v5448","EncoderPath":null,"EncoderProtocol":null,"Type":0,"Container":"mpegts","Size":null,"Name":null,"IsRemote":false,"ETag":null,"RunTimeTicks":null,"ReadAtNativeFramerate":false,"IgnoreDts":true,"IgnoreIndex":false,"GenPtsInput":false,"SupportsTranscoding":true,"SupportsDirectStream":false,"SupportsDirectPlay":false,"IsInfiniteStream":true,"RequiresOpening":true,"OpenToken":null,"RequiresClosing":true,"LiveStreamId":"a17c75760a04e99b68cf766e11316e1c_09efa0d56b934a82adec00a87b837fb0_27694000a01607aa0a256f8b2249b7cf","BufferMs":null,"RequiresLooping":true,"SupportsProbing":true,"VideoType":null,"IsoType":null,"Video3DFormat":null,"MediaStreams":[],"MediaAttachments":[],"Formats":[],"Bitrate":null,"Timestamp":null,"RequiredHttpHeaders":{"User-Agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.85 Safari/537.36"},"TranscodingUrl":null,"TranscodingSubProtocol":null,"TranscodingContainer":null,"AnalyzeDurationMs":3000,"DefaultAudioStreamIndex":null,"DefaultSubtitleStreamIndex":null} /snap/itrue-jellyfin/92/usr/lib/jellyfin-ffmpeg/ffmpeg -analyzeduration 3000000 -user_agent "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.85 Safari/537.36" -fflags +igndts+genpts -f mpegts -stream_loop -1 -reconnect_at_eof 1 -reconnect_streamed 1 -reconnect_delay_max 2 -i "http://10.0.0.250:5004/Notta/auto/v5448" -map_metadata -1 -map_chapters -1 -threads 0 -sn -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/c726e3a937da144c31852ee5067f8ee6/" -hls_segment_filename "/var/snap/itrue-jellyfin/common/data/transcodes/c726e3a937da144c31852ee5067f8ee6%d.ts" -hls_playlist_type event -hls_list_size 0 -y "/var/snap/itrue-jellyfin/common/data/transcodes/c726e3a937da144c31852ee5067f8ee6.m3u8" ffmpeg version 6.0-Jellyfin Copyright © 2000-2023 the FFmpeg developers built with gcc 11 (Ubuntu 11.4.0-1ubuntu1~22.04) configuration: --prefix=/usr/lib/jellyfin-ffmpeg --target-os=linux --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-libwebp --enable-libvpx --enable-libx264 --enable-libx265 --enable-libzvbi --enable-libzimg --enable-libfdk-aac --arch=amd64 --enable-libsvtav1 --enable-libshaderc --enable-libplacebo --enable-vulkan --enable-opencl --enable-vaapi --enable-amf --enable-libvpl --enable-ffnvcodec --enable-cuda --enable-cuda-llvm --enable-cuvid --enable-nvdec --enable-nvenc libavutil 58. 2.100 / 58. 2.100 libavcodec 60. 3.100 / 60. 3.100 libavformat 60. 3.100 / 60. 3.100 libavdevice 60. 1.100 / 60. 1.100 libavfilter 9. 3.100 / 9. 3.100 libswscale 7. 1.100 / 7. 1.100 libswresample 4. 10.100 / 4. 10.100 libpostproc 57. 1.100 / 57. 1.100 Input #0, mpegts, from 'http://10.0.0.250:5004/Notta/auto/v5448': Duration: N/A, start: 5328.489078, bitrate: N/A Program 1 Metadata: service_name : Notta Network service_provider: Notta Stream #0:0[0xd3]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(tv, bt709, progressive), 1280x720 [SAR 1:1 DAR 16:9], 59.94 fps, 59.94 tbr, 90k tbn Stream #0:1[0xdd]: Audio: aac (HE-AAC) ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp, 128 kb/s Stream mapping: Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264)) Stream #0:1 -> #0:1 (aac (native) -> aac (native)) Press [q] to stop, [?] for help [libx264 @ 0x55a6cd743f40] using SAR=1/1 [libx264 @ 0x55a6cd743f40] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.1 Cache64 [libx264 @ 0x55a6cd743f40] profile High, level 3.2, 4:2:0, 8-bit [libx264 @ 0x55a6cd743f40] 264 - core 163 r3060 5db6aa6 - H.264/MPEG-4 AVC codec - Copyleft 2003-2021 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=3 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00 Output #0, hls, to '/var/snap/itrue-jellyfin/common/data/transcodes/c726e3a937da144c31852ee5067f8ee6.m3u8': Metadata: encoder : Lavf60.3.100 Stream #0:0: Video: h264, yuv420p(tv, bt709, progressive), 1280x720 [SAR 1:1 DAR 16:9], q=2-31, 59.94 fps, 90k tbn Metadata: encoder : Lavc60.3.100 libx264 Side data: cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: N/A Stream #0:1: Audio: aac (LC), 48000 Hz, stereo, fltp, 128 kb/s Metadata: encoder : Lavc60.3.100 aac
2024-01-31, 09:35 PM
Do you have global bitrate restrictions? I don't see any video bit rates in that log and I wonder if that is causing transcoding. Some clients (Android TV) can ask for transcoding.
FWIW, the Jellyfin snap package is not created or maintained by jellyfin.org. So I'm wondering if that version is just broken. Are you willing to give the official debian package install a try? We have a script to automate the entire install process. You would need to stop the snap version since there would be a port conflict. Code: curl https://repo.jellyfin.org/install-debuntu.sh | sudo bash
2024-01-31, 10:06 PM
(2024-01-31, 09:35 PM)TheDreadPirate Wrote: Do you have global bitrate restrictions? I don't see any video bit rates in that log and I wonder if that is causing transcoding. Some clients (Android TV) can ask for transcoding. Actually, I initially installed that version. I can't remember the exact issue, I think for some reason the web/html related files were not in the correct path or something(been a bit since messed with that). Yea, I'll try it again. I can also try the bitrate thing, I don't necessarily understand why that would override choosing not to transcode(but heh, I've seen crazier things). One thing I don't like about the snap version is that if you try to restart from Web GUI it won't restart. I believe it is using systemctl at an attempt to restart and I believe you actually have to restart snap stuff through snap(or at least that's how I'm able to restart the server). Ex: sudo snap restart itrue<whatever the rest of the name is>. I'll disable the snap version and try to reinstall the regular debian based one.
2024-01-31, 11:32 PM
(2024-01-31, 09:35 PM)TheDreadPirate Wrote: Do you have global bitrate restrictions? I don't see any video bit rates in that log and I wonder if that is causing transcoding. Some clients (Android TV) can ask for transcoding. Whelp I'm at a standstill. I attempted to install the debian based version. When I use journalctl to try and figure out why service won't start it says: jellyfin.service: Failed to locate executable /usr/bin/jellyfin: No such file or directory I did check the path and there is nothing there(of course).
2024-01-31, 11:40 PM
What is the output of
Code: sudo apt list --installed | grep jellyfin During the install process, were they any error messages? It sounds like something failed to install. Probably jellyfin-server.
2024-01-31, 11:55 PM
(This post was last modified: 2024-02-01, 12:01 AM by slippyC. Edited 1 time in total.)
(2024-01-31, 11:40 PM)TheDreadPirate Wrote: What is the output of Alright when I tried to do apt install jellyfin-server, it said it was already up to day. So then I did apt remove jellyfin-server and then did apt install jellyfin-server. That got that part working. Then I tried to run and then got the web folder error that I had mentioned before. The web folders aren't present or something. "The server is expected to host the web client, but the provided content directory is either invalid or empty: /usr/share/jellyfin/web. If you do not want to host the web client with the server, you may set the '--nowebclient' command line flag, or set'hostwebclient=false' in your config settings."
2024-02-01, 12:02 AM
(2024-01-31, 11:40 PM)TheDreadPirate Wrote: What is the output of Heh man, I got it! I did a apt install jellyfin-web and it said it was up to date. So did the same procedure, uninstalled and reinstalled and now I can start the service. Weird...
2024-02-01, 12:02 AM
Maybe leftovers from your previous attempt?
2024-02-01, 12:11 AM
(2024-02-01, 12:02 AM)TheDreadPirate Wrote: Maybe leftovers from your previous attempt? I had done a remove before, I try not to leave stuff lingering around. Heh, whatever it works! I'm gonna go through and get everything set back up and see if we can reproduce those transcoding issues again. Man, I hope not... BTW, thanks for all the help and suggestions! |
|
|