Software Archive
Read-only legacy content
17060 Discussions

Audio not coming into video

Rajendran_E_
Beginner
631 Views

Hi,

  Am recording streams as video . The record functionalities are working fine. But audio is not coming . The below code is am using for recording as video.

        session = PXCMSession.CreateInstance();
        senseManager = session.CreateSenseManager();
        senseManager.captureManager.SetFileName("new4.rssdk", true);
        senseManager.EnableStream(PXCMCapture.StreamType.STREAM_TYPE_COLOR, WIDTH, HEIGHT, 30);
        senseManager.Init();
        for (int i = 0; i < 200; i++)
        {

             if (senseManager.AcquireFrame(true).IsError()) break;

            PXCMCapture.Sample sample = senseManager.QuerySample();


            senseManager.ReleaseFrame();
            colorBitmap.Dispose();
        }

My system configuration is : Lenovo ThinkPad Yoga15 with internal real sense camera.

1. Why audio is not coming to my recorded video ?

2. I have to enable an audio driver code ?

3. I have to install any separate audio driver ?

 

 

 

0 Kudos
2 Replies
Xusheng_L_Intel
Employee
631 Views

The RealSense SDK did not provide audio record API. You can use windows API to record the audio. For detail info, you can find @https://software.intel.com/sites/landingpage/realsense/camera-sdk/v1.1/documentation/html/manuals_speech_recognition_procedure.html

0 Kudos
Rajendran_E_
Beginner
631 Views

Thank you David Lu.

Am trying to record video with audio by using Real Sense SDK.

Audio record API's not providing in real sense sdk but if am recording audio by using windows API mean how can i merge the audio and video file ????

Video file ---> samplevideo.rssdk

Audio file --->sampleaudio.wav

How can i merge both the things.... is that possible ? else is any other way to record video with audio by using real sense sdk.

0 Kudos
Reply