Elektrine lite

← Feed

@Suiseiseki@freesoftwareextremist.com

Post #2396799

2025-02-19 06:57 UTC

@John@chaos.social @a@fedi.lawngno.me An alias won't work - you'll need to add a bash function; cat() { ffmpeg -v quiet -f data -i "$1" -map 0 -f data - ; } Unfortunately, such trivial function doesn't operate as a concatenate program, to achieve that, you need to add a bash loop as below; cat() { for argument ; do ffmpeg -v quiet -f data -i "$argument" -map 0 -f data - ; done ; }

Replies (1)

  • @joshix@fosspri.de 2025-02-24 20:57

    @Suiseiseki@freesoftwareextremist.com @John@chaos.social @a@fedi.lawngno.me You could use ffmpeg to concatenate the files. No need to create multiple ffmpeg subprocesses. cat() { ffmpeg -v quiet -f data -i "concat:$(printf '%s|' "$@")" -map 0 -f data - }

    Open ##2396800