I have 2 files: 1 video file (without sound) - length 6 seconds, 1 audio - length 10 seconds. Both audio and video contains same conversation, but audio starts 4 seconds earlier and after that was started video.
[----------] audio
[------] video
So, I want to mix them together to video file with length 10 seconds where first 4 seconds black screen with audio then goes real video and audio.
[====------] audio+video (where '=' is black screen)
I hope my description was clear enough ). How can I do this with ffmpeg or gstreamer ?