Skip to main content

Media

Video

sec=media.video.get.time(u0, video0, 0);
pts=media.video.get.time(u0, video0, 1);

media.video.set.time(u0, video0, 0, sec);
media.video.set.time(u0, video0, 1, pts);

sec=media.video.get.duration(u0, video0, 0);
pts=media.video.get.duration(u0, video0, 1);

media.video.get.size(u0, video0);
video.width=o0;
video.height=o1;

media.video.set.speed(u0, video0, 2);

media.video.set.time.next.frame(u0, video0, 0, sec);
media.video.set.time.next.frame(u0, video0, 1, pts);

media.video.is.finished(u0, video0);

Audio

Todo: 28 FEB 2022
- background playing
-- get peak(mode=a|b) -> float
-- event finish playing

Files

Todo: 28 FEB 2022
- get file name(mode=full|ext|original)
-- storage.get.file.name(store,pool,id,i, mode)
- storate.delete.file.locally
-- reload from net request