is there a tool to snip mp3's? [answered]
Hi,
I want to snip an mp3 to have as my message alert tone, rather than it play the entire song when I receive a text message
Is there a native way to do this?
Is there something in warehouse or jolla store?
Thanks
No, not to my knowledge, this is a case of DIY on PC and send it back to device.
Spam Hunter ( 2017-10-23 02:21:47 +0200 )editYou should be able to do this through the command line, see the top answer and comments here: https://stackoverflow.com/questions/43890/crop-mp3-to-first-30-seconds
A graphical tool to crop music files would probably be fairly straightforward to develop (as all the basic building blocks are already there), but I think it's easiest if you just use your computer instead, as it will be much easier to select the part you want with a mouse, than to poke with your finger at an imprecise small touch screen. You could use Audacity (be sure to look at the 'MP3 Support' link).
nthn ( 2017-10-23 10:30:55 +0200 )editIt would be cool if one could achieve this with GStreamer as it's already on the device, right?
ossi1967 ( 2017-10-23 13:56:24 +0200 )editAs given in that Stackoverflow thread, ffmpeg is what I'd use on linux: parameters -ss hh:mm:ss -to hh:mm:ss Is ffmpeg available on jolla?
DaveRo ( 2017-10-24 22:55:17 +0200 )editYou have to install it first, but I'm not sure if it's in Jolla's repositories or if you have to get it from OpenRepos.
nthn ( 2017-10-25 09:50:03 +0200 )edit