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.
我在使用DM3730的做DVSDK视频方面开发,在使用DVTB的时候,运行如下脚本命令会出错误:
root@dm37x-evm:/usr/share/ti/dvtb# ./dvtb-r -s scripts/h264enc1.dvs
func h264enc1 -t h264-encode.264
[DVTB-LOG]: dvtbFuncDispatcher.c: Starting Thread for command <h264enc1>
[DVTB-LOG]: ../../core/linux/dvtbUtils.c: H264 [capture]+[encode] usecase started
PNDG: func
[DVTB-ERROR]: VIDIOC_S_STD failed for <0> format for </dev/video0>
Error :: Invalid argument
[DVTB-ERROR]: dvtbH264Capture1.c: Unable to initialize VPFE device </dev/video0>
[DVTB-LOG]: dvtbH264Capture1.c: Total # of frames Captured & Encoded = -1
[DVTB-LOG]: dvtbH264Capture1.c: Video Encoder <h264enc> closed
[DVTB-LOG]: dvtbH264Capture1.c: Engine <encodedecode> closed
[DVTB-LOG]: ../../core/linux/dvtbUtils.c: H264 [Capture]+[Encode] usecase completed with errors.
root@dm37x-evm:/usr/share/ti/dvtb#
不知道是为什么?我使用的是TVP5146M2 PAL制式的摄像头输入 。
参数如下:
generateHeader => 0
captureWidth => 0
forceFrame => 0
interFrameInterval => 0
mbDataFlag => 0
i4_dsp_processing1 => 0
i4_dsp_processing2 => 0
i4_coding_tools1 => 3
i4_coding_tools2 => 0
i4_min_tgt_dimensions_xy => 0
i4_max_search_range_xy => 4194320
rcOpt_i4_init_i_qp => 7
rcOpt_i4_init_p_qp => 7
rcOpt_i4_init_b_qp => 7
rcOpt_i4_stuffing_disabled => 0
rcOpt_i4_buffer_delay => 500
rcOpt_i4_limit_vbv_to_std_def_buf_size => 0
vui_i4_aspect_ratio_x => 1
vui_i4_aspect_ratio_y => 1
vui_i4_pixel_range => 0
cbr_i4_min_I_qp => 2
cbr_i4_max_I_qp => 31
cbr_i4_min_P_qp => 2
cbr_i4_max_P_qp => 31
cbr_i4_min_B_qp => 2
cbr_i4_max_B_qp => 31
vbr_i4_min_I_qp => 2
vbr_i4_max_I_qp => 31
vbr_i4_min_P_qp => 2
vbr_i4_max_P_qp => 31
vbr_i4_min_B_qp => 2
vbr_i4_max_B_qp => 31
vbr_i4_avg_channel_bandwidth => 2000000
vbr_i4_peak_channel_bandwidth => 2000000
iir_i4_luma_noise_var => 20
iir_i4_chrm_noise_var_cb => 6
iir_i4_chrm_noise_var_cr => 6
iir_i4_alpha_0 => 50
iir_i4_alpha_1 => 16
iir_i4_alpha_2 => 8
i4_delta_time_stamp => 1
framePitch => 720
numFrames => 30
PASS: getp
<DVTB> $