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
We have moved to a new Sailfish OS Forum. Please start new discussions there.
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
This thread is public, all members of Together.Jolla.Com can read this page.
Asked: 2015-01-27 19:09:37 +0200
Seen: 836 times
Last updated: Jan 27 '15
Any way to increase the max line out/headphones volume? [answered]
Which audio/video codecs are supported by the Media app?
Add DBus interface to stock music player [released]
QAudioOutput isn't integrated with system volume and libresource like QMediaPlayer
mediaplayer: add whole album/artist
Suggestion: Setting to turn off sound level warning
Show proper length of songs over one hour [released]
Bug: Video black after position change [released]
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 +0200 )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 +0200 )editcare to share your working code @ZioBilly ? :)
Spam Hunter ( 2015-01-28 15:23:54 +0200 )editIs the one posted by @oku right above ;)
ZioBilly ( 2015-01-28 15:54:17 +0200 )editI couldn't make GST-LAUNCH work that way, so here is another option:
Mced ( 2018-04-01 10:35:40 +0200 )edit