Discussions

More than a smart TV—a better TV. Learn more about using your Roku TV, locate help resources, and share your experience.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
syalam
Level 8

Roku TV gets 'no compatible file found' error when streaming video from Windows Media Player

Hi, I'd really appreciate any help with the following:

I've managed to set up streaming on my home network from my Windows 10 PC using Windows Media Player as the DLNA server, to the TCL Roku TV. Roku Media Player is able to see the folders that are being shared, and can open image files.

However, when navigating to folders containing video content, I get an error: 'no compatible files found'. The video file is an .mkv file playable on the PC. Using VLC media player I've confirmed that the file has:

  1. Video codec MPEG-H Part 2/HVEC (H.265)
  2. Audio codec MPEG AAC Audio (mp4a)

plus various subtitle streams. These video and audio codecs should be compatible with Roku.

8 REPLIES 8\
boogernose
Level 18

Re: Roku TV gets 'no compatible file found' error when streaming video from Windows Media Player

you should talk to this guy @atc98092 

---A problem clearly stated is a problem half solved---.
0 Kudos
atc98092
Community Streaming Expert

Re: Roku TV gets 'no compatible file found' error when streaming video from Windows Media Player

Gee, it's nice to be wanted, err, needed... Smiley Very Happy

First, I'll say that Windows Media Server is a terrible DLNA server. It has virtually no transcoding support, which of course might not be a problem if the media is all compatible. But as you've found, sometimes the media won't play, even if it appears correct. And if offers no ability to gather metadata to improve your user experience.

So, let's look at what you have. You didn't say so, but I'm assuming your TCL Roku TV supports 4K, so H.265 should play fine. For most Roku players, AAC audio is only supported if it's two channel. If your audio is 5.1, it won't play. But Roku TVs are supposed to convert 5.1 AAC to stereo PCM. My guess is that Windows Media Server is messing with either the video or audio. 

