Can the MIP SDK export only the audio?

​I am developing to export Program by MIP SDK.

I check the sample “Component Integration Sample”-“Export Sample” as reference.

Can the MIP SDK export only the audio?

If it possibly can,how to export? API etc.

The IExporter class behavior is to fail if the are no items in the CameraList property. (VideoOS.Platform.Data.IExporter Interface Reference)

Workaround would be to extract the raw audio using RawVideoSource (despite the name it can extract raw audio). Then handle the raw audio writing it to file or similar.

Hi Bo.

Thank you for your rely.

Could ​you give me the sample program to export using RawVideoSource?

Unfortunately there is no such sample.

Maybe this could be an inspiration - (Note; this is an example that uses live source rather than video source (live rather than playback), so try to switch to use of RawVideoSource.)

https://developer.milestonesys.com/s/question/0D50O00003OEMHWSA5/live-audio-similar-to-live-video

​Hi Bo.

Thank you for your information.

I try to use RawVideoSource as the reference.

Hi, Bo.

I understand to use “RawVideoSource”.
And I probably get the date of audio.

But the data type is raw.
I write out the data in a file(xxx.wav).
However the file can not give a sound.

Could you tell me how do I make the wav file from the raw data.
Are the other tools used?

Raw source means unaltered, there might be different formats depending on the camera / microphone setup.

In the MIP Documentation please lookup - The GenericByteData format

Apart from this documentation there is no methods or sample working with raw data in this way. You might have to seek information or guidance outside the MIP Documentation and the MIP SDK.

Hi, Bo.

I sort out this situation.

I have three different questions.

1.Why is it workaround?

2.Do the api to export only audio exist?

3.The Smart client can export only audio(wav file).Why can not MIP do?

Could you answer the questions?

  1. Finding that the MIP SDK Export functionality does not have functionality to export audio except as related to a camera/video export I recommended the workaround.
  2. No. MIP SDK Export functionality in the current MIP SDK implementation is all focused on video.
  3. The Smart Client has functionality the MIP SDK does not. In the ideal world the MIP SDK could do what the clients can, but it is not the case as it is today.

I hope this clarifies it. Note that functionality is added to the MIP SDK gradually. If you find you miss important functionality please mention it. Mentions of missing functionality will be put forward to Milestone Product Management. If you document why it find important it might help Product Management in their prioritization when deciding features to include or improve in future development work her at Milestone Systems.

​OK,I understand.

I miss functionality to export only audio.

Could you make a request for enhancement to Milestones Product Management?

I don’t have authority to do it.

Anybody can request an enhancement. So to be practical about it: If you do so in this forum we will make sure that Product Management sees it.

For clarification I have to say it is not all requests will be met. Requests that are met might take time before they are implemented and it might not be the next release. Product Management will evaluate and prioritize the requests.

I understand.​

Thank you for you additional explanation.​