Play high fps video at lower pace (slow motion) within kivy

201 views
Skip to first unread message

Latill

unread,
Aug 8, 2015, 7:49:31 PM8/8/15
to Kivy users support
Hi everyone,

I have some videos from an action camera recorded at high fps rate (120+), and I would like to play them in slow motion (which is the main purpose of recording at these rates) within a kivy app.

The videoplayer widget can play it, but at real speed (120 fps), and I can't find any options to modify the output playback fps for videos.
Is there a way to do so within kivy, bringing the playback speed down to 24 fps so that the video looks 5 times slower as it was intended ?

Thank you very much in advance,
Damien

Latill

unread,
Aug 9, 2015, 11:43:08 AM8/9/15
to Kivy users support
I finally could manage out from there by calling ffmpeg converter through the "python-video-converter" lib but putting a dirty twist in it as this ffmpeg interface does not support natively ffmpeg filters (e.g. the setpts filter to slow down the video) in codec options. Now I should be able to do the whole process on the fly : acquiring the video, converting it, and playing it slow mo.

Yet I am still all ears if someone has a solution to slow video during playback within kivy, saving the video conversion that will consume a few seconds here before playing the video.

Thanks
Damien
Reply all
Reply to author
Forward
0 new messages