Page 1 of 1

Re: Subtitles not displaying

Posted: Tue Feb 18, 2025 5:14 am
by Gounok
Hi,

First of all, thank you for your work on UMS !

I'm not sure if it is the same problem, but since I updated to UMS v14.10.0 (x64), subtitles disappeared when I stream MKV/MP4 with external SRT subtitles to my Panasonic TX-65GZ1000E. Even when I rolled back to v14.9.0, subtitles didn't work anymore, so I made a clean install of v14.10.0 (x64).

However I found that problem is solved if I go in "Settings (Old)" > "Transcoding Settings" and prioritize any other video files engines than default "FFmpeg Video".

I tried to switch on/off various settings in FFmpeg (including "Defer to MEncoder when treanscoding problematic subtitles") and in Common Transcode Settings > Subtitles settings, but I couldn't make any subtitle appear on my TV screen with "FFmpeg Video" file engine. But they worked again like a charm with any other engine.

I can send you logs if needed, I'm just not sure what I'm expected to do so that the logs are valuable.

Re: Subtitles not displaying

Posted: Tue Feb 18, 2025 7:48 am
by mik_s
@Grounok Could you post your logs showing it not working in V14.9.0 with the default settings so I can see why it is not working. (see the red section above)
It may be that a change in one of the Panasonic conf files is making UMS pick the wrong one

Subtitles not displaying (Panasonic)

Posted: Mon Mar 31, 2025 5:19 am
by Gounok
mik_s wrote: Tue Feb 18, 2025 7:48 am @Grounok Could you post your logs showing it not working in V14.9.0 with the default settings so I can see why it is not working. (see the red section above)
It may be that a change in one of the Panasonic conf files is making UMS pick the wrong one
Hi, I'm sorry I took so long to answer.

Here are 2 examples of problems I encounter when I try to read files through UMS v14.10.1 from my PC to my Panasonic TX-65GZ1000E TV.

I have the feeling these problems appeared around UMS v14.9.0.

Those problems don't occur when I try to read the same files with VLC on source computer, so I suppose it's not a file-related problem ?

Thank you for your help !

Re: Subtitles not displaying

Posted: Mon Mar 31, 2025 5:22 am
by Gounok
mik_s wrote: Tue Feb 18, 2025 7:48 am @Grounok Could you post your logs showing it not working in V14.9.0 with the default settings so I can see why it is not working. (see the red section above)
It may be that a change in one of the Panasonic conf files is making UMS pick the wrong one
Problem 1 - video delay

When I play this video, video and audio are not synchronized. It seems like there is a video delay compared to audio. The longer it plays, the more important the video delay gets.

Subtitles do appear, they are properly synchronized with audio.

Re: Subtitles not displaying

Posted: Mon Mar 31, 2025 5:23 am
by Gounok
mik_s wrote: Tue Feb 18, 2025 7:48 am @Grounok Could you post your logs showing it not working in V14.9.0 with the default settings so I can see why it is not working. (see the red section above)
It may be that a change in one of the Panasonic conf files is making UMS pick the wrong one
Problem 2 - subtitles not displayed

When I play this video with default settings (ffmpeg), no subtitles appear. They appear if I prioritize "MEncoder Video" in "Video Files Engines" though.

In debug, I launched the video with default settings and did no time jump, subtitles were supposed to start at 04:26.

Re: Subtitles not displaying

Posted: Fri Apr 04, 2025 8:15 am
by mik_s
Sorry for the delay, I went on a bit of a side quest with the Panasonic confs as they are a bit of a mess.

Your TV is quite recent (well 2019) and there was not a conf written for this series.
There is one from 2020 that is quite close so I modified that so it should have better support and not need to transcode most videos.
Panasonic-Viera 2019 (G series).conf
(6.78 KiB) Downloaded 97 times

The cause for the audio delay will be from Mencoder as it was being used due to the subtitle format.

Code: Select all

Switching from FFmpeg to MEncoder to transcode subtitles because the user setting is enabled.
This should not be an issue for FFmpeg these days so turning off "defer to Mencoder for problematic subtitles" will help.
Screenshot 2025-04-03 203358.png
Screenshot 2025-04-03 203358.png (14.39 KiB) Viewed 1825 times
I also noticed that there is a video delay in the MediaInfo so if this is only happening with this one video then it can be how it was encoded.

Code: Select all

Matched audio track: Audio Id: 0, Title: anglais [VO], Language Code: eng, Codec: AAC-LC, ...  Video Delay: -80
With this new conf it will be streamed so you should be able to see if the delay is in the video itself.

For the second video for some reason the subtitles are not supported so are not used, it is probably because sub formats were not defined in the conf it was using.

Code: Select all

Subtitles "The Substance (VOSTF).srt" aren't supported while transcoding to GounokTV
However it should be using subs as it is transcoding and burning them it. It may be due to the settings to rescale and keep the aspect ratio when transcoding.
I disabled these options in the new conf but if it does not look right I can change it back.