[LuckFox Pico Plus]已经外接了MIC,但录制测试例子提示no input port exist,请问是什么原因。

  • 1. 释放rkipc

    Code: Select all

    killall rkipc
    
    2. 执行下面指令进行录音

    Code: Select all

    rk_mpi_ai_test --sound_card_name=hw:0,0 --device_rate=16000 --device_ch=2 --out_rate=16000 --out_ch=2 --output=/tmp
    
  • Eng38 wrote: 2024-02-05 11:11 1. 释放rkipc

    Code: Select all

    killall rkipc
    
    2. 执行下面指令进行录音

    Code: Select all

    rk_mpi_ai_test --sound_card_name=hw:0,0 --device_rate=16000 --device_ch=2 --out_rate=16000 --out_ch=2 --output=/tmp
    
    报错是一样的
    #killall rkipc
    # rk_mpi_ai_test --sound_card_name=hw:0,0 --device_rate=16000 --device_ch=2 --ou
    t_rate=16000 --out_ch=2 --output=/tmp
    cmd parse result:
    input file name : (null)
    output file name : /tmp
    loop count : 1
    channel number : 1
    open sound rate : 16000
    record data rate : 16000
    sound card channel : 2
    output channel : 2
    bit_width : 16
    frame_number : 4
    frame_length : 1024
    sound card name : hw:0,0
    device id : 0
    set volume : 100
    set mute : 0
    set track_mode : 0
    get volume : 0
    get mute : 0
    get track_mode : 0
    aed enable : 0
    bcd enable : 0
    buz enable : 0
    vqe gap duration (ms) : 16
    vqe enable : 0
    vqe config file : (null)
    dump algo pcm data : 0
    test mode : 0
    aenc file name : (null)
    input codec name : (null)
    rockit log path (null), log_size = 0, can use export rt_log_path=, export rt_log_size= change
    log_file = (nil)
    RTVersion 00:05:40-602 {dump :064} ---------------------------------------------------------
    RTVersion 00:05:40-622 {dump :065} rockit version: git-8cb4d25b8 Tue Feb 28 11:12:39 2023 +0800
    RTVersion 00:05:40-632 {dump :066} rockit building: built- 2023-02-28 15:23:19
    RTVersion 00:05:40-641 {dump :067} ---------------------------------------------------------
    rockit default level 4, can use export rt_log_level=x, x=0,1,2,3,4,5,6 change
    (null) 00:05:40-659 {read_log_level :093} text is all=4
    (null) 00:05:40-665 {read_log_level :095} module is all, log_level is 4
    (null) 00:05:40-676 {monitor_log_level :144} #Start monitor_log_level thread, arg:(nil)
    RTIsp3x 00:05:40-694 {ispInitDevice :208} sensor name = m00_b_sc3336 4-0030
    RTIsp3x 00:05:40-698 {ispInitDevice :211} sensor_index = 0
    RTIsp3x 00:05:40-714 {ispInitDevice :208} sensor name = m00_b_sc3336 4-0030
    RTIsp3x 00:05:40-717 {ispInitDevice :211} sensor_index = 0
    cmpi 00:05:40-733 {main :1295} start running loop count = 0
    RKAiChn 00:05:40-737 {setAedAttr :789} pstAedConfig = (nil), set mAedEnable = false
    RKAiChn 00:05:40-746 {setBcdAttr :852} pstBcdConfig = (nil), set mBcdEnable = false
    RKAiChn 00:05:40-755 {setBuzAttr :915} pstBuzConfig = (nil), set mBuzEnable = false
    RKAiChn 00:05:40-765 {setGbsAttr :979} pstGbsConfig = (nil), set mGbsEnable = false
    RKAiChn 00:05:40-775 {setVqeAttr :1045} pstVqeConfig = (nil), set mVqeEnable = false
    RKAiChn 00:05:40-786 {prepareGraph :221} check enabled - vqe:0 aed:0 bcd:0 buz:0 gbs:0
    RTFlowGraph 00:05:40-817 {setMaxInputStreamQ:287} ai: Illegal operation, no input port exists.
    RKAiChn 00:05:40-946 {setVqeEnable :1019} not support veq algo
    cmpi 00:05:40-950 {commandThread :829} test info : mute = 0, volume = 100
    cmpi 00:05:40-958 {saveFile :708} create file(/tmp/cap_out.pcm) succeed
  • Eng38 wrote: 2024-02-05 11:11 1. 释放rkipc

    Code: Select all

    killall rkipc
    
    2. 执行下面指令进行录音

    Code: Select all

    rk_mpi_ai_test --sound_card_name=hw:0,0 --device_rate=16000 --device_ch=2 --out_rate=16000 --out_ch=2 --output=/tmp
    
    麻烦问下,你们那边录音有报错吗
  • liyizhang3 wrote: 2024-02-06 1:44 报错是一样的
    #killall rkipc
    # rk_mpi_ai_test --sound_card_name=hw:0,0 --device_rate=16000 --device_ch=2 --ou
    t_rate=16000 --out_ch=2 --output=/tmp
    cmd parse result:
    input file name : (null)
    output file name : /tmp
    loop count : 1
    channel number : 1
    open sound rate : 16000
    record data rate : 16000
    sound card channel : 2
    output channel : 2
    bit_width : 16
    frame_number : 4
    frame_length : 1024
    sound card name : hw:0,0
    device id : 0
    set volume : 100
    set mute : 0
    set track_mode : 0
    get volume : 0
    get mute : 0
    get track_mode : 0
    aed enable : 0
    bcd enable : 0
    buz enable : 0
    vqe gap duration (ms) : 16
    vqe enable : 0
    vqe config file : (null)
    dump algo pcm data : 0
    test mode : 0
    aenc file name : (null)
    input codec name : (null)
    rockit log path (null), log_size = 0, can use export rt_log_path=, export rt_log_size= change
    log_file = (nil)
    RTVersion 00:05:40-602 {dump :064} ---------------------------------------------------------
    RTVersion 00:05:40-622 {dump :065} rockit version: git-8cb4d25b8 Tue Feb 28 11:12:39 2023 +0800
    RTVersion 00:05:40-632 {dump :066} rockit building: built- 2023-02-28 15:23:19
    RTVersion 00:05:40-641 {dump :067} ---------------------------------------------------------
    rockit default level 4, can use export rt_log_level=x, x=0,1,2,3,4,5,6 change
    (null) 00:05:40-659 {read_log_level :093} text is all=4
    (null) 00:05:40-665 {read_log_level :095} module is all, log_level is 4
    (null) 00:05:40-676 {monitor_log_level :144} #Start monitor_log_level thread, arg:(nil)
    RTIsp3x 00:05:40-694 {ispInitDevice :208} sensor name = m00_b_sc3336 4-0030
    RTIsp3x 00:05:40-698 {ispInitDevice :211} sensor_index = 0
    RTIsp3x 00:05:40-714 {ispInitDevice :208} sensor name = m00_b_sc3336 4-0030
    RTIsp3x 00:05:40-717 {ispInitDevice :211} sensor_index = 0
    cmpi 00:05:40-733 {main :1295} start running loop count = 0
    RKAiChn 00:05:40-737 {setAedAttr :789} pstAedConfig = (nil), set mAedEnable = false
    RKAiChn 00:05:40-746 {setBcdAttr :852} pstBcdConfig = (nil), set mBcdEnable = false
    RKAiChn 00:05:40-755 {setBuzAttr :915} pstBuzConfig = (nil), set mBuzEnable = false
    RKAiChn 00:05:40-765 {setGbsAttr :979} pstGbsConfig = (nil), set mGbsEnable = false
    RKAiChn 00:05:40-775 {setVqeAttr :1045} pstVqeConfig = (nil), set mVqeEnable = false
    RKAiChn 00:05:40-786 {prepareGraph :221} check enabled - vqe:0 aed:0 bcd:0 buz:0 gbs:0
    RTFlowGraph 00:05:40-817 {setMaxInputStreamQ:287} ai: Illegal operation, no input port exists.
    RKAiChn 00:05:40-946 {setVqeEnable :1019} not support veq algo
    cmpi 00:05:40-950 {commandThread :829} test info : mute = 0, volume = 100
    cmpi 00:05:40-958 {saveFile :708} create file(/tmp/cap_out.pcm) succeed
    您好,这个是正常的