[Solved] UMS stopped transcoding subtitles

For help and support with Universal Media Server
Forum rules
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply
wado729
Posts: 3
Joined: Sat Mar 21, 2020 9:07 pm

Re: UMS stopped transcoding subtitles

Post by wado729 »

I have a Samsung Q6 and the subtitles work in 9.0.1, 9.1, and 9.2. But they dont work in 9.3.
Also, HDR works on those previous versions but not on 9.3. I am on mac and I will try the CONF file you uploaded and report back.
User avatar
SubJunk
Lead Developer
Posts: 3705
Joined: Sun May 27, 2012 4:12 pm

Re: UMS stopped transcoding subtitles

Post by SubJunk »

We eagerly await progress on this. Our attempted fix made it into 9.3.1 by the way
wado729
Posts: 3
Joined: Sat Mar 21, 2020 9:07 pm

Re: UMS stopped transcoding subtitles

Post by wado729 »

After more testing on my Samsung Q6 sometimes UMS plays it file using FFMPEG or it uses another encoder. It's random on which one it uses. I haven't changed priority in the progream

When FFMPEG plays the file
The file explorer shows the true size of the file i.e. 62GB
There is a HDR notification in the bottom left screen
The video plays in beautiful HDR
Subtitles don't work

When another encoder plays (i assume MEncoder because that is 2nd on the list)
File explore says the size is approx 900kb
There is no HDR notification on the bottom left
The video plays much darker with less quality
Subtitles work, and they appear in front of the character talking.
User avatar
SubJunk
Lead Developer
Posts: 3705
Joined: Sun May 27, 2012 4:12 pm

Re: UMS stopped transcoding subtitles

Post by SubJunk »

Can you please upload logs reproducing that? Ideally we would also have logs from 9.2 to compare
wado729
Posts: 3
Joined: Sat Mar 21, 2020 9:07 pm

Re: UMS stopped transcoding subtitles

Post by wado729 »

I can do the logs, I have a bunch of free time these days lol. Can you explain to me specifically what you want to see? Which versions? Which codecs? etc.
User avatar
mik_s
Moderator
Posts: 1115
Joined: Wed Aug 23, 2017 11:03 pm
Location: UK

Re: UMS stopped transcoding subtitles

Post by mik_s »

Just follow the link in the red section above. Best to restart UMS before doing the logs though to limit anything unrelated to your problem.
Logs are important for us to help, Please follow This Link before asking for support. Just a forum cleaner, Will help if I can but no expert.
jkwu
Posts: 14
Joined: Sat Jan 30, 2016 2:34 am

Re: UMS stopped transcoding subtitles

Post by jkwu »

nouse wrote: Thu Mar 05, 2020 11:45 am Dear all,

i didnt recognize when this behaviour changed, but subtitles are not working properly anymore.

Here is what i checked:
- UMS and Java are up to date on my Win10 1909
- VLC plays the file with matching subtitles correctly on my PC, without manually pointing VLC to the subtitle file
- commented out all subtitle settings in my renderer config to make sure that UMS is forced to transcode the subtitles
- in my Samsung tv file browser, the file is listed with an {Unknown Subtitles] tag
- this is what i found in the debug log:

TRACE 2020-03-05 00:36:58.221 [HTTPv2 Request Worker 21] net.pms.formats.FormatFactory Matched format ASS to "E:\AKB48\Videos\Test\140812 AKBINGO! ep301 [720p.h265.mini].ass"
TRACE 2020-03-05 00:36:58.225 [HTTPv2 Request Worker 21] net.pms.dlna.DLNAResource End of analysis for E:\AKB48\Videos\Test
TRACE 2020-03-05 00:36:58.225 [HTTPv2 Request Worker 21] net.pms.dlna.DLNAResource Subtitles "140812 AKBINGO! ep301 [720p.h265.mini].ass" aren't valid for streaming to [TV] Samsung 8 Series (55)

where did i mess up?
I have same problem with this issue.
But my render is Sony Home Theatre System (BDV-N8100W)
Some file in file browser, I'll see the {Unknown Subtitles] tag
And some file which has embedded subtitle will use the embedded subtitle first, not external subtitle.
Even I choose to use the external subtitle first.
In my test, it worked well with 7.9 .
From version 8.0 to 9.3.1, I have the same issue on subtitle.
User avatar
SubJunk
Lead Developer
Posts: 3705
Joined: Sun May 27, 2012 4:12 pm

Re: UMS stopped transcoding subtitles

Post by SubJunk »

I've made an issue for that on our tracker at https://github.com/UniversalMediaServer ... ssues/2052
jkwu
Posts: 14
Joined: Sat Jan 30, 2016 2:34 am

Re: UMS stopped transcoding subtitles

Post by jkwu »

Hi
I'm come back again for this problem.
Few days ago, I was updated my WIN10 and JAVA
Then, 7.9.0 can't be found by my Sony Home Theatre system
But UMS can found the render
So I reinstall UMS 9.8.2
I can see UMS in BDV system
External subtitles didn't work
I put my trace log in attachment file
And I also see {Unknow Subtitles} tag
Attachments
ums_dbg_2020-11-20-00-20.zip
(663.13 KiB) Downloaded 606 times
User avatar
SubJunk
Lead Developer
Posts: 3705
Joined: Sun May 27, 2012 4:12 pm

Re: UMS stopped transcoding subtitles

Post by SubJunk »

We are looking into this now.

I can see the following in the logs:

Code: Select all

TRACE 2020-11-20 00:09:15.141 [HTTPv2 Request Worker 5] net.pms.network.RequestV2 Did not send subtitle headers because mediaRenderer.getSubtitleHttpHeader() returned ""
so my guess is that 7.9.0 was transcoding that file, and that actual external subtitles were never working without transcoding, but valib is looking into it now to confirm and then we will have a fix for you.
Post Reply