Jump to content

Recommended Posts

Bob1969
Posted

Emby app - 2.3.5

Emby Server - 4.9.3.0

Hey guys this is an ongoing problem for me, i might play a movie and a section of the movie plays twice. Ending tonight around 21.44 on  01/05/26,  i was playing a video called Leonard Cohen Live at the Isle of White. It got to the very end and then jumped back and played the credits again. I have seen it happen other times where 10 minutes into a movie it shows a bit i already watched again. Any ideas what it could be? ;) 

embyserver.txt

Posted

Hi, please attach the ffmpeg log as well. thanks.

  • Like 1
Bob1969
Posted

hi guys did we get a chance to look at my logs?

  • 2 weeks later...
Bob1969
Posted

@LukeHi mate is there any updates on this? many thanks

visproduction
Posted (edited)

There are about 6 subtitles and subtitle_kickoff in the first log appears 1321 times.  That seems excessive and may be part of the issue.

Also some alert error for DTS in the second log.  DTS seems to often be difficult to transcode.
 

Quote

21:36:58.843 [segment @ 00000219ede7d100] Non-monotonous DTS in output stream 0:0; previous: 330966631, current: 330963660; changing to 330966632. This may result in incorrect timestamps in the output file.
 

 

Edited by visproduction
  • Like 1
Bob1969
Posted
On 20/05/2026 at 17:36, visproduction said:

There are about 6 subtitles and subtitle_kickoff in the first log appears 1321 times.  That seems excessive and may be part of the issue.

Also some alert error for DTS in the second log.  DTS seems to often be difficult to transcode.
 

 

Many thanks for your reply. Is there anything i can do to prevent it happening in future? I dont understand why the subtitles are showing up in the log so many times. 

visproduction
Posted (edited)

Bob,  


There are 6 different subtitles, so that number is correct.  The question is there some corrupted data in your media from an inproper edit or non-valid damaged data?  Quite often, a video can appear normal with some 3rd party player that automatically smooths out errors while players in a TV App or browser are not as sophisticated and cannot fix such errors during playback. 

You can try checking if the media is damaged by running a quality test / probe.  You can also remux the media, which often fixes problems so that the new copy doesn't have the same errors.  You can also get a quality test video, made perfectly with mutiple subtitles and see if that plays back correctly. All these can point to the media having the problem.  If the software is the problem, then every test would still get your error.  Since no one else experiences your problem, it does seem to point to your media has bad data.

I think a lot of people play the media back in a more advanced player, which fixes issues and use that as proof, that the media is fine.  But that is not a proper test.  

I've seen a lot of issues with DTS media that might mean that transcoding from DTS runs into many issues.  I don't ever deal with DTS, so perhaps someone else can comment.

Hope that makes sense.

Edited by visproduction
  • Like 1
Posted

HI, we are still looking at this. Thanks.

  • Like 1
Bob1969
Posted (edited)
On 22/05/2026 at 00:41, visproduction said:

Bob,  


There are 6 different subtitles, so that number is correct.  The question is there some corrupted data in your media from an inproper edit or non-valid damaged data?  Quite often, a video can appear normal with some 3rd party player that automatically smooths out errors while players in a TV App or browser are not as sophisticated and cannot fix such errors during playback. 

You can try checking if the media is damaged by running a quality test / probe.  You can also remux the media, which often fixes problems so that the new copy doesn't have the same errors.  You can also get a quality test video, made perfectly with mutiple subtitles and see if that plays back correctly. All these can point to the media having the problem.  If the software is the problem, then every test would still get your error.  Since no one else experiences your problem, it does seem to point to your media has bad data.

I think a lot of people play the media back in a more advanced player, which fixes issues and use that as proof, that the media is fine.  But that is not a proper test.  

I've seen a lot of issues with DTS media that might mean that transcoding from DTS runs into many issues.  I don't ever deal with DTS, so perhaps someone else can comment.

Hope that makes sense.

Many thanks for your reply and apologies for the late reply. I followed your suggestion regarding that possibly DTS could be the problem. Also possibly a corrupted file. I run the last 7 mins of the video and it does replay the credits with DTS selected. When i run it in stereo it plays the last 7 minutes just fine. I did the test 2 times with stereo and 4 times using DTS and it does repeat.

I ran the file through MKVtoolnix and it found lots of warnings, see attachment. After this it still replayed the video titles when i selected DTS as the audio source.

Another thing i noticed it does not automatically return to Emby at the end, it hangs with the blue circle and stays there.

If you think i should process the file another way then please let me know

log mkv.txt

Edited by Bob1969
  • Like 1
visproduction
Posted (edited)

Looks like there is some edit at 28 minutes 40 seconds and the video has a bad segment for abou 4 seconds.  I would guess that someone edited scenes together from two media souces and did not remux or reencode the video.  Either they didn't test it, or the player they were using to check, automatically played through the glitch.  If this is true, it's a production editing error.  A correct way to fix this would be to reedit from the media and / or reencode the problem section and edit it in again.  I assume you don't have the parent media, so If you remuxed or reencoded the entire video, that may also fix it, but reencoding would lose a generation.  This type of combination problem seems typical for old and rare music performances.  This is also why creating a useable media from various old sources like concert footage has a large post producion budget.

In short, it looks like an edit flaw and the fault could be with the post poduction editing.  Whoever did it, needs to do it again before getting paid.  Ha!

If this happens many times with other media from different sources than that would point more at an Emby issue.  Perhaps DTS handling could be smoother and that could be part of it.  Anyway, that's my guess.

 

Edited by visproduction
  • Like 1
Bob1969
Posted
4 hours ago, visproduction said:

Looks like there is some edit at 28 minutes 40 seconds and the video has a bad segment for abou 4 seconds.  I would guess that someone edited scenes together from two media souces and did not remux or reencode the video.  Either they didn't test it, or the player they were using to check, automatically played through the glitch.  If this is true, it's a production editing error.  A correct way to fix this would be to reedit from the media and / or reencode the problem section and edit it in again.  I assume you don't have the parent media, so If you remuxed or reencoded the entire video, that may also fix it, but reencoding would lose a generation.  This type of combination problem seems typical for old and rare music performances.  This is also why creating a useable media from various old sources like concert footage has a large post producion budget.

In short, it looks like an edit flaw and the fault could be with the post poduction editing.  Whoever did it, needs to do it again before getting paid.  Ha!

If this happens many times with other media from different sources than that would point more at an Emby issue.  Perhaps DTS handling could be smoother and that could be part of it.  Anyway, that's my guess.

 

Many thanks for your reply. I downloaded this video  so i have no idea where the source came from, some videos are a Hybrid where apparently more than one source is used. I think your talking about the master having these problems. 

I downloaded another copy of the video, there are no warnings with this one, it has an AC3 5.1 audio track and it plays just fine. For some reason many concert movies are in DTS format, so its hard to avoid it sometimes.

It is very strange that the combination of DTS and a corrupt video could cause this problem.

  • Like 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...