Hi,
We have just bought
DVEVM355 and I'm having some problems.
I want to execute the VENC
demo from the web server as a CGI, so I wrote this
script:
#!/bin/sh
cat
<< EOF
Content-type: text/plain
EOF
cd
/opt/dvsdk/web/ejemplos/
./venc foreman_vga_422i.yuv
salida.m4v
After executing
loadmodules.sh if I execute my script from the terminal it works
fine, but when I try executing it as CGI I get these errors:
CMEM
Error: init: Failed to open /dev/cmem: 'Permission denied'
myscript.sh: line 10: 5118 Bus error ./venc foreman_vga_422i.yuv
foreman.m4v
and
this one in the terminal: Alignment
trap: venc (1129) PC=0x0001855c Instr=0xe5933000 Address=0x000001ff
FSR 0x001
I
tried changing the permission to /dev/cmem but I
still got the bus error.
I tried also using the command
strace, and I got this :
open("/dev/mem",
O_RDWR|O_SYNC) = -1 EACCES (Permission denied)
and the program is killed by sigbus.So I tried changing also /dev/mem's
permissions, but it didn't work, I got this:open("/dev/mem", O_RDWR|O_SYNC)
= -1 EPERM (Operation not permitted)
Can anyone please help me? Has anyone
been able of executing the demos from the web server as cgi?
Thank you for your help.
Sincerely,
Marta
_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source