wang-bin / mdk-sdk

multimedia development kit. download:
https://sourceforge.net/projects/mdk-sdk/files/
272 stars 32 forks source link

Multi audio channels support #243

Open Vizalkar opened 2 weeks ago

Vizalkar commented 2 weeks ago

Hi We are implementing multi audio channels support in our software and as far as it seems, in MDK, videos that have more than 2 channels for the audio are mixed back into stereo. The external sound card that we use only plays through 2 of its outputs while it has 6 available and the source video contains 6 audio channels.

We are looking for a solution to solve that problem

Regards

Vizalkar commented 1 week ago

Is this by any mean already possible via FFmpeg options or anything ?

On our schedule we need this feature for November so we are evaluating the alternative solutions as you may not have the time to implement it soon enough. We are considering playing audio with a miniaudio player that we would sync to the video. Is there any mechanism that already exist that would help us ensure av sync if we were to choose that solution ?

Regards

wang-bin commented 1 week ago

which platform?

Vizalkar commented 1 week ago

Linux

wang-bin commented 1 week ago

I use alsa to play audio. supporting multiple channels is a little complicated in alsa. I will try pulseaudio

wang-bin commented 1 week ago

try the latest sdk and setAudioBackends({"PulseAudio"})

Vizalkar commented 1 week ago

Great thank you a lot ! Will try that tomorrow when I have the soundcard !

wang-bin commented 4 days ago

pulseaudio is the default in the latest sdk