Jump to content

Why Emby cannot read the language and subtitles of a file ?


Recommended Posts

DarkStar1977
Posted (edited)

I'm suffering an issue with recent added episodes of some anime series, this one is an example:

image.thumb.png.a11e42158029d0558b6f6855ac01b05c.png

Emby is not capable to identify any language or subtitles even the file has it.

Trying to play this from web browser present this error:

image.thumb.png.bc7c79b306729b942cc7091c8479aa20.png

But can be played on Apple TV but the Apple TV interface is not presenting the language or subtitles buttons in the OSD, even speed playing is not presented.

This is the Media Info of the File:

General

Unique ID                                : 86082866430386832513262636567637939878 (0x40C2F4FEFB0FD7CDC153C342007A56A6)

Complete name                            : /Volumes/-NASDATA-SHARED/ANIME (VO) 2/AMAGAMI-SAN CHI NO ENMUSUBI (TYING THE KNOT WITH AN AMAGAMI SISTER)/S01E24 - Episode 24.mkv

Format                                   : Matroska

Format version                           : Version 4

File size                                : 146 MiB

Duration                                 : 23 min 40 s

Overall bit rate                         : 862 kb/s

Frame rate                               : 23.976 FPS

Encoded date                             : 2025-03-25 19:35:24 UTC

Writing application                      : mkvmerge v27.0.0 ('Metropolis') 64-bit

Writing library                          : libebml v1.3.6 + libmatroska v1.4.9

Attachments                              : ARIALBD_2.TTF / arialbd_3.ttf / arialbi_2.ttf / ariali_1.ttf / ARIALNB_0.TTF / ARIALNB_1.TTF / Arial_1.ttf / Arial_2.ttf / ariblk_1.TTF / comicbd_0.ttf / comici_0.ttf / comicz_0.ttf / comic_0.ttf / georgiab_0.ttf / georgiai_0.ttf / georgia_0.ttf / impact_0.ttf / tahomabd_2.ttf / Tahoma_0.ttf / timesbd_2.ttf / timesbd_3.ttf / timesbi_0.ttf / timesi_0.ttf / times_1.ttf / trebucbd_0.ttf / trebucbi_0.ttf / trebucit_0.ttf / trebuc_0.ttf / verdanab_0.ttf / verdana_0.ttf / AdobeArabic-Bold.otf / AdobeArabic-BoldItalic.otf / AdobeArabic-Regular.otf

 

Video

ID                                       : 1

Format                                   : HEVC

Format/Info                              : High Efficiency Video Coding

Format profile                           : Main@L4@High

Codec ID                                 : V_MPEGH/ISO/HEVC

Duration                                 : 23 min 39 s

Bit rate                                 : 587 kb/s

Width                                    : 1 920 pixels

Height                                   : 1 080 pixels

Display aspect ratio                     : 16:9

Frame rate mode                          : Constant

Frame rate                               : 23.976 (24000/1001) FPS

Color space                              : YUV

Chroma subsampling                       : 4:2:0 (Type 0)

Bit depth                                : 8 bits

Bits/(Pixel*Frame)                       : 0.012

Stream size                              : 99.3 MiB (68%)

Writing library                          : x265 3.5+1-f0c1022b6:[Mac OS X][clang 14.0.3][64 bit] 8bit+10bit+12bit

