mswguitar 1 Posted May 16, 2015 Share Posted May 16, 2015 I noticed since the last server update, some of my files that used to direct stream are now transcoding. Anyone know why? Here is the media info on one that is transcoding: The transcode log (attached) says "SupportsDirectStream":true and I had set my system up a while ago to encode videos in a format that would direct stream. Did the direct stream requirements change or am I missing something? Thanks. transcode-f092b846-43a2-4619-93ad-0cae75b2201b.txt Link to comment Share on other sites More sharing options...
Luke 37068 Posted May 16, 2015 Share Posted May 16, 2015 can you do a quick test and refresh that item in the metadata manager and see if the media info changes? thanks. Link to comment Share on other sites More sharing options...
mswguitar 1 Posted May 16, 2015 Author Share Posted May 16, 2015 Did a refresh and it didn't change. FWIW, the files that seem to transcode now are the ones that say "Anamorphic Yes". The "Anamorphic No" ones seem to direct play fine. Link to comment Share on other sites More sharing options...
Waldonnis 148 Posted May 16, 2015 Share Posted May 16, 2015 I've noticed the same. All of my anamorphic videos are now transcoding for some reason, although the same files were direct streaming in the past using the Roku and Android clients. I even ripped one file twice (anamorphic and non) and the non-anamorphic version direct streamed while the anamorphic one was transcoded when playing. Link to comment Share on other sites More sharing options...
Luke 37068 Posted May 16, 2015 Share Posted May 16, 2015 i am putting up a dev server build that fixes the anamorphic detection on the server, at least for this video. please grab that and then do a manual refresh of the content. Link to comment Share on other sites More sharing options...
mswguitar 1 Posted May 16, 2015 Author Share Posted May 16, 2015 I updated to dev build 3.0.5614.31298, went to metadata manger and refreshed but the Media info is the same, and it's still transcoding. Link to comment Share on other sites More sharing options...
Luke 37068 Posted May 16, 2015 Share Posted May 16, 2015 I updated to dev build 3.0.5614.31298, went to metadata manger and refreshed but the Media info is the same, and it's still transcoding. Ah apologies. Go to the server's program data folder /cache, then delete the ffprobe-video folder. then repeat. Link to comment Share on other sites More sharing options...
mswguitar 1 Posted May 17, 2015 Author Share Posted May 17, 2015 After deleting the ffprobe-video and refreshing the metadata, it updated the media info (Anamorphic is now "No") and now it direct streams, thanks! Is there any way to update my entire library? I tried a normal library scan but it didn't update the media info. Link to comment Share on other sites More sharing options...
Luke 37068 Posted May 17, 2015 Share Posted May 17, 2015 you can use the metadata manager to refresh containing folders. note that the end goal is correct detection of anamorphic. we don't want it to say no just so you can direct stream. some of the apps have filters against anamporhic content for their own reasons Link to comment Share on other sites More sharing options...
mswguitar 1 Posted May 17, 2015 Author Share Posted May 17, 2015 Is this a new restriction for the Roku? It appears as my entire ripped DVD library is anamorphic. Does that mean anything with with anamorphic=yes will transcode? Because I don't recall it being like this in the past. Link to comment Share on other sites More sharing options...
Luke 37068 Posted May 17, 2015 Share Posted May 17, 2015 the app autodetects if the device can play it. i think most newer ones can Link to comment Share on other sites More sharing options...
mswguitar 1 Posted May 17, 2015 Author Share Posted May 17, 2015 Ah, so it's the Roku App that requests it to transcode? I enabled developer mode on my Roku so I could do some testing. I tried installing older versions of the app and it looks like direct streaming was working fine up through version 1.87. After that, it transcodes many videos that used to stream. Link to comment Share on other sites More sharing options...
Luke 37068 Posted May 17, 2015 Share Posted May 17, 2015 Try to find out why. Server log will say. Link to comment Share on other sites More sharing options...
mswguitar 1 Posted May 17, 2015 Author Share Posted May 17, 2015 I cleared out the logs just before pressing play. I couldn't see anything in the server log that said why, the first line that showed up was the ffmpeg call. I've attached the server log and transcode log if you want to take a look. These are from version 1.91. server-63567417600.txt transcode-d9425b71-9d98-4f00-8c6f-7702d0bebefe.txt Link to comment Share on other sites More sharing options...
Luke 37068 Posted May 17, 2015 Share Posted May 17, 2015 2.06 is the latest. Make sure the log is in debug mode Link to comment Share on other sites More sharing options...
mswguitar 1 Posted May 17, 2015 Author Share Posted May 17, 2015 From 2.06: Debug - App: Starting transcoding because currentTranscodingIndex=null server-63567450634.txt Link to comment Share on other sites More sharing options...
Luke 37068 Posted May 17, 2015 Share Posted May 17, 2015 That's not it. Please always post the full log Link to comment Share on other sites More sharing options...
mswguitar 1 Posted May 17, 2015 Author Share Posted May 17, 2015 Full log was attached. Link to comment Share on other sites More sharing options...
Luke 37068 Posted May 17, 2015 Share Posted May 17, 2015 OK in this case it's failing the anamorphic check. If the video is incorrectly detected as anamorphic try refreshing it since I've put that fix in Link to comment Share on other sites More sharing options...
mswguitar 1 Posted May 17, 2015 Author Share Posted May 17, 2015 Here's the media info: This was ripped off the DVD, so I'm guessing the Anamorphic value is correct. So I guess the questions is, why does that matter for transcoding? Version 1.87 direct streams the file, versions later than that transcode. Link to comment Share on other sites More sharing options...
Luke 37068 Posted May 17, 2015 Share Posted May 17, 2015 because not all rokus support anamorphic content so we've had to resolve issues the other way around where we were direct streaming content that we shouldn't be. so i guess we will need to look again at the determination of what the device supports. you might also want to make sure you're running the latest roku firmware. Link to comment Share on other sites More sharing options...
mswguitar 1 Posted May 18, 2015 Author Share Posted May 18, 2015 Makes sense. I am running the latest firmware as far as I can tell (6.2). For now I'll use 1.87 on my Rokus. Thanks for all of you help! Link to comment Share on other sites More sharing options...
Luke 37068 Posted May 18, 2015 Share Posted May 18, 2015 You could also research this a little to see if we should adjust the firmware version we're checking for. That way we can improve it and you can enjoy the latest version. Link to comment Share on other sites More sharing options...
mswguitar 1 Posted May 18, 2015 Author Share Posted May 18, 2015 My initial research leads me to believe that firmware >= 6.x should support anamorphic, but I'm failrly new to video encoding and the Roku platform (I've been using it for less than a year). I AM a software developer and I would love to contribute to Emby (I LOVE this software) but I don't want to promise something that I can't deliver (my wife/kids consume a large amount of my free time =) Since you appear to be the main contributor, I figured you probably know what changed with the Roku code since version 1.87 to force transcoding. If there's something specific you want me to research or can steer me in the right direction, I'll do my best to help out if I can. Again, I do appreciate your help with this. I've tried Plex in that past and Emby blows it away, IMO. Since cutting the cord last year, it has become my family's most-used media software and the primary way we watch movies/tv. Link to comment Share on other sites More sharing options...
Solution speechles 1919 Posted May 18, 2015 Solution Share Posted May 18, 2015 (edited) https://github.com/MediaBrowser/Emby.Roku/pull/98 Appears the capabilities.brs was not respecting if the roku could play anamorphic videos or not and was applying the restriction that anamorphic support is always false. Rather rude, right? The playsAnamorphic global variable already exists which detects this, which made applying to capabilities easy. This should fix the problem. Edited May 18, 2015 by speechles 2 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now