whitestrat13 33 Posted April 14, 2014 Share Posted April 14, 2014 I have been using handbrake's high profile to encode DVD's and blu-rays to lower bit rate *.mp4 files. I have opted to keep both a stereo track, and surround mix in AAC. Recently, I noticed that all of my movies are transcoding to the roku. Has anyone had success with settings for direct play on roku? I want the best quality possible for both DVD and blu ray titles. I don't have much horsepower on my server, so avoiding transcoding to the roku is important. Thanks for all the help. Link to comment Share on other sites More sharing options...
Koleckai Silvestri 1150 Posted April 14, 2014 Share Posted April 14, 2014 Default bit rate in the MediaBrowser settings is roughly 3 Mbps. Increasing this if you can will help reduce the transcoding needs. If you're using a wired connection, you can go up to 20 Mbps. If you have audio passthru, set the Roku to surround sound. You do this in the Roku's settings. Otherwise, you want to make the 2 channel AAC track the default audio in the container. Link to comment Share on other sites More sharing options...
gcw07 347 Posted April 14, 2014 Share Posted April 14, 2014 Video should be h264 mp4 video with aac audio. There are more specifics, but that should catch most files. Also be sure to do what Wayne suggested and up the default bitrate on the Roku to something above your current video your trying to play. Link to comment Share on other sites More sharing options...
whitestrat13 33 Posted April 14, 2014 Author Share Posted April 14, 2014 Thanks for the quick replies. I do have the max bit rate set to 20 mbs (I have a roku 3 on ethernet) here is some info for LOTR: the return of the king (DVD): Video CodecH264ProfileMainLevel30Resolution720x480Aspect Ratio4:3InterlacedNoFramerate23.9821Bitrate1481 kbps Audio LanguageengCodecAACLayoutstereoBitrate159 kbpsSample Rate48000 khzDefaultYes Subtitle LanguageundCodecMOV_TEXTDefaultNoForcedNoExternalNo Any thoughts? Link to comment Share on other sites More sharing options...
gcw07 347 Posted April 14, 2014 Share Posted April 14, 2014 That is causing a transcode? Also making sure, but your not trying to play with subtitles. Subtitles will always cause a transcode. Link to comment Share on other sites More sharing options...
whitestrat13 33 Posted April 14, 2014 Author Share Posted April 14, 2014 I just tried it again, and selected "none" under subtitles. I still see ffmpeg running on the server, consuming about 30% cpu. Link to comment Share on other sites More sharing options...
gcw07 347 Posted April 14, 2014 Share Posted April 14, 2014 Don't select anything. Just select play at the top. Link to comment Share on other sites More sharing options...
whitestrat13 33 Posted April 15, 2014 Author Share Posted April 15, 2014 It still seems to be transcoding.I want to work on re ripping my entire library to MKV files this summer. Then I want to make new h.264 mp4's for the roku and mobile clients (Since the server now supports multiple versions of each video/episode). Re encoding is going to happen eventually, I would just prefer not to have to do it multiple times for over a TB of MKV's. I may just have to do some trial and error when I get some free time. Link to comment Share on other sites More sharing options...
Redshirt 1487 Posted April 15, 2014 Share Posted April 15, 2014 Can you post a server log so gcw can see what is being requested Link to comment Share on other sites More sharing options...
gcw07 347 Posted April 15, 2014 Share Posted April 15, 2014 If it is still transcoding when you just click play, can we get the media info from the item. Goto the admin area of the web client. From there select the "Advanced" tab and make sure enable debug logging is checked. If it isn't, check it and save. Not sure if it requires a reset of the server, but it might. Then in the system tray on your server's computer, there is the Media Browser icon running. Right click it and select "Open Library Viewer". Then find that item and copy the Media Streams array. It will look something like this: Media Streams: [ { "Codec": "mpeg2video", "Language": "eng", "IsInterlaced": false, "BitRate": 4795611, "IsDefault": true, "IsForced": false, "Height": 480, "Width": 720, "AverageFrameRate": 29.97003, "RealFrameRate": 29.97003, "Profile": "Main", "Type": "Video", "AspectRatio": "16:9", "Index": 0, "IsExternal": false, "Level": 8 }, { "Codec": "ac3", "Language": "eng", "IsInterlaced": false, "ChannelLayout": "5.1", "BitRate": 384000, "Channels": 6, "SampleRate": 48000, "IsDefault": true, "IsForced": false, "Type": "Audio", "Index": 1, "IsExternal": false, "Level": 0 } If we can see that it can help us narrow down why it is still transcoding. Thanks. Link to comment Share on other sites More sharing options...
whitestrat13 33 Posted April 15, 2014 Author Share Posted April 15, 2014 Thanks everyone for the prompt responses: I believe this is what you were asking for. Media Streams: [ { "Codec": "h264", "Language": "und", "IsInterlaced": false, "BitRate": 1481688, "IsDefault": true, "IsForced": false, "Height": 480, "Width": 720, "AverageFrameRate": 23.9821, "RealFrameRate": 59.94006, "Profile": "Main", "Type": "Video", "AspectRatio": "4:3", "Index": 0, "IsExternal": false, "Level": 30 }, { "Codec": "aac", "Language": "eng", "IsInterlaced": false, "ChannelLayout": "stereo", "BitRate": 159942, "Channels": 2, "SampleRate": 48000, "IsDefault": true, "IsForced": false, "Type": "Audio", "Index": 1, "IsExternal": false, "Level": 0 }, { "Codec": "mov_text", "Language": "und", "IsInterlaced": false, "IsDefault": false, "IsForced": false, "Type": "Subtitle", "Index": 2, "IsExternal": false, "Level": 0 } ] Link to comment Share on other sites More sharing options...
Tikuf 663 Posted April 15, 2014 Share Posted April 15, 2014 (edited) Roku is transcoding because it is not capable play back of 59.94006 frame per second content (it is likely that the content is not actually 59.94006 fps it is more likely it is 29ish and interlaced or at least the original source was and that value wasn't changed during your conversion) Edited April 15, 2014 by Tikuf Link to comment Share on other sites More sharing options...
whitestrat13 33 Posted April 16, 2014 Author Share Posted April 16, 2014 So is this something that can be fixed by altering metadata? Or does this require a re encode to fix? Link to comment Share on other sites More sharing options...
Tikuf 663 Posted April 16, 2014 Share Posted April 16, 2014 (edited) TBH I am not sure. I don't know if ffprobe is calculating that value or reading it from the embedded metadata in the file. You could try running it through mvkmerge gui and changing the fps to see if it makes a difference. (the fps section in the below image) Edited April 16, 2014 by Tikuf Link to comment Share on other sites More sharing options...
whitestrat13 33 Posted April 16, 2014 Author Share Posted April 16, 2014 I'll give that a try. I also noticed that even my DVD MKV's are transcoding. This doesn't have the same frame rate error. Any thoughts? Media Streams: [ { "Codec": "mpeg2video", "Language": "eng", "IsInterlaced": false, "BitRate": 4980206, "IsDefault": false, "IsForced": false, "Height": 480, "Width": 720, "AverageFrameRate": 29.97003, "RealFrameRate": 29.97003, "Profile": "Main", "Type": "Video", "AspectRatio": "16:9", "Index": 0, "IsExternal": false, "PixelFormat": "yuv420p", "Level": 8 }, { "Codec": "ac3", "Language": "eng", "IsInterlaced": false, "ChannelLayout": "5.1", "BitRate": 448000, "Channels": 6, "SampleRate": 48000, "IsDefault": false, "IsForced": false, "Type": "Audio", "Index": 1, "IsExternal": false, "Level": 0 }, { "Codec": "ac3", "Language": "eng", "IsInterlaced": false, "ChannelLayout": "stereo", "BitRate": 192000, "Channels": 2, "SampleRate": 48000, "IsDefault": false, "IsForced": false, "Type": "Audio", "Index": 2, "IsExternal": false, "Level": 0 } Link to comment Share on other sites More sharing options...
Tikuf 663 Posted April 16, 2014 Share Posted April 16, 2014 Roku doesnt support mpeg2 Link to comment Share on other sites More sharing options...
whitestrat13 33 Posted April 16, 2014 Author Share Posted April 16, 2014 Duh, thank you. Link to comment Share on other sites More sharing options...
gcw07 347 Posted April 16, 2014 Share Posted April 16, 2014 Also just wanted to make sure. Can you copy the rest of the data from the library viewer on that one that is transcoding? Thanks. Link to comment Share on other sites More sharing options...
whitestrat13 33 Posted April 16, 2014 Author Share Posted April 16, 2014 So I decided to re encode a test file (from the previous MKV). I put it on a flash drive, and it played with the Roku Media Player Channel. Though, when I play it with media browser, it is still transcoding. The media info is attached. Thanks for being so patient with my noob questions. I love you man.txt Link to comment Share on other sites More sharing options...
whitestrat13 33 Posted April 16, 2014 Author Share Posted April 16, 2014 @@gcw07 Here is the whole file Full info.txt Link to comment Share on other sites More sharing options...
gcw07 347 Posted April 16, 2014 Share Posted April 16, 2014 That is just the media streams. I would need the entire data from that right pane. I want to check out some other data on the file. Thanks. Link to comment Share on other sites More sharing options...
gcw07 347 Posted April 16, 2014 Share Posted April 16, 2014 Spoke too soon. Thanks. Link to comment Share on other sites More sharing options...
gcw07 347 Posted April 16, 2014 Share Posted April 16, 2014 Can you show me the full path for the LOTR file too. Or just the full metadata on that one too. I think we know what it is, but want to make sure. Link to comment Share on other sites More sharing options...
whitestrat13 33 Posted April 16, 2014 Author Share Posted April 16, 2014 Here it is: The Return of the King.txt Link to comment Share on other sites More sharing options...
gcw07 347 Posted April 16, 2014 Share Posted April 16, 2014 Thanks. We need to do a little testing locally, but think we know the problem and if it is confirmed, it should be fixed in the next release. 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