There are multiple SHM pipe connected to source with different sockets
connected to the recorder. This multiple recorder save multiple sets of mp4
videos with different FPS without any issues. I have 60,30,10 … fps videos
Now I want to test the above pipeline with video sets, specifically input 60
fps videos sets and stream through the shared memory and finally save as the
recorder does above.
For that with out shm this is what I made:
splitfilesrc location='data/*.mp4' ! qtdemux ! queue ! h265parse !
nvv4l2decoder ! videorate! nvvidconv !
nvv4l2h265enc bitrate = 12000000 ! h265parse name=parse0 ! splitmuxsink
name=sink0 location='any%04d.mp4' max-size-bytes=10000000000
Now this works as expected for one file but for some reason the pipeline
breaks soon after. From the documentation splitfilesrc should read
everything under “data/” but it doesn’t. It just reads the one file. Is the
problem unique to nano? Anything I am missing or mistake on my part?
Next question: Trying the same for one large video file, replacing above
part in source, the pipeline stops too quickly and recorder doesn’t have
time to load(my assumption). wait-for-connection is true by default for
shmsink so shouldn’t the source wait till recorder is connected? Any mistake
here or any better way to tackle/approach this?