This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Streaming Raw video(RTSP) in IPNC_RDK_V3.00

Hi all,

S/W: IPNC_RDK_RELEASE_3.00

H/W: DM8127

Sensor: MT9J003

               This IPNC package is streaming encoded data (H264/MPEG4/MJPEG) over RTSP. I am able to receive & Play the encoded data using  VLC with help of RTSP URL provided.

Now, I want to stream RAW data instead of H264(1080p-30fps) encoded frame, for some experiment purpose. To do this, I want to bypass H264 encoder. How I can do that?

If bypassing H264 is messy, I am ok with repeated overwriting of H264 o/p buffer with input buffer(which expected to have RAW-video). {performance is not an issue for me as of now.}

Thanks in advance.

  • any one have Idea on this?

    Awaiting ur reply.

    Thank you :)

  • It is tough to stream the raw Frames becuase of size and BW.

    But the the RAW frames can arrive till A8 and can be written to a file.

    That feature is already supported in the RDK. Please refer to an option called FRAME A8 in Rules.make.

  • Hi Venugopala,

                   Thank you for the response.

    I completely agree with your statement. "it is tough to stream the raw Frames becuase of size and BW."

    But, hope BW will be the problem, only if we go for RAW frames like 1920*1080. But thats not my case!!

    I am trying to send 320*240 RAW frame over RTSP, which is comparatively smaller.

    Hope this should be possible!!

     

    I am looking to copy the Raw-data in input buffers of encoder to output buffers of encoder, without actually encoding it.

    Thanks in advance.

  • Hi Venugopala,

                    As I mentioned in my previous comment, I am going for 320*240 RAW video, with a monochrome sensor!!

    my understanding is that it requires (320)*(240)*(16)*(60)=73,728,000bits/second close to 72Mbps!!

    { Width * Height * Bits per pixel * Framerate}

    Since the Ethernet supports up to 100Mbsps(theoretically), I should be able to transmit at-least 85/90Mbsps right?

    Please let me know your opinion on this.

    Also looking for your comments on How to pass RAW data to RTSP input buffers? as well.

    Appreciate your help.

  • CAPTURE_DISPLAY_MODE_ON := NO
    # Set this flag to "YUV" = YUV frames (secondary stream only) will do a round trip M3-A8-M3 to reach the SD display
    # Set this flag to "RAW" = RAW frames will be sent to A8 and then back to M3

    For RAW/YUV to reach A8 enable the above option appropriately.

    Now coming to streaming the RAW/YUV needs to be done by wis-streamer module in ipnc_app which is an Open Source module. 

    This needs to be changed for streaming the RAW/YUV content. I am not very sure about the amount of changes.

  • Hi Venugopala,

                Thank you very much for your response.

  • Hi venugopala,

                 one more query on the same issue .

    Now I enabled the CAPTURE_DISPLAY_MODE  & set FRAMES_TO_A8 = RAW.

    Data path is M3->A8->M3. Is it possible to dump this RAW data on M3 to a file? If yes please can u suggest how I can do this?

     

    Thanks a lot .

  • Hi,

            any ideas pleas?

  • A8 has got the access to file system and hence when the frame arrives on A8 you can write to a file in filesystem.