Page 1 of 1

Mkv files with opus stop playing before end of video

Posted: Tue Jun 08, 2021 3:26 am
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

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

Posted: Tue Jun 08, 2021 6:10 am
by mik_s
No idea without any logs. see the section in red above.

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

Posted: Wed Jun 09, 2021 1:40 am
by redtux
I seem to have found a solution, at least so far.If I install mediainfo the problem seems to disappear

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

Posted: Sun Jun 27, 2021 10:39 pm
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.