Page 1 of 1

m2ts files stream with no audio

Posted: Fri Jun 19, 2020 8:55 am
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.

Re: m2ts files stream with no audio

Posted: Tue Jun 23, 2020 3:29 am
by ajkessel
Replicated this same problem with 9.7.0.

Re: m2ts files stream with no audio

Posted: Wed Jun 24, 2020 8:07 am
by valib
Please follow instructions in https://www.universalmediaserver.com/fo ... ?f=9&t=556 and send the full log.

Re: m2ts files stream with no audio

Posted: Thu Jun 25, 2020 3:31 am
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 552 times

Re: m2ts files stream with no audio

Posted: Thu Jul 02, 2020 7:43 am
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.

Re: m2ts files stream with no audio

Posted: Thu Jun 03, 2021 8:00 pm
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