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 + component + encode demo problem

Hi,

Trying to run the encode demo program from TI's dm368 dvsdk_4_02_00_06.  The board is leopard dm368 board+YPbPr input, video source is a sony bluray player configured at 720P, video source has been verified with a TV. Got the following errors, please help.

# DMAI_DEBUG=2 ./encode -v 720p.264 -I 3 -y 3
Encode demo started.
@0x000eb531:[T:0x4001ee60] ti.sdo.dmai - [Dmai] Dmai log level set to '2'. Note that calling CERuntime_init after this point may cause unexpected change to DMAI tracing behavior.
@0x000ebf02:[T:0x40afa490] ti.sdo.dmai - [BufTab] Allocating BufTab for 3 buffers
@0x000ec1a6:[T:0x40afa490] ti.sdo.dmai - [Buffer] Alloc Buffer of size 1382400 at 0x40afb000 (0x83c00000 phys)
@0x000ec3d9:[T:0x40afa490] ti.sdo.dmai - [Buffer] Alloc Buffer of size 1382400 at 0x40c4d000 (0x83d52000 phys)
@0x000ec633:[T:0x40afa490] ti.sdo.dmai - [Buffer] Alloc Buffer of size 1382400 at 0x40d9f000 (0x83ea4000 phys)
@0x000ec742:[T:0x40afa490] ti.sdo.dmai - [BufTab] Allocating BufTab for 4 buffers
@0x000ec957:[T:0x40afa490] ti.sdo.dmai - [Buffer] Alloc Buffer of size 1382400 at 0x40ef1000 (0x83ff6000 phys)
@0x000ecb8d:[T:0x40afa490] ti.sdo.dmai - [Buffer] Alloc Buffer of size 1382400 at 0x41043000 (0x84148000 phys)
@0x000ed6fa:[T:0x40afa490] ti.sdo.dmai - [Buffer] Alloc Buffer of size 1382400 at 0x41195000 (0x8429a000 phys)
@0x000ed969:[T:0x40afa490] ti.sdo.dmai - [Buffer] Alloc Buffer of size 1382400 at 0x412e7000 (0x843ec000 phys)
@0x000ee271:[T:0x41c38490] ti.sdo.dmai - [Venc1] Creating encoder h264enc for max 1280x720 bitrate 2000000 ratectrl 4
@0x0010cfd2:[T:0x41c38490] ti.sdo.dmai - [Venc1] Setting dynParams size 1280x720 bitrate 2000000
@0x0010d356:[T:0x41c38490] ti.sdo.dmai - [Venc1] Made XDM_SETPARAMS control call
@0x0010e3b3:[T:0x40afa490] ti.sdo.dmai - [Capture] Component input selected
@0x0010e538:[T:0x40afa490] ti.sdo.dmai - [Capture] Setting video standard to: 9
@0x0010f7ee:[T:0x40afa490] ti.sdo.dmai - [Capture] Capture input set to Component:9
@0x0010f8ea:[T:0x40afa490] ti.sdo.dmai - [Capture] Forcing user specified video standard
@0x0010f995:[T:0x40afa490] ti.sdo.dmai - [Capture] Capture dimention is set to 1280x720
@0x0010facd:[T:0x40afa490] ti.sdo.dmai - [Capture] Video input connected size 1280x720 pitch 2560
@0x0010fb95:[T:0x40afa490] ti.sdo.dmai - [Capture] Setting capture frame rate to half.
@0x001190cc:[T:0x42a8f490] ti.sdo.dmai - [BufTab] Allocating BufTab for 10 buffers
@0x00119349:[T:0x42a8f490] ti.sdo.dmai - [Buffer] Alloc Buffer of size 1382400 at 0x42a90000 (0x84940000 phys)
@0x001195ef:[T:0x42a8f490] ti.sdo.dmai - [Buffer] Alloc Buffer of size 1382400 at 0x42be2000 (0x84a92000 phys)
@0x00119889:[T:0x42a8f490] ti.sdo.dmai - [Buffer] Alloc Buffer of size 1382400 at 0x42d34000 (0x84be4000 phys)
@0x00119b05:[T:0x42a8f490] ti.sdo.dmai - [Buffer] Alloc Buffer of size 1382400 at 0x42e86000 (0x84d36000 phys)
@0x00119da4:[T:0x42a8f490] ti.sdo.dmai - [Buffer] Alloc Buffer of size 1382400 at 0x42fd8000 (0x84e88000 phys)
@0x0011a049:[T:0x42a8f490] ti.sdo.dmai - [Buffer] Alloc Buffer of size 1382400 at 0x4312a000 (0x84fda000 phys)
@0x0011a2c7:[T:0x42a8f490] ti.sdo.dmai - [Buffer] Alloc Buffer of size 1382400 at 0x4327c000 (0x8512c000 phys)
@0x0011a569:[T:0x42a8f490] ti.sdo.dmai - [Buffer] Alloc Buffer of size 1382400 at 0x433ce000 (0x8527e000 phys)
@0x0011a807:[T:0x42a8f490] ti.sdo.dmai - [Buffer] Alloc Buffer of size 1382400 at 0x43520000 (0x853d0000 phys)
@0x0011aa8a:[T:0x42a8f490] ti.sdo.dmai - [Buffer] Alloc Buffer of size 1382400 at 0x43672000 (0x85522000 phys)
@0x001414b7:[T:0x40afa490] ti.sdo.dmai - [Dmai] VIODIC_QBUF failed (Invalid argument)
@0x001415ac:[T:0x40afa490] ti.sdo.dmai - [Capture] Failed to intialize capture driver buffers on /dev/video0
Error: Failed to create capture device. Is video input connected?
@0x00149159:[T:0x42a8f490] ti.sdo.dmai - [Buffer] Free Buffer of size 1382400 at 0x42a90000 (0x84940000 phys)
@0x0014a733:[T:0x42a8f490] ti.sdo.dmai - [Buffer] Free Buffer of size 1382400 at 0x42be2000 (0x84a92000 phys)
@0x0014b5e4:[T:0x42a8f490] ti.sdo.dmai - [Buffer] Free Buffer of size 1382400 at 0x42d34000 (0x84be4000 phys)
@0x0014cb38:[T:0x42a8f490] ti.sdo.dmai - [Buffer] Free Buffer of size 1382400 at 0x42e86000 (0x84d36000 phys)
@0x0014d9ff:[T:0x42a8f490] ti.sdo.dmai - [Buffer] Free Buffer of size 1382400 at 0x42fd8000 (0x84e88000 phys)
@0x0014ef27:[T:0x42a8f490] ti.sdo.dmai - [Buffer] Free Buffer of size 1382400 at 0x4312a000 (0x84fda000 phys)
@0x0014fde9:[T:0x42a8f490] ti.sdo.dmai - [Buffer] Free Buffer of size 1382400 at 0x4327c000 (0x8512c000 phys)
@0x00150c8a:[T:0x42a8f490] ti.sdo.dmai - [Buffer] Free Buffer of size 1382400 at 0x433ce000 (0x8527e000 phys)
@0x00152219:[T:0x42a8f490] ti.sdo.dmai - [Buffer] Free Buffer of size 1382400 at 0x43520000 (0x853d0000 phys)
@0x001530e1:[T:0x42a8f490] ti.sdo.dmai - [Buffer] Free Buffer of size 1382400 at 0x43672000 (0x85522000 phys)
@0x001548fa:[T:0x40afa490] ti.sdo.dmai - [Buffer] Free Buffer of size 1382400 at 0x40afb000 (0x83c00000 phys)
@0x001557b7:[T:0x40afa490] ti.sdo.dmai - [Buffer] Free Buffer of size 1382400 at 0x40c4d000 (0x83d52000 phys)
@0x00156cd5:[T:0x40afa490] ti.sdo.dmai - [Buffer] Free Buffer of size 1382400 at 0x40d9f000 (0x83ea4000 phys)
@0x00157b9e:[T:0x40afa490] ti.sdo.dmai - [Buffer] Free Buffer of size 1382400 at 0x40ef1000 (0x83ff6000 phys)
@0x001590fb:[T:0x40afa490] ti.sdo.dmai - [Buffer] Free Buffer of size 1382400 at 0x41043000 (0x84148000 phys)
@0x00159fbf:[T:0x40afa490] ti.sdo.dmai - [Buffer] Free Buffer of size 1382400 at 0x41195000 (0x8429a000 phys)
@0x0015b4e0:[T:0x40afa490] ti.sdo.dmai - [Buffer] Free Buffer of size 1382400 at 0x412e7000 (0x843ec000 phys)