# Audio channels in a track?

**URL:** https://community.mp3tag.de/t/audio-channels-in-a-track/54321
**Category:** General Discussion
**Created:** [September 9, 2021, 6:16pm UTC](https://community.mp3tag.de/t/audio-channels-in-a-track/54321 "2021-09-09T18:16:30Z")
**Posts on this page:** 16
**Page:** 1

<div class="post-metadata">

### Author: ![Everso](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/e/9de053/32.png) [@Everso](https://community.mp3tag.de/u/Everso)
#### Post date: [September 9, 2021, 6:16pm UTC](https://community.mp3tag.de/t/audio-channels-in-a-track/54321/1 "2021-09-09T18:16:30Z")

</div>

Hi all,

just wondering - is there any way to get the number of tracks in a video file such as mp4 or mkv?

Everso

---

<div class="post-metadata">

### Author: ![LyricsLover](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/l/c6cbf5/32.png) [@LyricsLover](https://community.mp3tag.de/u/LyricsLover)
#### Post date: [September 9, 2021, 9:18pm UTC](https://community.mp3tag.de/t/audio-channels-in-a-track/54321/2 "2021-09-09T21:18:50Z")

</div>

Do you ask for the number of choosable language tracks in a video file? Something like 1 x english, 1 x german, 1 x klingon?

Or do you think about a youtube video including the top 20 songs?

---

<div class="post-metadata">

### Author: ![Everso](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/e/9de053/32.png) [@Everso](https://community.mp3tag.de/u/Everso)
#### Post date: [September 10, 2021, 6:40am UTC](https://community.mp3tag.de/t/audio-channels-in-a-track/54321/3 "2021-09-10T06:40:50Z")

</div>

Ah - I think I used the wrong word. I mean how many channels in a track - apologies for the confusion.

So I am after telling if a movie is Mono - stereo - 6 channel surround etc.

I have created a tag source that hits IMDB and pulls the movie description down and puts it in the comment so I can see what the movies are directly from the file listing. I would love to do something like that with the number of channels.

Edit - updated question title to reflect what I am really after.

---

<div class="post-metadata">

### Author: ![LyricsLover](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/l/c6cbf5/32.png) [@LyricsLover](https://community.mp3tag.de/u/LyricsLover)
#### Post date: [September 10, 2021, 6:56am UTC](https://community.mp3tag.de/t/audio-channels-in-a-track/54321/4 "2021-09-10T06:56:00Z")

</div>

You could try the [placeholder](https://docs.mp3tag.de/customization/file-list)  
`%_mode%`  
But I'm not sure if this is enough to telling you if it is Mono or Stereo oder something else.

---

<div class="post-metadata">

### Author: ![Everso](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/e/9de053/32.png) [@Everso](https://community.mp3tag.de/u/Everso)
#### Post date: [September 10, 2021, 7:21am UTC](https://community.mp3tag.de/t/audio-channels-in-a-track/54321/5 "2021-09-10T07:21:17Z")

</div>

Thanks for taking the time to reply but %\_mode% does not do it. It is not even very good at telling mono from stereo. Plus if the tracks are 2 or more it just gives a mode of 2.

---

<div class="post-metadata">

### Author: ![Florian](https://community.mp3tag.de/user_avatar/community.mp3tag.de/florian/32/5759_2.png) [@Florian](https://community.mp3tag.de/u/Florian)
#### Post date: [September 10, 2021, 8:22am UTC](https://community.mp3tag.de/t/audio-channels-in-a-track/54321/6 "2021-09-10T08:22:15Z")

</div>

`%_mode%` should report the number of channels in the first or default track for both MP4 and MKV. Can you check the number of tracks (not channels!) in the file and see if the first track really has more than two channels?

---

<div class="post-metadata">

### Author: ![Everso](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/e/9de053/32.png) [@Everso](https://community.mp3tag.de/u/Everso)
#### Post date: [September 10, 2021, 8:42am UTC](https://community.mp3tag.de/t/audio-channels-in-a-track/54321/7 "2021-09-10T08:42:28Z")

</div>

Wow - the MP3 tagging god himself - I am honoured...(awesome program BTW).

I have checked multiple files. (mkv and mp4). All have only one track and most are surround (6 channels). This is confirmed both with MediaAreaNet/MediaInfo program and the indicators on my surround amp (that and I suppose they do have surround tracks when I listen to them).

I have also written a quick powershell script to run through the media folder that reads tags so I am pretty convinced that there are 6 channels in most of the files (again - only one one track per file).

As mentioned %\_mode% never gives anything more than 2 no matter the number of channels per track or the type of file.

Any other ideas would be appreciated.

Thanks for taking the time to look at this  
Everso

---

<div class="post-metadata">

### Author: ![Everso](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/e/9de053/32.png) [@Everso](https://community.mp3tag.de/u/Everso)
#### Post date: [September 10, 2021, 11:12am UTC](https://community.mp3tag.de/t/audio-channels-in-a-track/54321/8 "2021-09-10T11:12:37Z")

</div>

Bit of an update. After being told that %\_mode% should show the channels I began to suspect my installation. I have uninstalled/reinstalled MP3TAG with some strange results. I am now seeing some differences but it's far from right. The attached image shows a sample where "Track" is the confirmed number of channels and Mode is - well what Mode shows. As you can see - some of them are right but half of them are showing "2" instead of "6".

Any ideas?

![image](https://community.mp3tag.de/uploads/default/original/2X/2/23371a3bd737a4f0ac9f0e60fadd92d36c1a2c8a.png)

---

<div class="post-metadata">

### Author: ![Florian](https://community.mp3tag.de/user_avatar/community.mp3tag.de/florian/32/5759_2.png) [@Florian](https://community.mp3tag.de/u/Florian)
#### Post date: [September 10, 2021, 12:07pm UTC](https://community.mp3tag.de/t/audio-channels-in-a-track/54321/9 "2021-09-10T12:07:18Z")

</div>

Is the discrepancy happening with MP4 or MKA or both?

---

<div class="post-metadata">

### Author: ![Everso](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/e/9de053/32.png) [@Everso](https://community.mp3tag.de/u/Everso)
#### Post date: [September 10, 2021, 12:20pm UTC](https://community.mp3tag.de/t/audio-channels-in-a-track/54321/10 "2021-09-10T12:20:19Z")

</div>

It's both MKV and MP4... However I have done some more digging about and thing I know the issue (though not the solution yet). It looks like the audio codec (I think this is the correct term). If the track is AC3 or DTS (not tested any others) then it will report a mode of 2 no matter what. However if the codec is AAC then mode reports correctly.

To confirm this I took one of the incorrectly reporting files and re-coded it to AAC and BOOM ... mode reports correct number of channels.

I hope this helps pin down the issue and maybe a solution. If it's something that cannot be sorted I can re-code my files.

---

<div class="post-metadata">

### Author: ![Florian](https://community.mp3tag.de/user_avatar/community.mp3tag.de/florian/32/5759_2.png) [@Florian](https://community.mp3tag.de/u/Florian)
#### Post date: [September 17, 2021, 11:30am UTC](https://community.mp3tag.de/t/audio-channels-in-a-track/54321/11 "2021-09-17T11:30:34Z")

</div>

This should be fixed with Mp3tag v3.09 — can you please re-check your files?

---

<div class="post-metadata">

### Author: ![Everso](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/e/9de053/32.png) [@Everso](https://community.mp3tag.de/u/Everso)
#### Post date: [September 17, 2021, 11:54am UTC](https://community.mp3tag.de/t/audio-channels-in-a-track/54321/12 "2021-09-17T11:54:27Z")

</div>

> [@Florian](#):
>
> Mp3tag v3.09

Hi,

thanks for looking at this but I am afraid it's made no difference.

 ![image](https://community.mp3tag.de/uploads/default/original/2X/f/fa468c04120748aa7b1a80c9d2c4523c0a2c2b39.png)

---

<div class="post-metadata">

### Author: ![Florian](https://community.mp3tag.de/user_avatar/community.mp3tag.de/florian/32/5759_2.png) [@Florian](https://community.mp3tag.de/u/Florian)
#### Post date: [September 17, 2021, 12:41pm UTC](https://community.mp3tag.de/t/audio-channels-in-a-track/54321/13 "2021-09-17T12:41:45Z")

</div>

I've made changes regarding MP4 with AC3. Can you re-check those?

---

<div class="post-metadata">

### Author: ![Everso](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/e/9de053/32.png) [@Everso](https://community.mp3tag.de/u/Everso)
#### Post date: [September 17, 2021, 12:46pm UTC](https://community.mp3tag.de/t/audio-channels-in-a-track/54321/14 "2021-09-17T12:46:39Z")

</div>

Is there a new version "3.9.1?". I did check the download page and the file is the same version and file size. Am I missing something?

---

<div class="post-metadata">

### Author: ![Florian](https://community.mp3tag.de/user_avatar/community.mp3tag.de/florian/32/5759_2.png) [@Florian](https://community.mp3tag.de/u/Florian)
#### Post date: [September 18, 2021, 3:45pm UTC](https://community.mp3tag.de/t/audio-channels-in-a-track/54321/15 "2021-09-18T15:45:15Z")

</div>

No, I was referring to your screenshot which shows MPEG-4 AAC and not MPEG-4 AC3. In your original post you've mentioned

> [@Everso](#):
>
> If the track is AC3 or DTS (not tested any others) then it will report a mode of 2 no matter what.

I couldn't reproduce with DTS, but could with AC3 — that's why I've mentioned that. Maybe you can point me to files that show this unintended behavior and I can invest some time and research to see where it's going wrong.

---

<div class="post-metadata">

### Author: ![system](https://community.mp3tag.de/uploads/default/original/2X/c/ce7035d426cb755a7916793326d23b465222a407.png) [@system](https://community.mp3tag.de/u/system)
#### Post date: [April 5, 2022, 9:52am UTC](https://community.mp3tag.de/t/audio-channels-in-a-track/54321/16 "2022-04-05T09:52:46Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
