title: How to change the audio track of a video on the fly using ffmpeg in c++?
body: <p>I am trying to develop a media player application in android. I am using dolphin player's code as reference. But i don't know how to change the audio and subtitle track on the fly while playing a video . using command line of ffmpeg it's possible but how to do it with ffmpeg c++ code?</p>