Jump to content

No audio in m2ts file and AC3 audio track


Hristo_Markow

Recommended Posts

Hristo_Markow

My LG 75UN7100 isn't playing with audio the movies from my library that are stored in M2TS format.

Here is eac3to info of such file.

eac3to Deadpool.m2ts
M2TS, 1 video track, 1 audio track, 1:48:06, 24p /1.001
1: h264/AVC, 1080p24 /1.001 (16:9)
2: TrueHD/AC3 (Atmos), English, 7.1 channels, 48kHz
   (embedded: AC3, 5.1 channels, 640kbps, 48kHz)

if I choose from Audio: drop down "AC3 5.1" the client shows Direct play, but there is no audio

if I choose "English TRUEHD 7.1" there is an audio, but the server starts FFMPEG to transcode.

 

I know the easy solution as advice "Convert your M2TS movies to MKV", but the collection contains 61 titles, I've already did it once for the LG's TV to append separate AC3 track.

I wish not to do it again :)

 

Link to comment
Share on other sites

SamES
1 hour ago, Hristo_Markow said:

My LG 75UN7100 isn't playing with audio the movies from my library that are stored in M2TS format.

Here is eac3to info of such file.

eac3to Deadpool.m2ts
M2TS, 1 video track, 1 audio track, 1:48:06, 24p /1.001
1: h264/AVC, 1080p24 /1.001 (16:9)
2: TrueHD/AC3 (Atmos), English, 7.1 channels, 48kHz
   (embedded: AC3, 5.1 channels, 640kbps, 48kHz)

if I choose from Audio: drop down "AC3 5.1" the client shows Direct play, but there is no audio

if I choose "English TRUEHD 7.1" there is an audio, but the server starts FFMPEG to transcode.

 

I know the easy solution as advice "Convert your M2TS movies to MKV", but the collection contains 61 titles, I've already did it once for the LG's TV to append separate AC3 track.

I wish not to do it again :)

 

So eac3to is only reporting one audio track, but Emby is detecting two audio tracks?

Link to comment
Share on other sites

Hristo_Markow

Yes, I think the problem is because the FFMPEG detects this

ffprobe Deadpool.m2ts

ffprobe version 5.1-emby_2023_06_25 Copyright (c) 2007-2022 the FFmpeg developers and softworkz for Emby LLC
  built with gcc 10.3.0 (crosstool-NG 1.25.0)
Input #0, mpegts, from 'Deadpool.m2ts':
  Duration: 01:48:06.24, start: 4200.000000, bitrate: 31803 kb/s
  Program 1
  Stream #0:0[0x1011](und): Video: h264 (High) (HDMV / 0x564D4448), yuv420p(progressive), 1920x1080 [SAR 1:1 DAR 16:9], Level 41, 23.98 fps, 23.98 tbr, 90k tbn, Start-Time 4200.000s
  Stream #0:1[0x1100](eng): Audio: truehd (AC-3 / 0x332D4341), 48000 Hz, 7.1, s32 (24 bit), Start-Time 4200.000s
  Stream #0:2[0x1100]: Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, 5.1(side), fltp, 640 kb/s, Start-Time 4200.000s

but the LG player doesn't support CORE playing.

I've tried with adding real external 2 track made from the TrueHD track

ffprobe Deadpool_new.m2ts

ffprobe version 5.1-emby_2023_06_25 Copyright (c) 2007-2022 the FFmpeg developers and softworkz for Emby LLC
  built with gcc 10.3.0 (crosstool-NG 1.25.0)
Input #0, mpegts, from 'Deadpool_new.m2ts':
  Duration: 01:48:06.24, start: 4200.000000, bitrate: 32523 kb/s
  Program 1
  Stream #0:0[0x1011](und): Video: h264 (High) (HDMV / 0x564D4448), yuv420p(progressive), 1920x1080 [SAR 1:1 DAR 16:9], Level 41, 23.98 fps, 23.98 tbr, 90k tbn, Start-Time 4200.000s
  Stream #0:1[0x1100](eng): Audio: truehd (AC-3 / 0x332D4341), 48000 Hz, 7.1, s32 (24 bit), Start-Time 4200.000s
  Stream #0:2[0x1100]: Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, 5.1(side), fltp, 640 kb/s, Start-Time 4200.000s
  Stream #0:3[0x1101](eng): Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, 5.1(side), fltp, 640 kb/s, Start-Time 4200.000s

The new file is working - only if I choose the 3rd audio track.

I see that the FFMPEG detects the 2nd track, but the PID is the same.... maybe this could be fixed in your APP.

