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 board can't capture video

Other Parts Discussed in Thread: TVP5146M2

Hello all,

My encode demo can run but can't write data to the output file (for examles hello3.264),in addition, my board has no lcd.Would someone give me some advices?

the logs are as following,I don't know why the arm loader and dsp loader are almost 0?

root@dm37x-evm:/usr/share/ti/dvsdk-demos# DMAI_DEBUG=2 ./encode -t 10 -v hello3.264
Encode demo started.
@0x000c4e96:[T:0x4001fcf0] ti.sdo.dmai - [Dmai] Dmai log level set to '2'. Note that calling CERuntime_init after this point may cause unexpected change to DM[ 2431.617034] tvp514x 2-005d: tvp5146m2 found at 0xba (OMAP I2C adapter)
AI tracing behavior.
@0x00334da5:[T:0x4001fcf0] ti.sdo.dmai - [Capture] Available video input:
@0x00334e1f:[T:0x4001fcf0] ti.sdo.dmai - [Capture] name=COMPOSITE
@0x00334e3e:[T:0x4001fcf0] ti.sdo.dmai - [Capture] name=COMPOSITE
@0x00334e5c:[T:0x4001fcf0] ti.sdo.dmai - [Capture] name=COMPOSITE
@0x00334e7b:[T:0x4001fcf0] ti.sdo.dmai - [Capture] name=COMPOSITE
@0x00334e99:[T:0x4001fcf0] ti.sdo.dmai - [Capture] name=S-VIDEO
@0x00334eb8:[T:0x4001fcf0] ti.sdo.dmai - [Capture] name=S-VIDEO
@0x00334ed6:[T:0x4001fcf0] ti.sdo.dmai - [Capture] name=S-VIDEO
@0x00334ef5:[T:0x4001fcf0] ti.sdo.dmai - [Capture] name=S-VIDEO
@0x00334f32:[T:0x4001fcf0] ti.sdo.dmai - [Capture] Setting video input to COMPOSITE
@0x0039bdf5:[T:0x4001fcf0] ti.sdo.dmai - [Capture] Available video standard:
@0x0039be32:[T:0x4001fcf0] ti.sdo.dmai - [Capture] name=NTSC, fps=30000/1001
@0x0039be50:[T:0x4001fcf0] ti.sdo.dmai - [Capture] name=NTSC-M, fps=30000/1001
@0x0039be8e:[T:0x4001fcf0] ti.sdo.dmai - [Capture] name=NTSC-M-JP, fps=30000/1001
@0x0039beac:[T:0x4001fcf0] ti.sdo.dmai - [Capture] name=NTSC-M-KR, fps=30000/1001
@0x0039becb:[T:0x4001fcf0] ti.sdo.dmai - [Capture] name=PAL, fps=25/1
@0x0039bee9:[T:0x4001fcf0] ti.sdo.dmai - [Capture] name=PAL-BG, fps=25/1
@0x0039bf08:[T:0x4001fcf0] ti.sdo.dmai - [Capture] name=PAL-H, fps=25/1
@0x0039bf26:[T:0x4001fcf0] ti.sdo.dmai - [Capture] name=PAL-I, fps=25/1
@0x0039bf45:[T:0x4001fcf0] ti.sdo.dmai - [Capture] name=PAL-DK, fps=25/1
@0x0039c5d3:[T:0x4001fcf0] ti.sdo.dmai - [Capture] Found PAL std input
@0x0039c5f2:[T:0x4001fcf0] ti.sdo.dmai - [Capture] Capture input set to COMPOSITE. Standard: 6
@0x00490b0e:[T:0x413ff490] ti.sdo.dmai - [BufTab] Allocating BufTab for 3 buffers
@0x00490c02:[[ 2435.590789] cannot enable LCD, DVI is enabled
T:0x413ff490] ti.sdo.dmai - [Buffer] Alloc Buffer of size 831488 at 0x41400000 (0x84400000 phys)
@0x00490c7c:[T:0x413ff490] ti.sdo.dmai - [Buffer] Alloc Buffer of size 831488 at 0x414cb000 (0x844cb000 phys)
@0x00490cf6:[T:0x413ff490] ti.sdo.dmai - [Buffer] Alloc Buffer of size 831488 at 0x41596000 (0x84596000 phys)
@0x00490e27:[T:0x41e60490] ti.sdo.dmai - [BufTab] Allocating BufTab for 5 buffers
@0x00490ea1:[T:0x41e60490] ti.sdo.dmai - [Buffer] Alloc Buffer of size 831488 at 0x41e61000 (0x84661000 phys)
@0x00490efd:[T:0x41e60490] ti.sdo.dmai - [Buffer] Alloc Buffer of size 831488 at 0x41f2c000 (0x8472c000 phys)
@0x00490f77:[T:0x41e60490] ti.sdo.dmai - [Buffer] Alloc Buffer of size 831488 at 0x41ff7000 (0x847f7000 phys)
@0x00490ff1:[T:0x41e60490] ti.sdo.dmai - [Buffer] Alloc Buffer of size 831488 at 0x420c2000 (0x848c2000 phys)
@0x0049104d:[T:0x41e60490] ti.sdo.dmai - [Buffer] Alloc Buffer of size 831488 at 0x4218d000 (0x8498d000 phys)
@0x004910a8:[T:0x41e60490] ti.sdo.dmai - [Dmai] Setting display to LCD
@0x004917ee:[T:0x41e60490] ti.sdo.dmai - [Dmai] Configuring /dev/fb0, width=800, height=480
@0x00496715:[T:0x41e60490] ti.sdo.dmai - [Dmai] Configuring /dev/fb0, width=800, height=480
@0x004967cc:[T:0x41e60490] ti.sdo.dmai - [Display] Video output set to size 720x576 pitch 1440, Format 1498831189
@0x004e819e:[T:0x42a57490] ti.sdo.dmai - [Venc1] Creating encoder h264enc for max 720x576 bitrate 2000000 ratectrl 2
@0x004f60a8:[T:0x42a57490] ti.sdo.dmai - [Venc1] Setting dynParams size 720x576 bitrate 2000000
@0x004f6348:[T:0x42a57490] ti.sdo.dmai - [Venc1] Made XDM_SETPARAMS control call
@0x004f6530:[T:0x42a57490] ti.sdo.dmai - [BufTab] Allocating BufTab for 2 buffers
@0x004f65c9:[T:0x42a57490] ti.sdo.dmai - [Buffer] Alloc Buffer of size 831488 at 0x432d8000 (0x84a58000 phys)
@0x004f6661:[T:0x42a57490] ti.sdo.dmai - [Buffer] Alloc Buffer of size 831488 at 0x433a3000 (0x84b23000 phys)
@0x00507834:[T:0x43c6d490] ti.sd[ 2436.073577] tvp514x 2-005d: tvp5146m2 found at 0xba (OMAP I2C adapter)
o.dmai - [BufTab] Allocating BufTab for 2 buffers
@0x0050790a:[T:0x43c6d490] ti.sdo.dmai - [Buffer] Alloc Buffer of size 414720 at 0x43c6e000 (0x84bee000 phys)
@0x00507965:[T:0x43c6d490] ti.sdo.dmai - [Buffer] Alloc Buffer of size 414720 at 0x43cd4000 (0x84c54000 phys)
ARM Load: 1% DSP Load: 0% Video fps: 0 fps Video bit rate: 0 kbps Sound bit rate: 0 kbps Time: 00:00:01 Demo: Encode Display: VGA Video Codec: H.264 BP Resolution: 720x576 Sound Codec: N/A Sampling Freq: N/A

