Hi,
I am working on a video integration project with a DM365 board but am having a problem with the 'encode' demo software. I have
followed the getting started instruction page and have successfully
built and installed the filesystem (loaded via ntfs) and kernel (via
tftp) and modules etc. The example applications etc all build and install without issue
also.
However when I run the 'encode' demo application I get the following output
root@ti-board:/opt/dvsdk/
root@ti-board:/opt/dvsdk/dm365# ./encode -v test.mpeg4
Encode demo started.
Error: Failed to create capture device
root@ti-board:/opt/dvsdk/dm365# ./encode -v test.264
Encode demo started.
Error: Failed to create capture device
I have tried all combinations of options etc loading different drivers but always with the same results, unless I remove the video source in which case I get the 'failed to detect video' message so I know video is being detected. At the same time as I get the 'capture device' error message above (via a ssh session) I get this message on the console
davinci_resizer davinci_resizer.2: Operation mode doesn't match with current hw mode
I have read through the code of the various modules and the encode demo itself but at this stage in my learning curve I am not really able to fathom what it is trying to do in the depths of the drivers and the error message isn't enormously helpful.
I wonder if anyone is able to shed any light on why this error message is occurring, what it means, and how I can fix it? The curious thing is that I am sure (well 95%!) that I did have the encode demo working a couple of weeks ago but going through my saved command history and repeating those commands just generates the failure message above, and nothing else appears to have changed. I have tried rebuilding the dvsdk and kernel etc but that seems to make no difference.