Extracting the audio track from a video faster
Posted: 23 Oct 2020 15:19
Hello,
Is there a faster way to extract the audio from a video than playing the video and intercepting the PCM data in the audio play callback?
Basically, if I have a video which is 30 minutes long, how do I get the audio track without having to wait for 30 minutes?
For example, can I force the lib to send me the next audio buffer, then the next etc... or change the sample rate to be higher so I get more data per buffer?
(I am using libVLCSharp.WinForms in case it matters...)
Thank you!
Is there a faster way to extract the audio from a video than playing the video and intercepting the PCM data in the audio play callback?
Basically, if I have a video which is 30 minutes long, how do I get the audio track without having to wait for 30 minutes?
For example, can I force the lib to send me the next audio buffer, then the next etc... or change the sample rate to be higher so I get more data per buffer?
(I am using libVLCSharp.WinForms in case it matters...)
Thank you!