FAQ  •  Register  •  Login

Roku Profile Not Transcoding

<<

sharkbit

Serviio newbie

Posts: 10

Joined: Tue Jan 21, 2014 6:46 pm

Post Sun Nov 16, 2014 5:29 pm

Roku Profile Not Transcoding

I have a ROKU 3, and have notices it's not trans-coding (tc) things that I need tc. My system will not handle AAC, or WMV / ASF files. so i have added a few lines in the tc profile of ROKU.

  Code:
<Video targetContainer="flv" targetACodec="ac3" aBitrate="384">
   <Matches container="flv" aCodec="aac"/>
</Video>
<Video targetContainer="mpeg" targetVCodec="mpeg2video" >
   <Matches container="asf" vCodec="wmv2"/>
</Video>


But when I look at the logs with Debug on nothing is getting tc:

  Code:
DEBUG [VideoDeliveryEngine] Retrieving resource information for item 1746, format FLV and profile Chaneru
DEBUG [VideoDeliveryEngine] Delivering item '1746' for client 'Identifier=192.168.xx.xx, Profile=Chaneru'
DEBUG [VideoDeliveryEngine] Delivering file 'mymovie.flv' in native format
   
DEBUG [VideoDeliveryEngine] Retrieving resource information for item 1745, format VC1_ASF_AP_L2_WMA and profile Chaneru
DEBUG [VideoDeliveryEngine] Delivering item '1745' for client 'Identifier=192.168.xx.xx, Profile=Chaneru'
DEBUG [VideoDeliveryEngine] Delivering file 'Morning.wmv' in native format
Samsung E6500 | ROKU 3 x2 | XBOX 360 | iPad
This Media Server Kicks Ars!
<<

Illico

User avatar

DLNA master

Posts: 4646

Joined: Fri Jul 23, 2010 8:08 am

Location: France

Post Sun Nov 16, 2014 6:51 pm

Re: Roku Profile Not Transcoding

After profiles.xml modification, you have to restart serviio services (not server) or reboot PC to reload profiles.
<<

atc98092

User avatar

DLNA master

Posts: 5436

Joined: Fri Aug 17, 2012 10:22 pm

Location: Washington (the state)

Post Sun Nov 16, 2014 7:42 pm

Re: Roku Profile Not Transcoding

sharkbit, are you using Chaneru as the Roku channel to play these videos, or the Roku Media Player? I see you are using the Chaneru profile, but for the RMP you really should use the RMP profile.
Dan

LG NANO85 4K TV, Samsung JU7100 4K TV, Sony BDP-S3500, Sharp 4K Roku TV, Insignia Roku TV, Roku Ultra, Premiere and Stick, Nvidia Shield, Yamaha RX-V583 AVR.
Primary server: AMD Ryzen 5 5600GT, 32 gig ram, Windows 11 Pro, 22 TB hard drive space | Test server: Intel i5-6400, 16 gig ram, Windows 10 Pro

HOWTO: Enable debug logging HOWTO: Identify media file contents
<<

sharkbit

Serviio newbie

Posts: 10

Joined: Tue Jan 21, 2014 6:46 pm

Post Mon Nov 17, 2014 6:51 pm

Re: Roku Profile Not Transcoding

I typically close Serviio then restart the service so I can delete or save the old log file, but i have also rebooted the PC with no change.

I use Chaneru as it's menus are better than Roku Media Player and Chaneru shows all files in a dir rather that only supported. I tried to use RMP and like i previously mentioned the files in question didn't show up. so Serviio should be transcoding them .... ?
Samsung E6500 | ROKU 3 x2 | XBOX 360 | iPad
This Media Server Kicks Ars!
<<

atc98092

User avatar

DLNA master

Posts: 5436

Joined: Fri Aug 17, 2012 10:22 pm

Location: Washington (the state)

Post Tue Nov 18, 2014 12:39 am

Re: Roku Profile Not Transcoding