ARM Load: 0% DSP Load: 0% Video fps: 0 fps Video bit rate: 0 kbps Sound bit rate: 0 kbps Time: 00:00:02 Demo: Encode Display: VGA Video Codec: H.264 BP Resolution: 720x576 Sound Codec: N/A Sampling Freq: N/A

@0x00774107:[T:0x413ff490] ti.sdo.dmai - [Capture] Available video input:
@0x00774162:[T:0x413ff490] ti.sdo.dmai - [Capture] name=COMPOSITE
@0x00774181:[T:0x413ff490] ti.sdo.dmai - [Capture] name=COMPOSITE
@0x0077419f:[T:0x413ff490] ti.sdo.dmai - [Capture] name=COMPOSITE
@0x007741be:[T:0x413ff490] ti.sdo.dmai - [Capture] name=COMPOSITE
@0x007741dc:[T:0x413ff490] ti.sdo.dmai - [Capture] name=S-VIDEO
@0x007741fb:[T:0x413ff490] ti.sdo.dmai - [Capture] name=S-VIDEO
@0x00774219:[T:0x413ff490] ti.sdo.dmai - [Capture] name=S-VIDEO
@0x00774238:[T:0x413ff490] ti.sdo.dmai - [Capture] name=S-VIDEO
@0x00774257:[T:0x413ff490] ti.sdo.dmai - [Capture] Setting video input to COMPOSITE
@0x007dadc2:[T:0x413ff490] ti.sdo.dmai - [Capture] Available video standard:
@0x007dae1d:[T:0x413ff490] ti.sdo.dmai - [Capture] name=NTSC, fps=30000/1001
@0x007dae3c:[T:0x413ff490] ti.sdo.dmai - [Capture] name=NTSC-M, fps=30000/1001
@0x007dae5a:[T:0x413ff490] ti.sdo.dmai - [Capture] name=NTSC-M-JP, fps=30000/1001
@0x007dae97:[T:0x413ff490] ti.sdo.dmai - [Capture] name=NTSC-M-KR, fps=30000/1001
@0x007daeb6:[T:0x413ff490] ti.sdo.dmai - [Capture] name=PAL, fps=25/1
@0x007daed4:[T:0x413ff490] ti.sdo.dmai - [Capture] name=PAL-BG, fps=25/1
@0x007daef3:[T:0x413ff490] ti.sdo.dmai - [Capture] name=PAL-H, fps=25/1
@0x007daf11:[T:0x413ff490] ti.sdo.dmai - [Capture] name=PAL-I, fps=25/1
@0x007daf30:[T:0x413ff490] ti.sdo.dmai - [Capture] name=PAL-DK, fps=25/1
@0x007db1cf:[T:0x413ff490] ti.sdo.dmai - [Capture] Found PAL std input
@0x007db20c:[T:0x413ff490] ti.sdo.dmai - [Capture] Capture input set to COMPOSITE. Standard: 6
@0x007db3f5:[T:0x413ff490] ti.sdo.dmai - [Capture] Video input connected size 720x576 pitch 1440
ARM Load: 9% DSP Load: 0% Video fps: 2 fps Video bit rate: 0 kbps Sound bit rate: 0 kbps Time: 00:00:03 Demo: Encode Display: VGA Video Codec: H.264 BP Resolution: 720x576 Sound Codec: N/A Sampling Freq: N/A

