Jump to content

Emby want to transcode but 'Emby Classic' happy to play direct.


Nebular Nerd

Recommended Posts

Nebular Nerd

Hi everyone,

 

Running Emby 2.57 and Server 3.1.6014.2369 and for some reason one or the other the setup has decided today that I *Must* transcode everything I try to play through it. I have the User profile transcode options to off as my home network has enough horsepower to deal with anything so I just want direct streams to be played in Potplayer.

 

However good old Media Brower Theatre/Emby Classic plays the file directly just like it should be doing and all is well. Can we just has a big button to turn off transcoding for those that have no need for it?

 

Having a dig through the logs, it's reporting the user agent for Daum Potplayer but also at times Winamp (which is not installed) do I need to make a profile to force direct play for Potplayer now? The movies are being listed as DirectPlay=True in the logs so why the sudden obsession with transcoding?

 

Log attached for anyone who wants a read.

 

 

server-63606729600.txt

Link to comment
Share on other sites

Nebular Nerd

Does the Emby Client use DLNA in some way? The logs are going on about there being an unknown profile when it tries to play a file.

2016-08-14 16:55:17.5487 Info App: Profile: Unknown Profile, Path: \\WIN81SERV\TV and Movies-2\Movies [HiDef]\Batman The Killing Joke [2016]\Batman The Killing Joke.mkv, isEligibleForDirectPlay: True, isEligibleForDirectStream: True

It's most puzzling as equally a bit annoying that the Emby Clients are getting prettier but also less straightforward in functionality, I just want to serve media to to my devices as direct streams. The old Emby Classic is not having this issue so it must be something in the way the new client and the server are interacting.

Link to comment
Share on other sites

Nebular Nerd

Looks like something in Emby 2.5.7 was causing it to have funny ideas about things, 2.5.8 installed about 30 seconds ago and suddenly normal service is restored. Weird and annoying as I have to keep switching between 'New Shiny But Slightly Borked Emby' and 'Old School Never Fails To Work Media Browser/Emby' to watch my content, not what I paying my monthly subscription for...

 

Edit for clarity, in both cases the line I pasted from the log above looks the same but instead of Potplayer trying to play 'stream.mkv' and failing as I have transcode disabled it's now playing the file directly again, 'Killing Joke.mkv' in this example but still starts the log line with this unknown profile stuff before the filename.

 

Hope this helps someone somewhere....

Edited by Nebular Nerd
Link to comment
Share on other sites

Hi, Emby Theater for Windows will direct play the file over the lan without streaming,provided that it can access the file at the path they are configured with in the server library setup. So if you setup the movie library as d:\movies, it's going to be looking for d:\movies. So make sure the machine running Emby Theater can access that location.

Link to comment
Share on other sites

FordGT90Concept

I just noticed I had this problem too.

 

-Windows 10 computer running Live TV off of HDHomeRun via Emby Theater

-Windows Server 2012 R2 running Emby Sever as a service

 

Server shows ffmpeg running using 20%-60% CPU usage.  It shouldn't be using any.  The Windows 10 computer has a i7-6700K, R9 390, and R7 360 graphics cards.

 

Here's a picture of what's happening on the server:
emby-ffmpeg.png

 

Edit: You're right, when it is a DVR'd program, ffmpeg isn't running but a new problem arises in Emby Theater...visible interlacing on motion (look at his face)?

interlaced.jpg

Yeah, it is 1080i (verified) but Emby Theater should be smoothing that out.  I mean, I don't see artefacts like this is, for example, MPC-HC.

Edited by FordGT90Concept
Link to comment
Share on other sites

I just noticed I had this problem too.

 

-Windows 10 computer running Live TV off of HDHomeRun via Emby Theater

-Windows Server 2012 R2 running Emby Sever as a service

 

Server shows ffmpeg running using 20%-60% CPU usage.  It shouldn't be using any.  The Windows 10 computer has a i7-6700K, R9 390, and R7 360 graphics cards.

 

Here's a picture of what's happening on the server:

