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.

TMS320DM368: webGUI parameter issues

Part Number: TMS320DM368


Hello,

We have ported IPNC RDK v5.1.0 on the DM368 EVM Board. Booting is from SD Card only.

We are running the av_server application from the system server.

We are facing some issues due to webGUI. When rate control selected is CBR, and i change it to VBR and save,  application got crashed.

We are not mounting the nand. We are using SD Card.

But changes in the parameter from the webGUI is stored in /mnt/nand/sysenv.cfg

My questions are:

1. Can we change the location where the webGUI storing their parameters?

2. After changing the bit rate from 1.5 Mbit/s to 5 Mbit/s, streaming quality is same.

3. Also TVOUT is connected to TV, which has very poor quality.

Regards,

Amit Soni

  • Hi Amit,

    I will reply to one of your questions related to bitrate.

    Amit Soni said:
    2. After changing the bit rate from 1.5 Mbit/s to 5 Mbit/s, streaming quality is same.

    Here make sure the below parameters are set. else Ratecontrol will not take effect. Please print the values and verify.

    rcPreset  = 5 (user defined)

    encodingPreset = 3 (user defined)

    encQuality = 2 (HIGH Quality)

    Also, targetBitrate <= maxbitrate.

    Please refer user guide of encoder Appendix F (Rate Control Modes)

  • Hi Amit,

    For your 1st question please update the below line as per your requirement.

    ipnc_app/interface/inc/system_default.h:17:#define SYS_FILE            "/mnt/nand/sysenv.cfg"

    Please update the macro to required location.

  • Hi Anuj,

    Thanks for the reply. But I am facing one problem in webGUI that When I am updating Rate Control: CBR to VBR or VBR to CBR. My application is getting crashed.


    And how to record video in the SD Card using webGUI?

    Regards,

    Amit Soni

  • Hello Prashant,

    Can you clarify that whether I have to hardcode these values? and also tell me location of these parameters where i have to update.

    Regards,

    Amit Soni

  • Hi Amit,

    If your setup doesn't use Encoder, then these parameters wont come to picture. These are encoder specific parameters. 

  • Hi Prashant,

    Actually I am working on the quality of live video and streaming video.

    For the live video: capture, dei, resize, display threads

    1. I checked the resolution in capture thread, resize thread, dei thread and display thread. May be poor quality may be due to resizing. but I think no issue in the resize.

    2. Tested the video encoder register values. I think these values are also upto the marks.

    3. I think this can also be due to dei thread. So I tried to skip deinterlacing to check the quality.

         I change in the UI_setConfig function in Source/ipnc_rdk/av_capture/application/ipnc/av_server/src/common/avServerUi.c

       #ifdef YUV_MODE_INTERLACED
     
             config->deiTskEnable     = FALSE;                      //   Changed from TRUE to FALSE
             config->displayEnable = TRUE;
      #else
             config->deiTskEnable = FALSE;
      #endif

         But it also gives runtime error. Here are the boot logs.

     

    DM36x initialization passed!                                                    
    TI UBL Version: 1.50                                                            
    Booting Catalog Boot Loader                                                     
    BootMode = SD/MMC                                                               
    Starting SDMMC Copy...                                                          
       DONE                                                                         
    Jumping to entry point at 0x81080000.                                           
                                                                                    
                                                                                    
    U-Boot 2010.12-rc2 (Mar 24 2011 - 16:49:26)                                     
                                                                                    
    Cores: ARM 432 MHz                                                              
    DDR:   340 MHz                                                                  
    I2C:   ready                                                                    
    DRAM:  128 MiB                                                                  
    NAND:  2048 MiB                                                                 
    MMC:   davinci: 0, davinci: 1                                                   
    Bad block table found at page 524224, version 0x55                              
    Bad block table found at page 1048512, version 0x01                             
    Bad block table found at page 524160, version 0x55                              
    Bad block table found at page 1048448, version 0x01                             
    nand_read_bbt: Bad block at 0x000003f80000                                      
    nand_read_bbt: Bad block at 0x00000a9a0000                                      
    nand_read_bbt: Bad block at 0x00000c100000                                      
    nand_read_bbt: Bad block at 0x000021700000                                      
    nand_read_bbt: Bad block at 0x000021900000                                      
    nand_read_bbt: Bad block at 0x000021960000                                      
    nand_read_bbt: Bad block at 0x0000222c0000                                      
    nand_read_bbt: Bad block at 0x000022780000                                      
    nand_read_bbt: Bad block at 0x000022cc0000                                      
    nand_read_bbt: Bad block at 0x000023820000                                      
    nand_read_bbt: Bad block at 0x000023840000                                      
    nand_read_bbt: Bad block at 0x0000238c0000                                      
    nand_read_bbt: Bad block at 0x0000238e0000                                      
    nand_read_bbt: Bad block at 0x000023b80000                                      
    nand_read_bbt: Bad block at 0x000023d40000                                      
    nand_read_bbt: Bad block at 0x000023d60000                                      
    nand_read_bbt: Bad block at 0x000023e40000                                      
    nand_read_bbt: Bad block at 0x000023f20000                                      
    nand_read_bbt: Bad block at 0x000024000000                                      
    nand_read_bbt: Bad block at 0x0000241a0000                                      
    nand_read_bbt: Bad block at 0x000024400000                                      
    nand_read_bbt: Bad block at 0x000024420000                                      
    nand_read_bbt: Bad block at 0x000024440000                                      
    nand_read_bbt: Bad block at 0x000024460000                                      
    nand_read_bbt: Bad block at 0x0000244a0000                                      
    nand_read_bbt: Bad block at 0x000024560000                                      
    nand_read_bbt: Bad block at 0x0000246c0000                                      
    nand_read_bbt: Bad block at 0x000024720000                                      
    nand_read_bbt: Bad block at 0x00002e880000                                      
    nand_read_bbt: Bad block at 0x00002eec0000                                      
    nand_read_bbt: Bad block at 0x00002f340000                                      
    nand_read_bbt: Bad block at 0x00002f860000                                      
    nand_read_bbt: Bad block at 0x00002fd40000                                      
    nand_read_bbt: Bad block at 0x00002fe00000                                      
    nand_read_bbt: Bad block at 0x000030180000                                      
    nand_read_bbt: Bad block at 0x0000304a0000                                      
    nand_read_bbt: Bad block at 0x0000305c0000                                      
    nand_read_bbt: Bad block at 0x0000307e0000                                      
    nand_read_bbt: Bad block at 0x000030940000                                      
    nand_read_bbt: Bad block at 0x000030ec0000                                      
    nand_read_bbt: Bad block at 0x000031140000                                      
    nand_read_bbt: Bad block at 0x000031c20000                                      
    nand_read_bbt: Bad block at 0x000031f40000                                      
    nand_read_bbt: Bad block at 0x0000321a0000                                      
    nand_read_bbt: Bad block at 0x0000322e0000                                      
    nand_read_bbt: Bad block at 0x000032300000                                      
    nand_read_bbt: Bad block at 0x000032360000                                      
    nand_read_bbt: Bad block at 0x0000324c0000                                      
    nand_read_bbt: Bad block at 0x000032660000                                      
    nand_read_bbt: Bad block at 0x0000326a0000                                      
    nand_read_bbt: Bad block at 0x0000326e0000                                      
    nand_read_bbt: Bad block at 0x000032740000                                      
    nand_read_bbt: Bad block at 0x000032780000                                      
    nand_read_bbt: Bad block at 0x0000327c0000                                      
    nand_read_bbt: Bad block at 0x000032840000                                      
    nand_read_bbt: Bad block at 0x000032880000                                      
    nand_read_bbt: Bad block at 0x0000328a0000                                      
    nand_read_bbt: Bad block at 0x0000328e0000                                      
    nand_read_bbt: Bad block at 0x000032920000                                      
    nand_read_bbt: Bad block at 0x000032bc0000                                      
    nand_read_bbt: Bad block at 0x000032d00000                                      
    nand_read_bbt: Bad block at 0x000032d80000                                      
    nand_read_bbt: Bad block at 0x000032e00000                                      
    nand_read_bbt: Bad block at 0x000032e20000                                      
    nand_read_bbt: Bad block at 0x000032e80000                                      
    nand_read_bbt: Bad block at 0x000033040000                                      
    nand_read_bbt: Bad block at 0x0000330c0000                                      
    nand_read_bbt: Bad block at 0x000033180000                                      
    nand_read_bbt: Bad block at 0x0000331e0000                                      
    nand_read_bbt: Bad block at 0x000033260000                                      
    nand_read_bbt: Bad block at 0x000033280000                                      
    nand_read_bbt: Bad block at 0x0000332c0000                                      
    nand_read_bbt: Bad block at 0x0000334c0000                                      
    nand_read_bbt: Bad block at 0x000033520000                                      
    nand_read_bbt: Bad block at 0x000033540000                                      
    nand_read_bbt: Bad block at 0x0000335c0000                                      
    nand_read_bbt: Bad block at 0x000033620000                                      
    nand_read_bbt: Bad block at 0x000033d40000                                      
    nand_read_bbt: Bad block at 0x0000355a0000                                      
    nand_read_bbt: Bad block at 0x00003bf00000                                      
    nand_read_bbt: Bad block at 0x00003d660000                                      
    nand_read_bbt: Bad block at 0x00003e040000                                      
    nand_read_bbt: Bad block at 0x00003e7c0000                                      
    nand_read_bbt: Bad block at 0x00003e9a0000                                      
    nand_read_bbt: Bad block at 0x00003eac0000                                      
    nand_read_bbt: Bad block at 0x00003eb00000                                      
    nand_read_bbt: Bad block at 0x00003f540000                                      
    nand_read_bbt: Bad block at 0x00003f780000                                      
    nand_read_bbt: Bad block at 0x00003f7e0000                                      
    nand_read_bbt: Bad block at 0x000040400000                                      
    nand_read_bbt: Bad block at 0x000045aa0000                                      
    nand_read_bbt: Bad block at 0x00004cda0000                                      
    nand_read_bbt: Bad block at 0x00004ffe0000                                      
    nand_read_bbt: Bad block at 0x000051e00000                                      
    nand_read_bbt: Bad block at 0x00005bd60000                                      
    nand_read_bbt: Bad block at 0x000064640000                                      
    nand_read_bbt: Bad block at 0x0000668a0000                                      
    nand_read_bbt: Bad block at 0x000066ba0000                                      
    nand_read_bbt: Bad block at 0x000070e60000                                      
    nand_read_bbt: Bad block at 0x0000738c0000                                      
    nand_read_bbt: Bad block at 0x000074a60000                                      
    nand_read_bbt: Bad block at 0x00007dd00000                                      
    Net:   Ethernet PHY: GENERIC @ 0x00                                             
    DaVinci-EMAC                                                                    
    Hit any key to stop autoboot:  0                                                
    reading boot.scr                                                                
                                                                                    
    ** Unable to read "boot.scr" from mmc 0:1 **                                    
    reading uImage                                                                  
                                                                                    
    5150208 bytes read                                                              
    ## Booting kernel from Legacy Image at 80700000 ...                             
       Image Name:   Linux-2.6.37_IPNC_DM365EVM_5.1.0                               
       Created:      2017-04-13   4:08:12 UTC                                       
       Image Type:   ARM Linux Kernel Image (uncompressed)                          
       Data Size:    5150144 Bytes = 4.9 MiB                                        
       Load Address: 80008000                                                       
       Entry Point:  80008000                                                       
       Verifying Checksum ... OK                                                    
       Loading Kernel Image ... OK                                                  
    OK                                                                              
                                                                                    
    Starting kernel ...                                                             
                                                                                    
    Linux version 2.6.37_IPNC_DM365EVM_5.1.0 (root@ubuntu) (gcc version 4.3.3 (Sourc
    ery G++ Lite 2009q1-203) ) #2 PREEMPT Thu Apr 13 09:38:10 IST 2017              
    CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177                   
    CPU: VIVT data cache, VIVT instruction cache                                    
    Machine: DaVinci DM36x EVM                                                      
    Memory policy: ECC disabled, Data cache writeback                               
    DaVinci dm36x_rev1.2 variant 0x8                                                
    Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 12192      
    Kernel command line: mem=48M console=ttyS0,115200n8 noinitrd root=/dev/mmcblk0p2
     rootwait ip=192.168.1.253:192.168.1.184:192.168.1.1:255.255.255.0:::off cmemk.p
    hys_start=0x83000000 cmemk.phys_end=0x88000000 cmemk.phys_start_1=0x00001000 cme
    mk.phys_end_1=0x00008000 cmemk.pools_1=1x28672 cmemk.allowOverlap=1 cmemk.useHea
    pIfPoolUnavailable=1                                                            
    PID hash table entries: 256 (order: -2, 1024 bytes)                             
    Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)                   
    Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)                    
    Memory: 48MB = 48MB total                                                       
    Memory: 43440k/43440k available, 5712k reserved, 0K highmem                     
    Virtual kernel memory layout:                                                   
        vector  : 0xffff0000 - 0xffff1000   (   4 kB)                               
        fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)                               
        DMA     : 0xff000000 - 0xffe00000   (  14 MB)                               
        vmalloc : 0xc3800000 - 0xfea00000   ( 946 MB)                               
        lowmem  : 0xc0000000 - 0xc3000000   (  48 MB)                               
        modules : 0xbf000000 - 0xc0000000   (  16 MB)                               
          .init : 0xc0008000 - 0xc002d000   ( 148 kB)                               
          .text : 0xc002d000 - 0xc04c0000   (4684 kB)                               
          .data : 0xc04c0000 - 0xc04f15c0   ( 198 kB)                               
    SLUB: Genslabs=13, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1         
    Preemptable hierarchical RCU implementation.                                    
            RCU-based detection of stalled CPUs is disabled.                        
            Verbose stalled-CPUs detection is disabled.                             
    NR_IRQS:245                                                                     
    Console: colour dummy device 80x30                                              
    Calibrating delay loop... 215.44 BogoMIPS (lpj=1077248)                         
    pid_max: default: 32768 minimum: 301                                            
    Mount-cache hash table entries: 512                                             
    CPU: Testing write buffer coherency: ok                                         
    DaVinci: 8 gpio irqs                                                            
    NET: Registered protocol family 16                                              
    EVM: HD imager video input                                                      
    bio: create slab <bio-0> at 0                                                   
    SCSI subsystem initialized                                                      
    usbcore: registered new interface driver usbfs                                  
    usbcore: registered new interface driver hub                                    
    usbcore: registered new device driver usb                                       
    vpss vpss: dm365_vpss vpss probed                                               
    vpss vpss: dm365_vpss vpss probe success                                        
    Advanced Linux Sound Architecture Driver Version 1.0.23.                        
    cfg80211: Calling CRDA to update world regulatory domain                        
    Switching to clocksource timer0_1                                               
    NET: Registered protocol family 2                                               
    IP route cache hash table entries: 1024 (order: 0, 4096 bytes)                  
    TCP established hash table entries: 2048 (order: 2, 16384 bytes)                
    TCP bind hash table entries: 2048 (order: 1, 8192 bytes)                        
    TCP: Hash tables configured (established 2048 bind 2048)                        
    TCP reno registered                                                             
    UDP hash table entries: 256 (order: 0, 4096 bytes)                              
    UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)                         
    NET: Registered protocol family 1                                               
    RPC: Registered udp transport module.                                           
    RPC: Registered tcp transport module.                                           
    RPC: Registered tcp NFSv4.1 backchannel transport module.                       
    Installing knfsd (copyright (C) 1996 okir@monad.swb.de).                        
    JFFS2 version 2.2. (NAND) �© 2001-2006 Red Hat, Inc.                            
    msgmni has been set to 84                                                       
    io scheduler noop registered (default)                                          
    CSL: Module install successful, device major num = 254                          
    CSL: Module version 0.10.00, built on Apr 13 2017 09:21:36                      
    I2C: Module install successful, device major num = 253                          
    DMA: Module install successful, device major num = 252                          
    EVM: switch to tvp5146 SD video input                                           
    DRV: Sensor interface selected on DM365 EVM                                     
    DRV: Module install successful                                                  
    DRV: Module built on Apr 13 2017 09:21:37                                       
    DRV: EDMACC.QUEPRI  = 00002777                                                  
    DRV: SYSTEM.MSTPRI0 = 00440011                                                  
    DRV: SYSTEM.MSTPRI1 = 00000444                                                  
    DRV: ISP.BCR        = 00000002                                                  
    DRV: SYSTEM.MISC    = 00000399                                                  
    EDMAK module: built on Apr 13 2017 at 09:21:19                                  
      Reference Linux version 2.6.37                                                
      File /home/spectross/Projects/IPNC_RDK/Source/dvsdk_ipnctools/linuxutils_2_26_
    02_05/packages/ti/sdo/linuxutils/edma/src/module/edmak.c                        
    IRQK module: built on Apr 13 2017 at 09:21:14                                   
      Reference Linux version 2.6.37                                                
      File /home/spectross/Projects/IPNC_RDK/Source/dvsdk_ipnctools/linuxutils_2_26_
    02_05/packages/ti/sdo/linuxutils/irq/src/module/irqk.c                          
    irqk initialized                                                                
    CMEMK module: built on Apr 13 2017 at 09:21:17                                  
      Reference Linux version 2.6.37                                                
      File /home/spectross/Projects/IPNC_RDK/Source/dvsdk_ipnctools/linuxutils_2_26_
    02_05/packages/ti/sdo/linuxutils/cmem/src/module/cmemk.c                        
    allocated heap buffer 0xc4000000 of size 0x5000000                              
    heap fallback enabled - will try heap if pool buffer is not available           
    CMEM Range Overlaps Kernel Physical - allowing overlap                          
    CMEM phys_start (0x1000) overlaps kernel (0x80000000 -> 0x83000000)             
    cmemk initialized                                                               
    Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled                        
    serial8250.0: ttyS0 at MMIO 0x1c20000 (irq = 40) is a 16550A                    
    console [ttyS0] enabled                                                         
    serial8250 serial8250.0: unable to register port at index 1 (IO0 MEM1d06000 IRQ4
    1): -22                                                                         
    brd: module loaded                                                              
    at24 1-0050: 32768 byte 24c256 EEPROM (writable)                                
    Read MAC addr from EEPROM: 00:0e:99:03:50:a1                                    
    NAND device: Manufacturer ID: 0x2c, Chip ID: 0xd3 (Micron )                     
    2 NAND chips detected                                                           
    Creating 5 MTD partitions on "davinci_nand.0":                                  
    0x000000000000-0x000000f00000 : "bootloader"                                    
    0x000000f00000-0x000001000000 : "params"                                        
    0x000001000000-0x000001400000 : "kernel"                                        
    0x000001400000-0x000021400000 : "filesystem1"                                   
    0x000021400000-0x000080000000 : "filesystem2"                                   
    davinci_nand davinci_nand.0: controller rev. 2.3                                
    spi_davinci spi_davinci.0: Controller at 0xfec66000                             
    davinci_mdio davinci_mdio.0: davinci mdio revision 1.4                          
    davinci_mdio davinci_mdio.0: detected phy mask fffffffc                         
    davinci_mdio.0: probed                                                          
    davinci_mdio davinci_mdio.0: phy[0]: device 0:00, driver unknown                
    davinci_mdio davinci_mdio.0: phy[1]: device 0:01, driver unknown                
    console [netcon0] enabled                                                       
    netconsole: network logging started                                             
    mice: PS/2 mouse device common for all mice                                     
    input: TSC2004 Touchscreen as /devices/virtual/input/input0                     
    dm365evm_keys: probe of 1-0025 failed with error -16                            
    i2c /dev entries driver                                                         
    Linux media interface: v0.10                                                    
    lirc_dev: IR Remote Control driver registered, major 246                        
    IR NEC protocol handler initialized                                             
    IR RC5(x) protocol handler initialized                                          
    IR RC6 protocol handler initialized                                             
    IR JVC protocol handler initialized                                             
    IR Sony protocol handler initialized                                            
    IR RC5 (streamzap) protocol handler initialized                                 
    IR LIRC bridge handler initialized                                              
    Linux video capture interface: v2.00                                            
    vpbe-osd vpbe-osd: OSD sub device probe success                                 
    vpbe-venc vpbe-venc: VENC sub device probe success                              
    vpbe-v4l2 vpbe-v4l2: vpbe v4l2 device registered                                
    ths7303 1-002c: chip found @ 0x58 (DaVinci I2C adapter)                         
    write byte data failed                                                          
    vpbe-v4l2 vpbe-v4l2: v4l2 sub device ths7303 registered                         
    Setting default output to Composite                                             
    Setting default mode to ntsc                                                    
    vpbe-v4l2 vpbe-v4l2: Trying to register VPBE display device.                    
    vpbe-v4l2 vpbe-v4l2: layer=c29ab400,layer->video_dev=c29ab4f4                   
    vpbe-v4l2 vpbe-v4l2: Trying to register VPBE display device.                    
    vpbe-v4l2 vpbe-v4l2: layer=c29ab600,layer->video_dev=c29ab6f4                   
    watchdog watchdog: heartbeat 60 sec                                             
    davinci_mmc davinci_mmc.0: Using DMA, 4-bit mode                                
    usbcore: registered new interface driver usbhid                                 
    usbhid: USB HID core driver                                                     
    asoc: tlv320aic3x-hifi <-> davinci-mcbsp mapping ok                             
    ALSA device list:                                                               
      #0: DaVinci DM365 EVM                                                         
    TCP cubic registered                                                            
    NET: Registered protocol family 17                                              
    lib80211: common routines for IEEE802.11 drivers                                
    mmc0: new SDHC card at address e624                                             
    mmcblk0: mmc0:e624 SD08G 7.40 GiB                                               
     mmcblk0: p1 p2                                                                 
    net eth0: attached PHY driver [Generic PHY] (mii_bus:phy_addr=0:01, id=221613)  
    IP-Config: Complete:                                                            
         device=eth0, addr=192.168.1.253, mask=255.255.255.0, gw=192.168.1.1,       
         host=192.168.1.253, domain=, nis-domain=(none),                            
         bootserver=192.168.1.184, rootserver=192.168.1.184, rootpath=              
    EXT3-fs (mmcblk0p2): error: couldn't mount because of unsupported optional featu
    res (240)                                                                       
    EXT2-fs (mmcblk0p2): error: couldn't mount because of unsupported optional featu
    res (240)                                                                       
    EXT4-fs (mmcblk0p2): warning: mounting fs with errors, running e2fsck is recomme
    nded                                                                            
    EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)    
    VFS: Mounted root (ext4 filesystem) on device 179:2.                            
    Freeing init memory: 148K                                                       
    EXT4-fs error (device mmcblk0p2): ext4_mb_generate_buddy:726: group 3330786 bloc
    ks in bitmap, 30787 in gd                                                       
    JBD: Spotted dirty metadata buffer (dev = mmcblk0p2, blocknr = 0). There's a ris
    k of filesystem corruption in case of system crash.                             
    INIT: version 2.86 booting                                                      
    PHY: 0:01 - Link is Up - 100/Full                                               
    mtd->read(0x258 bytes from 0x5ccfda8) returned ECC error                        
    JFFS2 notice: (1069) jffs2_get_inode_nodes: Wrong magic bitmask 0x0000 in node h
    eader at 0x5ccfda8.                                                             
    Starting mounting local filesystems: mount Creat queue id:0                     
    queue id:0                                                                      
    FileMngThread created                                                           
    Creat queue id:32769                                                            
    queue id:32769                                                                  
    queue id:32769                                                                  
    AlramThread created                                                             
    Share memory init success                                                       
    IPNC_DM365EVM_5.1.0 (root@ubuntu) (gcc version 4mtd->read(0x144 bytes from 0x5cd
    57f0) returned ECC error                                                        
    .3.3 (Sourcery GData CRC 655d7a44 != calculated CRC fafa74a3 for node at 05cd57a
    c                                                                               
    ++ Lite 2009q1                                                                  
    Creat queue id:65538                                                            
    queue id:65538                                                                  
    queue id:65538                                                                  
    Creat queue id:98307                                                            
    queue id:98307                                                                  
    mount: mounting /dev/root on / failed: No such file or directory                
     failed (1: ).                                                                  
    net_search_gateway:eth0, 1A8C0, 0, 1                                            
                                                                                    
    CPU is DM368                                                                    
                                                                                    
    *****************************************************************               
                                                                                    
      IPNC BUILD VERSION: DM368 IPNC RDK V5.10.00.04                                
                                                                                    
    *****************************************************************               
                                                                                    
    Error: SemWait: Invalid Semaphore handler                                       
    Error: SemRelease: Invalid Semaphore handler                                    
    Check_device_version : DEVICE VER = 1 !!                                        
    ./av_server.out DM368 D1 720 480 H264 1500000 CBR AUTO RTSP MENUOFF &           
    ApproDrvInit: 7                                                                 
    Creat queue id:131076                                                           
    queue id:131076                                                                 
    Starting internet superserver: inetd.                                           
    insmod: can't read '/opt/ipnc/modules/deflate.ko': No such file or directory    
    insmod: can't read '/opt/ipnc/modules/des_generic.ko': No such file or directory
    insmod: can't read '/opt/ipnc/modules/md5.ko': No such file or directory        
    insmod: can't read '/opt/ipnc/modules/sha1_generic.ko': No such file or director
    y                                                                               
    insmod: can't read '/opt/ipnc/modules/libcrc32c.ko': No such file or directory  
    mmc_core: exports duplicate symbol mmc_card_can_sleep (owned by kernel)         
    insmod: error inserting '/opt/ipnc/modules/mmc_core.ko': -1 Invalid module forma
    t                                                                               
    mmc_block: exports duplicate symbol mmc_cleanup_queue (owned by kernel)         
    insmod: error inserting '/opt/ipnc/modules/mmc_block.ko': -1 Invalid module form
    at                                                                              
    davinci_mmc: module is already loaded                                           
    insmod: error inserting '/opt/ipnc/modules/davinci_mmc.ko': -1 Invalid parameter
    s                                                                               
    Loading iSCSI transport class v2.0-870.                                         
    iscsi: registered transport (tcp)                                               
    musb-hdrc: version 6.0, peripheral, debug=0                                     
    musb-hdrc musb-hdrc: dma type: dma-cppi3                                        
    musb-hdrc musb-hdrc: USB Peripheral mode controller at fec64000 using DMA, IRQ 1
    2                                                                               
    loop: module loaded                                                             
    tun: Universal TUN/TAP device driver, 1.6                                       
    tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>                          
    insmod: can't read '/opt/ipnc/modules/netconsole.ko': No such file or directory 
    PPP generic driver version 2.4.2                                                
    PPP Deflate Compression module registered                                       
    mkdosfs 2.11 (12 Mar 2005)                                                      
    unable to get drive geometry, using default 255/63/dev/ram0 has 255 heads and 63
     sectors per track,                                                             
    logical sector size is 512,                                                     
    using 0xf8 media descriptor, with 65536 sectors;                                
    file system has 2 16-bit FATs and 4 sectors per cluster.                        
    FAT size is 64 sectors, and provides 16343 clusters.                            
    Root directory contains 512 slots.                                              
    Volume ID is 0000000c, no volume label.                                         
    ApproDrvInit: 3                                                                 
    queue id:131076                                                                 
    INIT: Entering runlevel: 5                                                      
    Starting telnet daemon.                                                         
    Starting syslogd/klogd: done                                                    
    getty: ioctl() TIOCSPGR                                                         
     _____                    _____           _         _                           
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_                         
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|                        
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|                          
                  |___|                    |___|                                    
                                                                                    
    Arago Project http://arago-project.org 192.168.1.253 console                    
                                                                                    
    Arago 2009.11 192.168.1.253 console                                             
                                                                                    
    192.168.1.253 login: root                                                       
    -sh: can't access tty; job control turned off                                   
    root@192:~#                                                                     
    root@192:~#                                                                     
    root@192:~# cd /opt/ipnc/                                                       
    root@192:/opt/ipnc#                                                             
    root@192:/opt/ipnc# ./av_server.out DM368 D1 720 480 H264 1500000 CBR AUTO RTSP 
    YUV_MOD_INTERLACED is set                                                       
                                                                                    
     DM365MM Init Successful                                                        
    AVSERVER UI: Initializing.                                                      
                                                                                    
     CLK Hz,                                                                        
     ARM   Hz =  432000000                                                          
     DDR   Hz =  340000000                                                          
     VPSS  Hz =  340000000                                                          
     IMCOP Hz =  340000000                                                          
                                                                                    
     [OSA_FILE ] Reading file [/mnt/nand/IMG_Paramset.bin] ... ERROR                
    IMAGE TUNE: Paramset File is not available..... Setting DEFAULT parameter       
                                                                                    
     DM365MM Init SuccessfulSYSTEM.MSTPRI0 value changed to 00440011                
                                                                                    
    CONFIGURING AVSERVER FOR DM368 .....                                            
    queue id:65538                                                                  
    Before File Save enable in AV ServerUI                                          
     AVSERVER UI: Starting Streaming Server...                                      
    ApproDrvInit: 8                                                                 
    queue id:131076                                                                 
    ApproDrvInit: 10                                                                
    queue id:131076                                                                 
    ApproDrvInit: 6                                                                 
    ApproDrvInit: 9                                                                 
    queue id:131076                                                                 
    ApproDrvInit: 2                                                                 
    queue id:131076                                                                 
    queue id:131076                                                                 
     AVSERVER UI: Starting Streaming Server...DONE                                  
    value if gAVSERVER_config.deiTskEnable: 0                                       
     CAPTURE: Recevied CMD = 0x0300                                                 
     CAPTURE: Create...                                                             
     CAPTURE: Opening capture on imager TVP514X.                                    
    Inside DRV_captureOpen                                                          
     CAPTURE: Opening imager TVP514X.                                               
    Inside DRV_imgsOpen                                                             
    In DRV_imgGetWidthHeight, mode is: 1 gYuvModeWidth : 720 gYuvModeHeight : 480   
    In DRV_imgGetWidthHeight, width is: 736, height is: 480                         
    Inside DRV_imgsOpen after DRV_imgGetWidthHeight, width is: 736, height is: 480  
    Inside DRV_imgsOpen after H & V PAD, DRV_imgGetWidthHeight, width is: 736, heigh
    t is: 480                                                                       
    Inside CalcFrameTimedataW is: 736, dataH is: 480                                
    In DRV_imgsCalcFrameTime, dataW is: 736, dataH is: 480                          
    After IMGS_W_MAX/dataW & IMGS_H_MAX/dataH                                       
    Before col_start in DRV_imgsCalcFrameTime                                       
    After col_start in DRV_imgsCalcFrameTime                                        
    In between pFrame in DRV_imgsCalcFrameTime                                      
    Inside CalcFrameTime3                                                           
    SENSOR FPS VALUE = 30                                                           
    Inside CalcFrameTime3                                                           
     CAPTURE: Opening ISIF.                                                         
     CAPTURE: Opening H3A.                                                          
     CAPTURE: Opening IPIPE.                                                        
     CAPTURE: Open DONE.                                                            
     CAPTURE: Create...DONE                                                         
    in VIDEO_encodeTskMain                                                          
     STREAM: Recevied CMD = 0x0300                                                  
     STREAM: Create...                                                              
     STREAM: Ext 0: 0x0                                                             
     STREAM: Ext 1: 0x0                                                             
    queue id:131076                                                                 
     STREAM: Create...DONE                                                          
     DISPLAY: Recevied CMD = 0x0300                                                 
     DISPLAY: Create...                                                             
    IPNC_DM365EVM_5.1.0 (root@ubuntu) (gcc version 4.3.3 (Sourcery G++ Lite 2009q1  
    IPNC AUTO_IRIS = 1                                                              
     DISPLAY: Create...DONE                                                         
    Initializing...                                                                 
    Initializing...                                                                 
    Initializing...                                                                 
    Initializing...                                                                 
    Initializing...                                                                 
    queue id:0                                                                      
    queue id:32769                                                                  
    ...done initializing                                                            
    ...done initializing                                                            
    ...done initializing                                                            
    ...done initializing                                                            
    ...done initializing                                                            
    Play this stream using the URL:                                                 
            rtsp://192.168.1.168:8556/PSIA/Streaming/channels/2?videoCodecType=H.264
    Play this stream using the URL:                                                 
            Play this stream using the URL:                                         
            rtsp://192.168.1.168:8557/PSIA/Streaming/channels/2?videoCodecType=H.264
                                                                                    
    (We use port 8304 for optional RTSP-over-HTTP tunneling.)                       
    rtsp://192.168.1.168:8555/PSIA/Streaming/channels/0?videoCodecType=MJPEG        
                                                                                    
    (We use port 8302 for optional RTSP-over-HTTP tunneling.)                       
    Play this stream using the URL:                                                 
            rtsp://192.168.1.168:8554/PSIA/Streaming/channels/1?videoCodecType=MPEG4
                                                                                    
    (We use port 8301 for optional RTSP-over-HTTP tunneling.)                       
                                                                                    
                                                                                    
    (We use port 8303 for optional RTSP-over-HTTP tunneling.)                       
    Play this stream using the URL:                                                 
            rtsp://192.168.1.168:8553/PSIA/Streaming/channels/1?videoCodecType=MPEG4
                                                                                    
    (We use port 8300 for optional RTSP-over-HTTP tunneling.)                       
     CAPTURE: Start...                                                              
     CAPTURE: Starting IPIPE.                                                       
     CAPTURE: Starting ISIF.                                                        
     CAPTURE: Starting imager.                                                      
     CAPTURE: Starting H3A.                                                         
     CAPTURE: Start DONE.                                                           
     CAPTURE: Start...DONE                                                          
    Done value in VIDEO_captureTskMain: 0                                           
     ERROR  (drv_resz.c|DRV_reszRun|679): CSL_ipipeifSetSdramInConfig()             
     ERROR  (drv_resz.c|DRV_reszRun|679): CSL_ipipeifSetSdramInConfig()             
                                                                                    
     Current Settings,                                                              
     Face Detect                     : OFF                                          
     Lens Distortion Correction (LDC): OFF                                          
     Video Stabilization             : OFF                                          
     Advanced DMVA                   : OFF                                          
     Spatial NF                      : OFF                                          
     Temporal NF                     : OFF                                          
     File Save                       : OFF                                          
     AE/AWB                          : OFF                                          
     Host-name / IP address          : 192.168.1.253                                
                                                                                    
     ==============                                                                 
     AV Server Main                                                                 
     ==============                                                                 
                                                                                    
     1: Toggle ON/OFF: Face Detect                                                  
     2: Toggle ON/OFF: LDC                                                          
     3: Toggle ON/OFF: Video Stabilization                                          
     4: Toggle ON/OFF: Spatial  NF                                                  
     5: Toggle ON/OFF: Temporal NF                                                  
     6: Toggle ON/OFF: Save to file                                                 
     7: Toggle ON/OFF: AE/AWB                                                       
     9: Toggle ON/OFF: Advanced DMVA                                                
                                                                                    
     r: Save RAW data to file                                                       
     y: Save YUV data to file                                                       
     p: Print Profile Info                                                          
                                                                                    
     0: Stop and Exit                                                               
                                                                                    
     Enter Choice :  ERROR  (drv_resz.c|DRV_reszRun|645): CSL_rszHwSetup()          
     ERROR  (drv_resz.c|DRV_reszRun|679): CSL_ipipeifSetSdramInConfig()             
     ERROR  (drv_resz.c|DRV_reszRun|679): CSL_ipipeifSetSdramInConfig()             
     ERROR  (drv_resz.c|DRV_reszRun|645): CSL_rszHwSetup()                          
     ERROR  (drv_resz.c|DRV_reszRun|679): CSL_ipipeifSetSdramInConfig()             
     ERROR  (drv_resz.c|DRV_reszRun|679): CSL_ipipeifSetSdramInConfig()             
     ERROR  (drv_resz.c|DRV_reszRun|645): CSL_rszHwSetup()                          
     ERROR  (drv_resz.c|DRV_reszRun|679): CSL_ipipeifSetSdramInConfig()             
     ERROR  (drv_resz.c|DRV_reszRun|679): CSL_ipipeifSetSdramInConfig()             
     ERROR  (drv_resz.c|DRV_reszRun|645): CSL_rszHwSetup()                          
     ERROR  (drv_resz.c|DRV_reszRun|679): CSL_ipipeifSetSdramInConfig()             
     ERROR  (drv_resz.c|DRV_reszRun|679): CSL_ipipeifSetSdramInConfig()             
     ERROR  (drv_resz.c|DRV_reszRun|645): CSL_rszHwSetup()                          
     ERROR  (drv_resz.c|DRV_reszRun|679): CSL_ipipeifSetSdramInConfig()             
     ERROR  (drv_resz.c|DRV_reszRun|679): CSL_ipipeifSetSdramInConfig()             
     ERROR  (drv_resz.c|DRV_reszRun|645): CSL_rszHwSetup()                          
     ERROR  (drv_resz.c|DRV_reszRun|679): CSL_ipipeifSetSdramInConfig()             
     ERROR  (drv_resz.c|DRV_reszRun|679): CSL_ipipeifSetSdramInConfig()             
     ERROR  (drv_resz.c|DRV_reszRun|645): CSL_rszHwSetup()                          
     ERROR  (drv_resz.c|DRV_reszRun|679): CSL_ipipeifSetSdramInConfig()             
     ERROR  (drv_resz.c|DRV_reszRun|679): CSL_ipipeifSetSdramInConfig()             
     ERROR  (drv_resz.c|DRV_reszRun|645): CSL_rszHwSetup()                          
     ERROR  (drv_resz.c|DRV_reszRun|679): CSL_ipipeifSetSdramInConfig()             
     ERROR  (drv_resz.c|DRV_reszRun|679): CSL_ipipeifSetSdramInConfig()             
     ERROR  (drv_resz.c|DRV_reszRun|645): CSL_rszHwSetup()                          
     ERROR  (drv_resz.c|DRV_reszRun|679): CSL_ipipeifSetSdramInConfig()             
     ERROR  (drv_resz.c|DRV_reszRun|679): CSL_ipipeifSetSdramInConfig()             
     ERROR  (drv_resz.c|DRV_reszRun|645): CSL_rszHwSetup()                          
     ERROR  (drv_resz.c|DRV_reszRun|679): CSL_ipipeifSetSdramInConfig()             
     ERROR  (drv_resz.c|DRV_reszRun|679): CSL_ipipeifSetSdramInConfig()             
     ERROR  (drv_resz.c|DRV_reszRun|645): CSL_rszHwSetup()                          
     ERROR  (drv_resz.c|DRV_reszRun|679): CSL_ipipeifSetSdramInConfig()             
     ERROR  (drv_resz.c|DRV_reszRun|679): CSL_ipipeifSetSdramInConfig()             
     ERROR  (drv_resz.c|DRV_reszRun|645): CSL_rszHwSetup()                          
     ERROR  (drv_resz.c|DRV_reszRun|679): CSL_ipipeifSetSdramInConfig()             
     ERROR  (drv_resz.c|DRV_reszRun|679): CSL_ipipeifSetSdramInConfig()             
     ERROR  (drv_resz.c|DRV_reszRun|645): CSL_rszHwSetup()                          
     ERROR  (drv_resz.c|DRV_reszRun|679): CSL_ipipeifSetSdramInConfig()             
     ERROR  (drv_resz.c|DRV_reszRun|679): CSL_ipipeifSetSdramInConfig()             
     ERROR  (drv_resz.c|DRV_reszRun|645): CSL_rszHwSetup()                          
     ERROR  (drv_resz.c|DRV_reszRun|679): CSL_ipipeifSetSdramInConfig()             
    Simple mixer control 'PGA',0                                                    
      Capabilities: cvRead of newly-erased block at 0x05cce000 failed: -74. Putting 
    on bad_list                                                                     
    olume cswitch penum                                                             
      Capture channels: Front Left - Front Right                                    
      Limits: Capture 0 - 119                                                       
     ERROR  (drv_resz.c|DRV_reszRun|679): CSL_ipipeifSetSdramInConfig()             
      Front Left: Capture 2 [2%] [1.00dB] [on]                                      
      Front Right: Capture 2 [2%] [1.00dB] [on]                                     
     ERROR  (drv_resz.c|DRV_reszRun|645): CSL_rszHwSetup()                          
     ERROR  (drv_resz.c|DRV_reszRun|679): CSL_ipipeifSetSdramInConfig()             
     ERROR  (drv_resz.c|DRV_reszRun|679): CSL_ipipeifSetSdramInConfig()             
     ERROR  (drv_resz.c|DRV_reszRun|645): CSL_rszHwSetup()                          
     ERROR  (drv_resz.c|DRV_reszRun|679): CSL_ipipeifSetSdramInConfig()             
    Simple mixer control 'Mono DAC',0                                               
      Capabilities: pvolume penum                                                   
      Playback channels: Front Left - Front Right                                   
      Limits: Playback 0 - 118                                                      
      Mono:                                                                         
     ERROR  (drv_resz.c|DRV_reszRun|679): CSL_ipipeifSetSdramInConfig()             
      Front Left: Playback 47 [40%] [-35.50dB]                                      
      Front Right: Playback 47 [40%] [-35.50dB]                                     
    sycOnvif Profile 1                                                              
     ERROR  (drv_resz.c|DRV_reszRun|645): CSL_rszHwSetup()                          
     ERROR  (drv_resz.c|DRV_reszRun|679): CSL_ipipeifSetSdramInConfig()             
     ERROR  (drv_resz.c|DRV_reszRun|679): CSL_ipipeifSetSdramInConfig()             
    SystemInit success                                                              
    Schedule manager init succesNewly-erased block contained word 0xbfbfbfbf at offs
    et 0x05cdebc0                                                                   
    s                                                                               
    Dmva Schedule manager init success                                              
    JFFS2: marking eraseblock at 05cdebc0                                           
     as bad                                                                         
     ERROR  (drv_resz.c|DRV_reszRun|645): CSL_rszHwSetup()                          
     ERROR  (drv_resz.c|DRV_reszRun|679): CSL_ipipeifSetSdramInConfig()             
     ERROR  (drv_resz.c|DRV_reszRun|679): CSL_ipipeifSetSdramInConfig()             
     ERROR  (drv_resz.c|DRV_reszRun|645): CSL_rszHwSetup()                          
     ERROR  (drv_resz.c|DRV_reszRun|679): CSL_ipipeifSetSdramInConfig() 
     
      Module   | Avg Time/Frame | Frame-rate | Total time | Total Frames |           
     CAPTURE  |          39.86 |      25.09 |      35915 |          901 |           
     RESIZE   |           4.00 |     249.93 |       3605 |          901 |           
     ENCODE0  |           6.14 |     162.87 |       5532 |          901 |           
     STREAM   |           0.24 |    4154.29 |        175 |          727 |           
     OSD0     |           0.27 |    3655.46 |        238 |          870 |           
     AEWB     |           0.02 |   51176.47 |         17 |          870 | 
     
     
      Module   | Avg Time/Frame | Frame-rate | Total time | Total Frames |           
     CAPTURE  |          39.97 |      25.02 |      36017 |          901 |           
     RESIZE   |           4.28 |     233.84 |       3853 |          901 |  
     
      
    

    How can we disable dei? I think there are some dependencies.

    For stream video: capture, dei, resize, display, encode0, AEWB, OSD threads

    1. I recorded video in IPNC using UI_Menu functionality. When I run the avserver, that time bit rate is 1.5Mb/s, I recorded a video. After that I changed the bitrare to 5 Mb/s through webGUI. In the Detailed info also, It was updated. Then I recorded that video.

      For these, bit rate effect is there (checked the size of the video). But no change in the quality.

    Now my question is:

    1. Where to change these parameter for streaming video?

    Regards,

    Amit Soni

  • Hi Amit,
    Please discuss only codec related things or quality of streaming video or bitrate in this query.
    As 1 more query is running of yours e2e.ti.com/.../2299013
    Please discuss your other queries like live video quality there.