Mkv files with opus stop playing before end of video

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
Post Reply
redtux
Posts: 12
Joined: Wed Dec 23, 2020 3:42 am

Mkv files with opus stop playing before end of video

Post by redtux »

Several videos encoded with h264/libopus in Matroska format stop playing before video is finished.
It varies howmuch is played, the worst being 14 minutes of an hour video.
The videos play fine on network and using minidlna. There is nothing the logs

Any ideas
User avatar
mik_s
Moderator
Posts: 1114
Joined: Wed Aug 23, 2017 11:03 pm
Location: UK

Re: Mkv files with opus stop playing before end of video

Post by mik_s »

No idea without any logs. see the section in red above.
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.
redtux
Posts: 12
Joined: Wed Dec 23, 2020 3:42 am

Re: Mkv files with opus stop playing before end of video

Post by redtux »

I seem to have found a solution, at least so far.If I install mediainfo the problem seems to disappear
redtux
Posts: 12
Joined: Wed Dec 23, 2020 3:42 am

Re: Mkv files with opus stop playing before end of video

Post by redtux »

Unfortunately I spoke too soon.

It seems to be in connection with the fact that mkv files are playable before they have finished transcoding. So with cache enabled the duration when ums first sees the file is reused whilst the file is a lot bigger.
Post Reply