Hello,
I want to record videos as using below code
gst-launch-1.0 v4l2src device=/dev/video0 ! queue2 ! \
imxipuvideotransform ! imxvpuenc_h264 bitrate=6500 ! avimux ! \
filesink location=/tmp/test0.avi \
v4l2src device=/dev/video1 ! queue2 ! \
imxipuvideotransform ! imxvpuenc_h264 bitrate=6500 ! avimux ! \
filesink location=/tmp/test1.avi \
v4l2src device=/dev/video2 ! queue2 ! \
imxipuvideotransform ! imxvpuenc_h264 bitrate=6500 ! avimux !\
filesink location=/tmp/test2.avi \
v4l2src device=/dev/video3 ! queue2 ! \
imxipuvideotransform ! imxvpuenc_h264 bitrate=6500 ! avimux !\
filesink location=/tmp/test3.avi \
v4l2src device=/dev/video4 ! queue2 ! \
imxipuvideotransform ! imxvpuenc_h264 bitrate=6500 ! avimux ! \
filesink location=/tmp/test4.avi \
v4l2src device=/dev/video5 ! queue2 ! \
imxipuvideotransform ! imxvpuenc_h264 bitrate=6500 ! avimux ! \
filesink location=/tmp/test5.avi
However this code works like that:
tw6869 0000:01:00.0: tw6869_vch_dma_wait: vch5: video not present
tw6869 0000:01:00.0: tw6869_vch_dma_wait: vch4: odd field
tw6869 0000:01:00.0: tw6869_vch_dma_wait: vch3: even field
tw6869 0000:01:00.0: tw6869_vch_dma_wait: vch2: odd field
tw6869 0000:01:00.0: tw6869_vch_dma_wait: vch0: even field
tw6869 0000:01:00.0: tw6869_vch_dma_wait: vch1: even field
tw6869 0000:01:00.0: tw6869_dma_reset: DMA 5
tw6869 0000:01:00.0: tw6869_dma_reset: DMA 3
tw6869 0000:01:00.0: tw6869_dma_reset: DMA 0
tw6869 0000:01:00.0: tw6869_dma_reset: DMA 1
tw6869 0000:01:00.0: tw6869_dma_reset: DMA 2
tw6869 0000:01:00.0: tw6869_vch_dma_wait: vch5: video not present
tw6869 0000:01:00.0: tw6869_vch_dma_wait: vch3: even field
tw6869 0000:01:00.0: tw6869_vch_dma_wait: vch1: odd field
tw6869 0000:01:00.0: tw6869_vch_dma_wait: vch0: odd field
After when I want to watch my record with using this command:
gst-launch-1.0 playbin uri=file:///tmp/test0.avi
I just cannot. If I record only 1 video it works perfectly but when I try 5 videos at same time always get a even odd fail.
I am new so all help will be appreciated. Thank you.
Best Regards.
Mert TEMEL
Hello, By the way I am using TW6869. I forgot to specify this information.
Hello Mert,
seems community gstreamer-imx plugins are used in the case, one can try with nxp
imx-gst1.0-plugins described in Linux Guide included in Linux L4.14.98_2.0.0 Documentation
and nxp linux from source.codeaurora.org/external/imx/linux-imx repository:
Also one can try to analyse internal buses usage and tweak IPU QoS configured with IOMUXC_GPR6:
i.MX6 MMDC Profiling: What is BUSY_COUNT?
IMX6 Memory Bandwidth Usage | iMX6 Board Memory
Best regards
Hello Bio_TICFSL,
I read your reply and thank you for that. But I could not do that actually. I mean I cannot make progress. Could you please help me more ?
Best regards.