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.

where is cif bitstream and mjpeg stream saved?

Hi,

I do develop on dm8168 evm board using dvrrdk 02.80. I read the dvrrdk mcfw_demo ,

In video capture , encode and display demo,

VcapVenc_bitsWriteCreate is used to create a thread to write 264 bitstream to hard disk.

In this demo CIF and mjpeg encode also is run, where these two bitstream saved then?

I don't see this part in VcapVenc_bitsWriteCreate function ?

when then ?

  • The demo only writes CH0 primary stream to a file.

    To enable writing of CIF and MJPEG stream you will need to modify the value of gVcapVenc_ctrl.fileWriteChn in VcapVenc_bitsWriteCreate()

    0..15 is primary stream

    16..31 is CIF stream

    32..47 is MJPEG stream

    For 16CH D1 encode + display demo

    regards
    Kedar

  • Hi Kedar

    Thank you for your replay.

    Another question is how the CH number is allocated to the different streams ?

    in mcfw link  source files? or some where else?

    regards

    xavier

  • Channel number depends on how links are connected to each other and user does not explicitly assign CH numbers.

    Example, if 16CH D1 + 16CH CIF feed to encode link, then CH0 to 15 would be D1 or CIF depends on the order in which the previous link is connected to the encode link.

    In general the order in which we connect to encode link is

    0..N-1 Primary stream (D1)

    N .. 2N-1 Secondary stream (CIF)

    2N .. 3N-1 MJPEG stream (low FPS)

    When N is number of capture channels, which varies based on use-case, example 4/816 CH DVR use-case

    regards

    Kedar

  • Ok, if i want to encode a XGA video and a PAL video from vportA and vportB each?

    How to creat the data link ? Does the follow will be property?

                                                        |--->DEI Link ---->SC Link --->PAL OSD--->|   

        CAP Link ------>DUP Link---->                                                                     |--->MERGE Link---->Encode Link--->ipc bitstream out M3-->ipc bitstream in M3--> host A8    

         |                                              |--->DEI Link ---->SC Link -->XGA OSD--->|  

         |

         |------>MERGE Link------>SC Link----->NFS Link----->PAL Display Link

     How to differerent the different video data by Channel number?