Quantcast
Channel: Processors forum - Recent Threads
Viewing all articles
Browse latest Browse all 17527

Linux/AM5728: Video recording issue

$
0
0

Part Number:AM5728

Tool/software: Linux

Hi

We are recording 3 video channels  using  AM5728 based board.  we set the cma to 256 MB.   The following error is observed.

root@am57xx-evm:~# gst-launch-1.0 -e v4l2src device="/dev/video1" io-mode=4 ! 'video/x-raw,format=YUY2,width=720,height=288,framerate=30/1' ! vpe num-input-buffers=8 ! 'video/x-raw,width=720,height=576,framerate=30/1' ! ducatih264enc bitrate=1024 ! h264parse ! mp4mux ! filesink location=/home/root/1.mp4    v4l2src device="/dev/video2" io-mode=4 ! 'video/x-raw,format=YUY2,width=1024,height=768,framerate=30/1' ! vpe num-input-buffers=8 ! ducatih264enc bitrate=1524 ! h264parse ! mp4mux ! filesink location=/home/root/2.mp4  v4l2src device="/dev/video3" io-mode=4 ! 'video/x-raw,format=YUY2,width=1024,height=768,framerate=30/1' ! vpe num-input-buffers=8 ! ducatih264enc bitrate=1524 ! h264parse ! mp4mux ! filesink location=/home/root/3.mp4
Setting pipeline to PAUSED ...
[  301.033806] omap-iommu 55082000.mmu: 55082000.mmu: version 2.1
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock

** (gst-launch-1.0:1007): CRITICAL **: gst_fd_memory_get_fd: assertion 'GST_IS_FD_ALLOCATOR (mem->allocator)' failed

** (gst-launch-1.0:1007): CRITICAL **: gst_fd_memory_get_fd: assertion 'GST_IS_FD_ALLOCATOR (mem->allocator)' failed

** (gst-launch-1.0:1007): CRITICAL **: gst_fd_memory_get_fd: assertion 'GST_IS_FD_ALLOCATOR (mem->allocator)' failed

** (gst-launch-1.0:1007): CRITICAL **: gst_fd_memory_get_fd: assertion 'GST_IS_FD_ALLOCATOR (mem->allocator)' failed
ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src1: Internal data flow error.
Additional debug info:
../../../../gstreamer-1.6.3/libs/gst/base/gstbasesrc.c(2943): gst_base_src_loop (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src1:
streaming task paused, reason error (-5)
EOS on shutdown enabled -- waiting for EOS after Error
Waiting for EOS...

when we change the vpe with video convert in two channels , it is working fine

root@am57xx-evm:~# gst-launch-1.0 -e v4l2src device="/dev/video1" io-mode=4 ! 'video/x-raw,format=YUY2,width=720,height=288,framerate=30/1' ! vpe num-input-buffers=8 ! 'video/x-raw,width=720,height=576,framerate=30/1' ! ducatih264enc bitrate=1024 ! h264parse ! mp4mux ! filesink location=/home/root/1.mp4    v4l2src device="/dev/video2" io-mode=4 ! 'video/x-raw,format=YUY2,width=1024,height=768,framerate=30/1' ! videoconvert ! ducatih264enc bitrate=1524 ! h264parse ! mp4mux ! filesink location=/home/root/2.mp4  v4l2src device="/dev/video3" io-mode=4 ! 'video/x-raw,format=YUY2,width=1024,height=768,framerate=30/1' ! videoconvert ! ducatih264enc bitrate=1524 ! h264parse ! mp4mux ! filesink location=/home/root/3.mp4


please help us to find  a solution.


Viewing all articles
Browse latest Browse all 17527

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>