emby-ffmpeg.png

 

In  your case this is about live tv. try grabbing the latest beta firmware for the HDHomerun.

  • Like 1
Link to comment
Share on other sites

FordGT90Concept

That worked!  Any idea how to fix the interlacing issue (second picture) in Emby Theater?

 

 

Edit: Problem now is that Emby for Android on my MXQ Pro boxes stop streaming almost immediately after starting the stream (h.264, 480p) where they didn't before.  I don't know if that is because of a HDHomeRun change or because of the 6070 update that just installed.

Edited by FordGT90Concept
Link to comment
Share on other sites

Nebular Nerd

Hi, Emby Theater for Windows will direct play the file over the lan without streaming,provided that it can access the file at the path they are configured with in the server library setup. So if you setup the movie library as d:\movies, it's going to be looking for d:\movies. So make sure the machine running Emby Theater can access that location.

 

Path access has never been the issue, if I could not access the path then I would of been asking why 'Movie.mkv' could not be accessed fullstop. At no point before/after/during this did the path access change, the LAN is solid with IPFire handling all DHCP/IP duties and Windows 8.1 on the server running the Homegroup which hosts the shares. All the libraries are added as their UNC path eg: \\WIN81SERV\TV and Movies-2\Movies [bluRay]

 

This has pretty much been the case since way way before the Emby name came along and it's never given me any trouble aside from this weird transcoding fetish all of a sudden.

 

What I was getting at was....

- Why did Emby Theatre 2.5.7 suddenly keep trying to transcode a file that it could clearly see, this is given away by it trying to play 'STREAM.MKV' rather than 'MOVIE.MKV'

- Given that Emby Classic could happily play 'MOVIE.MKV'  as 'MOVIE.MKV' and not 'STREAM.MKV' on the same client system this cleary implied something was up with Theatre.

- Was the 'Unknown Profile' in the log something to do with this? Does Emby Theatre present itself as a DLNA client to the Server?

- Mysteriously resolved when Theatre updated to 2.5.8, not a server issue it seemed in the end as that had not updated at that time.

 

Not mentioned at first but maybe I should of done, the same 'MOVIE.MKV' would happily direct to my Android Tablet running Emby and playing through MX Player Pro, that gets punted across as a stream according the MXPlayer but Audio and Video are unmolested in the properties so I guess that's just a way round Androids limitations as an OS.

 

All this is moot for now as 2.5.8 behaves as it should so hopefully whatever caused it will not reappear.

Edited by Nebular Nerd
Link to comment
Share on other sites

Glad to hear it's solved, but path access was the issue. Nothing changed in the app. Emby Theater will do a quick test to see if it can access the file directly. If that passes, then it plays over the network directly. If that does not pass, then it streams through the server. Nothing really has changed here so more likely something changed related to your network file sharing that is now allowing it to be visible.

Link to comment
Share on other sites

Nebular Nerd

Glad to hear it's solved, but path access was the issue. Nothing changed in the app. Emby Theater will do a quick test to see if it can access the file directly. If that passes, then it plays over the network directly. If that does not pass, then it streams through the server. Nothing really has changed here so more likely something changed related to your network file sharing that is now allowing it to be visible.

 

So does Classic ask for the file differently than Theatre? Surely if that was the case then Classic would of been served the stream as well.

Link to comment
Share on other sites

I would have to review the source for Classic to answer about any possible differences. I can tell you that Theater is just doing a basic check for file existence with the operating system.

Link to comment
Share on other sites

  • 2 weeks later...
tsmarcus

Not to butt in to this conversation but I have a brand new HP (MC2) running Win 7 Pro, I've installed EMBY Classic for Media Center just like I have on my Main HTPC. The New HP computer (MC2) is transcoding everything it plays but when I play the same file (MKV, AnyDVD rips) on the Main HTPC they are Direct Playing. I do have Lav installed.

 

I am pulling my hair out trying to figure this out. what am I missing? Everything is running through cat 5e. 

Link to comment
Share on other sites

