I'm trying to create a timelapse video from several images that I'm fetching from a website. In order to make this faster, my plan was split the workload between multiple cores, each fetching their respective frames (I'm streaming the images to ffmpeg stdin):
ffmpeg -f image2pipe -vcodec mjpeg -i - -f rawvideo part_N
Then I wanted to stitch the rawvideo parts to an mp4:
ffmpeg -f rawvideo -i part_0 -f rawvideo -i part_1 ... output.mp4
But I'm getting the following error:
Picture size 0x0 is invalid`