Skip to main content
7 events
when toggle format what by license comment
Oct 23, 2023 at 13:22 comment added mschoenebeck Using single & will reverse the order of the files. Use double && to preserve the correct order. Also mind the new format as @emk2203 points out: (echo file file:'1.mp4' && echo file file:'2.mp4' && echo file file:'3.mp4' && echo file file:'4.mp4') | ffmpeg -protocol_whitelist file,pipe -f concat -safe 0 -i pipe: -vcodec copy -acodec copy "1234.mp4"
Oct 11, 2021 at 7:02 comment added emk2203 No, it definitely isn't. Meanwhile, I found the answer on the bug tracker. Long answer is in askubuntu.com/a/1368547/332437. Short answer: You need to use (echo file file:'1.mp4' & echo file file:'2.mp4' & echo file file:'3.mp4' & echo file file:'4.mp4') | ffmpeg -protocol_whitelist file,pipe -f concat -safe 0 -i pipe: -vcodec copy -acodec copy "1234.mp4" when you use the pipe protocol in the ffmpeg versions after ca. 4.2.2.
Oct 11, 2021 at 5:18 comment added emk2203 I can try any mp4 file with the same result, but they work perfectly when I use ffmpeg -f concat -safe 0 -i input.text -c copy output.mp4 and their names are in input.text in the "file 'file_01.mp4'` sytax - the same as when I use the output of the pipe.
Oct 10, 2021 at 22:48 comment added Pedro Lobito @emk2203 file_01.mp4 is damaged.
Oct 10, 2021 at 14:39 comment added emk2203 This doesn't work for me anymore. I get moov atom not found;Impossible to open 'pipe:file_01.mp4' and pipe:: Invalid data found when processing input when I try the pipe. Saving everything into input.text and running with -i input.text works.
May 29, 2021 at 11:05 history edited Pedro Lobito CC BY-SA 4.0
deleted 4 characters in body
Jan 19, 2021 at 2:03 history answered Pedro Lobito CC BY-SA 4.0