How do beginners go about finding out what pipeline to construct to get a particular bit of hardware to do ‘for example’ save to disk ?
for example if i have a camera i can find out the supported modes:
v4l2-ctl -d /dev/video0
so then i use a v4l2src device=/dev/video0
i understand that i have to add a caps of RAW after that to make sure the rest of the pipeline uses it…
so at this stage i would have
v4l2src → caps (forcing it to raw)
if i want to write it to an mp4 file, i would need to mux it with an mp4 muxer and save it to file
splitmuxsink location=/tmp/file%02d.mp4 muxer=mp4mux max-size-time=30000000000
this is still missing something as :
gst-launch-1.0 -e v4l2src device=/dev/video0 ! video/x-raw ! splitmuxsink location=/tmp/file%02d.mp4 max-size-time=30000000000 WARNING: erroneous pipeline: could not link v4l2src0 to splitmuxsink0, splitmuxsink0 can't handle caps video/x-raw
however if i
Pad Templates: SINK template: 'video' Availability: On request Capabilities: ANY
how do i go about finding the information i need to build a working pipeline.
I’ve seen really long streams that plug in heaps of plug-ins inbetween (and also don’t work)
How do i learn this black magic ?
note: i understand that this question is not exactly DeepStream related, however I am stuck at this level before i can create more complex pipelines with nvinfer