Jump to content

Subtitles on extras not working


Recommended Posts

BalthazarBux
Posted

I got all The Appendices for LotR sorted under each movie as Extras.

I have a srt subtitle for each mkv. (Also vobsub in the mkv)

But when I play, I cant get subtitles. No options for it in the Android player.

It works on PC with VLC.

Is there limitations when files is under the Extras folder?

(Maybe it is something with the mkvs, I cant even play them in Emby with Firefox browser I realized now. "No compatible streams" though I have transcode available.... And I get no progress bar in the Android player, like if I watch 15 mins in an hour long behind the scenes mkv and stop play, it doesnt track where I stop and it lists the video as played in Emby.)

BalthazarBux
Posted

Hi,

I restarted server and started play only one mkv, and let it run for maybe one minute or two, then exited play.

So there should only be one example of video in this log.

There was no ffmpeg log though.

Posted

Hi, is something wrong with the file? The server tried to probe it for media info:

	Emby.Server.MediaEncoding.Unified.Ffmpeg.FfRunException: Emby.Server.MediaEncoding.Unified.Ffmpeg.FfRunException: ffprobe failed - streams and format are both null: -i file:"E:\Filmer\The.Lord.of.the.Rings.The.Fellowship.of.the.Ring.2001.Extended.2160p.UHD.Bluray.REMUX.DV.HDR10.HEVC.Atmos.TrueHD.7.1-4K4U\Extras\3. From Book to Script.mkv" -threads 0 -v info -print_format json -show_streams -show_chapters -show_format -show_data
ffprobe version 5.1-emby_2023_06_25_p4 Copyright (c) 2007-2022 the FFmpeg developers and softworkz for Emby LLC
	  built with gcc 12.2.0 (Rev10, Built by MSYS2 project)
	[dvdsub @ 000001b0ea6880c0] [IMGUTILS @ 000000156edff300] Picture size 0x0 is invalid
	[matroska,webm @ 000001b0ea625e80] Failed to open codec in avformat_find_stream_info
	[dvdsub @ 000001b0ea6890c0] [IMGUTILS @ 000000156edff300] Picture size 0x0 is invalid
	[matroska,webm @ 000001b0ea625e80] Failed to open codec in avformat_find_stream_info
	[dvdsub @ 000001b0ea68b100] [IMGUTILS @ 000000156edff300] Picture size 0x0 is invalid
	[matroska,webm @ 000001b0ea625e80] Failed to open codec in avformat_find_stream_info
	[dvdsub @ 000001b0ea68c100] [IMGUTILS @ 000000156edff300] Picture size 0x0 is invalid
	[matroska,webm @ 000001b0ea625e80] Failed to open codec in avformat_find_stream_info
	Input #0, matroska,webm, from 'file:E:\Filmer\The.Lord.of.the.Rings.The.Fellowship.of.the.Ring.2001.Extended.2160p.UHD.Bluray.REMUX.DV.HDR10.HEVC.Atmos.TrueHD.7.1-4K4U\Extras\3. From Book to Script.mkv':
	  Metadata:
	    title           : 3. From Book to Script
	    encoder         : libebml v1.4.2 + libmatroska v1.6.4
	    creation_time   : 2022-06-12T10:34:50.000000Z
	  Duration: 00:20:03.40, start: 0.000000, bitrate: 1341 kb/s
	  Stream #0:0: Video: hevc (Main 10), yuv420p10le(tv), 1280x740 [SAR 1:1 DAR 64:37], Level 150, 25 fps, 25 tbr, 1k tbn (default)
	    Metadata:
	      BPS             : 1129269
	      DURATION        : 00:20:03.400000000
	      NUMBER_OF_FRAMES: 30085
	      NUMBER_OF_BYTES : 169870425
	  Stream #0:1(eng): Audio: ac3, 48000 Hz, stereo, fltp, 192 kb/s (default)
	    Metadata:
	      title           : Dolby Digital
	      BPS             : 192000
	      DURATION        : 00:20:03.104000000
	      NUMBER_OF_FRAMES: 37597
	      NUMBER_OF_BYTES : 28874496
	  Stream #0:2(dan): Subtitle: dvd_subtitle (default)
	    Metadata:
	      title           : dansk
	      BPS             : 5231
	      DURATION        : 00:19:54.059000000
	      NUMBER_OF_FRAMES: 436
	      NUMBER_OF_BYTES : 780868
	  Stream #0:3(swe): Subtitle: dvd_subtitle
	    Metadata:
	      title           : svenska
	      BPS             : 5903
	      DURATION        : 00:19:57.741000000
	      NUMBER_OF_FRAMES: 464
	      NUMBER_OF_BYTES : 883910
	  Stream #0:4(fin): Subtitle: dvd_subtitle
	    Metadata:
	      title           : suomi
	      BPS             : 5439
	      DURATION        : 00:19:57.564000000
	      NUMBER_OF_FRAMES: 490
	      NUMBER_OF_BYTES : 814314
	  Stream #0:5(ice): Subtitle: dvd_subtitle
	    Metadata:
	      title           : íslenska
	      BPS             : 7035
	      DURATION        : 00:19:57.057000000
	      NUMBER_OF_FRAMES: 618
	      NUMBER_OF_BYTES : 1052800
	  Stream #0:6: Video: mjpeg (Progressive), yuvj420p(pc, bt470bg/unknown/unknown), 1200x1800 [SAR 1:1 DAR 2:3], 90k tbr, 90k tbn (attached pic)
	    Metadata:
	      filename        : cover.jpg
	      mimetype        : image/jpeg
	[dvdsub @ 000001b0ea8f9f00] [IMGUTILS @ 000000156edff540] Picture size 0x0 is invalid
	Could not open codec for input stream 2
	
	

