答复: Gstreamer on Android-x86

Hai Wang hkhaiwang at gmail.com
Wed Aug 17 09:14:12 PDT 2011


Hello, I have modify the gstreamer in arm platform so that it can play mpg,ts,avi,rmvb,flv and so on video container formats, at the same time, we have a good comp ability with video container.

But it can only run on ARM, not in x86 and MIPS.

Do you have any good advice? Any kind of advice would be much appreciated!

Best Regards,

Hai Wang

 

发件人: gstreamer-android-bounces+hkhaiwang=gmail.com at lists.freedesktop.org [mailto:gstreamer-android-bounces+hkhaiwang=gmail.com at lists.freedesktop.org] 代表 Shady Rasheed
发送时间: Wednesday, August 17, 2011 1:35 PM
收件人: gstreamer-android at lists.freedesktop.org
主题: Re: Gstreamer on Android-x86

 

Hello,

 

I would gladly share what I have with you. Hopefully, you can help me solve a problem I'm facing.

 

Tell me what you've done so far, where you have reached, and what issue is stopping you.

 

As for what I've done, here is a summary:

1- I'm using Android-x86 port from http://www.gingerbread-x86.org/ gingerbread-x86 branch. 

  The version I'm using is 2.3.5

2- I cloned the gstreamer_aggregate folder and the framework/base folder from the git as decribed on collabor.co.uk

   However, since the framework/base is that of 2.3.2, I couldn't just replace the one in 2.3.5, so I left it out of my android-x86 tree.

   This meant that I had to make a diff between the 2.3.2 and 2.3.5 framework files, whenever the compiler stops with an error. I did this so that I only put the changes required by gstplayer to work. Not much is required.

3- I replaced all arm references in the Android.mk files particularly --host=i686-pc-linux-gnu

4- I added the switch --disable-asm in gstreamer_aggregate/x264/Android.mk (although I might set this back to see if I can get it to work)

5- I'm still looking for an implementation of "gst_codec_utils_h264_get_level_idc", at the moment I have an approximate "dummy" implementation.

6- I compiled several times, and worked through little changes that I had to make with the mk files.

 

The above is quite simple, managed to get this far in one afternoon...

 

Eventually it compiled and worked partially. As I mentioned, mp3, ogg files play without a problem from with in Android UI. Videotestsrc overlays the output on top of the android gui. However, I keep getting a missing-plugin message when I try to play any video file.

 

Have you come across the missing plugin issue on your ARM device?

Can you please tell me, how many plugins list when you run gst-inspect on your ARM device? Also, where are the .so files of the plugins located?

 

Hope the info I gave you is helpful. If you tell me how much you progressed, I might be able to help you more.

Regards,

On Tue, Aug 16, 2011 at 11:00 PM, <gstreamer-android-request at lists.freedesktop.org> wrote:

Send gstreamer-android mailing list submissions to
       gstreamer-android at lists.freedesktop.org

To subscribe or unsubscribe via the World Wide Web, visit
       http://lists.freedesktop.org/mailman/listinfo/gstreamer-android
or, via email, send a message with subject or body 'help' to
       gstreamer-android-request at lists.freedesktop.org

You can reach the person managing the list at
       gstreamer-android-owner at lists.freedesktop.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of gstreamer-android digest..."


Today's Topics:

  1. Gstreamer on Android-x86 (Shady Rasheed)
  2. Re: Gstreamer on Android-x86 (Hai Wang)


----------------------------------------------------------------------

Message: 1
Date: Tue, 16 Aug 2011 09:58:35 +0400
From: Shady Rasheed <rasheedshady at gmail.com>
Subject: Gstreamer on Android-x86
To: gstreamer-android at lists.freedesktop.org
Message-ID:
       <CAKVbdfM8FaP6n=cpLxGA5FFvs5o3S=0c+eQs9qDnw3iabF1yyg at mail.gmail.com <mailto:0c%2BeQs9qDnw3iabF1yyg at mail.gmail.com> >
Content-Type: text/plain; charset="utf-8"

Hello,

First off, fantastic work done on porting gstreamer to android. Big thanks
to all.
I've managed to use the modifications to modify the android-x86 tree
and successfully and compiled gstreamer on android-x86
So far, I can play mp3 and ogg files from with in Android. I managed to run
"gst-launch videotestsrc ! surfaceflingersink" and saw the video
test overlay-ed at the top left corner of the screen.

And although gst-inspect states 140 plugins, 9 black listed, and 482
features, Every time i try to play a video file ( mpeg, mpg, divx, asf,...)
I get a missing-plugin in the logs.

I believe the good, bad and ugly plugins have compiled successfully.
However, I'm not sure if gstreamer is picking them up. I had to do a sym
link to the gst-plugin-loader since a warning message was showing that it
cannot be found. But even with the warning message gone, I'm still getting
the missing-plugin message in the logs.

Any help is highly appreciated. Looking forward for some feed back.
Thanks in advance,
-Shady

Note: I've posted this on the google group "android-gstreamer" as well.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-android/attachments/20110816/65f629c2/attachment.htm>

------------------------------

Message: 2
Date: Tue, 16 Aug 2011 14:31:02 +0800
From: Hai Wang <hkhaiwang at gmail.com>
Subject: Re: Gstreamer on Android-x86
To: Discussions about GStreamer on Android
       <gstreamer-android at lists.freedesktop.org>
Message-ID:
       <CADr3eXky-t=ZAGV6mvEQaDpW6Nnyt618m8ze+fz_nnJ_4iaLZA at mail.gmail.com <mailto:ZAGV6mvEQaDpW6Nnyt618m8ze%2Bfz_nnJ_4iaLZA at mail.gmail.com> >
Content-Type: text/plain; charset="utf-8"

Hi, I have solve the video file play on ARM, but I don't solve the peoblem
in x86, and do you have interest that we share each other's solution?
Best wishes.
 Hai Wang

On Tue, Aug 16, 2011 at 1:58 PM, Shady Rasheed <rasheedshady at gmail.com>wrote:

> Hello,
>
> First off, fantastic work done on porting gstreamer to android. Big thanks
> to all.
> I've managed to use the modifications to modify the android-x86 tree
> and successfully and compiled gstreamer on android-x86
> So far, I can play mp3 and ogg files from with in Android. I managed to run
> "gst-launch videotestsrc ! surfaceflingersink" and saw the video
> test overlay-ed at the top left corner of the screen.
>
> And although gst-inspect states 140 plugins, 9 black listed, and 482
> features, Every time i try to play a video file ( mpeg, mpg, divx, asf,...)
> I get a missing-plugin in the logs.
>
> I believe the good, bad and ugly plugins have compiled successfully.
> However, I'm not sure if gstreamer is picking them up. I had to do a sym
> link to the gst-plugin-loader since a warning message was showing that it
> cannot be found. But even with the warning message gone, I'm still getting
> the missing-plugin message in the logs.
>
> Any help is highly appreciated. Looking forward for some feed back.
> Thanks in advance,
> -Shady
>
> Note: I've posted this on the google group "android-gstreamer" as well.
>
> _______________________________________________
> gstreamer-android mailing list
> gstreamer-android at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-android
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-android/attachments/20110816/de2e0127/attachment-0001.htm>

------------------------------

_______________________________________________
gstreamer-android mailing list
gstreamer-android at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/gstreamer-android


End of gstreamer-android Digest, Vol 4, Issue 1
***********************************************

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-android/attachments/20110818/018e42b2/attachment.html>


More information about the gstreamer-android mailing list