FAQ  •  Register  •  Login

m2ts videos have no audio

<<

maelish

Serviio newbie

Posts: 7

Joined: Mon Dec 23, 2013 2:46 pm

Post Wed Dec 09, 2015 2:47 pm

m2ts videos have no audio

I have been playing around with Serviio and the Roku Media Player.

The videos look great but they don't have any audio. Am I missing a codec or is there a transcoding configuration problem? Any suggestions?
<<

atc98092

User avatar

DLNA master

Posts: 5432

Joined: Fri Aug 17, 2012 10:22 pm

Location: Washington (the state)

Post Wed Dec 09, 2015 5:05 pm

Re: m2ts videos have no audio

I have M2TS files, as well as Roku players. No issues. I can't look at the Roku profile right now, but it's possible you have an audio track that isn't recognized, so it isn't getting transcoded. The Roku won't play M2TS natively, so it has to be transcoded. If you have HD audio, the profile may not be picking it up. Can you provide a MediaInfo listing for a file with no audio?
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
<<

maelish

Serviio newbie

Posts: 7

Joined: Mon Dec 23, 2013 2:46 pm

Post Wed Dec 09, 2015 5:42 pm

Re: m2ts videos have no audio

Ok, I think this is what you are asking for:

General
ID : 1 (0x1)
Complete name : F:\media\video\20100917\20100818_151142.m2ts
Format : BDAV
Format/Info : Blu-ray Video
File size : 63.4 MiB
Duration : 33s 461ms
Overall bit rate mode : Variable
Overall bit rate : 15.9 Mbps
Maximum Overall bit rate : 18.0 Mbps

Video
ID : 4113 (0x1011)
Menu ID : 1 (0x1)
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4
Format settings, CABAC : Yes
Format settings, ReFrames : 4 frames
Format settings, GOP : M=3, N=15
Codec ID : 27
Duration : 33s 467ms
Bit rate mode : Variable
Bit rate : 14.9 Mbps
Maximum bit rate : 16.8 Mbps
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate : 29.970 (30000/1001) fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Interlaced
Scan type, store method : Separated fields
Scan order : Top Field First
Bits/(Pixel*Frame) : 0.239
Stream size : 59.4 MiB (94%)

Audio
ID : 4352 (0x1100)
Menu ID : 1 (0x1)
Format : AC-3
Format/Info : Audio Coding 3
Mode extension : CM (complete main)
Format settings, Endianness : Big
Codec ID : 129
Duration : 33s 536ms
Bit rate mode : Constant
Bit rate : 384 Kbps
Channel(s) : 6 channels
Channel positions : Front: L C R, Side: L R, LFE
Sampling rate : 48.0 KHz
Frame rate : 31.250 fps (1536 spf)
Compression mode : Lossy
Delay relative to video : -66ms
Stream size : 1.54 MiB (2%)

Text
ID : 4608 (0x1200)
Menu ID : 1 (0x1)
Format : PGS
Codec ID : 144
Duration : 32s 969ms
Delay relative to video : -66ms


<<

atc98092

User avatar

DLNA master

Posts: 5432

Joined: Fri Aug 17, 2012 10:22 pm

Location: Washington (the state)

Post Thu Dec 10, 2015 1:31 pm

Re: m2ts videos have no audio

OK, that's standard Dolby Digital sound, so the Roku can play that no problem. Your video is at the ragged edge of what a Roku can play without transcoding, because of the bitrate. A Roku kind of hits the wall above 14 Mbps. Because of your type of video ( AVC HighL4) the Roku profile is forcing transcoding.

I am of course assuming you have the Roku profile selected on the Serviio console. You could try playing the file without transcoding, to see if it will play natively. You can change the profile to Generic, which does not transcode anything, and see if you get audio. If you still don't, then it's time to look at the Roku.

Do you get sound from anything else on the Roku, such as Netflix, or even the menu clicks? How are you configured, do you run the Roku into an AVR for sound, or is it going to the TV over HDMI? What are your audio settings in the Roku: surround or stereo downmix?
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
<<

maelish

Serviio newbie

Posts: 7

Joined: Mon Dec 23, 2013 2:46 pm

Post Thu Dec 10, 2015 1:48 pm

Re: m2ts videos have no audio

I have tried the Roku, Generic and Chaneru (with and without transcoding). The video was much better using transcoding with the Roku profile but none of them had audio with m2ts files.

There is good quality sound from the mp3s & mp4s that were played through Roku Media Player.
<<

atc98092

User avatar

DLNA master

Posts: 5432

Joined: Fri Aug 17, 2012 10:22 pm

Location: Washington (the state)

Post Fri Dec 11, 2015 12:43 am

Re: m2ts videos have no audio

OK, looking through the Roku profile, I believe this is the line that is capturing your video (the red line):

<Video targetContainer="mpegts" targetVCodec="h264" maxVBitrate="12000">
<!-- for no surround passthrough comment out the following four lines -->
<Matches container="*" vCodec="h264" aCodec="ac3" />

Just for grins, comment out that one line. To do so, look at the line above, and see the <!-- at the beginning and --> at the end. These are the open and close tags to comment something. Make sure you save the file, then restart the Serviio service. That is not the stop and start button on the console. If you don't know how to restart a Windows service, then just reboot the computer.

I am puzzled that the Generic did not provide any sound. That makes me suspicious of the audio track itself. Have you tried playing the file directly on the computer successfully?
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 Serviio Support & Help

Who is online

Users browsing this forum: Bing [Bot] and 114 guests

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