---
# System prepended metadata

title: 'IMF plugin needs support for multiple audio configurations and not only 5.1 and 2.0 (https://ownzones.atlassian.net/browse/CD-8814)'

---

# IMF plugin needs support for multiple audio configurations and not only 5.1 and 2.0 (https://ownzones.atlassian.net/browse/CD-8814)

---

**Use cases:**
- [x] multiple stereo tracks - e.g. **LtRtLtRtLRCLfeLsRs** :
https://connect.char.ownzones.dev/viaplay-plugin/packages/6bc752b4-52e2-4eeb-938d-e466209bcbdb

- [x] multiple surround tracks - e.g. **LRCLfeLsRsLRCLfeLsRsLtRt** :
https://connect.char.ownzones.dev/viaplay-plugin/packages/a854cdcc-35a6-4f96-8f28-decf01dda981

- [x] multiple stereo+surround tracks - e.g.  **LRCLfeLsRsLRCLfeLsRsLtRtLtRt**:
https://connect.char.ownzones.dev/viaplay-plugin/packages/1128e01a-da2e-49c4-964b-9ffabd1b636b

- [x] channels arranged in a different order (within the same group - e.g. **RtLtLtRtRLCLfeLsRs**) https://connect.char.ownzones.dev/viaplay-plugin/packages/1128e01a-da2e-49c4-964b-9ffabd1b636b

- [x] skipped channels - e.g. **LCLfeLsRsxxLRCLfeLsRsLtRt** or others:
Skipped Stereo+Surround config: - https://connect.char.ownzones.dev/viaplay-plugin/packages/73577136-0601-4b65-9064-b671a38d1676
Skipped Surround config: xxxxxxLtRtLRCLfeLsRsLtRt - https://connect.char.ownzones.dev/viaplay-plugin/packages/f05f0502-1c86-45ed-b01d-58bdb79f65b5
Skipped  - https://connect.char.ownzones.dev/viaplay-plugin/packages/959d1feb-0837-45ff-87a5-5b1fd716b6c0
configurations: 
1) Skipped Stereo config: LRCLfeLsRsxxLRCLfeLsRsLtRt, LtRtxxLtRtLRCLfeLsRs, 
2) Skipped Surround config: xxxxxxLtRtLRCLfeLsRsLtRt, 
3) Skipped Stereo+Surround config: xxxxxxxxLRCLfeLsRsLtRt,
4) Skipped and switched channels: RtxLtxLtRtLRCLfeLsRs 

- [x] mov+wav:
https://connect.char.ownzones.dev/viaplay-plugin/packages/6bc752b4-52e2-4eeb-938d-e466209bcbdb - Stereo + Stereo Wav
https://connect.char.ownzones.dev/viaplay-plugin/packages/6e47f7ef-3f09-4877-a3ad-ed88f35a091f - Stereo + Surround Wav

- [x] viaplay [source file](https://connect.char.ownzones.dev/viaplay-plugin/files/e9c67249-b874-4158-92fe-a236d84fdf3e) + LRCLfeLsRsLtRtLtRt - https://connect.char.ownzones.dev/viaplay-plugin/packages/503501fe-3da7-432d-8026-4efec20bec93
- [x] Check audio mapping for each configuration
- validations 
    - [x] incomplete audio config (e.g. LtLtRtLRCLfeLsRs - Rt is missing)
    - [x] channels are not grouped (e.g. LtLtRtLRCLfeLsRsRt - we have all channels for 2 stereo&1surround but not grouped)
    - [x] invalid audio config (e.g. audio config = some random text)
    - [x] configuration with more channels than the source file - [Meridian_10sec_all_timeline tracks_mono.mov](https://connect.char.ownzones.dev/viaplay-plugin/files/8611dab0-1359-4337-aefa-dd866894dbba), audio config = *LRCLfeLsRsLRCLfeLsRsLtRtLtRtLtRt*

---
**Regression checks**
- basic configurations (LtRt, LRCLfeLsRs, LtRtLRCLfeLsRs, LRCLfeLsRsLtRt), skipped channels, validations, general plugin flow with both progressive&interlaced files

---

**Test files:**

mov:
- with mono tracks: https://connect.char.ownzones.dev/viaplay-plugin/files/e9c67249-b874-4158-92fe-a236d84fdf3e
- with stereo/surround tracks https://connect.newstaging.ownzones.dev/viaplay-plugin/files/32ff876b-0091-4323-844d-b5de563778bb


wav:
- audio-51.wav https://connect.newstaging.ownzones.dev/viaplay-plugin/files/b7999dce-d479-406e-bbc9-eb63e9076575

Other test files (staging):
- https://connect.newstaging.ownzones.dev/amp2/files/f4f98d52-f680-46a7-b0f1-9d2718881fc0 - 1 stereo, 1 with 12 channels
- https://connect.newstaging.ownzones.dev/viaplay-plugin/files/8ecc4c04-04ef-47c1-8edf-a30bbf102c1d - 1 track with 12 channels

