<br><br><div class="gmail_quote">---------- 已转发邮件 ----------<br>发件人: <b class="gmail_sendername">代坤娟</b> <span dir="ltr"><<a href="mailto:daisy0719@gmail.com">daisy0719@gmail.com</a>></span><br>日期: 2010年5月21日 上午9:55<br>
主题: gst-ffmpeg cross compile problem<br>收件人: <a href="mailto:gstreamer-embedded-request@lists.sourceforge.net">gstreamer-embedded-request@lists.sourceforge.net</a><br>抄送: <a href="mailto:gstreamer-embedded@lists.sourceforge.net">gstreamer-embedded@lists.sourceforge.net</a><br>
<br><br>Hi,<br> i have some problem when i try to cross compile gst-ffmpeg for my arm board, pls help me.<br>
<p class="MsoNormal"><span lang="EN-US"> i configure gst-ffmpeg as follows:</span></p><p class="MsoNormal"><span lang="EN-US"><br></span></p>
<p class="MsoNormal"><span lang="EN-US">./configure CC=arm-none-linux-gnueabi-gcc --build=i686-linux
--host=arm-none-linux-gnueabi --prefix=<span style="color: rgb(0, 0, 0);">/usr/local/gstreamer
CFLAGS=-I/usr/local/gstreamer/include/ LDFLAGS=-L/usr/local/gstreamer/lib </span><br style="color: rgb(0, 0, 0);"></span></p><p style="color: rgb(0, 0, 0);" class="MsoNormal"><br><span lang="EN-US"></span></p><span lang="EN-US"><span style="color: rgb(0, 0, 0);">PKG_CONFIG_PATH=/usr/local/gstreamer/lib/pkgconfig</span><br>
LD_LIBRARY_PATH=/usr/local/gstreamer/lib<br><br></span><p class="MsoNormal"><span lang="EN-US">but i get the error saying :</span></p><p class="MsoNormal"><br><span lang="EN-US"></span></p><p class="MsoNormal"><span lang="EN-US">Configuring included FFmpeg instance with args --prefix=/usr/local/gstreamer --disable-ffserver --disable-ffplay --enable-postproc --enable-gpl --enable-static --enable-shared --disable-encoder=flac --disable-decoder=cavs --disable-protocols --disable-devices --disable-network --disable-hwaccels --enable-cross-compile --target-os=linux-gnueabi --arch=arm --cross-prefix=arm-none-linux-gnueabi- --disable-ffmpeg<br>
<span style="color: rgb(255, 0, 0);">Unknown OS 'linux-gnueabi'.</span><br><br>If you think configure made a mistake, make sure you are using the latest<br>version from SVN. If the latest version fails, report the problem to the<br>
<a href="mailto:ffmpeg-user@mplayerhq.hu" target="_blank">ffmpeg-user@mplayerhq.hu</a> mailing list or IRC #ffmpeg on <a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a>.<br>Include the log file "config.err" produced by configure as this will help<br>
solving the problem.<br>config.status: error: Failed to configure embedded FFmpeg tree</span></p><p class="MsoNormal"><br><span lang="EN-US"></span></p><p style="color: rgb(255, 102, 102);" class="MsoNormal"><span lang="EN-US">how should i configure gst-ffmpeg , pls help me, thanks!</span></p>
<p class="MsoNormal"><br><span lang="EN-US"></span></p><p class="MsoNormal"><span lang="EN-US"><span style="color: rgb(255, 102, 102);">in addition, i want to know if i want to play video on my arm board, what videosink i can use?</span> when i use autovideosink , the message it displays as follows:<br>
</span></p><p class="MsoNormal"><br><span lang="EN-US"></span></p><p class="MsoNormal"><span lang="EN-US">[root@Real6410 /]# gst-launch filesrc location=/usr/local/gstreamer/demo/S.avi !<br> decodebin ! ffmpegcolorspace ! videoscale ! autovideosink<br>
Setting pipeline to PAUSED ...<br>Pipeline is PREROLLING ...<br>WARNING: from element /GstPipeline:pipeline0/GstAutoVideoSink:autovideosink0: Resource not found.<br>Additional debug info:<br>gstautovideosink.c(320): gst_auto_video_sink_find_best (): /GstPipeline:pipeline0/GstAutoVideoSink:autovideosink0:<br>
Failed to find a usable video sink<br>ERROR: from element /GstPipeline:pipeline0/GstDecodeBin:decodebin0: A AVI demuxer plugin is required to play this stream, but not installed.<br>Additional debug info:<br>gstdecodebin.c(986): close_pad_link (): /GstPipeline:pipeline0/GstDecodeBin:decodebin0:<br>
No decoder to handle media type 'video/x-msvideo'<br>ERROR: pipeline doesn't want to preroll.<br>Setting pipeline to NULL ...<br>Freeing pipeline ...</span></p><p class="MsoNormal"><br><span lang="EN-US"></span></p>
<p class="MsoNormal"><span lang="EN-US">Best regards</span></p><p class="MsoNormal"><span lang="EN-US"> </span></p><p class="MsoNormal"><span lang="EN-US">daisy<br></span></p>
</div><br>