<p>I have three .mp4  files and I want to generate a single widescreen video
For generating the widescreen I've worked out I can use this command assuming I've prepared the individual mp4 files:</p>

<pre><code>ffmpeg -i teacher.mp4 -i student1.mp4 -i student2.mp4 -filter_complex "[0:v:0][1:v:0][2:v:0]hstack=inputs=3" -c:v libx264 -tune film -crf 16 -b:a 256k triple.mp4
</code></pre>

<p><strong>Main Question:</strong></p>

<p>1.triple.mp4 only has one audio,But I do need three audio tracks</p>

<p>2.three video playtogether in triple.mp4,can I controll the start time that   I set before?</p>

<video><ffmpeg>
ffmpeg merge 3 videos to a single widescreen video
gs z
# ffmpeg merge 3 videos to a single widescreen video

(Asked by: username_0 on 2018-10-29)

I have three .mp4  files and I want to generate a single widescreen video
For generating the widescreen I've worked out I can use this command assuming I've prepared the individual mp4 files:
ffmpeg -i teacher.mp4 -i student1.mp4 -i student2.mp4 -filter_complex "[0:v:0][1:v:0][2:v:0]hstack=inputs=3" -c:v libx264 -tune film -crf 16 -b:a 256k triple.mp4

Main Question:
1.triple.mp4 only has one audio,But I do need three audio tracks
2.three video playtogether in triple.mp4,can I controll the start time that   I set before?

**Tags:** video, ffmpeg


---

## 0 answers

