Popular Linux music players (Audacious, cmus...) don't have a seek function that can be invoked from command line. Is there any player with such a function to play FLAC format from a start time to an end time? It should allow something like $ player --from 1:00 --to 2:00 sample.flac so sample.flac plays from time 1:00 to 2:00.

1 Answer 1


VLC can do it like this:

$ cvlc song.flac --start-time=10 --stop-time=12.5

see manual.

  • Note that just many players can do that : mpv --start=X --end=Y <file-name> and of course mplayer via its -ss and -endpos parameter.
    – MC68020
    Jan 28, 2022 at 22:08

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .