From the command line, I'd like to play a audio clip, or random subset of a song, eg, seconds 5 - 10. This does not seem to be a feature of
mpg123, the two programs I've been using.
ffmpeg allos me to trim a file (eg,
ffmpeg -i file.mkv -ss 20 -to 40 -c copy file-2.mkv), but I'd like to avoid creating a new file. Piping the above does not seem to work, though I may be doing it wrong.
How can I do this?