I know it wouldn't solve the problem, but at least there will be no situation as "video is playing, but I don't hear audio" :)

 

Link to comment
Share on other sites

SamES

What happens if you try and play both versions using the web app?

Link to comment
Share on other sites

rbjtech

From memory, AC3 tracks 'embedded' into True-HD tracks are not literal tracks - they contains metadata information in able to 'create' the AC3 track from the True-HD source.     As a comparison, DTS-HD contains a 100% DTS Core 'Track' that needs no further processing and can be played independently.

I think your best way forward is to just extract the track and append as the default if that's what you want.  Be careful with what s/w you choose to extract - as you want to re-create the track as Dolby intended and not just re-encode the True-HD source.   Eac3to with demux should do it, but I'll check myself a little later on today.

Edited by rbjtech
  • Like 1
Link to comment
Share on other sites

Hristo_Markow
On 2/12/2024 at 1:01 PM, rbjtech said:

From memory, AC3 tracks 'embedded' into True-HD tracks are not literal tracks - they contains metadata information in able to 'create' the AC3 track from the True-HD source.     As a comparison, DTS-HD contains a 100% DTS Core 'Track' that needs no further processing and can be played independently. LG does not allow it because the missing license, it can be played only if the audio source came via HDMI.

I think your best way forward is to just extract the track and append as the default if that's what you want.  Be careful with what s/w you choose to extract - as you want to re-create the track as Dolby intended and not just re-encode the True-HD source.   Eac3to with demux should do it, but I'll check myself a little later on today.

I use eac3to since 2008, a 2 or 3 years ago after "birth" of my collection.

Already made movies stored in m2ts format from my collection. The main problem is that right now I don't have a option to get a server for my daughter (she studies in another city) that has more CPU and at least i3 8th generation to provide full compatibility.

Simply I was trying to avoid this, but it is already a fact. :) Making 60+ titles with tsmuxer is quite annoying, but at least I've managed to make it in a batch.

  • Like 1
Link to comment
Share on other sites

Hristo_Markow
On 2/11/2024 at 1:55 AM, SamES said:

What happens if you try and play both versions using the web app?

All variants works on web client, I hear the sound.

audio_choice_2.png

audio_choice_3.png

audio_choice_1.png

Link to comment
Share on other sites

rbjtech
2 hours ago, Hristo_Markow said:

I use eac3to since 2008, a 2 or 3 years ago after "birth" of my collection.

Already made movies stored in m2ts format from my collection. The main problem is that right now I don't have a option to get a server for my daughter (she studies in another city) that has more CPU and at least i3 8th generation to provide full compatibility.

Simply I was trying to avoid this, but it is already a fact. :) Making 60+ titles with tsmuxer is quite annoying, but at least I've managed to make it in a batch.

Any reason you don't just remux into an MKV container - using MakeMKV for example if coming straight from disk ?  It will be a lot more flexible than using TSMuxer. (I remember those days, lol)

Or as you are handy with scripting - you can automate everything with mkvmerge from the mkvtoolnix application suite.   In it's simplest form -

mkvmerge -o output.mkv input.m2ts

It might provide better compatibility (less transcoding) with clients vs m2ts.

Edited by rbjtech
  • Like 1
Link to comment
Share on other sites

Hristo_Markow
On 2/16/2024 at 1:32 PM, rbjtech said:

Any reason you don't just remux into an MKV container - using MakeMKV for example if coming straight from disk ?  It will be a lot more flexible than using TSMuxer. (I remember those days, lol)

Or as you are handy with scripting - you can automate everything with mkvmerge from the mkvtoolnix application suite.   In it's simplest form -

mkvmerge -o output.mkv input.m2ts

It might provide better compatibility (less transcoding) with clients vs m2ts.

Thanks for the reply, I've solved the problem of my daughter's server because she uses an Emby Client, I use 2 Dune HD players and they don't have a problem with MKV, M2TS or TS  containers.

 

Regards

  • Like 1
Link to comment
Share on other sites

4 minutes ago, Hristo_Markow said:

Thanks for the reply, I've solved the problem of my daughter's server because she uses an Emby Client, I use 2 Dune HD players and they don't have a problem with MKV, M2TS or TS  containers.

 

Regards

What was the solution?

Link to comment
Share on other sites

Hristo_Markow
On 2/23/2024 at 11:28 PM, Luke said:

What was the solution?

I've added an extra AC3 track to each movie and muxed again in m2ts container.

And of course I told her "Use the 3rd audio track on your Emby client".

  • Thanks 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...