Other Parts Discussed in Thread: OMAP-L138
Hallo,
I have OMAP-L138 and I use DVSDK 04.03.00.06.
I run linux with the following boot args:
Kernel command line: console=ttyS2,115200n8 noinitrd rw mem=32M@0xc0000000 mem=64M@0xc4000000 root=/dev/nfs nfsroot=192.168.15.110:/home/user/targetfs,nolock ip=dhcp
and I have modified loadmodules.sh script as follows:
CMEM_MODPARAMS="allowOverlap=1 phys_start=0xC2000000 phys_end=0xC2C00000 pools=20x4096,10x131072,2x1048576,2x2097152,1x4194304"
if [ -e cmemk.ko ]
then
insmod cmemk.ko $CMEM_MODPARAMS
else
modprobe cmemk $CMEM_MODPARAMS
fi
# Allow cmem driver to be used by all users
if [ -e /dev/cmem ]
then
chmod 666 /dev/cmem
fi
# insert DSP/BIOS Link driver
if [ -e dsplinkk.ko ]
then
insmod dsplinkk.ko
else
modprobe dsplinkk
fi
# Allow dsplink driver to be used by all users
if [ -e /dev/dsplink ]
then
chmod 666 /dev/dsplink
fi
I run the conversion command as:
# CE_DEBUG=5 gst-launch filesrc location=./movie.NV12 ! 'video/x-raw-yuv,format=(fourcc)NV12,width=(int)720,height=(int)576,framerate=(fraction)25/1' ! queue max-size-buffers=50 max-size-bytes=622080 ! TIVidenc1 codecName=mpeg4enc engineName=codecServer iColorSpace=NV12 resolution=720x576 framerate=25 ! filesink location=movie.m4v -v
it tells me:
ERROR: from element /GstPipeline:pipeline0/GstTIVidenc1:tividenc10: failed to create video encoder: mpeg4enc
and the CE debug info tells me:
[DSP] @0,318,368tk: [+7 T:0xc3415b94 S:0xc3419844] ti.sdo.ce.alg.Algorithm - Algorithm_create> Algorithm creation FAILED; make sure that 1) alg params are correct/appropriate, 2) there is enough internal and external algorithm memory available -- check DSKT2 settings for heap assignments and scratch allocation
where am I wrong? How can I make the conversion works?
best regards
Max