Copyright © 2005-2018 MultiMedia Soft

AudioExtractFromVideoDone event

Previous pageReturn to chapter overviewNext page



Occurs during the extraction of the audio track from a video file to notify about the advancement. The audio extraction is started through a previous call to the VideoPlayer.AudioTrackExtract method.


For further details about the use of the embedded video player see the VideoPlayer class section.

For details about video clips rendering refer to the How to play video files through DirectShow section.

For further details about synchronization through Events see the How to synchronize the container application through events tutorial.





[Visual Basic]

Public Event AudioExtractFromVideoDone As AudioExtractFromVideoDoneEventHandler



public event AudioExtractFromVideoDoneEventHandler AudioExtractFromVideoDone;



public: __event AudioExtractFromVideoDoneEventHandler AudioExtractFromVideoDone;



Event Data


The event handler receives an argument of type AudioExtractFromVideoDoneEventArgs having the following parameters:







Number representing the zero-based index of the player that fired the event


Boolean flag that warns when the extracted audio track, that was originally requested to be stored in memory, has been put into a temporary file due to missing memory space.

If the original request was to store the extracted audio track inside a temporary file, this flag can be ignored.

Supported values are the following:

Mnemonic constant



The extracted audio track has been stored in memory as requested


Due to missing memory space, the extracted audio track has been stored inside a temporary file which can be accessed through the VideoPlayer.AudioTrackGetTempFilePathname and VideoPlayer.AudioTrackGetTempFileSize methods.


Result of the audio extraction: see the LastError property for details about the specific error code.