Jellyfin Forum
Cannot play mpeg2 movies - 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: Cannot play mpeg2 movies (/t-cannot-play-mpeg2-movies)



Cannot play mpeg2 movies - 34626 - 2025-03-19

Jellyfin 10.10.6 in docker on Linux debian 12.9
Im having troubles playing mpeg2 movies on my Android smartphone. I have tried to use external players as VLC and MPV besides the internal and web player, but im told that the media could not be played due to a fatal error.
I use Intel Quick Sync, have tried with VAAPI and Video4Linux, but with same result.
I can play music fine + transcode it and also play h264 movies (bluray rips)
In the logs i get this:
Stream mapping:
  Stream #0:0 (mpeg2_qsv) -> setparams:default
  Stream #0:5 (dvdsub) -> scale:default
  overlay_qsv:default -> Stream #0:0 (h264_qsv)
  Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
[h264_qsv @ 0x56426dfda840] Selected ratecontrol mode is unsupported
[h264_qsv @ 0x56426dfda840] some encoding parameters are not supported by the QSV runtime. Please double check the input parameters.
[vost#0:0/h264_qsv @ 0x56426e0c86c0] Error while opening encoder - maybe incorrect parameters such as bit_rate, rate, width or height.
[fc#0 @ 0x56426dfb7700] Error sending frames to consumers: Function not implemented
[fc#0 @ 0x56426dfb7700] Task finished with error code: -38 (Function not implemented)
[fc#0 @ 0x56426dfb7700] Terminating thread with return code -38 (Function not implemented)
[vost#0:0/h264_qsv @ 0x56426e0c86c0] Could not open encoder before EOF
[vost#0:0/h264_qsv @ 0x56426e0c86c0] Task finished with error code: -22 (Invalid argument)
[vost#0:0/h264_qsv @ 0x56426e0c86c0] Terminating thread with return code -22 (Invalid argument)
[out#0/hls @ 0x56426e331640] Nothing was written into output file, because at least one of its streams received no packets.
frame=    0 fps=0.0 q=0.0 Lsize=      0KiB time=N/A bitrate=N/A speed=N/A   
Conversion failed!



RE: Cannot play mpeg2 movies - TheDreadPirate - 2025-03-19

Can you share the full ffmpeg log? I suspect you either did not enable low power encoding or enabled it without doing the OS setup for the firmware that enables low power encoding.

https://jellyfin.org/docs/general/administration/hardware-acceleration/intel#configure-and-verify-lp-mode-on-linux

Low power encoding is REQUIRED for your CPU.


RE: Cannot play mpeg2 movies - 34626 - 2025-03-19

Oh, yes - The issue seems to be the HuC and Guc + firmware :-)
Now it plays perfect! - Thanks