Is there a good, simple commandline player that uses gstreamer?


gst123 is command line music player that uses gstreamer. I have not messed with it, I generally use MOC.

| improve this answer | |

You can also use audiopreview.

| improve this answer | |

This wasn't available back in 2010, but since GStreamer 1.2 ca. 2013, there is a utility called gst-play. It is a simple utility that can play an individual audio file, or recurse through directories and play all the audio files it finds. E.g. gst-play-1.0 /path/to/media.mp3. See man gst-play-1.0 for more information. Also see gst-play-1.0 --help for other options that aren't in the man page (including playlist from file). It's officially intended for "testing purposes".

| improve this answer | |

You can use gst-launch from gstreamer-tools.

man gst-launch
| improve this answer | |
  • Except - you know - I don't want to construct pipeline each time I want to play something... (I was aware and I did used gst-launch). – Maciej Piechotka Sep 15 '10 at 0:39
  • Use playbin2, gst-launch playbin2 uri=file:///path/to/movie.avi suburi=file:///path/to/movie.srt If you don't want to type the whole thing each time, you could just write a bash script. – Thura Sep 15 '10 at 0:48
  • But, I think keyboard shortcuts are not working when playing movies with gst-launch. – Thura Sep 15 '10 at 0:58
  • 1
    For good answer, you should also show examples in addition to pointing to further reading material. For example, if answer gives few examples, reader can immediately know if command is going to work. – Olli Mar 8 '11 at 12:56

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.