Dear all;
I have trouble getting dvsdk_1_30_00_40 demo decode works.
At my DM355 target prompt, I did :
./loadmodules.sh
./decode -s ./data/sounds/davincieffect.g711 -v ./data/videos/davincieffect_ntsc.mpeg4
I got :
Decode Error: Failed FBIOPUT_VSCREENINFO on /dev/fb/3 (Invalid argument)
The following is the problem area:
varInfo.xres = D1_WIDTH;
varInfo.yres = D1_HEIGHT;
varInfo.yres_virtual = NUM_DISPLAY_BUFS * D1_HEIGHT;
varInfo.bits_per_pixel = SCREEN_BPP;
/* Set video display format */
if (ioctl(fd, FBIOPUT_VSCREENINFO, &varInfo) == -1) {
ERR("Failed FBIOPUT_VSCREENINFO on %s (%s)\n", FBVID_DEVICE,
strerror(errno));
return FAILURE;
}
It seems that the problem on this line: varInfo.yres_virtual = NUM_DISPLAY_BUFS * D1_HEIGHT;
Please note I have changed the bootargs :
from: (as the manual says):
video=davincifb:vid0=720x576x16,2500K:vid1=720x576x16,2500k:osd0=720x576x16,2025K
To:
video=davincifb:vid0=720x480x16,2500K:vid1=720x480x16,2500k:osd0=720x480x16,2025K
Can anyone help me about the problem ?
Thanks for your help.
Jason