I am trying to generate a video that contains a series of videos, for this I use ffmpeg with php, this executes it well when it comes to doing simple tests, but when doing what I really need, it does not, here what I'm doing:
Php code:
<?php
shell_exec('ffmpeg.exe');
shell_exec('ffmpeg -f concat -i ruta.txt -pix_fmt yuv420p video.mp4');
echo 'ok';
?>
The route file:
file './Video/Video_01.mp4'
duration 3
file './Video/Video_02.mp4'
duration 3
file './Video/Video_03.mp4'
duration 2
file './Video/Video_03.mp4'
duration 3
As far as I understand, this is how I would have to group all the videos into one, but it does not do anything but nothing does nothing, can someone tell me what I'm doing wrong?