Jump to content

Stream probing?


Damstas
Go to solution Solved by Luke,

Recommended Posts

Nothing other than what VLC does as it is playing.

VLC can detect subtitles if they are added to the stream, but it's up to user to each time enable them. Kodi/NextPVR/MediaPortal have setting to autoenable them, if they are added to the stream. How is it with ATV/FTV?

 

Would love to purchase Android TV device, but family would resist if they can't see subtitles in their recorded shows.

Edited by Damstas
Link to comment
Share on other sites

It handles subtitles just like most of the other apps.  It obeys the settings for each user on the server in conjunction with the data that is available about the media before playback begins.  Then it also gives you the ability to choose them during playback.

 

If it is a recorded item, this should be fine as nothing is going to be added after playback begins.

Link to comment
Share on other sites

It handles subtitles just like most of the other apps.  It obeys the settings for each user on the server in conjunction with the data that is available about the media before playback begins.  Then it also gives you the ability to choose them during playback.

 

If it is a recorded item, this should be fine as nothing is going to be added after playback begins.

Ok. :) I have PM'd you and Luke earlier with a sample, when the broadcaster activated the DVB-subtitle stream a little later. Could you check on your ATV/FTV whether it can autoenable them? 

 

EDIT: I can also try to virtualize Android and download the app.

Edited by Damstas
Link to comment
Share on other sites

@@ebr I managed to take a closer look with VLC. It can auto-enable them if I set "fin" as the main language in the settings. Then the file plays fine and the subtitle that has been added later will be auto-enabled. If it would be possible to have this feature in ATV/FTV, I would be more than pleased! :)

Link to comment
Share on other sites

Setting that as your subtitle language preference in your user settings should have the same effect then.

Link to comment
Share on other sites

Setting that as your subtitle language preference in your user settings should have the same effect then.

Ok, and since it uses built in VLC it would do the same thing as desktop version?

Link to comment
Share on other sites

Ok, and since it uses built in VLC it would do the same thing as desktop version?

 

No, that's not necessarily a good assumption.  Desktop VLC is running on a completely different platform.

Link to comment
Share on other sites

No, that's not necessarily a good assumption.  Desktop VLC is running on a completely different platform.

Ok. Would it be possible for you to check if the file that I sent you works (DVB-subtitles and that they become autoenabled when later added to the stream), since I don't have either of those devices right now. :)

Edited by Damstas
Link to comment
Share on other sites

Tested with the new Emby Theater and I can confirm they are not working there, if they are added to the stream later. Any luck with ATV/FTV ebr?

Link to comment
Share on other sites

I just tried your sample and it needs to transcode in order to play on the FTV.  The server sees the subs and it attempts to display them but they are garbage and take up most of the screen.

 

This is all being handled at the server end by ffmpeg as they are being burned into the video there.

Link to comment
Share on other sites

I just tried your sample and it needs to transcode in order to play on the FTV.  The server sees the subs and it attempts to display them but they are garbage and take up most of the screen.

 

This is all being handled at the server end by ffmpeg as they are being burned into the video there.

The garbare you are referring is the teletext. The system should ignore that and display the DVB-subtitles, which start at 00:58. If you play that file on a PC VLC, you can see a small delay in the file at around 00:58. That's when the subtitle stream was added.

Can you see the DVB-subtitles at around 00:58 being added to the menu?

 

Atleast on PC VLC, you need to watch the file from the beginning to that point, in order for them to show up.

Edited by Damstas
Link to comment
Share on other sites

The sub selection is there from the beginning because we probe the file on the server end for that information.  All the subtitle handling is being done by the server during the transcode in this particular instance.  VLC isn't involved.

 

I can see the subs displaying properly during the brief instances when the other text doesn't obscure the video.

Link to comment
Share on other sites

The sub selection is there from the beginning because we probe the file on the server end for that information.  All the subtitle handling is being done by the server during the transcode in this particular instance.  VLC isn't involved.

 

I can see the subs displaying properly during the brief instances when the other text doesn't obscure the video.

Don't use the teletext, it's just a remnant. Can you enable DVB-subtitles? 

 

I don't understand, that if you probe the file in the server, why some of my shows, like this one won't display any DVB-subtitles on the web client at all?

Edited by Damstas
Link to comment
Share on other sites

As I suspected, only teletext is available and Emby doesn't seem to have any record that there is DVB-subtitles, since they aren't available right from the start.

 

UA3qnUF.jpg

 

 

QIv2P0e.jpg

 

Here you can see that there is indeed DVB-subtitles as VLC is showing them when it get's pass 00:58 mark.

 

zyoCp61.jpg

 

This is an example when I started the recording a little later, so that the show had the subtitle stream active when the recording started.

 

I9png61.jpg

 

 

I would assume from this that something on the Emby/ or NPVR-plugin side is not probing the stream. @@Sven @@ebr @@sub3

 

What do you think @@Luke, is this something that must be fixed on the Emby side or is up to the plugin dev to do some changes?

Edited by Damstas
Link to comment
Share on other sites

This issue seems to be with every plugin and EmbyTV. Emby will only look for DVB-subtitles only at the start and won't monitor if they are added later. I would like to request.a fix. :)

Link to comment
Share on other sites

It isn't something we can monitor.  We analyze the file using ffprobe one time.  Not every time or as it is being played.

 

I'm not familiar enough with how ffprobe works to know if it is possible for it to look through the entire file to see if new streams are added when they aren't there at the beginning.

 

Luke may be able to tell us.  But, there will likely be trade-offs involved (like performance) so we'll just have to see.

Link to comment
Share on other sites

it could eventually be as more improvements are made.

Thanks for the reply. I guess when you add support for DVB-subtitles in the LiveTV, this could be fixed at the same time. :)

I consulted the NPVR dev and he said the continual monitoring of the stream is a big work to do, since you use rely heavily on ffmpeg right now.

 

I really like Emby and hope that I can enjoy all of my recordings and LiveTV one day with DVB-subtitles. :) 

Edited by Damstas
Link to comment
Share on other sites

  • 2 months later...

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