justdan96 / tsMuxer

tsMuxer is a transport stream muxer for remuxing/muxing elementary streams, EVO/VOB/MPG, MKV/MKA, MP4/MOV, TS, M2TS to TS to M2TS. Supported video codecs H.264/AVC, H.265/HEVC, VC-1, MPEG2. Supported audio codecs AAC, AC3 / E-AC3(DD+), DTS/ DTS-HD.
Apache License 2.0
849 stars 144 forks source link

About wav files with missing channel layouts #613

Closed OmniSoundsLab closed 2 years ago

OmniSoundsLab commented 2 years ago

I am trying to MUX a m2ts file containing Dolby TrueHD with tsMuxer after extracting the audio part and converting it to PCM. According to the corresponding track information in MediaInfo, the channel layout is "L R C LFE Ls Rs Cb". However, if you convert this file to wav with xrecode3, the channel layout information is lost and tsMuxer displays the following warning:.

Warning! Multi channels WAVE file for stream 3 do not contain channels configuration info. Applying default value: L R C BL BR SL SR

Is there any way to change the default value of tsMuxer or add information to the wav file?

jcdr428 commented 2 years ago

@OmniSoundsLab you cannot do this with tsMuxer, you'll have to use a hex editor to write the channel information.

OmniSoundsLab commented 2 years ago

@jcdr428 Oh ...... All right. You mean you need to edit the layout information before loading it into tsMuxer. Thank you for your reply.

jcdr428 commented 2 years ago

Closing, can be reopened on request.