Hello,

I have the following idea which would really help me in my goals and 
also might be a nice addition for other liquidsoap users.
it would be handy to play only parts of an input file in liquidsoap, 
rather than the whole file. This is also a great addition for reencoding 
part of an existing file to a new one. This could be accomplished by 
setting starttime and endtime in miliseconds in the single source input, 
but also in playlists.
For example, if you have the file woof.mp3 which lasts 60 seconds, and 
you want a new file called weef.mp3 which containts the 30 seconds from 
the middle of the file, code would look like:
input = once(single("woof.mp3", starttime=15000, endtime=45000))
This would generate an input containing the 30 middle seconds from the 
woof.mp3 file.
What do you think about this? Starttime and endtime should of course 
default to the begin and end of the file.

Thanks in advance,
Leonard de Ruijter

------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to