[ubuntu-in] how to play collated audio-clips from in-the-middle

Kingsly John member+ubuntu at kingsly.net
Tue Aug 31 05:33:49 BST 2010


+++ Linux Lingam [2010-08-30 03:40:57]:

> dear all,
> 
> bewildered no software exists to do this,
> and thankful if you point me to one:
> 
> 1. take several mp3 files.
> 2. create a playlist that sequences audio-clips from within these mp3-files.
> 
> all existing music-player software create playlists of full audio-tracks.
> i wish to play, for example:
> 
> [time in hh:mm:ss]
> 
> 1. audiotrack9.mp3 00:54:35 - 00:59:59
> 2. audiotrack7.mp3 01:04:32 - 01:46:32
> 3. audiotrack9.mp3 00:35:20 - 00:45:32
> . . .

Mplayer can do this on a per track basis .. so you'll need to write a script
to play multiple tracks and there'll be a slight delay while the new instance
starts up. (Not sure if it can be achieved by passing commands to the
controlling socket.)

Eg. mplayer -ss 4 -endpos 6 11\ -\ Yesterday.flac  

plays just "Yesterday.. All my troubles seemed so far away."

ss = start position 

endpos = duration to play ( NOT stop at X position)

man mplayer for more details.

Kingsly


-- 
---------------------------------------------------------------------------
     Kingsly At Users Dot SourceForge Dot Net  -- http://kingsly.org/
---------------------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/ubuntu-in/attachments/20100831/c9c0882c/attachment.pgp 


More information about the ubuntu-in mailing list