Media player from command line
Can someone tell me how to reproduce a sound file from command line on sailfish? I tried installing aplay, mpg123 but i can't make them work, and then i realized that maybe ther is already a player installed
Can someone tell me how to reproduce a sound file from command line on sailfish? I tried installing aplay, mpg123 but i can't make them work, and then i realized that maybe ther is already a player installed
Asked: 2015-01-27 19:09:37 +0300
Seen: 859 times
Last updated: Jan 27 '15
I'm not sure if you need to install some packages (maybe gstreamer0.10-ffmpeg-extra or something like that) from Openrepos, but following command does the thing.
oku ( 2015-01-27 21:26:45 +0300 )edit# gst-launch-0.10 playbin2 uri=file:///path/to/file/music.mp3
I get this error
[EDIT]
I got it working with another file, so the problem was of that particular file, sorry ;)
ZioBilly ( 2015-01-27 22:21:15 +0300 )editcare to share your working code @ZioBilly ? :)
Spam Hunter ( 2015-01-28 15:23:54 +0300 )editIs the one posted by @oku right above ;)
ZioBilly ( 2015-01-28 15:54:17 +0300 )editI couldn't make GST-LAUNCH work that way, so here is another option:
Mced ( 2018-04-01 10:35:40 +0300 )edit