Jump to content

Video with ssa subtitles doesn't start playback with burn in selected


Recommended Posts

knitowskimedia
Posted

The Retrieving bar appears, loads about a third of the way and never goes any further. It occasionally jumps back and will then get to the third-filled position again, but it never goes past. The emby dashboard shows direct playing while this is happening. I have tried with hardware acceleration both enabled and disabled with the same result. The media starts playback normally when burn-in is disabled. Video works fine on android, in a web browser the file plays, but no subtitles appear.

Posted

@knitowskimedia Are you using "Hardware Acceleration"? What happens if you disable hardware acceleration?

Posted

Try refreshing the metadata on the file and then see if that helps. Thanks.

knitowskimedia
Posted

Refreshing the metadata doesn't cause a change. Strangely, it does this on all movie-length files with ssa/ass subtitles selected, but on TV episode-length files it does start playing and stats for nerds shows that transcoding is happening for subtitles, however the subs do burn in with styling, but not with the correct fonts. They only show the default font, despite the mkv files having the correct fonts attached to them.

Posted

Please try setting any server transcoding settings you may have customized back to default, for example: 

Quote

>>>>>  Non-Default Encoder Parameters
Warning EncoderParametersH264LibX.ConstantRateFactor: Original: 23 Actual: 20

See if that helps.

knitowskimedia
Posted
1 hour ago, Luke said:

Please try setting any server transcoding settings you may have customized back to default, for example: 

See if that helps.

No change. Trying with subtitle extraction on and off elicits no change either.

Posted

What kind of drive is your d drive?

knitowskimedia
Posted
16 minutes ago, Luke said:

What kind of drive is your d drive?

It's a Windows Storage space made of 5 Seagate Ironwolf 4TB drives in parity (4 drives of storage, 1 redundant). The Storage Space in configured to have 12TB of storage, with 9TB used.

Posted

Can you try the same video on the C drive and see how that compares? You'd just have to setup a small test library of that one video.

It's possible that the drive just isn't performing fast enough. This requires two simultaneous reads of the entire video file. One for the normal transcoding process, and then an additional read to fetch the subtitles to be burned in. The ffmpeg transcoder does not support doing both operations together on a single read of the file, which would help it perform considerably better. We are going to be adding this capability ourselves at some point, but it's not ready yet.

knitowskimedia
Posted

I should point out that this used to work, though I'm not sure when it stopped working.

Posted

Can you try what I suggested? Thanks.

knitowskimedia
Posted

Just tried it, same result.

knitowskimedia
Posted

If it's a movie in a series the roku after 5-10 minutes shows a "too many errors moving on" dialogue box.

 

Also my C Drive is an ssd

Posted
40 minutes ago, knitowskimedia said:

If it's a movie in a series the roku after 5-10 minutes shows a "too many errors moving on" dialogue box.

 

Also my C Drive is an ssd

Can you please provide the ffmpeg log file from that? Thanks.

knitowskimedia
Posted

Hi.  All of those transcode logs are playing an item from your "D:" drive...

knitowskimedia
Posted
knitowskimedia
Posted
17 minutes ago, Luke said:

As a test can you also try not running as a windows service?

 

No change in behavior.

Posted

Can we see a log example from that? Thanks.

knitowskimedia
  • 3 weeks later...
Posted

Thanks a lot for the logs!

This is a long-known issue with text subtitle burn-in. It surely wasn't better in any earlier Emby version.

The problem is that while transcoding the file, ffmpeg needs to open and read the file a second time simultaneously to extract all the text subtitles for burning in.
Your file is 28Mbps, that's why it causes such extreme slowdown ad the start.

The good news is that - after years - we are implementing a solution for this exactly right now. If all goes well, this will be fixed in the next beta version.

Thanks,
sw

 

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...