FAQ  •  Register  •  Login

Roku issues with sound

<<

ecourt

Serviio newbie

Posts: 13

Joined: Sun Mar 08, 2015 3:15 pm

Post Tue Apr 30, 2019 2:47 pm

Roku issues with sound

Have a weird scenario.
I have 2 ROKU sticks, ordered both at the same time..
Roku Streaming Stick 3800R
System info shows:
Model - 3800X
software ver 9.0.0 * build 4142-55
* Both devices share these details.


One is attached to a ~12+ year old 19 inch Insignia NS-LCD19-09 -- which is a 1080i display, HDCP 1.4
https://www.insigniaproducts.com/pdp/NS ... 09/8632884
Roku shows it's a 1080i display, specs show 720P -- but that's not important.

One is attached to a ~4 year old 40 inch Samsung UN40EH5300F -- Which is a 1080p display, HDCP 1.4
https://www.samsung.com/us/video/tvs/UN ... FXZA-specs

THE ISSUE:
Specific videos play without sound on the Samsung. (typically DTS audio stuff, but have run across a few others that won't play)
Those same videos play just find on the Insignia TV & Roku.

I've read a lot of threads about Roku, and the audio transcoding. I did try to adjust the profiles as mentioned in those threads without success.
Everything has been reset to default on Serviio server (did a reinstall, to make sure everything was back to stock) at this point

When audio fails to play on the samsung, I see no errors in the serviio logs.

Reason for the Roku on this TV (it actually played audio fine direct from the samsung player) -- WIFI died in the TV... Roku was cheaper than running a cable, or replacing the TV

Appreciate any help you can give me,
<<

atc98092

User avatar

DLNA master

Posts: 5215

Joined: Fri Aug 17, 2012 10:22 pm

Location: Washington (the state)

Post Tue Apr 30, 2019 3:29 pm

Re: Roku issues with sound

Yeah, DTS can mess up many TVs. My Samsung, a fairly new 4K set, can play DTS, but I have to go into the TV menu and switch it. I gave up on the TV player long ago. I am surprised the insignia plays the DTS audio. I have an Insignia Roku TV, and even through the power on screen shows DTS processing, it won't play any DTS audio from my files.

Since no Roku player can encode audio (except for the Ultra 4640), your media has to either have supported audio (Dolby Digital or AAC works best) or transcode the audio. Before we begin tweaking your profiles, let's confirm the audio codec in use that isn't playing. See the link in my sig line about identifying media content, and provide the codecs in use for several of your media that doesn't play audio. Want to make sure it's not something unexpected. As long as you're doing that, please provide the video codec and container as well, so we can see if transcoding is required at all for your media.

Oh, and which Serviio profile are you using with your Stick? It should be the 1080 player with MPEG2 support. I'm at work right now, so can't tell you the exact name. The 1080 TV profile should work as well, plus the TV profile transcodes all DTS audio.

There are new Roku profiles coming with the next release of Serviio. But I can't say when that will happen. I just know he's working on it now.
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: Intel i5-6400, 16 gig ram, Windows 10 Pro, 22 TB hard drive space | Test server Windows 10 Pro, AMD Phenom II X4 965, 8 gig ram

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

ecourt

Serviio newbie

Posts: 13

Joined: Sun Mar 08, 2015 3:15 pm

Post Tue Apr 30, 2019 5:08 pm

Re: Roku issues with sound

I have just done a full reinstall of Serviio, so whatever it uses by default, is what it's using... which is...
def-profile.png
def-profile.png (2.88 KiB) Viewed 6042 times


I've changed this before my reinstall, and it didn't help, but am changing it now (to Roku 1080 Media Player (2016+)
the .60 one plays everything fine, the .65 one has issues.

here's a strange one to me...
this file plays (just a shot from VLC tools/media/codec)
plays.png
plays.png (36.34 KiB) Viewed 6042 times


this one dont..
dont-play.png
dont-play.png (36.22 KiB) Viewed 6042 times


I can't tell any difference...
<<

atc98092

User avatar

DLNA master

Posts: 5215

Joined: Fri Aug 17, 2012 10:22 pm

Location: Washington (the state)

Post Tue Apr 30, 2019 6:02 pm

Re: Roku issues with sound

The default Roku profile transcodes almost everything, and your player supports the more common codecs, so transcoding isn't necessary. I'd try the Roku 1080 TV profile, since that captures audio better.

I've never come across mpga audio before. Usually most video files contain DD, DTS or AAC audio. I know there's no Matches line for that audio codec, but it is an available option. It's very strange that one will play and another won't, since they appear identical.

This is what Roku lists for audio codec support. Notice that MPEG audio isn't listed. The parentheses identify what container supports that audio codec:

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)


I'll try to remember when I get home to see if I can add a transcoding line to catch the mpga audio. Please let me know what container these files are in (.mkv, .mp4, .ts, etc.), so I can ensure they are captured correctly.
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: Intel i5-6400, 16 gig ram, Windows 10 Pro, 22 TB hard drive space | Test server Windows 10 Pro, AMD Phenom II X4 965, 8 gig ram

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

ecourt

Serviio newbie

Posts: 13

Joined: Sun Mar 08, 2015 3:15 pm

Post Tue Apr 30, 2019 6:21 pm

Re: Roku issues with sound

MKV, MP4, was thinking may have had a couple of old AVI's that wouldn't play
<<

ecourt

Serviio newbie

Posts: 13

Joined: Sun Mar 08, 2015 3:15 pm

Post Wed May 01, 2019 3:03 am

Re: Roku issues with sound

grabbed the ffmpeg -i out of a couple files that wouldn't play.. (this is running on a windows server, with updated FFMPEG
ffmpeg version N-93710-gac551c54b1 Copyright (c) 2000-2019 the FFmpeg developers
built with gcc 8.3.1 (GCC) 20190414
configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libdav1d --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-amf --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt
libavutil 56. 26.100 / 56. 26.100
libavcodec 58. 52.100 / 58. 52.100
libavformat 58. 27.103 / 58. 27.103
libavdevice 58. 7.100 / 58. 7.100
libavfilter 7. 50.100 / 7. 50.100
libswscale 5. 4.100 / 5. 4.100
libswresample 3. 4.100 / 3. 4.100
libpostproc 55. 4.100 / 55. 4.100


This is from the file I posted earlier that wouldn't play..

Stream #0:0(eng): Video: h264 (High), yuv420p(progressive), 640x480 [SAR 4:3 DAR 16:9], 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default)
Stream #0:1: Audio: mp3, 48000 Hz, stereo, fltp, 128 kb/s (default)

This is from the one that did play:

Stream #0:0(eng): Video: h264 (High), yuv420p(tv, bt709/unknown/unknown, progressive), 720x404, SAR 1:1 DAR 180:101, 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc
Stream #0:1: Audio: aac (LC), 48000 Hz, stereo, fltp (default)

Another file that wouldn't play seems to be AC3 audio ::
Stream #0:0: Video: h264 (High), yuv420p(tv, bt709, progressive), 1920x800, SAR 1:1 DAR 12:5, 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default)
Stream #0:1(eng): Audio: ac3, 48000 Hz, 5.1(side), fltp, 384 kb/s (default)
Stream #0:2(eng): Subtitle: subrip (default)


seems the method I used to grab audio info earlier wasn't so accurate (VLC)
<<

atc98092

User avatar

DLNA master

Posts: 5215

Joined: Fri Aug 17, 2012 10:22 pm

Location: Washington (the state)

Post Wed May 01, 2019 5:48 pm

Re: Roku issues with sound

Strange, that audio should play with all of them. The AC3 certainly shouldn't be an issue.

As a test, copy this file into your C:\Program Files\Serviio\config folder, then restart Serviio (or the computer). Then go into the Serviio console and select the "Roku 4K Test Profile". Ignore that it says 4K in the name, I just copied one I was testing for something else.

This user profile will transcode just the audio for any file that has H.264 video. It takes very little PC power to transcode only the audio, so don't worry about the computer keeping up. This converts all audio to ac3, regardless of what it is. I know it will transcode what will already play, but we need to test the ones that wouldn't play audio before. If you get sound from nothing (since for some reason you have an ac3 file that won't play), you can edit the line in the profile that says targetACodec="ac3" and change it to targetACodec="aac". If there's still no audio, then the files themselves become suspect, possibly corrupted.

Just curious. Did you try the "Roku TV (non 4K)" profile? It captures all DTS audio for transcoding, as well as multichannel AAC. I'd be curious if it made any difference with the non-playable files.
Attachments
user-profiles.xml
(1.53 KiB) Downloaded 339 times
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: Intel i5-6400, 16 gig ram, Windows 10 Pro, 22 TB hard drive space | Test server Windows 10 Pro, AMD Phenom II X4 965, 8 gig ram

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

ecourt

Serviio newbie

Posts: 13

Joined: Sun Mar 08, 2015 3:15 pm

Post Sun May 05, 2019 4:32 am

Re: Roku issues with sound

Will try the non-4k profile first, then the file you sent.

I don't think these files are corrupt, as they do play on the exact same roku, attached to a different TV.

Thanks for the help
<<

ecourt

Serviio newbie

Posts: 13

Joined: Sun Mar 08, 2015 3:15 pm

Post Mon May 13, 2019 12:45 am

Re: Roku issues with sound

sorry, been a crazy week,

just tried the user-profiles.xml...

guessing there's a typo .. (I've not looked closely yet)

2019-05-12 20:41:03,581 INFO [ProfileManager] Loading profiles from file /user-profiles.xml
2019-05-12 20:41:03,602 ERROR [XmlUtils] XML Profiles.xsd didn't pass validation, reason: cvc-enumeration-valid: Value '*' is not facet-valid with respect to enumeration '[mp3, mp2, ac3, eac3, aac, dca, dts-hd, wmav2, wmapro, wmalossless, lpcm, flac, vorbis, opus, truehd, amrnb, real, speex, alac]'. It must be a value from the enumeration.
2019-05-12 20:41:03,607 ERROR [MediaServer] An unexpected error occurred. Ending the application. Message: org.serviio.profile.ProfilesDefinitionException: Profiles XML file is not valid (according to the schema). Check the log.
java.lang.RuntimeException: org.serviio.profile.ProfilesDefinitionException: Profiles XML file is not valid (according to the schema). Check the log.

will also say the non-4k profile did seem to play 99%, think there is still a couple files that won't play, when I get a chance, I'll share the ffmpeg -i info on them.
<<

atc98092

User avatar

DLNA master

Posts: 5215

Joined: Fri Aug 17, 2012 10:22 pm

Location: Washington (the state)

Post Mon May 13, 2019 12:37 pm

Re: Roku issues with sound

Sorry, I didn't test that user profile, so didn't realize it had that limitation. Sounds like we're close with the non-4K profile, so would appreciate that media information. Just when you have the time. Thanks!
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: Intel i5-6400, 16 gig ram, Windows 10 Pro, 22 TB hard drive space | Test server Windows 10 Pro, AMD Phenom II X4 965, 8 gig ram

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

ecourt

Serviio newbie

Posts: 13

Joined: Sun Mar 08, 2015 3:15 pm

Post Mon May 13, 2019 3:12 pm

Re: Roku issues with sound

went through a ton of media files last night.. Everything is playing now.

I think there's a chance, after I changed to the non-4k profile before, I hadn't restarted serviio, so it was still pulling using the standard roku profile.

I've yet to find anything that won't play.
<<

atc98092

User avatar

DLNA master

Posts: 5215

Joined: Fri Aug 17, 2012 10:22 pm

Location: Washington (the state)

Post Mon May 13, 2019 3:37 pm

Re: Roku issues with sound

Great! :D
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: Intel i5-6400, 16 gig ram, Windows 10 Pro, 22 TB hard drive space | Test server Windows 10 Pro, AMD Phenom II X4 965, 8 gig ram

HOWTO: Enable debug logging HOWTO: Identify media file contents

Return to Serviio Support & Help

Who is online

Users browsing this forum: No registered users and 120 guests

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