[raspberry-vi] Re: I need speed, I need something that works, maybe I need another distro?

  • From: Jeffery Mewtamer <mewtamer@xxxxxxxxx>
  • To: raspberry-vi@xxxxxxxxxxxxx
  • Date: Wed, 24 Mar 2021 17:35:16 +0000

@Glenn, while it's often used just for displaying the contents of
text-files to stdout, I believe the cat command can be used to
concatenate text files and that's why it's called cat... whether it
can be used with binary files, I'm not sure, and even if it can, I
would think most file formats would need a more complex method to
combine them than simply concatenating their raw data(it would
probably work for formats that are just raw data, but for more
complicated files, you'd probably want an application that
concatenates the file's data sections and then generates a new header
and/or footer based on the expanded data... and that's not even
getting into complications such as different formats).

That said, pulling up a bash script I wrote for joining flac files
from Rips of CD Audio books that split some or all chapters into
multiple tracks into one track per chapter, sox can join audio files
simply by

sox [listOfInputFiles] outputFile

Whether this can handle mixed input formats, I have no clue, and even
if everything matches, I'd assume one would need the relevant encoders
and decoders. I've only used this to join multiple flac files into one
file, so I can't comment on its suitability for other formats. I also
suspect this retains any fade out/in at the beginning of files, though
sox probably has a feature to crossfade when joining multiple files...
after all, Sox is described in Aptitude as the Swiss army knife of
audio manipulation.
=========================================================== 
The raspberry-vi mailing list 
Archives: //www.freelists.org/archives/raspberry-vi
Administrative contact: <mike.ray@xxxxxxxxxxxxxx>
-----------------------------------------------------------
Raspberry Pi and the Raspberry Pi logo are trademarks of the Raspberry Pi 
Foundation.

This list is not affiliated to the Raspberry Pi Foundation and the views and 
attitudes expressed by the subscribers to this list do not reflect those of the 
Foundation.

Mike Ray, list creator, January 2013

Other related posts: