m2ts files stream with no audio

Discuss media renderers like Xbox 360, TVs, smartphones, etc.
Post Reply
ajkessel
Posts: 33
Joined: Sun Jan 20, 2019 7:06 am

m2ts files stream with no audio

Post by ajkessel »

I have several m2ts files that show up as having no audio at all on a variety of renderers (e.g., VLC, PS3).

A couple of examples - ffmpeg reports:

Code: Select all

Program 1
    Metadata:
      service_name    : Service01
      service_provider: FFmpeg
    Stream #0:0[0x100]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(progressive), 1920x1080 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 90k tbn, 47.95 tbc
    Stream #0:1[0x101]: Audio: ac3 ([129][0][0][0] / 0x0081), 48000 Hz, 5.1(side), fltp, 640 kb/s
Another example:

Code: Select all

Program 1
    Metadata:
      service_name    : Service01
      service_provider: FFmpeg
    Stream #0:0[0x100]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(progressive), 1920x1080 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 90k tbn, 47.95 tbc
    Stream #0:1[0x101]: Audio: dts (DTS-HD MA) ([130][0][0][0] / 0x0082), 48000 Hz, 5.1(side), s32p (24 bit)
UMS trace (for the second example) and conf file attached.

If I convert the file to a MKV container with no transcoding (ffmpeg -i input.m2ts -map 0 -c copy output.mkv) the audio stream appears on all renderers. I could convert everything to MKV, but shouldn't it work on m2ts? Also, if I convert to MKV, it will no longer stream to the PS3, only transcode.
Attachments
UMS.conf
(4.75 KiB) Downloaded 527 times
2020-06-18 UMS trace m2ts no audio.txt
(157.76 KiB) Downloaded 514 times
ajkessel
Posts: 33
Joined: Sun Jan 20, 2019 7:06 am

Re: m2ts files stream with no audio

Post by ajkessel »

Replicated this same problem with 9.7.0.
User avatar
valib
Developer
Posts: 699
Joined: Fri Feb 08, 2013 3:11 am

Re: m2ts files stream with no audio

Post by valib »

Please follow instructions in https://www.universalmediaserver.com/fo ... ?f=9&t=556 and send the full log.
ajkessel
Posts: 33
Joined: Sun Jan 20, 2019 7:06 am

Re: m2ts files stream with no audio

Post by ajkessel »

Full log attached -- NOAUDIO is the file which is streaming video only, and AUDIOWORKS is a file containing the same two streams, repackaged as an MKV.
2020-06-24-ums-full-log.txt.gz
(361.61 KiB) Downloaded 550 times
Juppie
Posts: 2
Joined: Thu Jul 02, 2020 7:38 am

Re: m2ts files stream with no audio

Post by Juppie »

Hello, I have the same problem with trying to play m2ts files - it has around 13 or more audio tracks and I only need 1, but of the transcode folder, only 3 or 4 files actually have audio playing, but none of them is the one I want.
I use VLC for Android on a Blaupunkt 4k 55" Android 6.0 TV as renderer. On my PC, VLC for Win plays the same m2ts with no issues and sees all 13+ audio tracks.
User avatar
SubJunk
Lead Developer
Posts: 3705
Joined: Sun May 27, 2012 4:12 pm

Re: m2ts files stream with no audio

Post by SubJunk »

This might have something to do with the MIME type being wrong for m2ts streams in VLC. I'm making that change and it should be in the next version after 10.6.0
Post Reply