I strongly suggest trying a different software DLNA server product. There are many that are either free, or offer a free version with a paid upper level product. Also, some servers have their own dedicated Roku channel/app that offers an interface more resembling Netflix or Prime Video. Plex (http://plex.tv) and Emby (https://emby.media) are two examples of these. 

For a standalone DLNA server that works well with Roku devices, I recommend Serviio. (http://www.serviio.org) Disclaimer: I created the Roku profiles that are included with Serviio, so I know in detail how they work, but I do not work for them. Serviio is free (has a paid Pro version that isn't necessary for home use), gathers metadata, has versions for Windows, Mac, Linux and NAS devices, and has a number of profiles developed specifically for Roku devices (yes, that's what I created). Once installed and configured, you must select the appropriate profile for your Roku device. I could never get the profiles to assign themselves accurately to a device, you you must choose it yourself. For your TCL TV, that would be the "Roku 4K TV" profile. If a file will play without transcoding, Serviio sends it native. If transcoding is required, it determines if it's just the audio, video, or both that need it. It then does what's needed for playback.

For more information about exactly what Roku devices support see this page for addition detail. It's mostly accurate, except they don't list the TS container (TS/M2TS) as supported, although it is.

Dan

Roku Community Streaming Expert

Help others find this answer and click "Accept as Solution."
If you appreciate my answer, maybe give me a Kudo.

I am not a Roku employee, just another user.
syalam
Level 8

Re: Roku TV gets 'no compatible file found' error when streaming video from Windows Media Player

Wow, thanks for such a detailed answer! Okay, after poking around for another couple of hours I'm more than convinced that it's not worth my time poking around with Windows Media Server. I have no preference between using Plex, Serviio, or any other DLNA server, but if you're willing to help and you know most about Serviio, let's just assume I'm going with that. The TV is indeed 4k.

I've managed to install Serviio, and I can view and play all the video files through Roku Media Player. However, I'm now facing a couple of problems. (A) the video playback pauses intermittently and has to 'load' more content - I see the 'xx%' and the circle going around on the screen. And (B), I loaded up a foreign language film with (I believe) embedded subtitles; the subtitles show up fine when played using VLC on the server, but not when streamed to the TV.

So, some questions:

1. The bottleneck in (A) could be due to transcoding or wifi. The file I'm using should be supported by Roku (although it is in a mkv container), so that makes me believe it's not a transcoding bottleneck. On the other hand, when I open up task manager while streaming I can see the transcoding process hogging the CPU. How should I diagnose and resolve this issue? I could try re-encoding the file, but from what I can tell it should already be supported by Roku.

2. The subtitle issue was also showing up when I was using Plex. Will selecting the right Roku TV profile for Serviio fix this issue? I wasn't able to find the menu in the Serviio console to change the profile.

 

EDIT:

1. Turning off 'produce the best video quality' seems to have fixed the stuttering problem.

2. I figured out from your post in this forum: https://forum.serviio.org/viewtopic.php?f=7&t=24489 - how to change the profile. I changed it to Roku 4k TV profile, and it seems to have fixed subtitles, but now sound is broken. 'Downmix to stereo' is selected, 'include all available audio tracks' is not.

The TV is a TCL 55R613 TV. Under system info it also says Roku TV 7120X

0 Kudos
atc98092
Community Streaming Expert

Re: Roku TV gets 'no compatible file found' error when streaming video from Windows Media Player

OK, it seems that Roku doesn't support MP4 audio. That surprises me, as they do support the MP4 container. But here's the complete list of codecs supported (note that the dot names are the containers, such as .MKV, .MP4, and not the codec): 

Audio – AAC (.MKV, .MP4, .MOV); MP3(.MP3, .MKV); WMA (.ASF, .WMA, .MKV), FLAC (.FLAC, .MKV), PCM (.WAV, .MKV, .MP4, .MOV), AC3/EAC3 (.MKV,.MP4. .MOV, .AC3), DTS (.MKV, .MP4, .MOV,.DTS), ALAC (.MKV, .MP4, .MOV, .M4A), Vorbis (.OGG,.MKV,.WEBM)

MP4A doesn't appear to be the same as AAC, but the information seems confusing when I search for it. There seems to be more than one possible codec reporting as MP4a. There's no Matches configuration for the profile to find MP4 audio, so I'm a little puzzled on how to handle this. Maybe it's this codec in the MKV container that's the issue. But that doesn't seem likely either.

I know in your original post you included the codecs reported, but could you post the precise output from the ffmpeg -i command? My sig line in the Serviio forum explains exactly how to do that. That might offer some idea what's missing here. I know I could use a Matches line for AAC and transcode it to AC3, but I'd like to really understand what's happening here before I use that heavy of a hammer. 

Dan

Roku Community Streaming Expert

Help others find this answer and click "Accept as Solution."
If you appreciate my answer, maybe give me a Kudo.

I am not a Roku employee, just another user.
0 Kudos
syalam
Level 8

Re: Roku TV gets 'no compatible file found' error when streaming video from Windows Media Player

Hi,

This is the dump from the ffmpeg -i command:

 

ffmpeg version 3.4.4 Copyright (c) 2000-2018 the FFmpeg developers
built with gcc 8.2.1 (GCC) 20180830
configuration: --enable-static --disable-shared --disable-ffplay --disable-ffserver --enable-libmp3lame --enable-libass --enable-librtmp --enable-fontconfig --enable-libfreetype --enable-zlib --enable-libx264 --enable-libspeex --extra-libs='-lrtmp -lpolarssl -lws2_32 -lwinmm -lexpat -lfreetype -lfribidi -lz' --arch=x86_64 --enable-runtime-cpudetect --target-os=mingw64 --cross-prefix=x86_64-w64-mingw32- --enable-gpl --pkg-config=pkg-config --bindir='/jenkins/workspace/FFmpeg - Win64/target'
libavutil 55. 78.100 / 55. 78.100
libavcodec 57.107.100 / 57.107.100
libavformat 57. 83.100 / 57. 83.100
libavdevice 57. 10.100 / 57. 10.100
libavfilter 6.107.100 / 6.107.100
libswscale 4. 8.100 / 4. 8.100
libswresample 2. 9.100 / 2. 9.100
libpostproc 54. 7.100 / 54. 7.100
[matroska,webm @ 00000000001e1e20] Could not find codec parameters for stream 3 (Subtitle: hdmv_pgs_subtitle (pgssub)): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[matroska,webm @ 00000000001e1e20] Could not find codec parameters for stream 4 (Subtitle: hdmv_pgs_subtitle (pgssub)): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
Input #0, matroska,webm, from 'Parasite.mkv':
Metadata:
ENCODER : Lavf58.41.100
Duration: 02:11:54.76, start: 0.000000, bitrate: 6564 kb/s
Stream #0:0: Video: hevc (Main 10), yuv420p10le(tv), 3840x1606 [SAR 1:1 DAR 1920:803], 23.98 fps, 23.98 tbr, 1k tbn, 23.98 tbc (default)
Metadata:
ENCODER : Lavc58.66.100 libx265
BPS : 6001069
BPS-eng : 6001069
DURATION : 02:11:54.760708333
DURATION-eng : 02:11:54.760708333
NUMBER_OF_FRAMES: 189764
NUMBER_OF_FRAMES-eng: 189764
NUMBER_OF_BYTES : 5937128009
NUMBER_OF_BYTES-eng: 5937128009
_STATISTICS_WRITING_APP: mkvpropedit v19.0.0 ('Brave Captain') 64-bit
_STATISTICS_WRITING_APP-eng: mkvpropedit v19.0.0 ('Brave Captain') 64-bit
_STATISTICS_WRITING_DATE_UTC: 2020-03-19 15:50:48
_STATISTICS_WRITING_DATE_UTC-eng: 2020-03-19 15:50:48
_STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Stream #0:1(kor): Audio: aac (LC), 48000 Hz, 7.1, fltp (default)
Metadata:
title : Parasite.2019.KOREAN.2160p.BluRay.x265.10bit.SDR.DTS-HD.MA.TrueHD.7.1.Atmos-SWTYBLZ
ENCODER : Lavc58.75.100 libfdk_aac
BPS : 512002
BPS-eng : 512002
DURATION : 02:06:58.134000000
DURATION-eng : 02:06:58.134000000
NUMBER_OF_FRAMES: 357101
NUMBER_OF_FRAMES-eng: 357101
NUMBER_OF_BYTES : 487562782
NUMBER_OF_BYTES-eng: 487562782
_STATISTICS_WRITING_APP: mkvpropedit v19.0.0 ('Brave Captain') 64-bit
_STATISTICS_WRITING_APP-eng: mkvpropedit v19.0.0 ('Brave Captain') 64-bit
_STATISTICS_WRITING_DATE_UTC: 2020-03-19 15:50:48
_STATISTICS_WRITING_DATE_UTC-eng: 2020-03-19 15:50:48
_STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Stream #0:2(eng): Subtitle: subrip (default) (forced)
Metadata:
title : English-SRT
BPS : 54
BPS-eng : 54
DURATION : 02:05:30.941000000
DURATION-eng : 02:05:30.941000000
NUMBER_OF_FRAMES: 1659
NUMBER_OF_FRAMES-eng: 1659
NUMBER_OF_BYTES : 51070
NUMBER_OF_BYTES-eng: 51070
_STATISTICS_WRITING_APP: mkvpropedit v19.0.0 ('Brave Captain') 64-bit
_STATISTICS_WRITING_APP-eng: mkvpropedit v19.0.0 ('Brave Captain') 64-bit
_STATISTICS_WRITING_DATE_UTC: 2020-03-19 15:50:48
_STATISTICS_WRITING_DATE_UTC-eng: 2020-03-19 15:50:48
_STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Stream #0:3(fre): Subtitle: hdmv_pgs_subtitle
Metadata:
title : French-PGS
BPS : 27837
BPS-eng : 27837
DURATION : 02:10:20.479000000
DURATION-eng : 02:10:20.479000000
NUMBER_OF_FRAMES: 3548
NUMBER_OF_FRAMES-eng: 3548
NUMBER_OF_BYTES : 27213087
NUMBER_OF_BYTES-eng: 27213087
_STATISTICS_WRITING_APP: mkvpropedit v19.0.0 ('Brave Captain') 64-bit
_STATISTICS_WRITING_APP-eng: mkvpropedit v19.0.0 ('Brave Captain') 64-bit
_STATISTICS_WRITING_DATE_UTC: 2020-03-19 15:50:48
_STATISTICS_WRITING_DATE_UTC-eng: 2020-03-19 15:50:48
_STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Stream #0:4(fre): Subtitle: hdmv_pgs_subtitle
Metadata:
title : French-SDH-PGS
BPS : 38697
BPS-eng : 38697
DURATION : 02:11:15.701000000
DURATION-eng : 02:11:15.701000000
NUMBER_OF_FRAMES: 5100
NUMBER_OF_FRAMES-eng: 5100
NUMBER_OF_BYTES : 38095762
NUMBER_OF_BYTES-eng: 38095762
_STATISTICS_WRITING_APP: mkvpropedit v19.0.0 ('Brave Captain') 64-bit
_STATISTICS_WRITING_APP-eng: mkvpropedit v19.0.0 ('Brave Captain') 64-bit
_STATISTICS_WRITING_DATE_UTC: 2020-03-19 15:50:48
_STATISTICS_WRITING_DATE_UTC-eng: 2020-03-19 15:50:48
_STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
At least one output file must be specified

0 Kudos
atc98092
Community Streaming Expert

Re: Roku TV gets 'no compatible file found' error when streaming video from Windows Media Player

Thanks for that. The only thing I can see as a possible trigger is that the audio is 7.1. I have seen other players fail with too many channels. Perhaps the Roku can only convert 5.1. 

There are posts in the Serviio forum about using a user-profiles.xml file to build your own profile that doesn't get removed with an update. I'm going to give you the code to try in this file. You'll need to create the file, but an XML file is just basic text in a specific format. Just create a text file in the Serviio/config folder, then rename the file as above. Then paste this into the file, save it, then restart your Serviio computer to load this new profile. You can then select it (the name is "Roku 4K TV AAC match") from the console for your Roku TV and see if we've captured the audio issue. This is a bit of a guess, as I don't have time at the moment to test this out. If Serviio won't start after adding this, then I made an error and just remove the file and start the Serviio service again. 

 

<?xml version="1.0" encoding="UTF-8"?>
<Profiles version="1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://www.serviio.org/xsd/profiles/v/1.10/Profiles.xsd">
<Profile id="RokuTVaac" name="Roku 4K TV AAC match" extendsProfileId="Roku4kTV">
         
      <Transcoding>
         <!-- transcode AAC  audio to AC3-->
         
                  <Video targetContainer="applehttp" targetACodec="ac3" aBitrate="512">
                         <Matches container="*" aCodec="aac" />
         </Video>
        
      </Transcoding>
    </Profile>

</Profiles>
Dan

Roku Community Streaming Expert

Help others find this answer and click "Accept as Solution."
If you appreciate my answer, maybe give me a Kudo.

I am not a Roku employee, just another user.
0 Kudos
syalam
Level 8

Re: Roku TV gets 'no compatible file found' error when streaming video from Windows Media Player

Thanks again. I managed to load the user profile, but there's still no audio for the file with 7.1 audio. I've verified that audio works for a the following file with stereo AAC/.mp4a:

Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'Heat.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 1
    compatible_brands: isomavc1
    creation_time   : 2012-09-18T19:29:15.000000Z
  Duration: 02:50:27.50, start: 0.000000, bitrate: 1760 kb/s
    Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1920x800 [SAR 1:1 DAR 12:5], 1661 kb/s, 23.98 fps, 23.98 tbr, 96k tbn, 47.95 tbc (default)
    Metadata:
      creation_time   : 2012-09-18T19:29:15.000000Z
    Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 95 kb/s (default)
    Metadata:
      creation_time   : 2012-09-18T19:31:30.000000Z
      handler_name    : GPAC ISO Audio Handler
0 Kudos
atc98092
Community Streaming Expert

Re: Roku TV gets 'no compatible file found' error when streaming video from Windows Media Player

Man, I'm at a loss without having a sample file to test with. I'll see if I can find a demo file online. There's lots of different test media available, just need to do some searching. But it really seems tied to the 7.1 audio. 

Dan

Roku Community Streaming Expert

Help others find this answer and click "Accept as Solution."
If you appreciate my answer, maybe give me a Kudo.

I am not a Roku employee, just another user.
0 Kudos