Jellyfin Forum
Live TV - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: General Questions (https://forum.jellyfin.org/f-general-questions)
+--- Thread: Live TV (/t-live-tv--11387)



Live TV - Charles - 2025-03-25

Hi, how are you? I'm stopping by to share something and see if you can help me. I have a Core i3 PC with 8GB RAM and an Nvidia GForce GTX 1650 card. I have Ubuntu Server installed with the latest version of Jeliyfin. On Live TV, I have an m3u playlist with a couple of channels. In Transcoding, I have it enabled with Nvidia NVENC. But when I use the app on Android, the stream slows down and doesn't work as it should. I disable transcoding and it improves a bit. From what I see in nvidia-smi, it's working, but I don't know why it's not optimal. Maybe some transcoding setting is related.


Code:
root@sertv:/home/sertv# nvidia-smi
Tue Mar 25 22:20:02 2025
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 570.133.07            Driver Version: 570.133.07    CUDA Version: 12.8    |
|-----------------------------------------+------------------------+----------------------+
| GPU  Name                Persistence-M | Bus-Id          Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf          Pwr:Usage/Cap |          Memory-Usage | GPU-Util  Compute M. |
|                                        |                        |              MIG M. |
|=========================================+========================+======================|
|  0  NVIDIA GeForce GTX 1650        Off |  00000000:01:00.0 Off |                  N/A |
| 31%  41C    P2            N/A  /  85W |    130MiB /  4096MiB |      0%      Default |
|                                        |                        |                  N/A |
+-----------------------------------------+------------------------+----------------------+
+-----------------------------------------------------------------------------------------+
| Processes:                                                                              |
|  GPU  GI  CI              PID  Type  Process name                        GPU Memory |
|        ID  ID                                                              Usage      |
|=========================================================================================|
|    0  N/A  N/A            2051      C  /usr/lib/jellyfin-ffmpeg/ffmpeg        120MiB |
+-----------------------------------------------------------------------------------------+



RE: Live TV - bitmap - 2025-03-25

Recreate the issue and grab the ffmpeg log that's triggered by the transcoding on your Android phone (?). Post that to privatebin.net.


RE: Live TV - Charles - 2025-03-26

Just in case, I changed the video card... I put in a 3060 but it does the same thing... I'll send you the log

https://privatebin.net/?fa3da9ad18949e0a#DhLBSKbhWVkWkAitovUasa5DqeMS2Jrt1ErNpH33xQGW


RE: Live TV - TheDreadPirate - 2025-03-26

Are you forcing transcoding for live TV? The original stream shouldn't need to be transcoded or remuxed for nearly all devices.

But that shouldn't matter. What I do see is some sort of corruption in the live TV stream that ffmpeg does not like.


RE: Live TV - Charles - 2025-03-26

(2025-03-26, 03:31 PM)Charles Wrote: Just in case, I changed the video card... I put in a 3060 but it does the same thing... I'll send you the log

https://privatebin.net/?fa3da9ad18949e0a#DhLBSKbhWVkWkAitovUasa5DqeMS2Jrt1ErNpH33xQGW

You tell me where you see that...or on what line...so I can look deeper into the source, maybe the problem is there...


RE: Live TV - TheDreadPirate - 2025-03-26

Code:
[mpegts @ 0x55a166672340] changing packet size to 192
[mpegts @ 0x55a166672340] changing packet size to 188
[mpegts @ 0x55a166672340] PES packet size mismatch
[mpegts @ 0x55a166672340] Packet corrupt (stream = 0, dts = 8913600).
[hls @ 0x55a166647e80] Packet corrupt (stream = 0, dts = 8910630).
[in#0/hls @ 0x55a166647c80] corrupt input packet in stream 0