I am using DM8148 Processor for Video processing with adv7180 decoder to receive PAL data. The data converted to YCbCr format.
I had face problem in Memory map allocation, in "dma_alloc_coherent" function. It had failed to allocate dma memory. So I moved to User Pointer memory allocation.
Instead of MMAP, I am using USER POINTER to allocate memory for buffer.
But Buffer len size is always zero form the function "vidioc_querybuf" in FFMPEG application.
LOG:
[video4linux2,v4l2 @ 0xd850f0] Buffer len [0] = 0 != 829440
/dev/video0: Operation not permitted
Run time arguments for FFMPEG application :
# ffmpeg -vcodec rawvideo -f video4linux2 -pix_fmt yuv422p12be -s 576x720 -i /dev/video0 out.avi
Above arguments in ffmpeg application are correct?
Please clarify.