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.

RE: PAL setting

Hi. Narayanan

sorry new post because i can't post reply ....

i checked detail , then i knew that "ti_cap.c" is set fraterate , thus i printed the result of input frame rate and output frame rate.

the code and result is belows.

2538.201211011735.pdf

ti_cap.c

Int32 Vcap_setFrameRate(VCAP_CHN vcChnId, VCAP_STRM vStrmId, Int32 inputFrameRate, Int32 outputFrameRate)

if(gVcapModuleContext.deiId[deiId]!=SYSTEM_LINK_ID_INVALID)
{
// kisung cho
if(deiId == DEI_LINK_OUT_QUE_DEI_SC){
printf("DEI_LINK_CMD_SET_FRAME_RATE vcChnId:%d, vStrmId:%d, deiId:%d input:%d, output:%d\n", vcChnId, vStrmId, deiId, params.inputFrameRate, params.outputFrameRate);
}
// kisung cho end
status = System_linkControl(gVcapModuleContext.deiId[deiId], DEI_LINK_CMD_SET_FRAME_RATE,
&params, sizeof(params), TRUE);
#if defined(TI_814X_BUILD) || defined(TI_8107_BUILD)

result log ( we have 8 channels)

DEI_LINK_CMD_SET_FRAME_RATE vcChnId:0, vStrmId:0, deiId:0 input:5000, output:3000
DEI_LINK_CMD_SET_FRAME_RATE vcChnId:1, vStrmId:0, deiId:0 input:5000, output:3000
DEI_LINK_CMD_SET_FRAME_RATE vcChnId:2, vStrmId:0, deiId:0 input:5000, output:3000
DEI_LINK_CMD_SET_FRAME_RATE vcChnId:3, vStrmId:0, deiId:0 input:5000, output:3000
DEI_LINK_CMD_SET_FRAME_RATE vcChnId:4, vStrmId:0, deiId:0 input:5000, output:3000
DEI_LINK_CMD_SET_FRAME_RATE vcChnId:5, vStrmId:0, deiId:0 input:5000, output:3000
DEI_LINK_CMD_SET_FRAME_RATE vcChnId:6, vStrmId:0, deiId:0 input:5000, output:3000
DEI_LINK_CMD_SET_FRAME_RATE vcChnId:7, vStrmId:0, deiId:0 input:5000, output:3000

my env

  • Hi. 

    sorry new post because i can't post reply . 

    i checked detail , then i knew that "ti_cap.c" is set fraterate , thus i printed the result of input frame rate and output frame rate.

    the code and result is belows.

     

    <code> ti_cap.c

    1169 Int32 Vcap_setFrameRate(VCAP_CHN vcChnId, VCAP_STRM vStrmId, Int32 inputFrameRate, Int32 outputFrameRate)

    ...

    1270 if(gVcapModuleContext.deiId[deiId]!=SYSTEM_LINK_ID_INVALID)
    1271 {
    1272 // kisung cho
    1273 if(deiId == DEI_LINK_OUT_QUE_DEI_SC){
    1274 printf("DEI_LINK_CMD_SET_FRAME_RATE vcChnId:%d, vStrmId:%d, deiId:%d input:%d, output:%d\n", vcChnId, vStrmId, deiId, params.inputFrameRate, params.outputFrameRate);
    1275 }
    1276 // kisung cho end
    1277 status = System_linkControl(gVcapModuleContext.deiId[deiId], DEI_LINK_CMD_SET_FRAME_RATE,
    1278 &params, sizeof(params), TRUE);
    1279 #if defined(TI_814X_BUILD) || defined(TI_8107_BUILD)

    ...

    </code>

    result log ( we have 8 channels)

    DEI_LINK_CMD_SET_FRAME_RATE vcChnId:0, vStrmId:0, deiId:0 input:5000, output:3000
    DEI_LINK_CMD_SET_FRAME_RATE vcChnId:1, vStrmId:0, deiId:0 input:5000, output:3000
    DEI_LINK_CMD_SET_FRAME_RATE vcChnId:2, vStrmId:0, deiId:0 input:5000, output:3000
    DEI_LINK_CMD_SET_FRAME_RATE vcChnId:3, vStrmId:0, deiId:0 input:5000, output:3000
    DEI_LINK_CMD_SET_FRAME_RATE vcChnId:4, vStrmId:0, deiId:0 input:5000, output:3000
    DEI_LINK_CMD_SET_FRAME_RATE vcChnId:5, vStrmId:0, deiId:0 input:5000, output:3000
    DEI_LINK_CMD_SET_FRAME_RATE vcChnId:6, vStrmId:0, deiId:0 input:5000, output:3000
    DEI_LINK_CMD_SET_FRAME_RATE vcChnId:7, vStrmId:0, deiId:0 input:5000, output:3000

    i't print detail debug full log

    2476.201211011735.pdf

    my env

  • I checked the logs and the configuration is taking effect but for 16 ch view, the preview channels are taken from the secondary CIF channels that are used for encoding and so the fps still shows as 25.

    First can you check the preview and share the logs for some other layout such as 2x2 (4 windows).

    Next can you set the VIP_SC_SECONDARY queue output fps to 30 and check the stats with 16 ch layout. Note that you will have to modify encoder link  setting to set input fps at 30 and output fps at 25 else it will encode the secondary channels at 30 fps instead of 25 fps.

  • HI

    it's my log's of 2x2 windows. 

    7357.201211011735.txt

    i will check another things.

  • The logs look fine . Looks like you still have an issue with your camera connected to channel 10 and channel 12 where a lot of FID repeats are seen. Pls view channel 0 -7 on SwMs with 2 x 2 layout and check if the smoothness has improved.

  • Hi .

    i removed FID repeats camera, it's ok now.

    i attached my log, now log is ok. but it's not improved video smoothness.

    4812.201211021021.txt

    it's stop and go video , you will see vehicle is not smooth. it's some diffrent real see then seee the video file .

    Pls can you give me a detailed info  where is the modify?

    i don't know the right place of changing soure point of VIP_SC_SECONDARY and etc.

    Regards. CHO

  • Mr.Cho,

     The stats look clean as you said. If you are not seeing improvement in 2x2 layout after making this change then making the changes for VIP_SC_SECONDARY will not help since it is also does the same.

      The issue is not clear from the video you sent. Is the issue that fields are moving back and forth or is it motion is not smooth ? When playing back the video very slowly in vlc player we see the motion is uniform but fields are moving back and forth.

     

  • Hi Narayanan.

    The issue is "stop and go". you said "back and forth" , but i feel this issue "back and forth" and "stop and go" both. 

    I don't know this sceen is "stop" or "back"  surely, i can't  ensure "stop and go" or "back and go", it's sceen almost the same.

    i issued it's not smooth live display.

     This "back and go" (or stop and go)  phenomeno  is not appeared in the NTSC mode. only PAL signal appeared thus i checked repeated FPS and windows 30 FPS.

    How does the your pal camera load view seen?

    Regards. CHO