[Development] Multimedia :video : loop, in out property

Andre Somers andre at familiesomers.nl
Sun Jun 30 11:21:56 CEST 2013


Op 30-6-2013 10:46, qtnext schreef:
> Hi,
>
> I have just test the last multimedia parts : it rocks now ! playback 
> seems to works, camera is working on desktop mac, ... but there is a 
> very important missing property : there is no way to smoothly loop a 
> media : it's important for digital signage but also it can be very 
> usefull on qml to have a dynamic background. The only way to do that 
> is to check when the media comes to the end and restart the media, in 
> this case the loop is not good, it's a too high level way to do that, 
> and I am sure that on most backend it's easy to do on the low level 
> backend. Is it possible to add theses properties to the multimedia : 
> isLoopable, loop property and perhaps in/out property to allow a 
> playback on a range ?
>
>
Using the C++ API at least, you can use the QMediaPlaylist class to 
achieve this. Just make a list of one, and set the playbackmode to Loop. 
I don't know if you can do something similar in QML though.

André




More information about the Development mailing list