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.

DM368 encode fps:0

Other Parts Discussed in Thread: LINUXDVSDK-DM36X, TVP5146, TVP7002

dm368    Cores: ARM 432 MHz DDR:   340 MHz

dvsdk 2.10.18

 

root@192.168.0.60:/opt/dvsdk# ./loadmodules.sh cmemk: no version for "struct_module" found: kernel tainted. CMEMK module: built on Nov 27 2012 at 09:17:51   Reference Linux version 2.6.18   File /home/yq/dvsdk_2_10_01_18/linuxutils_2_24_02/packages/ti/sdo/linuxutils/cmem/src/module/cmemk.c ioremap_nocache(0x85000000, 50331648)=0xc6000000 allocated heap buffer 0xc6000000 of size 0x134000 cmem initialized 20 pools between 0x85000000 and 0x88000000 CMEM Range Overlaps Kernel Physical - allowing overlap CMEM phys_start (0x1000) overlaps kernel (0x80000000 -> 0x84c00000) ioremap_nocache(0x1000, 28672)=0xc5088000 no remaining memory for heap, no heap created for memory block 1 cmem initialized 1 pools between 0x1000 and 0x8000 IRQK module: built on Nov 27 2012 at 09:20:41   Reference Linux version 2.6.18   File /home/yq/dvsdk_2_10_01_18/linuxutils_2_24_02/packages/ti/sdo/linuxutils/irq/src/module/irqk.c irqk initialized EDMAK module: built on Nov 27 2012 at 09:20:40   Reference Linux version 2.6.18   File /home/yq/dvsdk_2_10_01_18/linuxutils_2_24_02/packages/ti/sdo/linuxutils/edma/src/module/edmak.c davinci_interrupt 354: VBUS error workaround (delay coming)

root@192.168.0.60:/opt/dvsdk# ./encode -v 2.264 Encode demo started. vpfe ccdc capture vpfe ccdc capture.1: IMP chained vpfe ccdc capture vpfe ccdc capture.1: Resizer present MUX: initialized GPIO40 davinci_resizer davinci_resizer.2: RSZ_G_CONFIG:0:1:108 davinci_previewer davinci_previewer.2: ipipe_set_preview_config davinci_previewer davinci_previewer.2: ipipe_set_preview_config vpfe ccdc capture vpfe ccdc capture.1: IMP chained vpfe ccdc capture vpfe ccdc capture.1: Resizer present vpfe ccdc capture vpfe ccdc capture.1: hpitch = 720, vpitch = 480, bpp = 1 vpfe ccdc capture vpfe ccdc capture.1: hpitch = 720, vpitch = 480, bpp = 1 Starting ccdc_config_ycbcr...<7> starting ccdc_reset...<7> End of ccdc_reset...<7> Starting ccdc_setwin...<7>ipipe_set_resizer, resizer - A enabled DavinciDisplay DavinciDisplay.1: Before finishing with S_FMT: layer.pix_fmt.bytesperline = 736,  layer.pix_fmt.width = 720,  layer.pix_fmt.height = 480,  layer.pix_fmt.sizeimage =529920 DavinciDisplay DavinciDisplay.1: pixfmt->width = 720,  layer->layer_info.config.line_length= 736

 ARM Load: 0% Video fps: 0 fps Video bit rate: 0 kbps Sound bit rate: 0 kbps Time: 00:00:01 Demo: Encode Display: D1 NTSC Video Codec: H.264 HP Resolution: 720x480 Sound Codec: N/A Sampling Freq: N/A

