Jump to content

One of my files won't play


crusher11
Go to solution Solved by ebr,

Recommended Posts

  • Solution
5 hours ago, crusher11 said:

All my other identically-encoded files Direct Play just fine.

 

Pretty sure they are not identical in structure.  Based on what you are seeing, my guess is that some header or index information is not where it is supposed to be according to spec.  When we direct stream it, that information is re-written in the expected place.

Exo is not very resilient in any deviation from the spec or expected structure of the file.  We have made some improvements in this area but not for everything yet.  If you remux  this file, does it play properly?

Link to comment
Share on other sites

vdatanet
4 minutes ago, ebr said:

That's just not true.  With that same logic you could say it isn't direct play if the storage isn't physically connected to the device.  All of these are protocols for delivering the data.  If the data isn't being altered in any way, then it is direct playing that data.

Mounting the files on the local filesystem does not convert them to local, the server's smbd daemon is needed to deliver the file. In practical matters it is the same, simply the protocol is different.

Link to comment
Share on other sites

CBers
4 minutes ago, ebr said:

That's just not true.  With that same logic you could say it isn't direct play if the storage isn't physically connected to the device.  All of these are protocols for delivering the data.  If the data isn't being altered in any way, then it is direct playing that data.

Here we go again.

Not getting into it, but this has been discussed over and over again in the last 8.5 years and agreement has never been reached between users and devs.
 

Link to comment
Share on other sites

There are two forms of Direct Play (file is not touched or changed) in the Emby ecosystem.

All devices support the first method which is Direct Play via http streaming from the Emby Server.
The second method is a hand off of the file path to the client (only some clients can do this and requires special setup) which allows it to play from the file system without going through the Emby Server.

The Shield TV is one of the clients that can Direct Play either way.

Stats for nerds on the Shield will differentiate between the two by listing the playback in Stream type as "HTTP" or "FILE". In both cases SFN will show the Play method as "Direct Play".

The key to this is the client is getting the media file as is and playing it back without the server changing it in any way.  The transport mechanism doesn't matter.

 

  • Like 1
Link to comment
Share on other sites

CBers
35 minutes ago, cayars said:

There are two forms of Direct Play (file is not touched or changed) in the Emby ecosystem.

All devices support the first method which is Direct Play via http streaming from the Emby Server.
The second method is a hand off of the file path to the client (only some clients can do this and requires special setup) which allows it to play from the file system without going through the Emby Server.

The Shield TV is one of the clients that can Direct Play either way.

Stats for nerds on the Shield will differentiate between the two by listing the playback in Stream type as "HTTP" or "FILE". In both cases SFN will show the Play method as "Direct Play".

The key to this is the client is getting the media file as is and playing it back without the server changing it in any way.  The transport mechanism doesn't matter.

 

Thanks, you've made my point.

Streaming is not direct, as it goes though the Emby server.

Using http to get the file from one point to another is streaming.

If you restart the Emby server whilst streaming (http), playback will stop.

If you restart the Emby server during true Direct Play (file), playback will continue.
 

Link to comment
Share on other sites

3 minutes ago, CBers said:

Using http to get the file from one point to another is streaming.

That is a completely arbitrary definition.  That's like saying using the Interstate is flying.  HTTP is a transfer protocol.  So is SMB.  But, as you said, we've had this discussion over and over.  You are stumbling up on the access method instead of the playback method.  But, even using what you call "direct file access" is still using some protocol over a network to access a file remotely (meaning not on the actual device - still in your LAN).

Now, the access is not direct because the server is acting as a middle man but that's not what were trying to get across when we talk about a playback method.  What we care about with the playback method is whether or not a conversion of the video stream or container is taking place.  In the ATV app (which has an option for direct access) we also indicate the access method in the stats.  In 95%+ of cases the access path is irrelevant and it is not a factor at all in this particular case.

Consider this dead horse beaten :).

Link to comment
Share on other sites

pwhodges

But you've been banned from the Olympics! (ref: Modern Pentathlon, 2020/1)

Paul

  • Haha 1
Link to comment
Share on other sites

CBers
18 minutes ago, ebr said:

That is a completely arbitrary definition.  That's like saying using the Interstate is flying.  HTTP is a transfer protocol.  So is SMB.  But, as you said, we've had this discussion over and over.  You are stumbling up on the access method instead of the playback method.  But, even using what you call "direct file access" is still using some protocol over a network to access a file remotely (meaning not on the actual device - still in your LAN).

Now, the access is not direct because the server is acting as a middle man but that's not what were trying to get across when we talk about a playback method.  What we care about with the playback method is whether or not a conversion of the video stream or container is taking place.  In the ATV app (which has an option for direct access) we also indicate the access method in the stats.  In 95%+ of cases the access path is irrelevant and it is not a factor at all in this particular case.

Consider this dead horse beaten :).

Thanks for agreeing with me.
 

Link to comment
Share on other sites

10 minutes ago, CBers said:

Thanks for agreeing with me.
 

He didn't. :)

Direct Play is about the playback method not the transport mechanism.

It's been defined and covered in the KB area:
https://support.emby.media/support/solutions/articles/44001920144-direct-play-vs-direct-streaming-vs-transcoding

Link to comment
Share on other sites

20 minutes ago, FrostByte said:

download.png.9b9080b1c6d46a70c6785ebf18872154.png

I'm reporting you for animal abuse!  LOL

  • Haha 2
Link to comment
Share on other sites

