Record multiple files in one ffmpeg command
I'm trying to create a screencast with 4 inputs. I'd like to do all 4 recordings to 4 different files in one ffmepg command
I'd like to have 4 files when done recording, allowing me to interact with each part separately in a video editor (or mux with ffmpeg) These 4 commands do the job - but they're not in sync, it's also difficult to stop them at the same time due to the nature of backgrounding processes. Code:
# Record x11 Code:
ffmpeg -framerate 60 -video_size 1920x1080 -f x11grab -i :0.0 x11.mp4 \ Is there something I'm doing wrong? I seem to be getting half of what I want |
Ok, with the use of ffmpeg's map function this is possible and solved!
I tried to make it as human readable as possible, the inputs and mapping are respectfully ordered. Each file only contains their own map. Eg, -f x11grab goes to -map 0:v:0 x11.mp4 and nothing else Code:
ffmpeg \ |
All times are GMT -5. The time now is 07:12 AM. |