Avidemux Forum

Avidemux => Main version 2.6 => Topic started by: niczoom on January 20, 2021, 01:47:09 AM

Title: m2ts file only 2 audio tracks out 3 detected
Post by: niczoom on January 20, 2021, 01:47:09 AM
I have one .msts video file (MPEG Video) which has 2 audio tracks, 1. PCM & 2. DTS XLL (DTS-HD). This file doesn't have any issues when editing, copying (output as TS) or encoding.

But the other m2ts (VC-1) file has 3 audio tracks, 1. PCM, 2. DTX XBR (DTS-HD) & 3. AC-3 (Stereo). When opened I select 'Audio/Select Track' and only 2 tracks are shown, 1. LCPM Stereo & 2. AC3 Stereo, the DTS track is not shown/detected?

When I edit this video then save using 'Copy/Copy/Mpeg TS Muxer' I get an error 'Muxer - Cannot open'. Perhaps the VC1 format can't be outputed/saved as a TS?

Any ideas?
Title: Re: m2ts file only 2 audio tracks out 3 detected
Post by: eumagga0x2a on January 20, 2021, 10:32:07 PM
Muxing of VC1 into MPEG-TS as well as into MKV should work now:

[muxerffTS] Accept VC1 video track, do not assert on avformat_write_header() failure, improve debug messages (https://github.com/mean00/avidemux2/commit/b0b6b953a994cafff0a354d0cbdc4a280c0d1ad8)
[muxerMkv] Replace codec tag for VC1 with WVC1 else libavformat rejects the video track (https://github.com/mean00/avidemux2/commit/35985878e11fff868f203fe5008afaadf82d33a4)

Could you please provide an unprocessed sample (~300 MiB) from the other video via WeTransfer, Mega, Dropbox or Google Drive? I have not encountered DTS XBR before, there are no samples and therefore no support.