Jump to content

Adaptive streaming


dragon2611
 Share

Recommended Posts

dragon2611

I'd imagine this one will probably be a little to tricky to implement any-time soon

Heck I'm not even sure if there's a suitable codec available that's opensource/free to use

 

But it would be a really awesome extension to sync if you could transcode into multiple bitrates and then use adaptive streaming between the emby client and the server to pick the highest quality possible at any given moment.

 

I would think this would be especially useful for mobile clients where the network performance can be all over the shop.

 

I thought i'd suggest it on the off chance it was feasible.

Edited by dragon2611
  • Like 8
Link to comment
Share on other sites

  • 1 year later...
zigzagtshirt

I know it's been quite awhile since this thread was started, but I'd like to also express my interest for this feature.  

 

I read an interesting intro to using mpeg-dash with several mp4 files, each with its own bitrate.  Streaming auto switches between them seamlessly based on bandwidth conditions.  

 

https://blog.streamroot.io/encode-multi-bitrate-videos-mpeg-dash-mse-based-media-players/

 

What's the feasibility of adaptive bitrate streaming at this point?

Link to comment
Share on other sites

zigzagtshirt

We already support it with HLS.

 

Sorry, I'm still on a rookie level with understanding these particular technologies and terminologies, so sorry if this is a stupid question.  Can Emby auto switch playback from one file to another file on the fly based on network conditions?  My understanding is that it will check conditions at the start only.

Link to comment
Share on other sites

zigzagtshirt

HLS is just an alternative to mpeg dash. Most devices support HLS now, so for now at least that is our preferred protocol.

 

Okay, got it.  But my question still is:

 

Can Emby auto switch playback from one file to another file on the fly based on network conditions?  My understanding is that it will check conditions at the start only.

Link to comment
Share on other sites

zigzagtshirt

@@Luke To clarify, I am referring to pre-transcoded files only (not live transcoding).

 

Example: movieA(10mbps); movieA(5mbps)

 

Direct playing movieA.  Server auto adapts between 10mbps file and 5mbps file as bandwidth conditions change.

Link to comment
Share on other sites

  • 1 year later...
neik

@@Luke To clarify, I am referring to pre-transcoded files only (not live transcoding).

 

Example: movieA(10mbps); movieA(5mbps)

 

Direct playing movieA. Server auto adapts between 10mbps file and 5mbps file as bandwidth conditions change.

This is interesting, this could alleviate those with bw variation to some extent.

 

@@Luke, any info on this please, does this work as suggested?

 

And, +1 of course

Edited by neik
Link to comment
Share on other sites

neik

We make the decision prior to playback. We do not currently switch between them during playback.

Wouldn't this be a quite interesting improvement?

 

There seem to be a couple of us with the issue of bw variation and this could help us a lot, I guess.

Edited by neik
  • Like 3
Link to comment
Share on other sites

  • 2 years later...
ng4ever
32 minutes ago, crusher11 said:

Plex has been doing this for years. 

Your right but you have to remember it was in beta for a long time and may still be. Can't remember.

 

Where Emby will do it right by only offering it in the final version once it works pretty well! Of course it will come to the beta version first.

 

 

Link to comment
Share on other sites

  • 2 months later...
KarlDag
On 19/07/2021 at 19:54, crusher11 said:

Plex has been doing this for years. 

 

On 19/07/2021 at 20:27, ng4ever said:

Your right but you have to remember it was in beta for a long time and may still be. Can't remember.

 

Where Emby will do it right by only offering it in the final version once it works pretty well! Of course it will come to the beta version first.

 

 

No. Plex can change quality settings on the fly *when transcoding*, but it won’t switch from one file to another.

  • Agree 2
Link to comment
Share on other sites

GrimReaper
1 hour ago, KarlDag said:

No. Plex can change quality settings on the fly *when transcoding*, but it won’t switch from one file to another.

Yep, it applies to transcodes only, it does change between versions for DirectPlay. 

Quote

If content is already directly playing at the original quality (e.g. “Direct Play” or “Direct Stream”), then Plex will not adjust the quality dynamically. Automatically adjusting the quality requires that the content be transcoded.

Quote
  • Auto quality requires a Plex Media Server that is capable of converting (transcoding). Servers that can’t transcode, such as some NAS Devices and Limitations, cannot support auto quality.
Quote
  • Auto quality is only used when the video is being converted (transcoded). If a video starts with Play Original Quality also known as Direct Play or Direct Stream, it will not automatically change quality based on connection speed.  Similarly, if a video starts withit will Convert Automatically, it not automatically change to Play Original Quality. 

 

 

Edited by GrimReaper
Typo
Link to comment
Share on other sites

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
 Share

×
×
  • Create New...