HW transcoding DCA 5.1 and SRT Subtitles at the same time blocks the process in jail and kernel

Server Version#: 1.21.1.3830
Player Version#: Tizen 2020 Client 5.6.1 Platform 5.5

Hi

when one of the users is trying to set on his Tizen 2020 films with DTS (DCA 5.1) and SRT subtitles the TV shows “buffering” and “unexpected error”, while PMS starts transcoding process which cannot be terminated. The PMS cannot restart, the jail cannot restart, so as a result server has to be rebooted.

Logs are attached. (File removed)
Jail top shows the process 18064 which halts the server. The only exit from this situation is reboot:

last pid: 19159;  load averages:  0.26,  0.31,  0.31                                                                                                                                                                        up 0+00:50:56  12:45:31
15 processes:  1 running, 14 sleeping
CPU:  0.4% user,  0.0% nice,  0.1% system,  0.0% interrupt, 99.4% idle
Mem: 944M Active, 2077M Inact, 70M Laundry, 27G Wired, 828M Free
ARC: 25G Total, 836M MFU, 24G MRU, 666K Anon, 58M Header, 54M Other
     24G Compressed, 24G Uncompressed, 1.03:1 Ratio
Swap: 10G Total, 10G Free

  PID USERNAME    THR PRI NICE   SIZE    RES STATE    C   TIME    WCPU COMMAND
 3088 plex         14  52   15   126M    62M piperd   4   0:04   0.07% Plex Script Host
 3445 plex         11  52    0    83M    48M piperd   6   0:03   0.05% Plex Script Host
 3444 plex         11  52    0    80M    46M piperd   7   0:03   0.05% Plex Script Host
 2977 plex         20  52    0   412M   210M uwait    4   0:08   0.03% Plex Media Server
19039 root          1  20    0    13M  3528K CPU5     5   0:00   0.01% top
 2839 root          1  20    0    11M  2488K kqread   1   0:00   0.00% rtsold
 2847 root          1  20    0    11M  2468K select   6   0:00   0.00% rtsold
 2845 root          1  23    0    11M  2472K select   6   0:00   0.00% rtsold
 3443 plex         11  52    0    37M    18M usem     6   0:00   0.00% Plex Tuner Service
18064 plex         28  20    0   253M    90M i915fl   4   0:00   0.00% Plex Transcoder
19019 root          1  28    0    13M  4012K pause    7   0:00   0.00% csh
 2984 root          1  20    0    11M  2600K nanslp   4   0:00   0.00% cron
 2912 root          1  20    0    11M  2804K select   4   0:00   0.00% syslogd
 2846 root          1  52    0    11M  2456K select   2   0:00   0.00% rtsold
 2843 root          1  52    0    11M  2452K select   3   0:00   0.00% rtsold

Well, I’m not the only one with this issue.

You aren’t, and, you have a couple entirely reasonable choices here:

  • Stop using VOBSUB/PGS, start using SRT. Make sure no transcoding happens at all, your video needs to play directly at the resolution it’s at.
  • Handbrake everything ahead of time with subtitles burned in
  • Go full Don Quixote, become a core FreeBSD desktop dev, and tilt hard at this windmill. Work with FreeBSD devs and Intel until hw transcode on FreeBSD is amazing. Also, more power to you, sib.
  • Be extremely pragmatic and let others be Don Quixote, move away from FreeBSD and onto Linux.

I’ll do that last part once TrueNAS SCALE supports migration from TrueNAS Core. Feb/March time frame. I know I’ll need to blow away all my jails / plugins and replace with “apps” (docker/kubernetes/helm), and I’ll just do that at the time. Worth it to me. Solves the Plex hw transcode immediately, makes for better plugin support in LMS, and makes running my docker stuff easier, as I won’t need an Ubuntu VM for it any more.

The main issue here that I have the same result with different start (SRT and DCA for sure, but today I had two more cases from friends with conversion of AVI).

Looks like I have to start long journey with different drm tests, because moving from 12.2 to 11.3 is far more complicated.

The main issue is that you are trying to hw transcode on FreeBSD. It’s not a great experience. So either don’t hw transcode, or don’t transcode at all; or move the whole thing to Linux when you can.

Or Don Quixote, always an option as well :).

Well, while SCALE migration is not yet ready, and I have a lot of things to transcode right now - I can spend some time for Don Quixoting :))

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.