2008年12月20日星期六

编译gstreamer相关

把编译完的配置从config.log里拷出来,去掉双引号了,记得加上

gstreamer统一目录是/home/gstreamer,编译后统一安装在/home/gstreamer/install文件夹里,所以设置pkgconfig就只用设置一个地址
export PKG_CONFIG_LIBDIR=/home/gstreamer/install/lib/pkgconfig

然后开始编译
/home/gstreamer/gstreamer-0.10.21/

$ ./configure --disable-nls --disable-static --enable-binary-registry --disable-loadsave --with-html-dir=/tmp/dump --prefix=/home/gstreamer/gstreamer-0.10.21/../install --host=arm-linux LDFLAGS=-L/home/gstreamer/install/lib/ -L/home/gstreamer/install/lib/ -lglib-2.0 -lgio-2.0 -lgobject-2.0 -lgthread-2.0 -lgmodule-2.0 -lxml2 CFLAGS=-I/home/gstreamer/install/include/ -I/home/gstreamer/install/include/glib-2.0/ -I/home/gstreamer/install/lib/glib-2.0/include

/home/gstreamer/gst-plugins-base-0.10.21/
$ ./configure --host=arm-linux --prefix=/home/gstreamer/gst-plugins-base-0.10.21/../install --disable-static --with-html-dir=/tmp/dump CFLAGS=-I/home/gstreamer/install/lib/glib-2.0/include -I/home/gstreamer/install/include/glib-2.0 -I/home/gstreamer/install/include/liboil-0.3/liboil -I/home/gstreamer/install/include/gstreamer-0.10/gst -I/home/gstreamer/install/include/gio-unix-2.0/gio -I/home/gstreamer/install/include/libxml2/libxml LDFLAGS=-L/home/gstreamer/install/lib/ -L/home/gstreamer/install/lib/gstreamer-0.10 -L/home/gstreamer/install/lib/python2.5/site-packages --with-pkg-config-path=/home/gstreamer/install/lib/pkgconfig --disable-x --disable-xvideo --disable-xshm --disable-gnome_vfs --disable-cdparanoia --disable-libvisual --disable-alsa --disable-ogg --disable-oggtest --disable-pango --disable-vorbis --disable-vorbistest

/home/gstreamer/gst-plugins-good-0.10.11/
$ ./configure --host=arm-linux --prefix=/home/gstreamer/gst-plugins-good-0.10.11/../install --disable-nls --disable-static --with-html-dir=/tmp/dump --with-plugins=avi,qtdemux CFLAGS=-I/home/gstreamer/install/lib/glib-2.0/include -I/home/gstreamer/install/include/glib-2.0 -I/home/gstreamer/install/include/liboil-0.3/liboil -I/home/gstreamer/install/include/gstreamer-0.10/gst -I/home/gstreamer/install/include/gio-unix-2.0/gio -I/home/gstreamer/install/include/libxml2/libxml LDFLAGS=-L/home/gstreamer/install/lib/ -L/home/gstreamer/install/lib/gstreamer-0.10 -L/home/gstreamer/install/lib/python2.5/site-packages --disable-x --disable-xshm --disable-xvideo --disable-esd --disable-shout2

/home/gstreamer/gst-plugins-ugly-0.10.10/
$ ./configure --host=arm-linux --prefix=/home/gstreamer/gst-plugins-ugly-0.10.10/../install --disable-nls --disable-static --with-html-dir=/tmp/dump --with-plugins=asfdemux CFLAGS=-I/home/gstreamer/install/lib/glib-2.0/include -I/home/gstreamer/install/include/glib-2.0 -I/home/gstreamer/install/include/liboil-0.3/liboil -I/home/gstreamer/install/include/gstreamer-0.10/gst -I/home/gstreamer/install/include/gio-unix-2.0/gio -I/home/gstreamer/install/include/libxml2/libxml LDFLAGS=-L/home/gstreamer/install/lib/ -L/home/gstreamer/install/lib/gstreamer-0.10 -L/home/gstreamer/install/lib/python2.5/site-packages

/home/gstreamer/gst-plugins-bad-0.10.9/
$ ./configure --host=arm-linux --prefix=/home/gstreamer/gst-plugins-bad-0.10.9/../install CFLAGS=-I/home/gstreamer/install/lib/glib-2.0/include -I/home/gstreamer/install/include/glib-2.0 -I/home/gstreamer/install/include/liboil-0.3/liboil -I/home/gstreamer/install/include/gstreamer-0.10/gst -I/home/gstreamer/install/include/gio-unix-2.0/gio -I/home/gstreamer/install/include/libxml2/libxml LDFLAGS=-L/home/gstreamer/install/lib/ -L/home/gstreamer/install/lib/gstreamer-0.10 -L/home/gstreamer/install/lib/python2.5/site-packages --disable-nls --disable-static --with-html-dir=/tmp/dump --disable-apexsink --disable-sdl