Not to butt in to this conversation but I have a brand new HP (MC2) running Win 7 Pro, I've installed EMBY Classic for Media Center just like I have on my Main HTPC. The New HP computer (MC2) is transcoding everything it plays but when I play the same file (MKV, AnyDVD rips) on the Main HTPC they are Direct Playing. I do have Lav installed.

 

I am pulling my hair out trying to figure this out. what am I missing? Everything is running through cat 5e. 

 

Hi there. You might want to check out the wiki on library setup.

 

https://github.com/M...i/Library Setup

 

If the path in server setup is not something the machine with Theater can access, then you can also use path substitution paired with sharing it over the network.

Link to comment
Share on other sites

tsmarcus

Hey Luke, Thanks for the fast reply. I have Library set up on my main HTPC with EMBY Server. like I said everything Direct Playing on the Main HTPC perfect. I have Emby Classic installed & play everything through MC. 

I went ahead and got a HTPC for my niece who lives with us. I've installed the Emby Classic on it & LAV also. But for some reason the newer PC is getting all files transcended. Should I have EMBY Theater installed on the newer PC also? 

 

When I set the original HTPC up, I first installed EMBY Server, ran all the library settings. The installed EMBY Classic & last I installed LAV. Everything played flawless on that HTPC.

So when I got the second HTPC I did everything as before except I didn't install EMBY Server.

My thinking is because I already have EMBY Server on 1 PC already & that PC is working perfect.

I did the EMBY Connect on the 2 HTPC then everything should work the same. Opened up MC, went to EMBY & everything showed up, the same as on the main HTPC.

 

Hope this makes sense. 

Link to comment
Share on other sites

Happy2Play

Right, but how are your libraries setup in Emby Server?  Are they local paths or UNC?  You may have to setup Substitute paths for other machines to be able to access the files directly.

Link to comment
Share on other sites

tsmarcus

Thanks @@Happy2Play

 

So I if am following this correctly All I will need to do is go to the Path Substitution tab in the Server Library and exchange \\DISKSTATION\DVD to?

Where do i look for the correct path? Are they all like the example (\\Server\Movies) given on GetHub?

Or the example on the Path Substitution tab (\\MyServer\Movies)? 

 

 

Sorry, I'm just getting a little confused. 

post-5265-0-48664500-1472702016_thumb.jpg

post-5265-0-49550300-1472702090_thumb.jpg

Edited by tsmarcus
Link to comment
Share on other sites

The ones that are setup as "\\diskstation\.." are probably okay since those are UNC paths.  Where you will have trouble is with the ones that are setup as "M:\...".

 

You will need a path substitution for M:.  Probably something like M: => \\diskstation but that really depends on your individual setup.  The link Luke gave you should explain this.

Link to comment
Share on other sites

tsmarcus

Thanks, @@Luke, Happy2Play & @@ebr for all the help!!!

 

I went ahead & moved the MKV Movies to the Diskstation server to make things as simple as possible.

 

The only Folders the new HTPC has access to are DVD movies, MKV Movies & TV.  All are on the Diskstation Server.

 

Still Transcoding mkv files & DVD movies/TV.

 

Never had any trouble setting up the Main HTPC.  

the only thing different is the 2nd HTPC doesn't have EMBY Server installed.

What is your thinking on installing EMBY Server on a 2nd HTPC? 

 

post-5265-0-28300000-1472863528_thumb.jpg

Link to comment
Share on other sites

tsmarcus

Thanks for the fast response @@Luke

@@ebr thought UNC were ok & I was getting flustered trying to figure out Sub Paths.

So I moved all move to DS & made a new library entry: //DISKSTATION/Movies

I hope this is what you ment.?

 

Again thanks & I hope I'm not irritated or agitating you all! After this is over & fixed I'm Gunna PayPal EMBY 2 more lifetime subscription!

Link to comment
Share on other sites

Ok so at this point all you need to do is ensure the system running Emby Theater can access those paths.

 

If you go to that system and open windows explorer, can you browse to entry: //DISKSTATION/Movies ?

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