<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 12 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:宋体;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:"\@宋体";
        panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:宋体;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=ZH-CN link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span lang=EN-US style='font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D'>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.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D'>But it can only run on ARM, not in x86 and MIPS.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D'>Do you have any good advice? Any kind of advice would be much appreciated!<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D'>Best Regards,<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D'>Hai Wang<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span style='font-size:10.0pt'>发件人<span lang=EN-US>:</span></span></b><span lang=EN-US style='font-size:10.0pt'> gstreamer-android-bounces+hkhaiwang=gmail.com@lists.freedesktop.org [mailto:gstreamer-android-bounces+hkhaiwang=gmail.com@lists.freedesktop.org] </span><b><span style='font-size:10.0pt'>代表 </span></b><span lang=EN-US style='font-size:10.0pt'>Shady Rasheed<br></span><b><span style='font-size:10.0pt'>发送时间<span lang=EN-US>:</span></span></b><span lang=EN-US style='font-size:10.0pt'> Wednesday, August 17, 2011 1:35 PM<br></span><b><span style='font-size:10.0pt'>收件人<span lang=EN-US>:</span></span></b><span lang=EN-US style='font-size:10.0pt'> gstreamer-android@lists.freedesktop.org<br></span><b><span style='font-size:10.0pt'>主题<span lang=EN-US>:</span></span></b><span lang=EN-US style='font-size:10.0pt'> Re: Gstreamer on Android-x86<o:p></o:p></span></p></div><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><div><p class=MsoNormal><span lang=EN-US>Hello,<o:p></o:p></span></p><div><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p></div><div><p class=MsoNormal><span lang=EN-US>I would gladly share what I have with you. Hopefully, you can help me solve a problem I'm facing.<o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p></div><div><p class=MsoNormal><span lang=EN-US>Tell me what you've done so far, where you have reached, and what issue is stopping you.<o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p></div><div><p class=MsoNormal><span lang=EN-US>As for what I've done, here is a summary:<o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-US>1- I'm using Android-x86 port from <a href="http://www.gingerbread-x86.org/">http://www.gingerbread-x86.org/</a> gingerbread-x86 branch. <o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-US> The version I'm using is 2.3.5<o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-US>2- I cloned the gstreamer_aggregate folder and the framework/base folder from the git as decribed on <a href="http://collabor.co.uk">collabor.co.uk</a><o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-US> 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.<o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-US> 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.<o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-US>3- I replaced all arm references in the Android.mk files particularly --host=i686-pc-linux-gnu<o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-US>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)<o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-US>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.<o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-US>6- I compiled several times, and worked through little changes that I had to make with the mk files.<o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p></div><div><p class=MsoNormal><span lang=EN-US>The above is quite simple, managed to get this far in one afternoon...<o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p></div><div><p class=MsoNormal><span lang=EN-US>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.<o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p></div><div><p class=MsoNormal><span lang=EN-US>Have you come across the missing plugin issue on your ARM device?<o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-US>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?<o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p></div><div><p class=MsoNormal><span lang=EN-US>Hope the info I gave you is helpful. If you tell me how much you progressed, I might be able to help you more.<o:p></o:p></span></p></div><div><p class=MsoNormal style='margin-bottom:12.0pt'><span lang=EN-US>Regards,<o:p></o:p></span></p><div><p class=MsoNormal><span lang=EN-US>On Tue, Aug 16, 2011 at 11:00 PM, <<a href="mailto:gstreamer-android-request@lists.freedesktop.org">gstreamer-android-request@lists.freedesktop.org</a>> wrote:<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Send gstreamer-android mailing list submissions to<br> <a href="mailto:gstreamer-android@lists.freedesktop.org">gstreamer-android@lists.freedesktop.org</a><br><br>To subscribe or unsubscribe via the World Wide Web, visit<br> <a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-android" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-android</a><br>or, via email, send a message with subject or body 'help' to<br> <a href="mailto:gstreamer-android-request@lists.freedesktop.org">gstreamer-android-request@lists.freedesktop.org</a><br><br>You can reach the person managing the list at<br> <a href="mailto:gstreamer-android-owner@lists.freedesktop.org">gstreamer-android-owner@lists.freedesktop.org</a><br><br>When replying, please edit your Subject line so it is more specific<br>than "Re: Contents of gstreamer-android digest..."<br><br><br>Today's Topics:<br><br> 1. Gstreamer on Android-x86 (Shady Rasheed)<br> 2. Re: Gstreamer on Android-x86 (Hai Wang)<br><br><br>----------------------------------------------------------------------<br><br>Message: 1<br>Date: Tue, 16 Aug 2011 09:58:35 +0400<br>From: Shady Rasheed <<a href="mailto:rasheedshady@gmail.com">rasheedshady@gmail.com</a>><br>Subject: Gstreamer on Android-x86<br>To: <a href="mailto:gstreamer-android@lists.freedesktop.org">gstreamer-android@lists.freedesktop.org</a><br>Message-ID:<br> <CAKVbdfM8FaP6n=cpLxGA5FFvs5o3S=<a href="mailto:0c%2BeQs9qDnw3iabF1yyg@mail.gmail.com">0c+eQs9qDnw3iabF1yyg@mail.gmail.com</a>><br>Content-Type: text/plain; charset="utf-8"<br><br>Hello,<br><br>First off, fantastic work done on porting gstreamer to android. Big thanks<br>to all.<br>I've managed to use the modifications to modify the android-x86 tree<br>and successfully and compiled gstreamer on android-x86<br>So far, I can play mp3 and ogg files from with in Android. I managed to run<br>"gst-launch videotestsrc ! surfaceflingersink" and saw the video<br>test overlay-ed at the top left corner of the screen.<br><br>And although gst-inspect states 140 plugins, 9 black listed, and 482<br>features, Every time i try to play a video file ( mpeg, mpg, divx, asf,...)<br>I get a missing-plugin in the logs.<br><br>I believe the good, bad and ugly plugins have compiled successfully.<br>However, I'm not sure if gstreamer is picking them up. I had to do a sym<br>link to the gst-plugin-loader since a warning message was showing that it<br>cannot be found. But even with the warning message gone, I'm still getting<br>the missing-plugin message in the logs.<br><br>Any help is highly appreciated. Looking forward for some feed back.<br>Thanks in advance,<br>-Shady<br><br>Note: I've posted this on the google group "android-gstreamer" as well.<br>-------------- next part --------------<br>An HTML attachment was scrubbed...<br>URL: <<a href="http://lists.freedesktop.org/archives/gstreamer-android/attachments/20110816/65f629c2/attachment.htm" target="_blank">http://lists.freedesktop.org/archives/gstreamer-android/attachments/20110816/65f629c2/attachment.htm</a>><br><br>------------------------------<br><br>Message: 2<br>Date: Tue, 16 Aug 2011 14:31:02 +0800<br>From: Hai Wang <<a href="mailto:hkhaiwang@gmail.com">hkhaiwang@gmail.com</a>><br>Subject: Re: Gstreamer on Android-x86<br>To: Discussions about GStreamer on Android<br> <<a href="mailto:gstreamer-android@lists.freedesktop.org">gstreamer-android@lists.freedesktop.org</a>><br>Message-ID:<br> <CADr3eXky-t=<a href="mailto:ZAGV6mvEQaDpW6Nnyt618m8ze%2Bfz_nnJ_4iaLZA@mail.gmail.com">ZAGV6mvEQaDpW6Nnyt618m8ze+fz_nnJ_4iaLZA@mail.gmail.com</a>><br>Content-Type: text/plain; charset="utf-8"<br><br>Hi, I have solve the video file play on ARM, but I don't solve the peoblem<br>in x86, and do you have interest that we share each other's solution?<br>Best wishes.<br> Hai Wang<br><br>On Tue, Aug 16, 2011 at 1:58 PM, Shady Rasheed <<a href="mailto:rasheedshady@gmail.com">rasheedshady@gmail.com</a>>wrote:<br><br>> Hello,<br>><br>> First off, fantastic work done on porting gstreamer to android. Big thanks<br>> to all.<br>> I've managed to use the modifications to modify the android-x86 tree<br>> and successfully and compiled gstreamer on android-x86<br>> So far, I can play mp3 and ogg files from with in Android. I managed to run<br>> "gst-launch videotestsrc ! surfaceflingersink" and saw the video<br>> test overlay-ed at the top left corner of the screen.<br>><br>> And although gst-inspect states 140 plugins, 9 black listed, and 482<br>> features, Every time i try to play a video file ( mpeg, mpg, divx, asf,...)<br>> I get a missing-plugin in the logs.<br>><br>> I believe the good, bad and ugly plugins have compiled successfully.<br>> However, I'm not sure if gstreamer is picking them up. I had to do a sym<br>> link to the gst-plugin-loader since a warning message was showing that it<br>> cannot be found. But even with the warning message gone, I'm still getting<br>> the missing-plugin message in the logs.<br>><br>> Any help is highly appreciated. Looking forward for some feed back.<br>> Thanks in advance,<br>> -Shady<br>><br>> Note: I've posted this on the google group "android-gstreamer" as well.<br>><br>> _______________________________________________<br>> gstreamer-android mailing list<br>> <a href="mailto:gstreamer-android@lists.freedesktop.org">gstreamer-android@lists.freedesktop.org</a><br>> <a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-android" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-android</a><br>><br>><br>-------------- next part --------------<br>An HTML attachment was scrubbed...<br>URL: <<a href="http://lists.freedesktop.org/archives/gstreamer-android/attachments/20110816/de2e0127/attachment-0001.htm" target="_blank">http://lists.freedesktop.org/archives/gstreamer-android/attachments/20110816/de2e0127/attachment-0001.htm</a>><br><br>------------------------------<br><br>_______________________________________________<br>gstreamer-android mailing list<br><a href="mailto:gstreamer-android@lists.freedesktop.org">gstreamer-android@lists.freedesktop.org</a><br><a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-android" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-android</a><br><br><br>End of gstreamer-android Digest, Vol 4, Issue 1<br>***********************************************<o:p></o:p></span></p></div><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p></div></div></div></body></html>