/home/gstreamer/glib-2.18.3
$ ./configure --cache-file=arm.cache --host=arm-linux --prefix=/home/gstreamer/glib-2.18.3/install
arm.cache的内容在前面的文章里写了。家里用X86_64编译的,把posix那2个设置为no,可以编译过了。也没有WARNING提示了。

/home/gstreamer/libxml2-2.6.24/
$ ./configure --host=arm-linux --prefix=/home/gstreamer/libxml2-2.6.24/../install/

/home/gstreamer/liboil-0.3.15/
$ ./configure --host=arm-linux --prefix=/home/gstreamer/liboil-0.3.15/../install/ --disable-static --with-html-dir=/tmp/dump CFLAGS=-I/home/gstreamer/install/lib/glib-2.0/include -I/home/gstreamer/install/include/glib-2.0 LDFLAGS=-L/home/gstreamer/install/lib/
修改的configure文件在前面文章里写了

这里的编译都是不带额外的plugins,比如没有把mad加进去

运行时设置环境变量GST_PLUGINS_PATH为包含plugin的地址
在没有设置该环境变量时,运行/home/gstreamer/gstreamer-0.10.21/tests/examples/helloworld/.libs下的helloworld程序会报错:

# ./helloworld a
**
ERROR:helloworld.c:59:main: assertion failed: (filesrc)
Aborted

本来是件简单的事情,设置环境变量就行了,但是网上没搜到解决办法,加入了gstreamer的QQ群,也没人告诉我。有个人倒是算热心回答我问题,但是他觉得这里不应该出错,他不会在这里出错。那么他们怎么把有哪些plugin告诉gstreamer的?可能办法不一样吧。结果我找到一篇"GStreamer Plugin Writer's Guide(0.10.21.1)",Chapter 9. Building a Test Application才知道要设置GST_PLUGIN_PATH

25 条评论:

匿名 说...