Chaneru will only play files in TS or MP4 format. He was using applehttp for transcoding, but we found that TS worked better. Not sure why you'd want to see a file you can't play. The RMP has pretty good metadata support as well. Chaneru gets its metadata online, rather than what is stored on Serviio, and doesn't always get the title correct. I still have Chaneru and would love to see him get his working better. I'm not slamming him in the slightest.

The Roku Media Player will play MKV files and pass AC3 and DTS audio through to your AV receiver (assuming you are using one). As much as I supported Jim while he was making Chaneru work, the RMP is far easier and faster to use, at least on my Roku 2. It's a shame, because he put so much effort into it, and then Roku came out with a product that overtook him. I do question if there were some kind of internal code they used that developers weren't given access to, because there's such a performance delta between the two.

The major problem with the Roku is that it will not play any file that uses MPEG2 video without transcoding. Of course, all DVD rips will have MPeG2 video, unless they are ripped into something different. So my 2000+ MKV files from DVDs still have to be transcoded. The only Roku product that supports MPEG2 is the Roku TV, which I understand is only available built into a television (don't know who offers them).

For my Roku players, here's the video transcoding section I use. It plays everything I have.

  Code:
<Video targetContainer="mpegts" targetVCodec="h264" maxVBitrate="12000" targetACodec="ac3">
            <!-- <Video targetContainer="applehttp" targetVCodec="h264" targetACodec="aac"> -->
            <Matches container="asf" />
            <Matches container="mpegvideo" />
            <Matches container="mpeg" />

            <Matches container="mpegts" />
            <Matches container="matroska" />
            <Matches container="avi" />
            <Matches container="flv" />
            <Matches container="wtv" />
            <Matches container="ogg" />
            <Matches container="3gp" />
            <Matches container="rtp" />
            <Matches container="rtsp" />
            <Matches container="rm" />
         </Video>
         <Video targetContainer="mpegts" targetACodec="aac" aBitrate="320">
            <!-- <Matches container="matroska" aCodec="dca" /> -->
            <Matches container="matroska" aCodec="vorbis" />
            <Matches container="ogg" vCodec="mpeg4" />
            <Matches container="mp4" aCodec="lpcm" />
         </Video>
         <Video targetContainer="mpegts">
            <Matches container="matroska" vCodec="h264" />
            <Matches container="flv" vCodec="h264" />
         </Video>
         <Video targetContainer="asf" targetVCodec="wmv2" targetACodec="wmav2" maxVBitrate="15360" forceStereo="true">
            <Matches container="*" vCodec="mpeg2video" />
            <Matches container="*" vCodec="dvvideo" />
            <Matches container="wtv" />
            <Matches container="ogg" />
            <Matches container="flv" />
            <Matches container="rm" />
         </Video>
Dan

LG NANO85 4K TV, Samsung JU7100 4K TV, Sony BDP-S3500, Sharp 4K Roku TV, Insignia Roku TV, Roku Ultra, Premiere and Stick, Nvidia Shield, Yamaha RX-V583 AVR.
Primary server: AMD Ryzen 5 5600GT, 32 gig ram, Windows 11 Pro, 22 TB hard drive space | Test server: Intel i5-6400, 16 gig ram, Windows 10 Pro

HOWTO: Enable debug logging HOWTO: Identify media file contents
<<

sharkbit

Serviio newbie

Posts: 10

Joined: Tue Jan 21, 2014 6:46 pm

Post Tue Nov 18, 2014 7:44 pm

Re: Roku Profile Not Transcoding

Okay, understand all that, BUT I don't believe Serviio is trans-codding my files... i only find the below message in the log it never says it's Trans-codding anything? Although I re-encode most of my files because I'm aware of the issue i would rather not, and just let my pc do it on the fly. I know I'm editing the right profile and the logs say that profile is detected.
  Code:
DEBUG [VideoDeliveryEngine] Delivering file 'movie.wmv' in native format
DEBUG [VideoDeliveryEngine] Delivering item 'xx' for client 'Identifier=192.168.yy.zz, Profile=Chaneru'
Shouldn't the log say trans-codding or using TC, the only reference i ever see in the DEBUG log is
  Code:
[AbstractTranscodingDeliveryEngine] Cleaning transcode engine and its data
Samsung E6500 | ROKU 3 x2 | XBOX 360 | iPad
This Media Server Kicks Ars!
<<

atc98092

User avatar

DLNA master

Posts: 5436

Joined: Fri Aug 17, 2012 10:22 pm

Location: Washington (the state)

Post Wed Nov 19, 2014 12:34 am

Re: Roku Profile Not Transcoding

I'm unsure how it gets logged. Never paid attention :lol:

One sure way to see if transcoding is happening is to see if FFMPEG is running after you start the movie. If you are using Windows, Serviio runs as a system service, so in Task Manager you have to select "Show processes from all users" on the Processes tab. And of course you have Transcoding enabled on the Delivery tab in the Serviio console. This tab also says where the transcoded files are stored during transcoding. You could look there to see if a file appears there when playback begins.
Dan

LG NANO85 4K TV, Samsung JU7100 4K TV, Sony BDP-S3500, Sharp 4K Roku TV, Insignia Roku TV, Roku Ultra, Premiere and Stick, Nvidia Shield, Yamaha RX-V583 AVR.
Primary server: AMD Ryzen 5 5600GT, 32 gig ram, Windows 11 Pro, 22 TB hard drive space | Test server: Intel i5-6400, 16 gig ram, Windows 10 Pro

HOWTO: Enable debug logging HOWTO: Identify media file contents
<<

sharkbit

Serviio newbie

Posts: 10

Joined: Tue Jan 21, 2014 6:46 pm

Post Thu Nov 20, 2014 8:04 pm

Re: Roku Profile Not Transcoding

Let me take this a little farther, I changed up my trans-codding section in the Chaneru Profile and told it to convert everything to asf. Doing this should make all my videos unplayable on the roku. But nothing is getting TC, all my videos are showing up as their original format/codec.

  Code:
      <Transcoding>
         <Video targetContainer="asf" targetVCodec="wmv2" targetACodec="wmav2" maxVBitrate="15360" forceStereo="true">
            <Matches container="*" />
         </Video>
      </Transcoding>
Instead of displaying all files as asf and generating a new file headder with the requested format, it still says delivering in native format...
  Code:
DEBUG [VideoDeliveryEngine] Retrieving resource information for item 0000, format AVC_MP4_MP_HD_720p_AAC and profile Chaneru
DEBUG [VideoDeliveryEngine] Delivering item '0000' for client 'Identifier=192.168.xx.yy, Profile=Chaneru'
DEBUG [VideoDeliveryEngine] Delivering file 'Menchie.mp4' in native format
DEBUG [GETMethodProcessor] Stream entity has length: 387760
DEBUG [ResourceTransportRequestHandler] HTTP/1.1 206 Partial Content, headers = [[Content-Type: video/mp4,Content-Length: 387760,Date: Thu, 20 Nov 2014 19:28:02 GMT,Server: Windows 7, UPnP/1.0 DLNADOC/1.50, Serviio/1.4.1.2,Cache-control: no-cache,Content-Range: bytes 691065559-691453318/691453319,transferMode.dlna.org: Streaming,realTimeInfo.dlna.org: DLNA.ORG_TLAG=*]]


DEBUG [VideoDeliveryEngine] Retrieving resource information for item 0001, format MATROSKA and profile Chaneru
DEBUG [VideoDeliveryEngine] Delivering item '0001' for client 'Identifier=192.168.yy.xx, Profile=Chaneru'
DEBUG [VideoDeliveryEngine] Delivering file 'Mit.mkv' in native format
DEBUG [GETMethodProcessor] Stream entity has length: 541636234
DEBUG [ResourceTransportRequestHandler] HTTP/1.1 206 Partial Content, headers = [[Content-Type: video/x-matroska,Content-Length: 541636234,Date: Thu, 20 Nov 2014 19:28:53 GMT,Server: Windows 7, UPnP/1.0 DLNADOC/1.50, Serviio/1.4.1.2,Cache-control: no-cache,Content-Range: bytes 5551-541641784/541641785,transferMode.dlna.org: Streaming,realTimeInfo.dlna.org: DLNA.ORG_TLAG=*]]

I've even gone so far as to add that TC statement to the default profile, and still no change on any of my systems ROKU or my Samsung
Samsung E6500 | ROKU 3 x2 | XBOX 360 | iPad
This Media Server Kicks Ars!
<<

atc98092

User avatar

DLNA master

Posts: 5436

Joined: Fri Aug 17, 2012 10:22 pm

Location: Washington (the state)

Post Fri Nov 21, 2014 1:22 pm

Re: Roku Profile Not Transcoding

OK, I'm now stumped. This is making no sense, as my settings transcode almost everything to my Roku. Only my MP4 videos will play native. Someone else is going to need to chime in here.

Zip?
Dan

LG NANO85 4K TV, Samsung JU7100 4K TV, Sony BDP-S3500, Sharp 4K Roku TV, Insignia Roku TV, Roku Ultra, Premiere and Stick, Nvidia Shield, Yamaha RX-V583 AVR.
Primary server: AMD Ryzen 5 5600GT, 32 gig ram, Windows 11 Pro, 22 TB hard drive space | Test server: Intel i5-6400, 16 gig ram, Windows 10 Pro

HOWTO: Enable debug logging HOWTO: Identify media file contents
<<

sharkbit

Serviio newbie

Posts: 10

Joined: Tue Jan 21, 2014 6:46 pm

Post Sat Nov 22, 2014 2:03 pm

Re: Roku Profile Not Transcoding

Here are my Configs to help figure this out.
Samsung E6500 | ROKU 3 x2 | XBOX 360 | iPad
This Media Server Kicks Ars!
<<

sharkbit

Serviio newbie

Posts: 10

Joined: Tue Jan 21, 2014 6:46 pm

Post Thu Nov 27, 2014 3:30 pm

Re: Roku Profile Not Transcoding

Found the issue! I had some Old Online plugins (Comedy channel, discovery, and something else) after deleting all the plugins and restarting the service, it reads my trans-codding.

Can we add a targetContainer of MKV / matroska to the Profile validation Schema?
Samsung E6500 | ROKU 3 x2 | XBOX 360 | iPad
This Media Server Kicks Ars!
<<

atc98092

User avatar

DLNA master

Posts: 5436

Joined: Fri Aug 17, 2012 10:22 pm

Location: Washington (the state)

Post Fri Nov 28, 2014 2:31 am

Re: Roku Profile Not Transcoding

Glad you found the issue. I never would have thought of that.

The Roku profile extends the default profile (#1), which has the Matroska schema identified. Shouldn't be a problem. I can play every MKV file I have with no issues. Remember that all Roku players (except Roku TV) won't play MPEG2 video, regardless of container. Therefore anything with MPEG2 video must be transcoded.
Dan

LG NANO85 4K TV, Samsung JU7100 4K TV, Sony BDP-S3500, Sharp 4K Roku TV, Insignia Roku TV, Roku Ultra, Premiere and Stick, Nvidia Shield, Yamaha RX-V583 AVR.
Primary server: AMD Ryzen 5 5600GT, 32 gig ram, Windows 11 Pro, 22 TB hard drive space | Test server: Intel i5-6400, 16 gig ram, Windows 10 Pro

HOWTO: Enable debug logging HOWTO: Identify media file contents

Return to Transcoding

Who is online

Users browsing this forum: No registered users and 28 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.