Encoding settings                        : cpuid=1111039 / frame-threads=4 / wpp / no-pmode / no-pme / no-psnr / no-ssim / log-level=2 / input-csp=1 / input-res=1920x1080 / interlace=0 / total-frames=0 / level-idc=40 / high-tier=1 / uhd-bd=0 / ref=3 / no-allow-non-conformance / no-repeat-headers / annexb / no-aud / no-eob / no-eos / no-hrd / info / hash=0 / temporal-layers=0 / open-gop / min-keyint=24 / keyint=240 / gop-lookahead=0 / bframes=4 / b-adapt=0 / b-pyramid / bframe-bias=0 / rc-lookahead=15 / lookahead-slices=6 / scenecut=40 / no-hist-scenecut / radl=0 / no-splice / no-intra-refresh / ctu=64 / min-cu-size=8 / no-rect / no-amp / max-tu-size=32 / tu-inter-depth=1 / tu-intra-depth=1 / limit-tu=0 / rdoq-level=0 / dynamic-rd=0.00 / no-ssim-rd / signhide / no-tskip / nr-intra=0 / nr-inter=0 / no-constrained-intra / strong-intra-smoothing / max-merge=2 / limit-refs=3 / no-limit-modes / me=1 / subme=2 / merange=57 / temporal-mvp / no-frame-dup / no-hme / weightp / no-weightb / no-analyze-src-pics / deblock=0:0 / sao / no-sao-non-deblock / rd=2 / selective-sao=4 / no-early-skip / rskip / fast-intra / no-tskip-fast / no-cu-lossless / no-b-intra / no-splitrd-skip / rdpenalty=0 / psy-rd=2.00 / psy-rdoq=0.00 / no-rd-refine / no-lossless / cbqpoffs=0 / crqpoffs=0 / rc=crf / crf=24.0 / qcomp=0.60 / qpstep=4 / stats-write=0 / stats-read=0 / vbv-maxrate=30000 / vbv-bufsize=30000 / vbv-init=0.9 / min-vbv-fullness=50.0 / max-vbv-fullness=80.0 / crf-max=0.0 / crf-min=0.0 / ipratio=1.40 / pbratio=1.30 / aq-mode=2 / aq-strength=1.00 / cutree / zone-count=0 / no-strict-cbr / qg-size=32 / no-rc-grain / qpmax=69 / qpmin=0 / no-const-vbv / sar=1 / overscan=0 / videoformat=5 / range=0 / colorprim=1 / transfer=1 / colormatrix=1 / chromaloc=1 / chromaloc-top=0 / chromaloc-bottom=0 / display-window=0 / cll=0,0 / min-luma=0 / max-luma=255 / log2-max-poc-lsb=8 / vui-timing-info / vui-hrd-info / slices=1 / no-opt-qp-pps / no-opt-ref-list-length-pps / no-multi-pass-opt-rps / scenecut-bias=0.05 / no-opt-cu-delta-qp / no-aq-motion / no-hdr10 / no-hdr10-opt / no-dhdr10-opt / no-idr-recovery-sei / analysis-reuse-level=0 / analysis-save-reuse-level=0 / analysis-load-reuse-level=0 / scale-factor=0 / refine-intra=0 / refine-inter=0 / refine-mv=1 / refine-ctu-distortion=0 / no-limit-sao / ctu-info=0 / no-lowpass-dct / refine-analysis-type=0 / copy-pic=1 / max-ausize-factor=1.0 / no-dynamic-refine / no-single-sei / no-hevc-aq / no-svt / no-field / qp-adaptation-range=1.00 / scenecut-aware-qp=0conformance-window-offsets / right=0 / bottom=0 / decoder-max-rate=0 / no-vbv-live-multi-pass / no-mcstf / no-sbrc

Default                                  : Yes

Forced                                   : No

Color range                              : Limited

Color primaries                          : BT.709

Transfer characteristics                 : BT.709

Matrix coefficients                      : BT.709

 

Audio

ID                                       : 2

Format                                   : E-AC-3

Format/Info                              : Enhanced AC-3

Commercial name                          : Dolby Digital Plus

Codec ID                                 : A_EAC3

Duration                                 : 23 min 40 s

Bit rate mode                            : Constant

Bit rate                                 : 224 kb/s

Channel(s)                               : 2 channels

Channel layout                           : L R

Sampling rate                            : 44.1 kHz

Frame rate                               : 28.711 FPS (1536 SPF)

Compression mode                         : Lossy

Stream size                              : 37.9 MiB (26%)

Title                                    : Japanese

Language                                 : Japanese

Service kind                             : Complete Main

Default                                  : Yes

Forced                                   : No

Dialog Normalization                     : -31 dB

dialnorm_Average                         : -31 dB

dialnorm_Minimum                         : -31 dB

dialnorm_Maximum                         : -31 dB

 

Text #1

ID                                       : 3

Format                                   : ASS

Codec ID                                 : S_TEXT/ASS

Codec ID/Info                            : Advanced Sub Station Alpha

Duration                                 : 23 min 18 s

Bit rate                                 : 139 b/s

Frame rate                               : 0.237 FPS

Count of elements                        : 332

Compression mode                         : Lossless

Stream size                              : 23.9 KiB (0%)

Title                                    : Español

Language                                 : Spanish

Default                                  : No

Forced                                   : Yes

 

Text #2

ID                                       : 4

Format                                   : ASS

Codec ID                                 : S_TEXT/ASS

Codec ID/Info                            : Advanced Sub Station Alpha

Duration                                 : 23 min 18 s

Bit rate                                 : 143 b/s

Frame rate                               : 0.242 FPS

Count of elements                        : 338

Compression mode                         : Lossless

Stream size                              : 24.4 KiB (0%)

Title                                    : English

Language                                 : English

Default                                  : No

Forced                                   : No

 