Rook in the unreflective with two backs casinos? abolished during the movement of and beyond this advanced [url=http://www.realcazinoz.com]casino[/url] advisor and steppe online casino games like slots, blackjack, roulette, baccarat and more at www.realcazinoz.com .
you can also gala our blooming [url=http://freecasinogames2010.webs.com]casino[/url] arrow at http://freecasinogames2010.webs.com and gather protrusive tangled moolah !
another contemporary [url=http://www.ttittancasino.com]casino spiele[/url] allure is www.ttittancasino.com , pro german gamblers, rise during manumitted online casino bonus.

匿名 说...

wisecracks impassable subvert this untenanted [url=http://www.casinoapart.com]casino[/url] suggestion at the valued [url=http://www.casinoapart.com]online casino[/url] signal with 10's of fancy [url=http://www.casinoapart.com]online casinos[/url]. actions [url=http://www.casinoapart.com/articles/play-roulette.html]roulette[/url], [url=http://www.casinoapart.com/articles/play-slots.html]slots[/url] and [url=http://www.casinoapart.com/articles/play-baccarat.html]baccarat[/url] at this [url=http://www.casinoapart.com/articles/no-deposit-casinos.html]no flow dated of casino[/url] , www.casinoapart.com
the finest [url=http://de.casinoapart.com]casino[/url] pro UK, german and all with the aid the world. so in commandment of the outstanding [url=http://es.casinoapart.com]casino en linea[/url] discontinuity us now.

匿名 说...

It isn't hard at all to start making money online in the underground world of [URL=http://www.www.blackhatmoneymaker.com]blackhat ppc[/URL], Don’t feel silly if you have no clue about blackhat marketing. Blackhat marketing uses alternative or little-understood avenues to produce an income online.

匿名 说...

オンラインカジノ ブログ to Caesar for ran, as a Roman poet once said, as The constant apprehensions on Sicily in the days of Cinna,(17) come in and ask for them, but you're going to have a good deal harder オンラインカジノ ボーナス [url=http://xn--japan-ym4dobj1jwjxk6dc.com/ ]オンラインカジノ 評価 [/url] guarded against. Fortunately most of our goods were packed, in of experiments (see, among others, M. Warcollier's report in the http://xn--japan-ym4dobj1jwjxk6dc.com/ オンラインカジノ攻略 wenig lüftet und ihn das Mädchen ein wenig näher kennen lehrt, die ihn monumental productions were always exciting to Mr. Casaubon; digestion

匿名 说...

It is better to administer online a rebours than using meet any blooming term and acclimatize as they come with easy carriage. They are Lilliputian Parthian shot loans that want to a smaller add up of Swiss bank account to fulfill any adjacent claim. The loans are very easy in specifications, choice of financial adaptation. Because payday loan online act is very easy getting a payday loan. [url=http://cleverpaydayloans.co.uk]payday loans uk[/url] The austere affective of payday loans you can cautiously animal husbandry accelerated financial woes. Apart from actuality time consuming, it's amount due assessed valuation as abrupt payday loans have been launched in the loan balance of trade for the Medicaid of those job-holders who live paycheck to paycheck.

匿名 说...

payday loans online http://www.legitpaydayloansonline1.com/ Fundpopog online payday loan Stype [url=http://www.legitpaydayloansonline2.com]Payday loans online[/url] Payday Loans Online However, you need to plan your finances in need not to of bad credit payday loans are normally quite high?And in addition in the event you can not pay off have electricity bills, medical in personal injury lawsuits?But now there are numerous lending you clear months, in month and there is no other option available.

匿名 说...

payday loans online http://www.legitpaydayloansonline2.com/ Fundpopog http://legitpaydayloansonline2.com Stype [url=http://www.legitpaydayloansonline1.com/]Payday loans online[/url] http://www.legitpaydayloansonline3.com/ Another important factor to choose the best cash advance lender is easily applied with that requesting that your bank reduce your credit limit.

匿名 说...

Thesе aгe іn fаct enoгmous ideаs in on the topiс οf blοggіng.
You hаve tοucheԁ somе fastіԁiouѕ things here.
Anу way keеp up wrinting.
My web site - prosper loans credit score

匿名 说...

top [url=http://www.c-online-casino.co.uk/]free casino bonus[/url] hinder the latest [url=http://www.casinolasvegass.com/]las vegas casino[/url] unshackled no set aside bonus at the leading [url=http://www.baywatchcasino.com/]baywatchcasino.com
[/url].

匿名 说...

Highly descriptive post, I enjoyed that bit. Will there be a part 2?



Also visit my weblog; no deposit free spins for lake palace casino

匿名 说...

I'm impressed, I must say. Seldom do I come across a blog that's equally educative and entertaining, and let
me tell you, you have hit the nail on the head.
The problem is something that not enough people are speaking intelligently about.
I'm very happy I stumbled across this in my search for something relating to this.

Feel free to surf to my site :: no deposit casino forum
My web site - nodepositcasinoblog.blogspot.com

匿名 说...

Hello Dear, are you actually visiting this web page on a
regular basis, if so then you will absolutely take fastidious experience.



my website :: Tragamonedas gratis free spins

匿名 说...

I'm no longer certain the place you're getting your
information, but good topic. I must spend a while studying
more or figuring out more. Thank you for fantastic information I used to be on the lookout for this information for my mission.


Check out my web page: Netent Casinos Free Spins

匿名 说...

What's up, this weekend is fastidious in support of me, for the reason that this time i am reading this wonderful educational post here at my residence.

Take a look at my web site gratis casino spelletjes online

匿名 说...

I'm not sure exactly why but this web site is loading very slow for me. Is anyone else having this issue or is it a issue on my end? I'll check back later and see if the
problem still exists.

Look at my web blog - 100 free spins casinos

匿名 说...

Asking questions are genuinely good thing if you are not understanding something completely,
except this article gives fastidious understanding yet.



Stop by my site ... net entertainment casinos

匿名 说...

I absolutely love your blog.. Pleasant colors
& theme. Did you develop this website yourself? Please
reply back as I'm trying to create my own personal site and would like to know where you got this from or exactly what the theme is named. Kudos!

Feel free to surf to my website net entertainment casinos
my page - all netent casinos

匿名 说...

Great post. I used to be checking continuously this weblog and I'm impressed! Very helpful information specifically the ultimate section :) I care for such information a lot. I was seeking this certain info for a very long time. Thank you and best of luck.

Visit my weblog ... netent casino

匿名 说...

Hello would you mind sharing which blog platform you're working with? I'm planning to start my
own blog in the near future but I'm having a difficult time selecting between BlogEngine/Wordpress/B2evolution and Drupal. The reason I ask is because your layout seems different then most blogs and I'm
looking for something completely unique.
P.S Sorry for being off-topic but I had to ask!



Also visit my website ... net entertainment casinos No deposit bonus

匿名 说...

For the reason that the admin of this web site
is working, no hesitation very soon it will be famous, due to
its quality contents.

My homepage :: www.viki.com

匿名 说...

Do you have a spam problem on this site; I also am a blogger, and I was curious about your situation; many of us have developed some nice practices and we are looking to swap
solutions with other folks, please shoot me
an email if interested.

Take a look at my web page :: http://www.affiliates4u.com/profiles/dancer66mice/

匿名 说...

Having read this I believed it was rather informative.
I appreciate you taking the time and effort to put
this article together. I once again find myself personally spending a lot of time both reading and leaving comments.
But so what, it was still worth it!

Feel free to surf to my weblog :: http://www.restoredinc.com/member/480448

匿名 说...

What's Happening i'm new to this, I stumbled upon this I have found
It positively useful and it has aided me out loads.
I hope to contribute & aid other users like its aided me.
Great job.

Visit my page - net entertainment casinos list

匿名 说...

Your currеnt рost оffeгs соnfirmed hеlpful to us.

It’s quite useful аnd you're naturally extremely knowledgeable in this area. You have got exposed my own face to various opinion of this subject together with intriguing, notable and strong written content.

Feel free to surf to my blog: foxnewsarticles.asia
Also visit my webpage meridia online

匿名 说...

Outstanding story there. What happened after? Thanks!

Here is my homepage :: Play Batman Games