Jump to content

unknown codec subtitle can not recognize and render


Recommended Posts

luowengang
Posted

index=2
codec_name=unknown
codec_long_name=unknown
TAG:language=chi
TAG:title=中文(简体)
index=3
codec_name=unknown
codec_long_name=unknown
TAG:language=chi
TAG:title=中文(繁體)

index=2

codec_name=unknown

codec_tag_string=[0][0][0][0]

codec_tag=0x0000

index=3

codec_name=unknown

codec_tag_string=[0][0][0][0]

codec_tag=0x0000

in this case,the sever cannot recognize and render the subtitle.

 

 

Neminem
Posted

 

luowengang
Posted
2 hours ago, Neminem said:

 

 

41 minutes ago, Luke said:

 

Hi there, let's look at an example. Please attach the information requested in how to report a media playback issue. Thanks!

 

There is the attachement that I splited form the origin mkv useing mkvmerge tool.

It has two subtitle channels. It can be recognized and rendered in IINA palyer, but emby sever。

AI said that It is the S_TEXT/WEBVTT format,I don't know if it is correct.

test.mkv

Posted
13 hours ago, luowengang said:

 

There is the attachement that I splited form the origin mkv useing mkvmerge tool.

It has two subtitle channels. It can be recognized and rendered in IINA palyer, but emby sever。

AI said that It is the S_TEXT/WEBVTT format,I don't know if it is correct.

test.mkv 68.92 MB · 0 downloads

So you made a small sample? Did you ensure the issue also occurs with the sample?

luowengang
Posted
11 hours ago, Luke said:

So you made a small sample? Did you ensure the issue also occurs with the sample?

yes,the issue occurs with the test sample. There are the IINA shotcut and the emby server shotcut.image.thumb.png.6f52ff2901468a32b093f647d8df6828.png

 

image.thumb.png.f5ff06d2b38145351d0d0039746167fc.png

visproduction
Posted (edited)

When I extract the subs, I get an undefined extension instead of .vtt.  Why do the subs get the undefined extension?  Are they not listed correctly in the media?  This might cause Emby player to no recognize the subs correctly.  I noticed that there is a uncommented Note at the beginning of the of one of the subtitles.  Perhaps the undefined extension works in some situations on some countries.  VLC seems to work OK. 

I can rename the extensions to .vtt as separate files and then the subs look normal.

test_July27_Subtitle 01.jpg

test_July27_Subtitle 02.jpg

Edited by visproduction
luowengang
Posted
21 hours ago, visproduction said:

I can rename the extensions to .vtt as separate files and then the subs look normal.

I see. It seems that the problem is on the resourse. Is it possible to accommodate this kind of issue? 

visproduction
Posted (edited)

That is a question for a developer, who knows the code.  I remux every media to fix any video or audio issue.  I pick video and audio codecs that play on anything.  I also remove all subtitles and convert them to files.  I don't run into any subtitle problems. For live TV that is not practical.

Every commercial media website;  Prime, Hulu, Netflix, Youtube... prepares their video media collection to be compatable with user's systems.  The video websites can do this either automatically or manually, by checking and preparing each media file.  Emby does an excellent job of handling this for all the possible situations. It's good to remember that you are skipping any preparation, remuxing, video or audio codec conversion, subtitle checking and hoping that every possible issue is fixed, without any extra effort.  

The question of Emby being able to know that the file is .vtt, even if the file name of the subtitles embedded in the media may end in undefined is a good question.  I don't know the answer.  Perhaps the problem is something else.  Anyway, that is a start.  Let's see who answers.

Edited by visproduction
  • Like 1
Posted

OK I think the server ffmpeg build does not handle embedded webvtt. We'll be updating it on the beta channel very soon so this should be re-evaluated at that time.

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