Hi, i had used dvsdk4 for dm365 and i am booting the kernel with mem=80M in bootargs.. and i am inserting the cmem module with following pools succesfully
insmod cmemk.ko "phys_start=0x85000000 phys_end=0x88000000
pools=1x16539648,1x4841472,4x1843200,10x1646592,1x282624,1x176128,1x147456,1x69632,1x61440,1x32768,2x20480,1x16384,1x12288,4x8192,69x4096 allowOverlap=1 phys_start_1=0x00001000 phys_end_1=0x00008000 pools_1=1x28672"
So, with the above environment...i am able to encode the 720p captured stream by using the following gstreamer pipeline
gst-launch-0.10 -v v4l2src always-copy=FALSE num-buffers=800 ! video/x-raw-yuv, format=\(fourcc\)NV12, width=640, height=480 ! TIVidenc1 codecName=h264enc engineName=codecServer ! filesink location=output_cap_720P.264
But i am facing the problem while decoding the above .264 file i.e by using the following pipeline
gst-launch-0.10 -v filesrc location=output_cap_720P.264 ! TIViddec2 engineName=codecServer codecName=h264dec ! TIDmaiVideoSink displayDevice=/dev/video2 displayStd=v4L2 videoStd=D1_NTSC videoOutput=composite accelFrameCopy=FALSE sync=false
i am getting the folllowing error
CMEMK Error: Failed to find a pool which fits 1645056
CMEM Error: getPool: Failed to get a pool fitting a size 1645056
Failed to allocate memory.
assertion "hBuf" failed: file "Buffer.c", line 207
Caught SIGSEGV accessing address 0xdeadbaad
ERROR: from element /GstPipeline:pipeline0/GstTIViddec2:tividdec20: failed to re-partition decode buffers after processingfirst frame
even i had followed the link https://gstreamer.ti.com/gf/project/gstreamer_ti/wiki/?pagename=NotesOnDM365Performance. i am ended with the same type of error
So,could any one solve in allocating my cmempools to decode the my 720p file
Thanks
Siva Prasad T