Jellyfin Forum
Only Live TV Transcoding Fails - 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: Only Live TV Transcoding Fails (/t-only-live-tv-transcoding-fails)



Only Live TV Transcoding Fails - leem0401 - 2025-07-25

I have AMD 3600 and Intel A380 (drivers are up to date).
When I'm playing recorded MPEG2 format, I have no problem with the playback.
However, whenever I'm watching live TV, it seems to work okay for a few minutes then it would shut down.

I noticed that while I have hardware acceleration enabled QSV, when decoding live tv in MPEG2 format to encode to H264 format, a lot of dropped frames were occurring.
So I disabled MPEG2 decoding to see if that helped.
It helped in a sense that I don't see dropped frames anymore, but after a while, the stream still ends.

I don't think MPEG2 decoding was the problem since although it improved my dropped frame after disabling it, it still stops the stream.
Below is the error code I received after working fine for a bit.

[h264_qsv @ 000002622a374c40] Error during encoding: device failed (-17)
[vost#0:0/h264_qsv @ 000002622a3e7f40] Error submitting video frame to the encoder
[vost#0:0/h264_qsv @ 000002622a3e7f40] Error encoding a frame: I/O error
[vost#0:0/h264_qsv @ 000002622a3e7f40] Task finished with error code: -5 (I/O error)
[vost#0:0/h264_qsv @ 000002622a3e7f40] Terminating thread with return code -5 (I/O error)
[hls @ 000002622a3e7cc0] Opening 'Z:\transcodes\4535550e9e7191256ecf4584880b403e174.ts' for writing
[hls @ 000002622a3e7cc0] Opening 'Z:\transcodes\4535550e9e7191256ecf4584880b403e.m3u8.tmp' for writing
[out#0/hls @ 000002622991f380] video:1281621KiB audio:16483KiB subtitle:0KiB other streams:0KiB global headers:0KiB muxing overhead: unknown
frame=15748 fps= 30 q=17.0 Lsize=N/A time=00:08:43.67 bitrate=N/A dup=602 drop=0 speed=0.999x   
Conversion failed!

How can I fix this?
If I disable hardware acceleration, it seems to fix it but I need to use my GPU for 4K transcodes.


RE: Only Live TV Transcoding Fails - leem0401 - 2025-07-25

I was messing with ffmpeg but I couldn't resolve anything. -17 and -5 error continues to come up.