ARM Load: 0% Video fps: 0 fps Video bit rate: 0 kbps Sound bit rate: 0 kbps Time: 00:00:02 Demo: Encode Display: D1 NTSC Video Codec: H.264 HP Resolution: 720x480 Sound Codec: N/A Sampling Freq: N/A

 

 

 

 

  • dvsdk_2_10_01_18

    dm368    Cores: ARM 432 MHz DDR:   340 MHz

    root@192.168.0.60:/opt/dvsdk# ./loadmodules.sh

    cmemk: no version for "struct_module" found: kernel tainted.

    CMEMK module: built on Nov 27 2012 at 09:17:51

    Reference Linux version 2.6.18   File /home/yq/dvsdk_2_10_01_18/linuxutils_2_24_02/packages/ti/sdo/linuxutils/cmem/src/module/cmemk.c

    ioremap_nocache(0x85000000, 50331648)=0xc6000000

    allocated heap buffer 0xc6000000 of size 0x134000

    cmem initialized 20 pools between 0x85000000 and 0x88000000

    CMEM Range Overlaps Kernel Physical - allowing overlap

    CMEM phys_start (0x1000) overlaps kernel (0x80000000 -> 0x84c00000)

    ioremap_nocache(0x1000, 28672)=0xc5088000

    no remaining memory for heap, no heap created for memory block 1

    cmem initialized 1 pools between 0x1000 and 0x8000

    IRQK module: built on Nov 27 2012 at 09:20:41  

    Reference Linux version 2.6.18   File /home/yq/dvsdk_2_10_01_18/linuxutils_2_24_02/packages/ti/sdo/linuxutils/irq/src/module/irqk.c irqk initialized EDMAK module: built on Nov 27 2012 at 09:20:40  

    Reference Linux version 2.6.18   File /home/yq/dvsdk_2_10_01_18/linuxutils_2_24_02/packages/ti/sdo/linuxutils/edma/src/module/edmak.c

    davinci_interrupt 354: VBUS error workaround (delay coming)

    root@192.168.0.60:/opt/dvsdk# ./encode -v 2.264

    Encode demo started.

    vpfe ccdc capture vpfe ccdc capture.1: IMP chained

    vpfe ccdc capture vpfe ccdc capture.1: Resizer present

    MUX: initialized GPIO40

    davinci_resizer davinci_resizer.2: RSZ_G_CONFIG:0:1:108

    davinci_previewer davinci_previewer.2: ipipe_set_preview_config davinci_previewer

    davinci_previewer.2: ipipe_set_preview_config

    vpfe ccdc capture vpfe ccdc capture.1: IMP chained

    vpfe ccdc capture vpfe ccdc capture.1: Resizer present

    vpfe ccdc capture vpfe ccdc capture.1: hpitch = 720, vpitch = 480, bpp = 1

    vpfe ccdc capture vpfe ccdc capture.1: hpitch = 720, vpitch = 480, bpp = 1

    Starting ccdc_config_ycbcr...<7>

    starting ccdc_reset...<7>

    End of ccdc_reset...<7>

    Starting ccdc_setwin...<7>ipipe_set_resizer, resizer - A enabled

    DavinciDisplay DavinciDisplay.1: Before finishing with S_FMT:

    layer.pix_fmt.bytesperline = 736, 

    layer.pix_fmt.width = 720,

    layer.pix_fmt.height = 480, 

    layer.pix_fmt.sizeimage =529920

    DavinciDisplay DavinciDisplay.1: pixfmt->width = 720,  layer->layer_info.config.line_length= 736

    ARM Load: 0% Video fps: 0 fps Video bit rate: 0 kbps Sound bit rate: 0 kbps Time: 00:00:01 Demo: Encode Display: D1 NTSC Video Codec: H.264 HP Resolution: 720x480 Sound Codec: N/A Sampling Freq: N/A

    ARM Load: 0% Video fps: 0 fps Video bit rate: 0 kbps Sound bit rate: 0 kbps Time: 00:00:02 Demo: Encode Display: D1 NTSC Video Codec: H.264 HP Resolution: 720x480 Sound Codec: N/A Sampling Freq: N/A

    FPS一直0,求指点```

  • Hi,

    - Why don't you use the TI-dvsdk v. 4 (see http://www.ti.com/tool/linuxdvsdk-dm36x)?

    - What are your bootargs?

    - Moreover, I noticed you did not provide a lot of args for your encode demo...
    Does your input source, at least, match the default video input source (composite), the default video standard resolution (D1 - 720 x 480) and the default framerate (NTSC - 30fps) of the encode demo app?

  • hello,Julien

     -I want to use the facedetect in dvsdk 2.10.

     -bootargs console=ttyS0,115200n8 rw mem=76M video=davincifb:vid0=OFF:vid1=OFF:osd0=720x576x16,4050K dm365_imp.oper_mode=0 davinci_capture.device_type=4     vpfe_capture.cont_bufsize=6291456 root=/dev/nfs nfsroot=192.168.0.138:/root/targetfs ip=192.168.0.60:192.168.0.1:255.255.255.0

     -My input source match the default video input source.

     

    Thank you very much for your help!

  • Hi,

    Hardware part, what are you using?
    Are you using a developing board (DM368 EVM, leopardboard...)?
    Is this the way you are trying : composite -> TVP5146 -> DM368 ? If yes, please change your bootargs with davinci_capture.device_type=2 (for TVP5146).

    //=4 is for TVP7002 (http://processors.wiki.ti.com/index.php/U-Boot_Usage#bootargs).

  • hello,

    I'm using a developing board.

    -I use TVP7002

  • I do not remember well but I think TVP7002 does not process frames below 40Hz or 50Hz. Is your input higher or equals to 40Hz?

    According to the tvp7002 datasheet, "Separated VSYNC or an external sync separator must be used to support formats having field rates less than 40 Hz".

    If you want to be sure if your tvp7002 perfectly sync. the input frames, you should scope the input signal (e.g. "green component input") and scope Vsout signal (pin #23 tvp7002). At each input frame, the Vsout signal should give a pulse if it sync. well.
    If your input source is not adapted for frequency, you must provide an external sync seperator...

    Hope this helps!

  • hi

    --The encode can work well when I use the dvsdk 4.02.