@Horacio Could you also implement the CompleteDirectory feature like Sstativa's mfc-node uses. It would be great if after the recordings were done, they'd be moved to another directory and be ready for a batch convert because even if you store them in a .mp4 format and if you want to cut the video, the cut video will have a lot of stutter and artefacts in it.
Here's a 30sec sample of how the video looks like in .ts or .mp4 format after being cut without converting the video:
https://www.mediafire.com/file/jkrja...-094351_cut.ts
Here's how it looks like after being converted using -c copy in ffmpeg:
https://www.mediafire.com/file/b8e34...094351_cut.mp4
Like shown in the sample, I think it would be great, you have captures in folder a, when they complete they get moved to folder b, and you just use a convert script and the videos will be cut-ready. I don't know a lot about javascript but I imagine the solution would be fairly simple since you'd only have to modify the async part of the code so it doesn't unlink to the capture directory but so that it unlinks and mv path.joins the capture and complete directory.
Edit: I forgot, if you don't convert the .ts or .mp4 it's also very slow when it comes to seeking in the video, if you convert it it's seeking is fast
Sorry for the cluster of text
