01_create_list.sh
Код: Выделить всё
#!/bin/sh
for f in *.mp4; do echo "file '$PWD/$f'"; done > list.txt
02_concat_video.sh
Код: Выделить всё
#!/bin/sh
ffmpeg -f concat -safe 0 -i list.txt -c copy "$1.all.mp4"
Код: Выделить всё
#!/bin/sh
for f in *.mp4; do echo "file '$PWD/$f'"; done > list.txt
Код: Выделить всё
#!/bin/sh
ffmpeg -f concat -safe 0 -i list.txt -c copy "$1.all.mp4"