During Playback, sometimes progress slider doesn't work

General discussion about Universal Media Server (no support or requests)
Post Reply
phossler
Posts: 19
Joined: Wed Dec 16, 2020 3:39 pm

During Playback, sometimes progress slider doesn't work

Post by phossler »

There must be a rule or something about the file or codec or something

I have some files (MP4 and MKV) where the 'positioning' control (not the fast forward, but the one that looks like a slider) doesn't work. Other MP4 or MKV files can reposition the slider and move the playback position

Just sits there and doesn't move the playback position at all. VLC can move the slider, but the Samsung TVs can't

Is there something that I need to do to the files or UMS to make the playback slider work?

----------------------------------------------------------------------------------------------------------------------------------
Edit -- I meant to include the MediaInfo data

Code: Select all

General
Unique ID                                : 304696995986013937495141245547802773740 (0xE53A81C1257A6C69B9278AFDCDDFC8EC)
Complete name                            : M:\Movies\War\Tora Tora Tora (1970).mkv
Format                                   : Matroska
Format version                           : Version 4
File size                                : 11.1 GiB
Duration                                 : 2 h 28 min
Overall bit rate mode                    : Variable
Overall bit rate                         : 10.7 Mb/s
Movie name                               : Tora Tora Tora
Encoded date                             : UTC 2022-01-22 02:11:45
Writing application                      : mkvmerge v64.0.0 ('Willows') 64-bit
Writing library                          : libebml v1.4.2 + libmatroska v1.6.4
ARTIST                                   : Tora Tora Tora
DATE_RECORDED                            : 1970
GENRE                                    : War
ITUNESMEDIATYPE                          : Movie

Video
ID                                       : 1
Format                                   : HEVC
Format/Info                              : High Efficiency Video Coding
Format profile                           : Main [email protected]@High
Codec ID                                 : V_MPEGH/ISO/HEVC
Duration                                 : 2 h 28 min
Bit rate                                 : 6 959 kb/s
Width                                    : 1 920 pixels
Height                                   : 816 pixels
Display aspect ratio                     : 2.35:1
Frame rate mode                          : Constant
Frame rate                               : 23.976 (24000/1001) FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 10 bits
Bits/(Pixel*Frame)                       : 0.185
Stream size                              : 7.24 GiB (65%)
Language                                 : English
Default                                  : Yes
Forced                                   : No
Color range                              : Limited
Color primaries                          : BT.709
Transfer characteristics                 : BT.709
Matrix coefficients                      : BT.709

Audio
ID                                       : 2
Format                                   : DTS XLL
Format/Info                              : Digital Theater Systems
Commercial name                          : DTS-HD Master Audio
Codec ID                                 : A_DTS
Duration                                 : 2 h 28 min
Bit rate mode                            : Variable
Bit rate                                 : 3 740 kb/s
Channel(s)                               : 6 channels
Channel layout                           : C L R Ls Rs LFE
Sampling rate                            : 48.0 kHz
Frame rate                               : 93.750 FPS (512 SPF)
Bit depth                                : 24 bits
Compression mode                         : Lossless
Stream size                              : 3.89 GiB (35%)
Title                                    : DTS-HD MA 5.1
Language                                 : English
Default                                  : Yes
Forced                                   : No

Text
ID                                       : 3
Format                                   : PGS
Muxing mode                              : zlib
Codec ID                                 : S_HDMV/PGS
Codec ID/Info                            : Picture based subtitle format used on BDs/HD-DVDs
Duration                                 : 2 h 24 min
Bit rate                                 : 7 860 b/s
Count of elements                        : 740
Stream size                              : 8.15 MiB (0%)
Title                                    : English (Forced)
Language                                 : English
Default                                  : Yes
Forced                                   : Yes
User avatar
SubJunk
Lead Developer
Posts: 3616
Joined: Sun May 27, 2012 4:12 pm

Re: During Playback, sometimes progress slider doesn't work

Post by SubJunk »

It's probably when the video is being transcoded that the slider doesn't work. If you provide logs I can check if it's loading the correct config for your files and TV
phossler
Posts: 19
Joined: Wed Dec 16, 2020 3:39 pm

Re: During Playback, sometimes progress slider doesn't work

Post by phossler »

Thanks for taking a look

Some notes:

1. I normally do not show ##TRANSCODE## since it confuses other people, but I turned it on and the file was in there many times

2. I delete the conf files for renders I don't "think" i need, but when I don't it doesn't make any difference

3. Someone was nice and helped me (OK, he did all the work) modify the conf file that is used. It works file for most other files

4. Sometimes I get a network error the first time I try to play the file. Sometimes it just sort of hangs and doesn't do anything except show a black screen

5. I hope I did the trace logs right, but the zip seems small

Thanks
Attachments
ums_dbg_2022-01-29-01-08.zip
(70.58 KiB) Downloaded 53 times
User avatar
SubJunk
Lead Developer
Posts: 3616
Joined: Sun May 27, 2012 4:12 pm

Re: During Playback, sometimes progress slider doesn't work

Post by SubJunk »

4. Sometimes I get a network error the first time I try to play the file. Sometimes it just sort of hangs and doesn't do anything except show a black screen
Often that is because FFmpeg needs a while to parse the subtitles before it starts to output video. I can see here that took about 3 seconds the first time and 1 second the second time. I would have thought 3 seconds was still fast enough though. It would be good to work on that problem if you are motivated to since I have seen it mentioned before too.

These logs seem great. I can see that we are transcoding this video because there are internal subtitles of type PGS, which the TV does not support. In this case the video file itself has "forced" the English subtitles which usually means the audio is in the same language as the subtitles, but there is a small part of another language that will need subtitles, which makes sense for that movie with English and Japanese audio. Unfortunately it means there is no way around it for that video unless you speak Japanese.

About the problem where it doesn't start playing the first time, did that happen in this debug session? So you started playing at 1:05:33, it had a blank screen, then you started again at 1:05:42 and it played?
phossler
Posts: 19
Joined: Wed Dec 16, 2020 3:39 pm

Re: During Playback, sometimes progress slider doesn't work

Post by phossler »

SubJunk wrote: Tue Feb 01, 2022 7:33 pm About the problem where it doesn't start playing the first time, did that happen in this debug session? So you started playing at 1:05:33, it had a blank screen, then you started again at 1:05:42 and it played?
Thanks for looking at it and the explanation

Yes, I probably got impatient and started it again. It played, but the slider wasn't working

I finally tried Handbrake to reencode it overnight and that MKV seemed to work. When I look at it with MKVToolNix the forced English subtitles for the Japanese dialogue seem to be 'embedded' (?) into the video stream and I'm OK with that
User avatar
SubJunk
Lead Developer
Posts: 3616
Joined: Sun May 27, 2012 4:12 pm

Re: During Playback, sometimes progress slider doesn't work

Post by SubJunk »

Our upcoming v11 might fix this, but we will need to do renderer testing. Are you available to try it?
Post Reply