Page 2 of 6

Re: UMS stopped transcoding subtitles

Posted: Sat Mar 21, 2020 9:09 pm
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.

Re: UMS stopped transcoding subtitles

Posted: Wed Mar 25, 2020 1:15 pm
by SubJunk
We eagerly await progress on this. Our attempted fix made it into 9.3.1 by the way

Re: UMS stopped transcoding subtitles

Posted: Thu Mar 26, 2020 6:15 pm
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.

Re: UMS stopped transcoding subtitles

Posted: Fri Mar 27, 2020 3:22 pm
by SubJunk
Can you please upload logs reproducing that? Ideally we would also have logs from 9.2 to compare

Re: UMS stopped transcoding subtitles

Posted: Sun Mar 29, 2020 1:32 pm
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.

Re: UMS stopped transcoding subtitles

Posted: Sun Mar 29, 2020 2:26 pm
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.

Re: UMS stopped transcoding subtitles

Posted: Sat Apr 04, 2020 7:29 pm
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.

Re: UMS stopped transcoding subtitles

Posted: Thu May 21, 2020 11:12 am
by SubJunk
I've made an issue for that on our tracker at https://github.com/UniversalMediaServer ... ssues/2052

Re: UMS stopped transcoding subtitles

Posted: Fri Nov 20, 2020 4:32 am
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

Re: UMS stopped transcoding subtitles

Posted: Tue Nov 24, 2020 2:21 pm
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.