ARM Load: 0% DSP Load: 0% Video fps: 0 fps Video bit rate: 0 kbps Sound bit rate: 0 kbps Time: 00:00:04 Demo: Encode Display: VGA Video Codec: H.264 BP Resolution: 720x576 Sound Codec: N/A Sampling Freq: N/A

ARM Load: 0% DSP Load: 0% Video fps: 0 fps Video bit rate: 0 kbps Sound bit rate: 0 kbps Time: 00:00:06 Demo: Encode Display: VGA Video Codec: H.264 BP Resolution: 720x576 Sound Codec: N/A Sampling Freq: N/A

ARM Load: 0% DSP Load: 0% Video fps: 0 fps Video bit rate: 0 kbps Sound bit rate: 0 kbps Time: 00:00:07 Demo: Encode Display: VGA Video Codec: H.264 BP Resolution: 720x576 Sound Codec: N/A Sampling Freq: N/A

ARM Load: 0% DSP Load: 0% Video fps: 0 fps Video bit rate: 0 kbps Sound bit rate: 0 kbps Time: 00:00:08 Demo: Encode Display: VGA Video Codec: H.264 BP Resolution: 720x576 Sound Codec: N/A Sampling Freq: N/A

ARM Load: 0% DSP Load: 0% Video fps: 0 fps Video bit rate: 0 kbps Sound bit rate: 0 kbps Time: 00:00:09 Demo: Encode Display: VGA Video Codec: H.264 BP Resolution: 720x576 Sound Codec: N/A Sampling Freq: N/A

ARM Load: 0% DSP Load: 0% Video fps: 0 fps Video bit rate: 0 kbps Sound bit rate: 0 kbps Time: 00:00:10 Demo: Encode Display: VGA Video Codec: H.264 BP Resolution: 720x576 Sound Codec: N/A Sampling Freq: N/A