So without media info, the server isn't aware that there are subtitles to select.

BalthazarBux
Posted

Yes, maybe it is something with the file, but I don't know what then, it is the same with all files (60 or so for all different extras of "the Appendices")

But it is playing, so I don't know what to do with the file to fix this or what the encoder did wrong. 

Can see everything with my MediaInfo program on the PC.

Posted

As a test can you try remuxing the file to a new mkv?

BalthazarBux
Posted

I will try that, I'll report back later

but also, the external srt, shouldnt that work?

Or is it because it cant fetch mediainfo from the mkv too? 

Posted
6 hours ago, BalthazarBux said:

I will try that, I'll report back later

but also, the external srt, shouldnt that work?

Or is it because it cant fetch mediainfo from the mkv too? 

If the server doesn't have media info for the item then it's going to affect all of playback, including external subtitles.

Please let us know what happens. Thanks.

BalthazarBux
Posted

I remuxed the mkv file as is to new file = no change

I remuxed the mkv file without the vobsubs included = Works

So something was wrong with the vobsubs.

Probably have to extract and convert the vobsub of the language I want to srt manually and then remux all files to remove the vobsubs.

"Picture size 0x0 is invalid" it says for the vobsubs in the log.

It plays in VLC on PC, but the subs placement is all wrong. Maybe it is possible to somehow get it to work with the included vobsubs, any method of giving them a new "picture size"? Would like to not have to do the vobsub conversion for all files if possible 😅

Posted
13 hours ago, BalthazarBux said:

I remuxed the mkv file as is to new file = no change

I remuxed the mkv file without the vobsubs included = Works

So something was wrong with the vobsubs.

Probably have to extract and convert the vobsub of the language I want to srt manually and then remux all files to remove the vobsubs.

"Picture size 0x0 is invalid" it says for the vobsubs in the log.

It plays in VLC on PC, but the subs placement is all wrong. Maybe it is possible to somehow get it to work with the included vobsubs, any method of giving them a new "picture size"? Would like to not have to do the vobsub conversion for all files if possible 😅

Hi, yes I guess we'll have to figure out a workaround if ffmpeg is having trouble with it.

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