Thank you for your reply i made a script executing two ffmpeg commands with &
The video and audio seems syncronised perfectly when i add them to kdenlive
but is it possible to make a video file with audio automatically ?
I searched a lot and found that i can get the output from the audio ffmpeg command and add it as input using pipes
on the video ffmpeg command that i use is there any other way ?
The script as it is now 😀
ffmpeg -loglevel fatal -f sndio -i snd/0.mon -f sndio -i snd/0 -filter_complex '  amerge' -c:a mp3 1.mp3 & ffmpeg -video_size 1920x1080 -framerate 30 -f x11grab -i :0.0 -c:v libx264 -qp 0 -preset ultrafast output.mp4
Can i use -f nut pipe:1 in the end of the audio ffmpeg command and use as input for
video ffmpeg using -i pipe: