[Android-development] Full-featured video player

Dominik dominikm at sh.cvut.cz
Mon May 20 12:19:50 CEST 2013


Hi,

you're right. I've tried it in another device and TS file works, now. On
the other hand MP4 file doesn't but it's a platform problem I suppose. I
have to study harder how this things work.

I would like to ask for more questions about media player in Qt and android.

1) I need to be able to switch audio and subtitle tracks. Is it possible
somehow or will be? Now, all metadata attributes returns undefined. How
much this depends on android API?

2) Both examples, qmlvideo and qmlvideofx, are perfectly working but one
thing is not. When I press "back" button in qmlvideo or "reset" in
qmlvideofx, when scene should be redrawed, the application crashes with
Fatal signal 11 (SIGSEGV) http://pastebin.com/VuRp4XP1 . Is it caused
because of qtmultimedia is still in development or did I something wrong?

Thank you very much.

Dominik



2013/5/20 Abrahamsen-Blomfeldt Eskil <Eskil.Abrahamsen-Blomfeldt at digia.com>

>  Hi,
>
>
>
> In the Qt for Android port, the media player APIs in Android are used to
> decode video, so the video formats supported are the ones supported by the
> platform.
>
>
>
> If you want to support additional video formats, you can write a plugin
> for QtMultimedia which uses the technology of your choice. If you look in
> QtMultimedia, there are several examples for this, e.g. a gstreamer-based
> plugin.
>
>
>
> -- Eskil
>
>
>
> *Fra:* android-development-bounces+eskil.abrahamsen-blomfeldt=
> digia.com at qt-project.org [mailto:
> android-development-bounces+eskil.abrahamsen-blomfeldt=
> digia.com at qt-project.org] *På vegne av* Dominik
> *Sendt:* 19. mai 2013 14:41
> *Til:* android-development at qt-project.org
> *Emne:* [Android-development] Full-featured video player
>
>
>
> Hello,
>
>
>
> I've spent a lot of time with trying to play mostly TS and mp4 files using
> Qt mediaplayer but without any success. It's a lot of better with new Qt5.1
> which enables me to play mp4 files and some TS files with AVC encoded
> video. But no MPEG streams or multicast streams which I really need. It has
> the same capabilities like default android video player.
>
> I also needs to control audio and subtitles tracks in stream.
>
> Is in any plan to extend Qt media player to provide these features?
>
> If it's not in plan to support this I'm thinking how to satisfy my
> requirements with Qt because I'm impressed by features like QML and new
> particles effects etc..
> There is gstreamer available for android which is great tool but it
> doesn't work very well in android.
> Next is ffmpeg which is used by many video players in market which really
> works and works great.
>
> Do anyone know how can I show a video output from ffmpeg in QML element in
> same way as default media player is showed? I've spent a lot of time with
> googling it but there is no example how to use it with Qt or without use of
> window id which is usable on X11 but not android.
>
> Can anyone help me with this, please? I'm starting to be hopeless with it
> :( and this feature is critical in deciding whether use Qt in future. I
> will appreciate also discussion or some notices to my problem.
>
> Thank you very much.
>
> Dominik
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/android-development/attachments/20130520/9322a19d/attachment.html>


More information about the Android-development mailing list