CBers
2 minutes ago, cayars said:

He didn't. :)

Direct Play is about the playback method not the transport mechanism.

It's been defined and covered in the KB area:
https://support.emby.media/support/solutions/articles/44001920144-direct-play-vs-direct-streaming-vs-transcoding

So the KB is wrong - you have Direct Stream mixed up with transcoding/remuxing.

Direct Play is direct from disk, which only the ATV app on a Shield can do, or Emby for Media Centre.

Direct Streaming is an unaltered feed via the server.

We have been over this time and time again on these forums and it never gets resolved.

Perhaps we should continue this conversation elsewhere and not take over C11's thread.

I'm sure @sooty234 started a thread somewhere.
 

Link to comment
Share on other sites

7 minutes ago, CBers said:

So the KB is wrong - you have Direct Stream mixed up with transcoding/remuxing.

Direct Play is direct from disk, which only the ATV app on a Shield can do, or Emby for Media Centre.

Direct Streaming is an unaltered feed via the server.

We have been over this time and time again on these forums and it never gets resolved.

Perhaps we should continue this conversation elsewhere and not take over C11's thread.

I'm sure @sooty234 started a thread somewhere.
 

Sorry CBers but that's just not accurate in the Emby world and has been covered many times already.

Direct streaming in the Emby world can be more than just a package change and always has been. Technically some things that fall into Direct Streaming are "transcoding" but Emby has always considered "light processes" like audio conversion a "direct stream" not a transcode.  Transcode in Emby terms is reserved for when the video is changed (plus anything else) as it's a heavier process.

Link to comment
Share on other sites

Direct Play = Untouched media used as is regardless of transport mechanism
Direct Stream = Light manipulation of the media that most servers can handle like audio conversion, package change, subtitle manipulation, etc
Transcoding = Any modification of the media that at least changes the video in some way which is a heavier process on the system.  May also include any other manipulation of the media as well.

Edited by cayars
Link to comment
Share on other sites

GrimReaper

Well, this debate surely never gets old. 😂 Anyway, although we will never all see eye-to-eye, I do tend to lean towards @CBers's view: word "Direct" should refer to something direct, as-is, unaltered. "Direct Streaming" encompassing Remux simply ain't. Besides, "Streaming" has practically become a synonym for watching something from the web, i.e. linking it to http would surely fit into that mindset, while leaving "Direct Play" only for file serving. Introduce "Remux" category in addition and we would have all bases covered: DirectPlay, DirectStream, Remux, Transcoding. 

  • Like 1
Link to comment
Share on other sites

8 minutes ago, GrimReaper76 said:

Well, this debate surely never gets old. 😂 

Yea it never does.

The technical person in me doesn't always like the terms used either but the 3 classification of streaming have more to do with resource usage IMHO. So if a person is having trouble streaming and you know the type of stream (ie Direct vs Transcode) it's much easier to focus in on potential issues.

Link to comment
Share on other sites

GrimReaper
3 minutes ago, cayars said:

So if a person is having trouble streaming and you know the type of stream (ie Direct vs Transcode) it's much easier to focus in on potential issues

How does that differ from Remux/Transcode? You would know same from the start, "Direct" Play or Stream would only refer to the serving method of unaltered file. 

Edited by GrimReaper76
Link to comment
Share on other sites

35 minutes ago, GrimReaper76 said:

word "Direct" should refer to something direct, as-is, unaltered.

And that is exactly what we are doing when we "Direct play".  Regardless of how the file was transported to the device - it is unaltered when it arrives. 

Link to comment
Share on other sites

GrimReaper
Just now, ebr said:

And that is exactly what we are doing when we "Direct play".  Regardless of how the file was transported to the device - it is unaltered. 

Following same logic, you should drop "Direct" from "Direct Streaming" then and leave it only on "Streaming". As per current iteration, there ain't anything direct with it - it's altered one way or another. 

Link to comment
Share on other sites

1 minute ago, GrimReaper76 said:

you should drop "Direct" from "Direct Streaming"

No, because when we say "Direct Streaming" that means that the video stream is unaltered - only possibly re-packaged in a different container or transport.  So that is a very important distinction.

We've had this conversation at least 10 times and we're just repeating it here.  In the scope of what we're doing and the competition, the terms we are using are correct.

Link to comment
Share on other sites

GrimReaper
12 minutes ago, ebr said:

No, because when we say "Direct Streaming" that means that the video stream is unaltered - only possibly re-packaged in a different container or transport.  So that is a very important distinction.

That's because you're looking only at the video component of a file - and not at an item as a whole. And adjusting terminology to accomodate that. 

Link to comment
Share on other sites

crusher11

None of this has anything to do with my issue. There's now over a page of posts nitpicking a completely irrelevant term, and I still can't watch my video file using the Android TV app.

Link to comment
Share on other sites

GrimReaper
23 minutes ago, ebr said:

We've had this conversation at least 10 times and we're just repeating it here.

Your should really leave your edits visible, I almost missed that one. And yeah, ain't that the truth. Still, it doesn't hurt to debate it every now and then, as they say: "Change is the only constant." 😉

Link to comment
Share on other sites

FrostByte
3 minutes ago, crusher11 said:

None of this has anything to do with my issue. There's now over a page of posts nitpicking a completely irrelevant term, and I still can't watch my video file using the Android TV app.

Your threads are usually 30 pages long anyway, what's another page or so?

  • Haha 5
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
×
×
  • Create New...