Kivy for Audio and Video recording

467 views
Skip to first unread message

Pedro Simão

unread,
Feb 7, 2017, 7:07:54 AM2/7/17
to Kivy users support
Hello,
I am considering Kivy to build some apps.
I will need to record audios and videos from the users.
I will also need to be able to import audio and video files.
I might be wrong but it seems that Kivy is not capable of recording audio on iOS and Android?
Is that information correct? Should I move to another framework?
Regards,


Goffi

unread,
Feb 7, 2017, 8:16:51 AM2/7/17
to kivy-...@googlegroups.com
Hi,

don't know about iOS, but Kivy is definitely able to record Audio on Android,
we are doing it in our XMPP client, using Plyer.

I'll post an alpha APK soon by the way if some of you are interested.

Goffi

Pedro Simão

unread,
Feb 7, 2017, 11:49:08 AM2/7/17
to Kivy users support, go...@goffi.org
Hey Goffi,
Thanks a lot for your message.
I have just seen the official Plyer github and it Audio Recording is not "checked"for iOS.
Also, it seems possible to take pictures, but is it possible to make videos too?
And the "Native File Chooser" APIs are not checked for Android or iOS. So, I imagine it is not possible to import external video or audio files, right?
Thanks a lot

Oon-Ee Ng

unread,
Feb 8, 2017, 12:29:05 AM2/8/17
to kivy-...@googlegroups.com, go...@goffi.org
On Wed, Feb 8, 2017 at 12:49 AM, Pedro Simão <pedro...@gmail.com> wrote:
And the "Native File Chooser" APIs are not checked for Android or iOS. So, I imagine it is not possible to import external video or audio files, right?

It should certainly be possible (at least on Android, iOS' permissions system makes things much more complicated) to import external video/audio files, it just won't be possible to use the native file chooser for that. You can roll your own or use the kivy built-in one.

Goffi

unread,
Feb 8, 2017, 8:54:14 AM2/8/17
to Kivy users support
Le mardi 7 février 2017 08:49:08 CET, vous avez écrit :
> Hey Goffi,
> Thanks a lot for your message.
> I have just seen the official Plyer github and it Audio Recording is not
> "checked"for iOS.
> Also, it seems possible to take pictures, but is it possible to make videos
> too?
> And the "Native File Chooser" APIs are not checked for Android or iOS. So,
> I imagine it is not possible to import external video or audio files, right?
> Thanks a lot

In our app, we can record audio (inside the app), or take photo/video (using
google API, external app), use gallery (external app), or file (Kivy file
chooser, but planing to implement more advanced one, there is one in the
garden too), all of this is working well.

If things are not in Plyer, you can use Pyjnius to implement them yourself.

You can check our code on https://repos.goffi.org/cagou/file/tip/src/cagou/
plugins (plugin_transfer_* files).

Goffi

Boris Testov

unread,
Apr 1, 2017, 10:27:50 PM4/1/17
to Kivy users support, go...@goffi.org
Hello, Goffi! Is it possible to record audio in your app on Android 6?

среда, 8 февраля 2017 г., 16:54:14 UTC+3 пользователь Goffi написал:
Reply all
Reply to author
Forward
0 new messages