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.

dm8168+EIO only supports YPbPr input ?

I have a DM8168 EVM board with Expansion I/O Daughtercard. When I want to capture video from DV, it seems the capture module doesn't work. The command as follow -

       ./capture_encode_a8host_debug.xv5T  -o sample.264  -m 1080p  -f 60  -b 1000000 -n 1000  -d  0

When I check input format of DV, it is 1080i/576i in YPbPr mode, and it only supports these two modes. There are some questions here -

a) While dm8168+EIO has CVBS, YPbPr, S-Video, HDMI input modes on daughter card, which modes are supported?

b) Since that DV only supports 1080i/576i in YPbPr mode, how can I make the capture_encode work properly? I've tried to change mode to 1080i60, but it said ERROR: src/ilclient_utils.c: 230: In correct Mode selected!!

  • Hi.

    ariel tiao said:
    While dm8168+EIO has CVBS, YPbPr, S-Video, HDMI input modes on daughter card, which modes are supported?

    We support 1080P60, 720P60 and 1080i60 on YPbPr inputs. DVI input is still not supported.

    ariel tiao said:
    Since that DV only supports 1080i/576i in YPbPr mode, how can I make the capture_encode work properly? I've tried to change mode to 1080i60, but it said ERROR: src/ilclient_utils.c: 230: In correct Mode selected!!

    I am not sure about above questions but you should only use YPbPr inputs.

    Regards,

    Hardik Shah

  • Hi,

    Thanks for your answer.

    DV is set in 1080i/576i of YPbPr mode. And the board is set to 1080i60 mode, as below -

            root@dm816x-evm:/usr/share/ti/ti-media-controller-utils# cat /sys/devices/platform/vpss/display0/mode             
            1080i-60

    and next steps and the results shown as follow -

            root@dm816x-evm:/# /etc/init.d/matrix-gui-e stop
            Stopping Matrix GUI application.
            root@dm816x-evm:/# echo 0 > /sys/devices/platform/vpss/graphics0/enabled
            root@dm816x-evm:/# echo 0 > /sys/devices/platform/vpss/display0/enabled
            root@dm816x-evm:/# cd /usr/share/ti/ti-omx
            root@dm816x-evm:/usr/share/ti/ti-omx# ls
            adec_snt_a8host_debug.xv5T
            audio_encode_a8host_debug.xv5T
            c6xtest_a8host_debug.xv5T
            capture_encode_a8host_debug.xv5T
            decode_a8host_debug.xv5T
            decode_display_a8host_debug.xv5T
            decode_mosaicdisplay_a8host_debug.xv5T
            encode_a8host_debug.xv5T
            root@dm816x-evm:/usr/share/ti/ti-omx# ./capture_encode_a8host_debug.xv5T -o sample.264 -m 1080i -f 60 -b 1000000 -n 1000 -d 0 &
            root@dm816x-evm:/usr/share/ti/ti-omx# output file: sample.264
            bit_rate: 1000000
            frame_rate: 60
            num_frames: 1000
            mode: 1080i
            display_id: 0
            Capture-Encode example
            ===============================
            OMX_Init completed
            UIAClient is ready to send a UIA configuration command
            UIAClient received UIA_CONFIGURE_ACK
            UIAClient is done sending requests
            UIAClient is ready to send a UIA configuration command
            UIAClient received UIA_CONFIGURE_ACK
            UIAClient is done sending requests
            ERROR: src/ilclient_utils.c: 230: In correct Mode selected!!

    Regards,

    Ariel