On 2024-02-17 07:12 pm, Niklas Haas wrote:
On Sat, 17 Feb 2024 18:45:57 +0530 Gyan Doshi <ffmpeg@gyani.pro> wrote:
Whilst s302m multiple substreams I haven't seen, Dolby E streams internally contain multiple programs, often 5.1 and a 2.0 downmix. That is downstream of the Dolby-E decoder and user will have to use a filter like channelsplit to bifurcate those channels irrespective of where the s302m code resides. Is there metadata in Dolby E that tells you which channels belong together (and what attributes they might have)? Is it always 5.1+2.0, or could you have e.g. four different 2.0 programs encoded into a single S302M/AES3 stream?
Yes, the metadata is program configuration, with 8 max channels and 8 max programs, so 8 mono programs at most. But my samples are all 5.1+2 or 7.1 or 4.0. These will all result in a single decoded stream from the dolby_e decoder. Regards, Gyan