The objective I am trying to achieve is streaming 1080p video from
Raspberry pi camera and record the video simultaneously.
1. I tried recording the http streaming as source but didn't work on 30fps. A
lot of frames were missing and almost got 8fps only.
2.As a second approach, I am trying to record the file directly from camera
and then streaming the "recording in progress/buffer" file. For the same I
am trying to use GStreamer. Please suggest if this is good option or should
I try any other?
this has the -e which when you stop the pipeline it will put eos through the
file. also has h264parse to parse the h264 video and plus has the
do-timestamp to true for the v4l2src to set timestamps on the buffers coming
in. The splitmux will set the number of files and how much each file
contains. the location has your filename but has "%04d" which tells it 4
digits of numbers in the sequence to write to the current directory. the
splitmux has a set of avimux for the muxer and the sink is the filesink
default for that element. I hope the splitmuxsink element is on the machine
you are using. I also used a tee which might split up the signal, i'm hoping
1. created h264 file and recording also done there is no error.
2. but in Simultaneously i also saw a stream (running h264 file) but they
are appear and also throw a warning. I attached here image of warning