Menu

00:00:00.000                             : ja:Episode

00:19:10.000                             : ja:Credits Start

00:20:40.000                             : ja:Credits End

Same file is played perfectly using Infuse over the Emby Server, with all options present:

image.thumb.png.050c6d7c3886970e9dc6a3c6b277cafc.png

And of course is perfectly identified and played by VLC, INAA and other Media Players, all except emby. This episode has the same encode options of all previous 23 that are perfectly identified and played.

I've had the same issue on another show, but in that case the subtitles were .VOB and emby was unable to identify anything related to audio or subtitles presenting errors on web browser and playing correctly in Apple TV, but this is not the case of the issue today, subtitles are ASS.

What's happening ?

It is very anoying have to use Infuse to play things from the emby server because emby clients fails to read the file information.

Attached Emby Server log and transcode log

ffmpeg-transcode-ab595700-c542-4b24-8f19-97c21db965c7_1.txt embyserver.txt

Edited by DarkStar1977
Posted

HI, try refreshing the metadata on it and then see if the tracks show up.

DarkStar1977
Posted
3 hours ago, Luke said:

HI, try refreshing the metadata on it and then see if the tracks show up.

I've already tried that, and forcing a library re-scan, removing the file and adding it again, nothing works.

pwhodges
Posted

I would remove the forced flag from the first subtitle stream - in my experience forced flags give nothing but grief...

Paul

DarkStar1977
Posted (edited)
42 minutes ago, pwhodges said:

I would remove the forced flag from the first subtitle stream - in my experience forced flags give nothing but grief...

Paul

Paul, removing the forced flag does not solve the issue, in fact the previous 23 files in this show have the same encoding options with the forced flag.

I'm spanish, this show is in japanese, so I need subtitles to understand what they say and marking as forced is the way that emby usually with the config I have, authomatically sellect this subtitle track when playing.

I have other +16000 media files with forced subtitle tracks and got no issue.

Edited by DarkStar1977
DarkStar1977
Posted

@Lukeif you want I can send you privately the file(s) I'm having this issue(s), if this may help ....

Happy2Play
Posted
7 hours ago, DarkStar1977 said:

I've already tried that, and forcing a library re-scan, removing the file and adding it again, nothing works.

But according to the ffmpeg log there is no media info so Emby can not play the file as it has no idea how to.

Quote

{"Protocol":"File","Id":"0d0182500af8935ea641bcbdc41c0b81","Path":"/mnt/HD/HD_a2/NASDATA-SHARED/ANIME (VO) 2/AMAGAMI-SAN CHI NO ENMUSUBI (TYING THE KNOT WITH AN AMAGAMI SISTER)/S01E24 - Episode 24.mkv","Type":"Default","Container":"mkv","Size":0,"Name":"S01E24 - Episode 24","IsRemote":false,"HasMixedProtocols":false,"SupportsTranscoding":true,"SupportsDirectStream":true,"SupportsDirectPlay":true,"IsInfiniteStream":false,"RequiresOpening":false,"RequiresClosing":false,"RequiresLooping":false,"SupportsProbing":false,"MediaStreams":[],"Formats":[],"RequiredHttpHeaders":{},"AddApiKeyToDirectStreamUrl":false,"ReadAtNativeFramerate":false,"ItemId":"13438344"}

Don't know exactly what it means but per your server log the file can not be probed.

System.IO.FileNotFoundException: Unable to find the specified file.

Doubt it will change anything but probably should update to latest release 4.8.11.0.

Emby Server Version: 4.8.10.0

 

DarkStar1977
Posted
1 hour ago, Happy2Play said:

Doubt it will change anything but probably should update to latest release 4.8.11.0.

Emby Server Version: 4.8.10.0

 

I don't konw why the log says that.

Server is upgraded to 4.8.11.0 already:

image.png.8e15609aebf053d857ece809a2ae3334.png

 

Posted

I would try rebooting the machine.

DarkStar1977
Posted
1 minute ago, Luke said:

I would try rebooting the machine.

Emby is running on a WD PR4100 NAS, I've not rebooted the machine but I've stopped and re-enabled the service:

image.png.08d9c525f3b9956b1f90062de669dac3.png

BTW, I'm seeing that those files are the 1st uploaded into emby after the upgrade, are u sure the upgrade did not break something ?

  • Various fixes with SMB folder access on Linux, macOS and Android servers

Those files are hosted in another NAS server that's mounted via SMB into EMBY Server NAS .....

DarkStar1977
Posted

Forget it. 

Restarted the server twice and now all audio and subtitles info is there ....

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