Could anyone give me a sample code for multipe H264 encoding from one v4l2 captured video into several files with diffrent name??
I found this sample code , but want to do 3 encodings at the same time.
# pipeline to capture and encode video over v4l2
gst-launch v4l2src always-copy=false queue-size=12 num-buffers=2000 ! 'video/x-raw-yuv-strided,format=(fourcc)NV12,width=1280,height=720,framerate=(fraction)60/1' ! omxbufferalloc numBuffers=12 ! omx_h264enc bitrate=5000000 ! gstperf ! filesink location=v4l2cap.h264