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.

DM6467 EVM Decode Video & Audio

HI,

I'm tryign to the the demo decode program to work with the supplied audio and video files but I'm having some troubles.

The board is booting via the evm harddrive, running uImage-dm6467t-evm.bin & uboot-dm6467t-evm.bin.

The evireoment is set as:

setenv bootargs 'mem=76M console=ttyS0,115200n8 root=/dev/hda1 vpif_display.ch2_numbuffers=0 vpif_display.ch3_numbuffers=0'

I am able to loadmodules fine.

When I try and run the decode program as below:

./decode -a /opt/dvsdk/dm6467/data/sounds/davincieffect.aac

Decode demo started.

Decode demo ARM Load: 10% DSP Load: 100% Display Type: N/A Video Codec: N/A Vide
o fps: 0 fps Video bit rate: 0 kbps Video resolution: N/A Sound codec: AAC Sound
 bit rate: 92 kbps Sampling freq: 48000 Time: 00:00:01

Decode demo ARM Load: 0% DSP Load: 100% Display Type: N/A Video Codec: N/A Video
 fps: 0 fps Video bit rate: 0 kbps Video resolution: N/A Sound codec: AAC Sound
bit rate: 0 kbps Sampling freq: 48000 Time: 00:00:02

Decode demo ARM Load: 0% DSP Load: 100% Display Type: N/A Video Codec: N/A Video
 fps: 0 fps Video bit rate: 0 kbps Video resolution: N/A Sound codec: AAC Sound
bit rate: 0 kbps Sampling freq: 48000 Time: 00:00:03

Decode demo ARM Load: 0% DSP Load: 75% Display Type: N/A Video Codec: N/A Video
fps: 0 fps Video bit rate: 0 kbps Video resolution: N/A Sound codec: AAC Sound b
it rate: 0 kbps Sampling freq: 48000 Time: 00:00:04

Decode demo ARM Load: 0% DSP Load: 75% Display Type: N/A Video Codec: N/A Video
fps: 0 fps Video bit rate: 0 kbps Video resolution: N/A Sound codec: AAC Sound b
it rate: 0 kbps Sampling freq: 48000 Time: 00:00:06

Decode demo ARM Load: 0% DSP Load: 75% Display Type: N/A Video Codec: N/A Video
fps: 0 fps Video bit rate: 0 kbps Video resolution: N/A Sound codec: AAC Sound b
it rate: 0 kbps Sampling freq: 48000 Time: 00:00:07

Decode demo ARM Load: 0% DSP Load: 56% Display Type: N/A Video Codec: N/A Video
fps: 0 fps Video bit rate: 0 kbps Video resolution: N/A Sound codec: AAC Sound b
it rate: 0 kbps Sampling freq: 48000 Time: 00:00:08

Decode demo ARM Load: 0% DSP Load: 56% Display Type: N/A Video Codec: N/A Video
fps: 0 fps Video bit rate: 0 kbps Video resolution: N/A Sound codec: AAC Sound b
it rate: 0 kbps Sampling freq: 48000 Time: 00:00:09

Error: Failed to write audio buffer

The following is found by using CE_DEBUG=3

@30,438,035us: [+7 T:0x413d6490 S:0x413d5cf4] ti.sdo.dmai - [Sound] Failed to write to plughw:0,0 (Unknown error 4294967291)
Error: Failed to write audio buffer


Whe I try and decode a video file:

./decode -v ../dvsdk_data/dm6467/data/videos/dust_1080i_30fps.264 -y 2 -O composite

Decode demo started.
Error: Failed to create display device

The following is found by using CE_DEBUG=3

@1,460,028us: [+2 T:0x413d6490 S:0x413d5c94] ti.sdo.dmai - [Buffer] Alloc Buffer of size 691200 at 0x41d99000 (0x8b6cd000 phys)
@1,460,628us: [+7 T:0x413d6490 S:0x413d5bac] ti.sdo.dmai - [Display] Cannot open /dev/video2 (No such file or directory)
Error: Failed to create display device

Could someone point me it the right direction.

Thanks

James

 

  • James,

     

    For Video, can you check whether /dev/video2 entry is available or not? If it is not available, check your bootlog to see what is failed while creating display driver.

     

    Thx,

    Brijesh

  • Few more points:

    The clip you are trying to play is 1920x1080 resolution clip. The decode arguments provided are for composite and PAL.

    I would try with following options to playout this clip in component interface

    ./decode -v ../dvsdk_data/dm6467/data/videos/dust_1080i_30fps.264  -y 5   -O component

    The board you are using, is it a DM6467T board?

    Regards

    Sajesh

  • Hi,

    The board is the DM6467, I've tried this command also have the same error.

    I have also tried to attack it using the gstreamer approach,  with DVSDK 3 thou I am having the following problem:

    Package glib-2.0 was not found in the pkg-config search path.

    Is this a simple error? Looking on the web seems to suggest libglib2.0-dev isnt installed thou I have checked this.

    Thanks

     

  • As it is specified in the download page (http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/dvsdk/DVSDK_3_10/latest/index_FDS.html), DVSDK 3.10 supports DM355/DM365/DM6467T platforms only.

    You can try it out with DM6467 platform. In the GSG we have provided link to get uImage/u-boot for DM6467 platform (http://processors.wiki.ti.com/index.php?title=DM6467_Getting_Started_Guide#Software_Setup).

    To build DVSDK components for DM6467 platform, please make the change specified in http://processors.wiki.ti.com/index.php/GSG:_DVEVM_Software_Setup_for_DM6467_Platforms#Building_the_DVSDK_Software_for_the_Target.

    Regards

    Sajesh