You can subscribe to this list here.
2008 |
Jan
|
Feb
(21) |
Mar
(30) |
Apr
(17) |
May
(2) |
Jun
(30) |
Jul
(22) |
Aug
(39) |
Sep
(42) |
Oct
(30) |
Nov
(42) |
Dec
(16) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2009 |
Jan
(31) |
Feb
(44) |
Mar
(33) |
Apr
(26) |
May
(15) |
Jun
(28) |
Jul
(15) |
Aug
(15) |
Sep
|
Oct
(34) |
Nov
(21) |
Dec
(36) |
2010 |
Jan
(53) |
Feb
(31) |
Mar
(30) |
Apr
(14) |
May
(12) |
Jun
(6) |
Jul
(5) |
Aug
(9) |
Sep
(10) |
Oct
(3) |
Nov
(1) |
Dec
(16) |
2011 |
Jan
(6) |
Feb
(5) |
Mar
(2) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Jyoti <jy...@al...> - 2009-11-12 06:41:23
|
Hi all, I am writing an application to send MPEG2 TS packets payloaded as RTP over UDP. The pipeline am using is gst-launch filesrc location=stream.ts ! mpegtsparse ! rtpmp2tpay ! udpsink port=1234 but the file does stream the packets to fast and on the client side I miss many packets. I would be very thankful if someone can hint me how do I control the rate at which RTP packets are sent over UDP. Regards, Jyoti |
From: Frankie <cho...@te...> - 2009-11-11 02:36:02
|
When i run gst-launch playbin, i get the error below. ***************************************************************** gst-launch-0.10:1838): GStreamer-WARNING **: Failed to load plugin '/usr/lib/gstreamer-0.10/libgstaudioresample.so': /usr/lib/gstreamer-0.10/libgstaudioresample.so: undefined symbol: oil_init (gst-launch-0.10:1838): GStreamer-WARNING **: Failed to load plugin '/usr/lib/gstreamer-0.10/libgstvideotestsrc.so': /usr/lib/gstreamer-0.10/libgstvideotestsrc.so: undefined symbol: oil_function_class_ptr_splat_u16_ns (gst-launch-0.10:1838): GStreamer-WARNING **: Failed to load plugin '/usr/lib/gstreamer-0.10/libgstvideoscale.so': /usr/lib/gstreamer-0.10/libgstvideoscale.so: undefined symbol: oil_function_class_ptr_merge_linear_u8 (gst-launch-0.10:1838): GStreamer-WARNING **: Failed to load plugin '/usr/lib/gstreamer-0.10/libgstvolume.so': /usr/lib/gstreamer-0.10/libgstvolume.so: undefined symbol: oil_function_class_ptr_scalarmultiply_f64_ns (gst-launch-0.10:1838): GStreamer-WARNING **: Failed to load plugin '/usr/lib/gstreamer-0.10/libgstdeinterlace.so': /usr/lib/gstreamer-0.10/libgstdeinterlace.so: undefined symbol: oil_function_class_ptr_copy_u8 (gst-launch-0.10:1838): GStreamer-WARNING **: Failed to load plugin '/usr/lib/gstreamer-0.10/libgstgoom.so': /usr/lib/gstreamer-0.10/libgstgoom.so: undefined symbol: oil_init (gst-launch-0.10:1838): GStreamer-WARNING **: Failed to load plugin '/usr/lib/gstreamer-0.10/libgstvideobox.so': /usr/lib/gstreamer-0.10/libgstvideobox.so: undefined symbol: oil_function_class_ptr_copy_u8 (gst-launch-0.10:1838): GStreamer-WARNING **: Failed to load plugin '/usr/lib/evms/libe2fsim.1.2.1.so': /usr/lib/evms/libe2fsim.1.2.1.so: undefined symbol: ExtractObject (gst-launch-0.10:1838): GStreamer-WARNING **: Failed to load plugin '/usr/lib/gstreamer-0.10/libgstaudioresample.so': /usr/lib/gstreamer-0.10/libgstaudioresample.so: undefined symbol: oil_init (gst-launch-0.10:1838): GStreamer-WARNING **: Failed to load plugin '/usr/lib/gstreamer-0.10/libgstvideotestsrc.so': /usr/lib/gstreamer-0.10/libgstvideotestsrc.so: undefined symbol: oil_function_class_ptr_splat_u16_ns (gst-launch-0.10:1838): GStreamer-WARNING **: Failed to load plugin '/usr/lib/gstreamer-0.10/libgstvideoscale.so': /usr/lib/gstreamer-0.10/libgstvideoscale.so: undefined symbol: oil_function_class_ptr_merge_linear_u8 (gst-launch-0.10:1838): GStreamer-WARNING **: Failed to load plugin '/usr/lib/gstreamer-0.10/libgstvolume.so': /usr/lib/gstreamer-0.10/libgstvolume.so: undefined symbol: oil_function_class_ptr_scalarmultiply_f64_ns (gst-launch-0.10:1838): GStreamer-WARNING **: Failed to load plugin '/usr/lib/gstreamer-0.10/libgstdeinterlace.so': /usr/lib/gstreamer-0.10/libgstdeinterlace.so: undefined symbol: oil_function_class_ptr_copy_u8 (gst-launch-0.10:1838): GStreamer-WARNING **: Failed to load plugin '/usr/lib/gstreamer-0.10/libgstgoom.so': /usr/lib/gstreamer-0.10/libgstgoom.so: undefined symbol: oil_init (gst-launch-0.10:1838): GStreamer-WARNING **: Failed to load plugin '/usr/lib/gstreamer-0.10/libgstvideobox.so': /usr/lib/gstreamer-0.10/libgstvideobox.so: undefined symbol: oil_function_class_ptr_copy_u8 (gst-launch-0.10:1838): GStreamer-WARNING **: Failed to load plugin '/usr/lib/gstreamer-0.10/libgstaudioresample.so': /usr/lib/gstreamer-0.10/libgstaudioresample.so: undefined symbol: oil_init (gst-launch-0.10:1838): GStreamer-WARNING **: Failed to load plugin '/usr/lib/gstreamer-0.10/libgstvideotestsrc.so': /usr/lib/gstreamer-0.10/libgstvideotestsrc.so: undefined symbol: oil_function_class_ptr_splat_u16_ns (gst-launch-0.10:1838): GStreamer-WARNING **: Failed to load plugin '/usr/lib/gstreamer-0.10/libgstvideoscale.so': /usr/lib/gstreamer-0.10/libgstvideoscale.so: undefined symbol: oil_function_class_ptr_merge_linear_u8 (gst-launch-0.10:1838): GStreamer-WARNING **: Failed to load plugin '/usr/lib/gstreamer-0.10/libgstvolume.so': /usr/lib/gstreamer-0.10/libgstvolume.so: undefined symbol: oil_function_class_ptr_scalarmultiply_f64_ns (gst-launch-0.10:1838): GStreamer-WARNING **: Failed to load plugin '/usr/lib/gstreamer-0.10/libgstdeinterlace.so': /usr/lib/gstreamer-0.10/libgstdeinterlace.so: undefined symbol: oil_function_class_ptr_copy_u8 (gst-launch-0.10:1838): GStreamer-WARNING **: Failed to load plugin '/usr/lib/gstreamer-0.10/libgstgoom.so': /usr/lib/gstreamer-0.10/libgstgoom.so: undefined symbol: oil_init (gst-launch-0.10:1838): GStreamer-WARNING **: Failed to load plugin '/usr/lib/gstreamer-0.10/libgstvideobox.so': /usr/lib/gstreamer-0.10/libgstvideobox.so: undefined symbol: oil_function_class_ptr_copy_u8 (gst-launch-0.10:1838): GStreamer-WARNING **: Failed to load plugin '/usr/lib/evms/libe2fsim.1.2.1.so': /usr/lib/evms/libe2fsim.1.2.1.so: undefined symbol: ExtractObject (gst-launch-0.10:1838): GStreamer-WARNING **: Failed to load plugin '/usr/lib/gstreamer-0.10/libgstaudioresample.so': /usr/lib/gstreamer-0.10/libgstaudioresample.so: undefined symbol: oil_init (gst-launch-0.10:1838): GStreamer-WARNING **: Failed to load plugin '/usr/lib/gstreamer-0.10/libgstvideotestsrc.so': /usr/lib/gstreamer-0.10/libgstvideotestsrc.so: undefined symbol: oil_function_class_ptr_splat_u16_ns (gst-launch-0.10:1838): GStreamer-WARNING **: Failed to load plugin '/usr/lib/gstreamer-0.10/libgstvideoscale.so': /usr/lib/gstreamer-0.10/libgstvideoscale.so: undefined symbol: oil_function_class_ptr_merge_linear_u8 (gst-launch-0.10:1838): GStreamer-WARNING **: Failed to load plugin '/usr/lib/gstreamer-0.10/libgstvolume.so': /usr/lib/gstreamer-0.10/libgstvolume.so: undefined symbol: oil_function_class_ptr_scalarmultiply_f64_ns (gst-launch-0.10:1838): GStreamer-WARNING **: Failed to load plugin '/usr/lib/gstreamer-0.10/libgstdeinterlace.so': /usr/lib/gstreamer-0.10/libgstdeinterlace.so: undefined symbol: oil_function_class_ptr_copy_u8 (gst-launch-0.10:1838): GStreamer-WARNING **: Failed to load plugin '/usr/lib/gstreamer-0.10/libgstgoom.so': /usr/lib/gstreamer-0.10/libgstgoom.so: undefined symbol: oil_init (gst-launch-0.10:1838): GStreamer-WARNING **: Failed to load plugin '/usr/lib/gstreamer-0.10/libgstvideobox.so': /usr/lib/gstreamer-0.10/libgstvideobox.so: undefined symbol: oil_function_class_ptr_copy_u8 Setting pipeline to PAUSED ... ERROR: Pipeline doesn't want to pause. ERROR: from element /GstPlayBin:playbin0: No URI specified to play from. Additional debug info: gstplaybasebin.c(1660): gen_source_element (): /GstPlayBin:playbin0 Setting pipeline to NULL ... Freeing pipeline ... ***************************************************** I have libiol library in /usr/lib/, anyone know why it cannot find the liboil library Best Regards, Frankie |
From: Josep T. <n77...@gm...> - 2009-11-04 17:05:06
|
Hi Claudio, In order to use the fluvadec plugin you need a patched version of gstreamer. Please send a request to su...@fl... and provide details on your system, like distro, gstreamer versions and the GMA500 driver that are you using. Best regards. Josep claudio stagni wrote: > Hi, we have just downloaded the fluendo megabundle for lpia, we have > just installed the codecs and, as a result, we get : > > gst-inspect-0.10 | grep flu > > #(gst-inspect-0.10:4180): GStreamer-WARNING **: Failed to load plugin > '/usr/lib/gstreamer-0.10/libgstfluvadec.so': #libgstlibva-0.10.so.0: > cannot open shared object file: No such file or directory > #flulpcm: flulpcmdec: Fluendo LPCM decoder > #flump3dec: flump3dec: Fluendo MP3 Decoder (IPP build) > #flurtp: flurtspwms: Fluendo WMS RTSP Extension > #flurtp: flurtpasfdepay: RTP packet parser > #fluwmvdec: fluwmvdec: Fluendo WMV Decoder > #flumms: flummssrc: Fluendo MMS source > #fluh264dec: fluh264dec: Fluendo H264 Decoder > #flumpeg4vdec: flumpeg4vdec: Fluendo MPEG-4 ASP Video Decoder > #fluaacdec: fluaacdec: Fluendo AAC Decoder (HE disabled, stereo downmix) > #flumpeg2vdec: flumpeg2vdec: Fluendo MPEG-2 Video Decoder > #flumsb: flumsbbin: Fluendo MSB Bin > #flumsb: flunscparser: Fluendo NSC Parser > #flumsb: flumsbparser: Fluendo MSB Parser > #flumsb: video/x-ms-nsc: nsc > #fludivx3dec: fludivx3dec: Fluendo DivX 3.11 Decoder > #flumpegdemux: flutsdemux: MPEG Transport stream demuxer > #flumpegdemux: flupsdemux: MPEG Program Demuxer > #fluasf: fluasfcmdparse: Fluendo ASF Command Parser > #fluasf: fluasfdemux: Fluendo ASF Demuxer > #fluwma: fluwmsdec: Fluendo WMS Decoder > #fluwma: fluwmadec: Fluendo WMA Decoder (STD + PRO + LSL + WMS) > > What is "libgstlibva-0.10.so.0" because we have libva compiled for Intel > Atom with Pouslbo chipset, coming from Intel Gma 500, but we haven't > find any trace. > > Is this something that has to come with gst? > > Many thanks Claudio. > > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gstreamer-embedded mailing list > Gst...@li... > https://lists.sourceforge.net/lists/listinfo/gstreamer-embedded |
From: claudio s. <cla...@ar...> - 2009-11-04 13:04:22
|
Hi, we have just downloaded the fluendo megabundle for lpia, we have just installed the codecs and, as a result, we get : gst-inspect-0.10 | grep flu #(gst-inspect-0.10:4180): GStreamer-WARNING **: Failed to load plugin '/usr/lib/gstreamer-0.10/libgstfluvadec.so': #libgstlibva-0.10.so.0: cannot open shared object file: No such file or directory #flulpcm: flulpcmdec: Fluendo LPCM decoder #flump3dec: flump3dec: Fluendo MP3 Decoder (IPP build) #flurtp: flurtspwms: Fluendo WMS RTSP Extension #flurtp: flurtpasfdepay: RTP packet parser #fluwmvdec: fluwmvdec: Fluendo WMV Decoder #flumms: flummssrc: Fluendo MMS source #fluh264dec: fluh264dec: Fluendo H264 Decoder #flumpeg4vdec: flumpeg4vdec: Fluendo MPEG-4 ASP Video Decoder #fluaacdec: fluaacdec: Fluendo AAC Decoder (HE disabled, stereo downmix) #flumpeg2vdec: flumpeg2vdec: Fluendo MPEG-2 Video Decoder #flumsb: flumsbbin: Fluendo MSB Bin #flumsb: flunscparser: Fluendo NSC Parser #flumsb: flumsbparser: Fluendo MSB Parser #flumsb: video/x-ms-nsc: nsc #fludivx3dec: fludivx3dec: Fluendo DivX 3.11 Decoder #flumpegdemux: flutsdemux: MPEG Transport stream demuxer #flumpegdemux: flupsdemux: MPEG Program Demuxer #fluasf: fluasfcmdparse: Fluendo ASF Command Parser #fluasf: fluasfdemux: Fluendo ASF Demuxer #fluwma: fluwmsdec: Fluendo WMS Decoder #fluwma: fluwmadec: Fluendo WMA Decoder (STD + PRO + LSL + WMS) What is "libgstlibva-0.10.so.0" because we have libva compiled for Intel Atom with Pouslbo chipset, coming from Intel Gma 500, but we haven't find any trace. Is this something that has to come with gst? Many thanks Claudio. |
From: Xing F. <xin...@go...> - 2009-11-04 09:49:31
|
Hi, I want to use use gstreamer to play mpeg4 on ARM SMP board, but I have some problem when I cross compiling gst-ffmpeg inside scratchbox. I have built the latest version of gstreamer, gst-plugin-bad, xvid and amrwb, amrnb in scratchbox. I try to build gst--ffmpeg0.10.09 with the fillowing configure: CFLAGS="-I/home/exingfa/tmp/opt/gstforarm/include -I/home/exingfa/tmp/opt/gstforarm/include/amrwb -I/home/exingfa/tmp/opt/gstforarm/include/amrnb" LDFLAGS=-L/home/exingfa/tmp/opt/gstforarm/lib/ ./configure --prefix="/home/exingfa/tmp/opt/gstforarm" PKG_CONFIG_PATH=~/tmp/opt/gstforarm/lib/pkgconfig --with-ffmpeg-extra-configure="--prefix="/home/exingfa/tmp/opt/gstforarm" --enable-gpl --enable-nonfree --enable-shared --enable-static --enable-libamr-wb --enable-libamr-nb --enable-libxvid --disable-ffmpeg" It works. But when I run make, I got the following errors. Do you have any clueon how to fix it? Thanks for your kind help! Stella ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- Making all in gst-libs Making all in ext /home/exingfa/tmp/gst-packages/gst-ffmpeg-0.10.9/gst-libs/ext/ffmpeg/version.sh: line 1: git: command not found libavutil/aes.c: In function 'subshift': libavutil/aes.c:56: warning: initialization from incompatible pointer type libavutil/aes.c:57: warning: initialization from incompatible pointer type libavutil/aes.c: In function 'crypt': libavutil/aes.c:84: warning: passing argument 2 of 'mix' from incompatible pointer type libavutil/aes.c:85: warning: passing argument 1 of 'addkey' from incompatible pointer type libavutil/aes.c:85: warning: passing argument 2 of 'addkey' from incompatible pointer type libavutil/aes.c:85: warning: passing argument 3 of 'addkey' from incompatible pointer type libavutil/aes.c:87: warning: passing argument 1 of 'subshift' from incompatible pointer type libavutil/aes.c: In function 'av_aes_crypt': libavutil/aes.c:92: warning: passing argument 1 of 'addkey' from incompatible pointer type libavutil/aes.c:92: warning: passing argument 2 of 'addkey' from incompatible pointer type libavutil/aes.c:92: warning: passing argument 3 of 'addkey' from incompatible pointer type libavutil/aes.c:94: warning: passing argument 4 of 'crypt' from incompatible pointer type libavutil/aes.c:96: warning: passing argument 1 of 'addkey' from incompatible pointer type libavutil/aes.c:96: warning: passing argument 2 of 'addkey' from incompatible pointer type libavutil/aes.c:96: warning: passing argument 3 of 'addkey' from incompatible pointer type libavutil/aes.c:99: warning: passing argument 1 of 'addkey' from incompatible pointer type libavutil/aes.c:99: warning: passing argument 2 of 'addkey' from incompatible pointer type libavutil/aes.c:99: warning: passing argument 3 of 'addkey' from incompatible pointer type libavutil/aes.c:101: warning: passing argument 1 of 'addkey' from incompatible pointer type libavutil/aes.c:101: warning: passing argument 2 of 'addkey' from incompatible pointer type libavutil/aes.c:101: warning: passing argument 3 of 'addkey' from incompatible pointer type libavutil/aes.c:102: warning: passing argument 4 of 'crypt' from incompatible pointer type libavutil/aes.c:103: warning: passing argument 1 of 'addkey' from incompatible pointer type libavutil/aes.c:103: warning: passing argument 2 of 'addkey' from incompatible pointer type libavutil/aes.c:103: warning: passing argument 3 of 'addkey' from incompatible pointer type libavutil/aes.c: In function 'av_aes_init': libavutil/aes.c:149: warning: passing argument 1 of 'init_multbl2' from incompatible pointer type libavutil/aes.c:150: warning: passing argument 1 of 'init_multbl2' from incompatible pointer type libavutil/aes.c:180: warning: passing argument 1 of 'subshift' from incompatible pointer type libavutil/aes.c:181: warning: passing argument 1 of 'mix' from incompatible pointer type libavutil/aes.c:133: warning: array subscript is above array bounds libavutil/fifo.c: In function 'av_fifo_write': libavutil/fifo.c:80: warning: cast discards qualifiers from pointer target type libavutil/rc4.c: In function 'ff_rc4_enc': libavutil/rc4.c:65: warning: 'r.y' may be used uninitialized in this function libswscale/swscale.c: In function 'sws_getCachedContext': libswscale/swscale.c:3177: warning: assignment discards qualifiers from pointer target type libswscale/yuv2rgb.c: In function 'sws_yuv2rgb_c_init_tables': libswscale/yuv2rgb.c:639: warning: passing argument 4 of 'fill_table' from incompatible pointer type libswscale/yuv2rgb.c:640: warning: passing argument 4 of 'fill_table' from incompatible pointer type libswscale/yuv2rgb.c:641: warning: passing argument 4 of 'fill_table' from incompatible pointer type libswscale/yuv2rgb.c:673: warning: passing argument 4 of 'fill_table' from incompatible pointer type libswscale/yuv2rgb.c:674: warning: passing argument 4 of 'fill_table' from incompatible pointer type libswscale/yuv2rgb.c:675: warning: passing argument 4 of 'fill_table' from incompatible pointer type libswscale/yuv2rgb.c: At top level: libswscale/yuv2rgb.c:252: warning: 'yuv2rgb_c_8' defined but not used libswscale/yuv2rgb.c:300: warning: 'yuv2rgb_c_4' defined but not used libswscale/yuv2rgb.c:357: warning: 'yuv2rgb_c_4b' defined but not used libavformat/metadata_compat.c: In function 'ff_metadata_mux_compat': libavformat/metadata_compat.c:129: warning: the address of 'number' will always evaluate as 'true' libavformat/metadata_compat.c:130: warning: the address of 'number' will always evaluate as 'true' libavformat/utils.c: In function 'parse_date': libavformat/utils.c:3002: warning: cast discards qualifiers from pointer target type libavformat/utils.c: In function 'av_seek_frame_binary': libavformat/utils.c:1292: warning: 'pos_min' may be used uninitialized in this function libavformat/utils.c:1292: warning: 'pos_max' may be used uninitialized in this function libavformat/aviobuf.c: In function 'url_fdopen': libavformat/aviobuf.c:553: warning: passing argument 6 of 'init_put_byte' from incompatible pointer type libavformat/aviobuf.c:553: warning: passing argument 7 of 'init_put_byte' from incompatible pointer type libavformat/aviobuf.c:553: warning: passing argument 8 of 'init_put_byte' from incompatible pointer type libavformat/asfdec.c: In function 'asf_read_header': libavformat/asfdec.c:355: warning: 'AVPaletteControl' is deprecated libavformat/avidec.c: In function 'avi_read_header': libavformat/avidec.c:491: warning: 'AVPaletteControl' is deprecated libavformat/swfenc.c: In function 'swf_write_video': libavformat/swfenc.c:422: warning: passing argument 3 of 'av_fifo_generic_read' from incompatible pointer type libavformat/idcin.c:90: warning: 'AVPaletteControl' is deprecated libavformat/ipmovie.c:120: warning: 'AVPaletteControl' is deprecated libavformat/mov.c:149: warning: 'AVPaletteControl' is deprecated libavformat/mpegenc.c: In function 'flush_packet': libavformat/mpegenc.c:917: warning: passing argument 3 of 'av_fifo_generic_read' from incompatible pointer type libavformat/mpeg.c: In function 'mpegps_read_packet': libavformat/mpeg.c:416: warning: 'dvdaudio_substream_type' may be used uninitialized in this function libavformat/nsvdec.c:354:2: warning: #warning "FIXME: Byteswap buffer as needed" libavformat/nutdec.c: In function 'get_packetheader': libavformat/nutdec.c:98: warning: passing argument 2 of 'ff_crc04C11DB7_update' from incompatible pointer type libavformat/nutdec.c: In function 'decode_main_header': libavformat/nutdec.c:276: warning: passing argument 2 of 'get_buffer' discards qualifiers from pointer target type libavformat/nutdec.c: In function 'read_seek': libavformat/nutdec.c:862: warning: passing argument 3 of 'av_tree_find' from incompatible pointer type libavformat/nutdec.c:862: warning: passing argument 4 of 'av_tree_find' from incompatible pointer type libavformat/nutdec.c:871: warning: passing argument 3 of 'av_tree_find' from incompatible pointer type libavformat/nutdec.c:871: warning: passing argument 4 of 'av_tree_find' from incompatible pointer type libavformat/nutdec.c:879: warning: passing argument 3 of 'av_tree_find' from incompatible pointer type libavformat/nut.c: In function 'ff_nut_add_sp': libavformat/nut.c:65: warning: passing argument 3 of 'av_tree_insert' from incompatible pointer type libavformat/nutenc.c: In function 'write_packet': libavformat/nutenc.c:687: warning: passing argument 3 of 'av_tree_find' from incompatible pointer type libavformat/oggdec.c: In function 'ogg_packet': libavformat/oggdec.c:333: warning: assignment discards qualifiers from pointer target type libavformat/wc3movie.c:73: warning: 'AVPaletteControl' is deprecated libavcodec/bitstream.c: In function 'alloc_table': libavcodec/bitstream.c:129: warning: 'ff_realloc_static' is deprecated (declared at libavcodec/bitstream.c:53) libavcodec/bitstream_filter.c: In function 'av_bitstream_filter_filter': libavcodec/bitstream_filter.c:62: warning: cast discards qualifiers from pointer target type libavcodec/parser.c: In function 'av_parser_change': libavcodec/parser.c:196: warning: cast discards qualifiers from pointer target type libavcodec/utils.c:420: warning: 'force_align_arg_pointer' attribute directive ignored libavcodec/utils.c:472: warning: 'force_align_arg_pointer' attribute directive ignored libavcodec/utils.c: In function 'avcodec_encode_audio': libavcodec/utils.c:478: warning: passing argument 4 of 'avctx->codec->encode' discards qualifiers from pointer target type libavcodec/utils.c: At top level: libavcodec/utils.c:487: warning: 'force_align_arg_pointer' attribute directive ignored libavcodec/utils.c: In function 'avcodec_encode_video': libavcodec/utils.c:495: warning: passing argument 4 of 'avctx->codec->encode' discards qualifiers from pointer target type libavcodec/utils.c: In function 'avcodec_encode_subtitle': libavcodec/utils.c:514: warning: passing argument 4 of 'avctx->codec->encode' discards qualifiers from pointer target type libavcodec/utils.c: At top level: libavcodec/utils.c:522: warning: 'force_align_arg_pointer' attribute directive ignored libavcodec/utils.c:545: warning: 'force_align_arg_pointer' attribute directive ignored libavcodec/utils.c: In function 'av_parse_video_frame_size': libavcodec/utils.c:1056: warning: assignment discards qualifiers from pointer target type libavcodec/alacenc.c: In function 'alac_encode_init': libavcodec/alacenc.c:393: warning: large integer implicitly truncated to unsigned type libavcodec/alacenc.c:393: warning: large integer implicitly truncated to unsigned type libavcodec/alacenc.c:393: warning: large integer implicitly truncated to unsigned type libavcodec/avs.c: In function 'avs_decode_frame': libavcodec/avs.c:57: warning: 'change_map.buffer' may be used uninitialized in this function libavcodec/avs.c:57: warning: 'change_map.buffer_ptr' may be used uninitialized in this function libavcodec/avs.c:57: warning: 'change_map.bit_count' may be used uninitialized in this function libavcodec/avs.c:57: warning: 'change_map.cache0' may be used uninitialized in this function libavcodec/avs.c:57: warning: 'change_map.cache1' may be used uninitialized in this function libavcodec/bmp.c: In function 'bmp_decode_frame': libavcodec/bmp.c:49: warning: 'rgb[1]' may be used uninitialized in this function libavcodec/bmp.c:49: warning: 'rgb[2]' may be used uninitialized in this function libavcodec/dnxhdenc.c: In function 'dnxhd_encode_picture': libavcodec/dnxhdenc.c:756: warning: large integer implicitly truncated to unsigned type libavcodec/dnxhdenc.c:756: warning: large integer implicitly truncated to unsigned type libavcodec/dnxhdenc.c:756: warning: large integer implicitly truncated to unsigned type libavcodec/dnxhdenc.c: At top level: libavcodec/dnxhdenc.c:805: warning: initialization from incompatible pointer type libavcodec/ratecontrol.c: In function 'ff_rate_control_init': libavcodec/ratecontrol.c:109: warning: passing argument 3 of 'ff_parse' discards qualifiers from pointer target type libavcodec/ratecontrol.c:109: warning: passing argument 4 of 'ff_parse' discards qualifiers from pointer target type libavcodec/dv.c: In function 'dvvideo_decode_frame': libavcodec/dv.c:1138: warning: assignment discards qualifiers from pointer target type libavcodec/mpeg12.h:59: warning: inline function 'ff_mpeg1_decode_block_intra' declared but never defined libavcodec/mpeg12.h:59: warning: inline function 'ff_mpeg1_decode_block_intra' declared but never defined libavcodec/rangecoder.c: In function 'ff_init_range_decoder': libavcodec/rangecoder.c:54: warning: cast discards qualifiers from pointer target type libavcodec/rangecoder.c:56: warning: passing argument 1 of 'bytestream_get_be16' from incompatible pointer type libavcodec/flashsv.c: In function 'flashsv_decode_frame': libavcodec/flashsv.c:196: warning: assignment discards qualifiers from pointer target type libavcodec/h263.c: In function 'mpeg4_decode_block': libavcodec/h263.c:4752: warning: 'dc_pred_dir' may be used uninitialized in this function libavcodec/h264.c: In function 'pred_direct_motion': libavcodec/h264.c:1046: warning: assignment from incompatible pointer type libavcodec/h264.c:1047: warning: assignment from incompatible pointer type libavcodec/h264.c: In function 'filter_mb_dir': libavcodec/h264.c:6284: warning: initialization from incompatible pointer type libavcodec/h264.c:6285: warning: initialization from incompatible pointer type In file included from libavcodec/h264.c:8144: libavcodec/svq3.c: In function 'svq3_decode_slice_header': libavcodec/svq3.c:721: warning: cast discards qualifiers from pointer target type libavcodec/svq3.c:721: warning: cast discards qualifiers from pointer target type libavcodec/svq3.c:721: warning: cast discards qualifiers from pointer target type libavcodec/svq3.c:721: warning: cast discards qualifiers from pointer target type libavcodec/svq3.c:724: warning: cast discards qualifiers from pointer target type libavcodec/h264.c: In function 'execute_ref_pic_marking': libavcodec/h264.c:3280: warning: 'structure' may be used uninitialized in this function libavcodec/h264.c:3272: warning: 'j' may be used uninitialized in this function libavcodec/h264.c: In function 'pred_direct_motion': libavcodec/h264.c:716: warning: assuming signed overflow does not occur when assuming that (X + c) < X is always false libavcodec/h264.c:723: warning: assuming signed overflow does not occur when assuming that (X + c) < X is always false libavcodec/idcinvideo.c: In function 'idcin_decode_frame': libavcodec/idcinvideo.c:215: warning: 'AVPaletteControl' is deprecated libavcodec/interplayvideo.c: In function 'ipvideo_decode_frame': libavcodec/interplayvideo.c:884: warning: 'AVPaletteControl' is deprecated libavcodec/mpeg12.h:59: warning: inline function 'ff_mpeg1_decode_block_intra' declared but never defined libavcodec/mpeg12.h:59: warning: inline function 'ff_mpeg1_decode_block_intra' declared but never defined libavcodec/mpeg12.h:59: warning: inline function 'ff_mpeg1_decode_block_intra' declared but never defined libavcodec/mpeg12.h:59: warning: inline function 'ff_mpeg1_decode_block_intra' declared but never defined libavcodec/lcldec.c: In function 'decode_frame': libavcodec/lcldec.c:167: warning: cast discards qualifiers from pointer target type libavcodec/nuv.c: In function 'copy_frame': libavcodec/nuv.c:74: warning: passing argument 2 of 'avpicture_fill' discards qualifiers from pointer target type libavcodec/pnmenc.c: In function 'pnm_decode_frame': libavcodec/pnmenc.c:46: warning: assignment discards qualifiers from pointer target type libavcodec/pnmenc.c:47: warning: assignment discards qualifiers from pointer target type libavcodec/pngdec.c: In function 'png_decode_idat': libavcodec/pngdec.c:357: warning: assignment discards qualifiers from pointer target type libavcodec/pngenc.c: In function 'png_write_row': libavcodec/pngenc.c:217: warning: cast discards qualifiers from pointer target type libavcodec/rawdec.c: In function 'raw_decode': libavcodec/rawdec.c:127: warning: passing argument 2 of 'avpicture_fill' discards qualifiers from pointer target type libavcodec/rv34.c: In function 'rv34_set_deblock_coef': libavcodec/rv34.c:1107: warning: initialization from incompatible pointer type libavcodec/svq1dec.c: In function 'svq1_decode_frame': libavcodec/svq1dec.c:663: warning: cast discards qualifiers from pointer target type libavcodec/tscc.c: In function 'decode_frame': libavcodec/tscc.c:95: warning: assignment discards qualifiers from pointer target type libavcodec/xan.c: In function 'xan_decode_frame': libavcodec/xan.c:411: warning: 'AVPaletteControl' is deprecated libavcodec/zmbv.c: In function 'decode_frame': libavcodec/zmbv.c:494: warning: assignment discards qualifiers from pointer target type libavcodec/adxenc.c: In function 'adx_encode_header': libavcodec/adxenc.c:104: warning: large integer implicitly truncated to unsigned type libavcodec/adxenc.c:104: warning: large integer implicitly truncated to unsigned type libavcodec/adxenc.c:104: warning: large integer implicitly truncated to unsigned type libavcodec/adxenc.c:108: warning: large integer implicitly truncated to unsigned type libavcodec/adxenc.c:108: warning: large integer implicitly truncated to unsigned type libavcodec/adxenc.c:108: warning: large integer implicitly truncated to unsigned type libavcodec/libamr.c: In function 'amr_nb_decode_frame': libavcodec/libamr.c:164: warning: passing argument 2 of 'GP3Decoder_Interface_Decode' discards qualifiers from pointer target type In file included from libavcodec/libamr.c:268: /home/exingfa/tmp/opt/gstforarm/include/amrwb/dec_if.h: At top level: /home/exingfa/tmp/opt/gstforarm/include/amrwb/dec_if.h:28: warning: redundant redeclaration of 'D_IF_init' /home/exingfa/tmp/opt/gstforarm/include/amrwb/dec_if.h:26: warning: previous declaration of 'D_IF_init' was here libavcodec/libamr.c: In function 'amr_wb_decode_frame': libavcodec/libamr.c:421: warning: passing argument 2 of 'GP3D_IF_decode' discards qualifiers from pointer target type libavcodec/libxvidff.c: In function 'ff_xvid_encode_init': libavcodec/libxvidff.c:232: warning: passing argument 1 of 'av_tempfile' discards qualifiers from pointer target type libavcodec/libxvidff.c: In function 'xvid_ff_2pass_after': libavcodec/libxvidff.c:711: warning: initialization discards qualifiers from pointer target type libavcodec/libxvid_rc.c: In function 'ff_xvid_rate_control_init': libavcodec/libxvid_rc.c:43: warning: passing argument 1 of 'av_tempfile' discards qualifiers from pointer target type libavcodec/mpegvideo_parser.c:165: warning: 'mpegvideo_split' defined but not used libavcodec/pnm_parser.c: In function 'pnm_parse': libavcodec/pnm_parser.c:45: warning: cast discards qualifiers from pointer target type libavcodec/pnm_parser.c:46: warning: cast discards qualifiers from pointer target type libavcodec/h264_mp4toannexb_bsf.c: In function 'h264_mp4toannexb_filter': libavcodec/h264_mp4toannexb_bsf.c:61: warning: cast discards qualifiers from pointer target type libavcodec/mp3_header_compress_bsf.c: In function 'mp3_header_compress': libavcodec/mp3_header_compress_bsf.c:41: warning: cast discards qualifiers from pointer target type libavcodec/mp3_header_decompress_bsf.c: In function 'mp3_header_decompress': libavcodec/mp3_header_decompress_bsf.c:36: warning: cast discards qualifiers from pointer target type libavcodec/remove_extradata_bsf.c: In function 'remove_extradata': libavcodec/remove_extradata_bsf.c:45: warning: cast discards qualifiers from pointer target type libavcodec/arm/dsputil_arm.c:23:5: warning: "HAVE_IPP" is not defined libavcodec/arm/dsputil_arm.c:96:5: warning: "HAVE_IPP" is not defined libavcodec/arm/dsputil_arm.c:133:7: warning: "HAVE_IPP" is not defined libavcodec/arm/dsputil_arm.c:170:5: warning: "HAVE_IPP" is not defined collect2: ld returned 1 exit status make[5]: *** [libavcodec/libavcodec.so.52] Error 1 make[4]: *** [all-local] Error 2 make[3]: *** [all-recursive] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 |
From: Ratheendran R <rat...@gm...> - 2009-11-04 09:31:47
|
Hi All, I am new to gstreamer framework, I am looking for tutorial or references on porting Gstreamer on arm9 board. Please send me the details on it. Regards, Ratheendran |
From: Tejas B. <te...@or...> - 2009-10-30 09:04:35
|
Hi Felipe, For beagleboard i am using latest angstrom rootfs image which is already having gstreamer available. But i want to use my own compiled gstreamer. I am using Codesourcery latest cross compiler which is having gcc version 4.4.1. What ahould i do ? should i go backward with older cross compiler ? Help me out. Thanks In Advance, Tejas. ----- Original Message ----- From: "Felipe Contreras" <fel...@gm...> To: "Tejas Bhanabhagavanwala" <te...@or...> Cc: <gst...@li...> Sent: Friday, October 30, 2009 2:24 PM Subject: Re: [gst-embedded] Failed to test gst-inspect on Beagle Board On Wed, Oct 28, 2009 at 2:15 PM, Tejas Bhanabhagavanwala <te...@or...> wrote: > Hi All, > i have cross compiled all packages(glib,gstreamer-0.10.25, > liboil-0.3.16, gst-plugins-base, gst-plugins-good and gst-plugins-ugly). > Then i have copied all libraries and bin to filesystem of beagle board. > After that i am invoking following command to check wheather it is working > or not. But i am getting following error. > > > gst-inspect: /lib/libc.so.6: version `GLIBC_2.7' not found (required by > /media/m mcblk0p1/oriole_gstreamer/lib/libglib-2.0.so.0) You have a miss-match between your system and your cross-compiler. -- Felipe Contreras |
From: Felipe C. <fel...@gm...> - 2009-10-30 08:54:18
|
On Wed, Oct 28, 2009 at 2:15 PM, Tejas Bhanabhagavanwala <te...@or...> wrote: > Hi All, > i have cross compiled all packages(glib,gstreamer-0.10.25, > liboil-0.3.16, gst-plugins-base, gst-plugins-good and gst-plugins-ugly). > Then i have copied all libraries and bin to filesystem of beagle board. > After that i am invoking following command to check wheather it is working > or not. But i am getting following error. > > > gst-inspect: /lib/libc.so.6: version `GLIBC_2.7' not found (required by > /media/m mcblk0p1/oriole_gstreamer/lib/libglib-2.0.so.0) You have a miss-match between your system and your cross-compiler. -- Felipe Contreras |
From: Xing F. <xin...@go...> - 2009-10-29 16:10:57
|
Dear all, I try to build gstreamer ( gstreamer-0.10.25) in scratchbox for ARM SMP board. I have build all the dependencies ( glib-2.20.5, liboil-0.3.16, etc.) However, when I just try to run a simple gst-inspect command like: gst-inspect fakesrc, I got the following warning message. Anyone can give me a hint on how to fix this problem? Thanks a lot! Stella """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" (gst-inspect-0.10:13590): GStreamer-WARNING **: Failed to load plugin '/usr/local/lib/gstreamer-0.10/libgstgoom.so': liboil-0.3.so.0: cannot enable executable stack as shared object requires: Invalid argument (gst-inspect-0.10:13590): GStreamer-WARNING **: Failed to load plugin '/usr/local/lib/gstreamer-0.10/libgstvideobox.so': liboil-0.3.so.0: cannot enable executable stack as shared object requires: Invalid argument (gst-inspect-0.10:13590): GStreamer-WARNING **: Failed to load plugin '/usr/local/lib/gstreamer-0.10/libgstdeinterlace.so': liboil-0.3.so.0: cannot enable executable stack as shared object requires: Invalid argument (gst-inspect-0.10:13590): GStreamer-WARNING **: Failed to load plugin '/usr/local/lib/gstreamer-0.10/libgstffmpegscale.so': liboil-0.3.so.0: cannot enable executable stack as shared object requires: Invalid argument (gst-inspect-0.10:13590): GStreamer-WARNING **: Failed to load plugin '/usr/local/lib/gstreamer-0.10/libgstvideoscale.so': liboil-0.3.so.0: cannot enable executable stack as shared object requires: Invalid argument (gst-inspect-0.10:13590): GStreamer-WARNING **: Failed to load plugin '/usr/local/lib/gstreamer-0.10/libgstaudioresample.so': liboil-0.3.so.0: cannot enable executable stack as shared object requires: Invalid argument (gst-inspect-0.10:13590): GStreamer-WARNING **: Failed to load plugin '/usr/local/lib/gstreamer-0.10/libgstffmpeg.so': /usr/local/lib/gstreamer-0.10/libgstffmpeg.so: cannot enable executable stack as shared object requires: Invalid argument (gst-inspect-0.10:13590): GStreamer-WARNING **: Failed to load plugin '/usr/local/lib/gstreamer-0.10/libgstvideotestsrc.so': liboil-0.3.so.0: cannot enable executable stack as shared object requires: Invalid argument (gst-inspect-0.10:13590): GStreamer-WARNING **: Failed to load plugin '/usr/local/lib/gstreamer-0.10/libgstvolume.so': liboil-0.3.so.0: cannot enable executable stack as shared object requires: Invalid argument (gst-inspect-0.10:13590): GStreamer-WARNING **: Failed to load plugin '/usr/local/lib/gstreamer-0.10/libgstpostproc.so': liboil-0.3.so.0: cannot enable executable stack as shared object requires: Invalid argument Factory Details: Long name: Fake Source Class: Source Description: Push empty (no data) buffers around Author(s): Erik Walthinsen <om...@cs...>, Wim Taymans < wi...@fl...> Rank: none (0) .......... |
From: Tejas B. <te...@or...> - 2009-10-28 12:22:18
|
Hi All, i have cross compiled all packages(glib,gstreamer-0.10.25, liboil-0.3.16, gst-plugins-base, gst-plugins-good and gst-plugins-ugly). Then i have copied all libraries and bin to filesystem of beagle board. After that i am invoking following command to check wheather it is working or not. But i am getting following error. gst-inspect: /lib/libc.so.6: version `GLIBC_2.7' not found (required by /media/m mcblk0p1/oriole_gstreamer/lib/libglib-2.0.so.0) Please help me to resolve this issue. Thanks In Advance, Tejas. |
From: Tejas B. <te...@or...> - 2009-10-27 11:25:39
|
Hi All, I am following followed link to install gstreamer for Beagle Board. http://gstreamer.freedesktop.org/wiki/HowToCompileForEmbedded I am successfull in the compilation of glib and gstreamer, but when i try to compile liboil-0.3.16 by following command , i am getting following error. [root@Fedora liboil-0.3.16]# sb2 make install ------------------------------------------------- ------------------------------------------------- ----------------------------------------------- /bin/sh ../../libtool --mode=compile gcc -g -O2 -c -o math_vfp_asm.lo math_vfp_asm.S libtool: compile: gcc -g -O2 -c math_vfp_asm.S -fPIC -DPIC -o .libs/math_vfp_asm.o math_vfp_asm.S: Assembler messages: math_vfp_asm.S:107: Error: selected processor does not support `fldmias r1!,{s0}' math_vfp_asm.S:107: Error: selected processor does not support `fldmias r2!,{s1}' math_vfp_asm.S:107: Error: selected processor does not support `fadds s2,s0,s1' math_vfp_asm.S:107: Error: selected processor does not support `fstmias r0!,{s2}' math_vfp_asm.S:107: Error: selected processor does not support `fmrx lr,fpscr' math_vfp_asm.S:107: Error: selected processor does not support `fmxr fpscr,fp' math_vfp_asm.S:107: Error: selected processor does not support `fldmias r1!,{s8,s9,s10,s11,s12,s13,s14,s15}' math_vfp_asm.S:107: Error: selected processor does not support `fldmias r2!,{s16,s17,s18,s19,s20,s21,s22,s23}' math_vfp_asm.S:107: Error: selected processor does not support `fadds s24,s8,s16' math_vfp_asm.S:107: Error: selected processor does not support `fstmias r0!,{s24,s25,s26,s27,s28,s29,s30,s31}' math_vfp_asm.S:107: Error: selected processor does not support `fmxr fpscr,lr' math_vfp_asm.S:108: Error: selected processor does not support `fldmiad r1!,{d0}' math_vfp_asm.S:108: Error: selected processor does not support `fldmiad r2!,{d1}' math_vfp_asm.S:108: Error: selected processor does not support `faddd d2,d0,d1' math_vfp_asm.S:108: Error: selected processor does not support `fstmiad r0!,{d2}' ------------------------------------------------------------------------------ ------------------------------------------------------------------------------- ------------------------------------------------------------------------------- math_vfp_asm.S:273: Error: selected processor does not support `fnegd d2,d0' math_vfp_asm.S:273: Error: selected processor does not support `fstmiad r0!,{d2}' math_vfp_asm.S:273: Error: selected processor does not support `fmrx lr,fpscr' math_vfp_asm.S:273: Error: selected processor does not support `fmxr fpscr,fp' math_vfp_asm.S:273: Error: selected processor does not support `fldmiad r1!,{d4,d5,d6,d7}' math_vfp_asm.S:273: Error: selected processor does not support `fnegd d12,d4' math_vfp_asm.S:273: Error: selected processor does not support `fstmiad r0!,{d12,d13,d14,d15}' math_vfp_asm.S:273: Error: selected processor does not support `fmxr fpscr,lr' make[3]: *** [math_vfp_asm.lo] Error 1 make[3]: Leaving directory `/tmp/gstreamer/liboil-0.3.16/liboil/arm' make[2]: *** [install-recursive] Error 1 make[2]: Leaving directory `/tmp/gstreamer/liboil-0.3.16/liboil' make[1]: *** [install-recursive] Error 1 make[1]: Leaving directory `/tmp/gstreamer/liboil-0.3.16' make: *** [install] Error 2 Please help me to resolve this issue. And without installing liboil i can not install any plug-ins of gstreamer. Thanks In Advance, Tejas. |
From: Felipe C. <fel...@gm...> - 2009-10-26 15:40:39
|
On Mon, Oct 26, 2009 at 9:10 AM, Tejas Bhanabhagavanwala <te...@or...> wrote: > Hi Felipe, > After getting error in configuring gstreamer i have given > following command to re configure and i am successful in re configuration. > # sb2 ./configure --prefix=/opt/gstreamer_beagle/ --disable-nls > --disable-static --enable-binary-registry --disable-loadsave > --with-html-dir=/tmp/dump > --with-pkg-config-path=/opt/gstreamer_beagle/lib/pkgconfig/ > > After that when i give make install command it gives me > following error. > > [root@Fedora gstreamer-0.10.25]# sb2 make install > Making install in pkgconfig > /usr/bin/install -c -m 644 'gstreamer-0.10.pc' > '/opt/gstreamer_beagle/lib/pkgconfig/gstreamer-0.10.pc' > /usr/bin/install -c -m 644 'gstreamer-base-0.10.pc' > '/opt/gstreamer_beagle/lib/pkgconfig/gstreamer-base-0.10.pc' > /usr/bin/install -c -m 644 'gstreamer-check-0.10.pc' > '/opt/gstreamer_beagle/lib/pkgconfig/gstreamer-check-0.10.pc' > /usr/bin/install -c -m 644 'gstreamer-controller-0.10.pc' > '/opt/gstreamer_beagle/lib/pkgconfig/gstreamer-controller-0.10.pc' > /usr/bin/install -c -m 644 'gstreamer-dataprotocol-0.10.pc' > '/opt/gstreamer_beagle/lib/pkgconfig/gstreamer-dataprotocol-0.10.pc' > /usr/bin/install -c -m 644 'gstreamer-net-0.10.pc' > '/opt/gstreamer_beagle/lib/pkgconfig/gstreamer-net-0.10.pc' > Making install in gst > /bin/sh: glib-genmarshal: command not found > make[1]: *** [gstmarshal.h] Error 127 > make: *** [install-recursive] Error 1 Find glib-genmarshal and make sure it's in your PATH. Instead of --with-pkg-config-path=/opt/gstreamer_beagle/lib/pkgconfig/ you can do (once): export PKG_CONFIG_PATH=/opt/gstreamer_beagle/lib/pkgconfig/ Also, please avoid top-posting. A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? -- Felipe Contreras |
From: Israel C. <isr...@gm...> - 2009-10-26 15:05:09
|
Hi, If you have control of 192.168.1.1 <http://192.168.1.1/a.mp4> you can install a stream server, i.e. for linux you can install Darwin Strem Server (DSS) On Mon, Oct 26, 2009 at 2:51 AM, alex z <cel...@gm...> wrote: > Any comments? Thanks! > > 2009/10/23 alex z <cel...@gm...> > > Hi All, >> >> On my ARM based board, I would like to use gstreamer to playback some >> online videos like, http://192.168.1.1/a.mp4, how can I do that? Thanks >> so much! >> >> Alex >> > > > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry(R) Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9 - 12, 2009. Register now! > http://p.sf.net/sfu/devconference > _______________________________________________ > Gstreamer-embedded mailing list > Gst...@li... > https://lists.sourceforge.net/lists/listinfo/gstreamer-embedded > > |
From: alex z <cel...@gm...> - 2009-10-26 08:52:12
|
Any comments? Thanks! 2009/10/23 alex z <cel...@gm...> > Hi All, > > On my ARM based board, I would like to use gstreamer to playback some > online videos like, http://192.168.1.1/a.mp4, how can I do that? Thanks so > much! > > Alex > |
From: Tejas B. <te...@or...> - 2009-10-26 07:10:55
|
Hi Felipe, After getting error in configuring gstreamer i have given following command to re configure and i am successful in re configuration. # sb2 ./configure --prefix=/opt/gstreamer_beagle/ --disable-nls --disable-static --enable-binary-registry --disable-loadsave --with-html-dir=/tmp/dump --with-pkg-config-path=/opt/gstreamer_beagle/lib/pkgconfig/ After that when i give make install command it gives me following error. [root@Fedora gstreamer-0.10.25]# sb2 make install Making install in pkgconfig /usr/bin/install -c -m 644 'gstreamer-0.10.pc' '/opt/gstreamer_beagle/lib/pkgconfig/gstreamer-0.10.pc' /usr/bin/install -c -m 644 'gstreamer-base-0.10.pc' '/opt/gstreamer_beagle/lib/pkgconfig/gstreamer-base-0.10.pc' /usr/bin/install -c -m 644 'gstreamer-check-0.10.pc' '/opt/gstreamer_beagle/lib/pkgconfig/gstreamer-check-0.10.pc' /usr/bin/install -c -m 644 'gstreamer-controller-0.10.pc' '/opt/gstreamer_beagle/lib/pkgconfig/gstreamer-controller-0.10.pc' /usr/bin/install -c -m 644 'gstreamer-dataprotocol-0.10.pc' '/opt/gstreamer_beagle/lib/pkgconfig/gstreamer-dataprotocol-0.10.pc' /usr/bin/install -c -m 644 'gstreamer-net-0.10.pc' '/opt/gstreamer_beagle/lib/pkgconfig/gstreamer-net-0.10.pc' Making install in gst /bin/sh: glib-genmarshal: command not found make[1]: *** [gstmarshal.h] Error 127 make: *** [install-recursive] Error 1 Please help me in it. Thanks In Advance, Tejas. ----- Original Message ----- From: "Tejas Bhanabhagavanwala" <te...@or...> To: "Felipe Contreras" <fel...@gm...> Cc: "Nigel Hsiung" <ni...@ho...>; "gst mailing list" <gst...@li...> Sent: Monday, October 26, 2009 11:47 AM Subject: Re: [gst-embedded] New to gstreamer > Hi Felipe, > I am able to install glib-2.16.6 successfully at my $prefix > path. I am following followed link to build and install gstreamer for > embedded target. > http://gstreamer.freedesktop.org/wiki/HowToCompileForEmbedded. > > For gstreamer i am giving following command . > > [root@Fedora gstreamer]# sb2 > ./configure --prefix=/opt/gstreamer_beagle/ --disable-nls --disable-static > --enable-binary-registry > --disable-loadsave --with-html-dir=/tmp/dump > > But i am getting following error while configuring > gstreamer-0.10.25. config.log is as followed. > > [root@Fedora gstreamer-0.10.25]# sb2 > ./configure --prefix=/opt/gstreamer_beagle/ --disable-nls --disable-static > --enable-binary-registry > --disable-loadsave --with-html-dir=/tmp/dump > configure: WARNING: unrecognized options: --enable-binary-registry > checking for a BSD-compatible install... /usr/bin/install -c > checking whether build environment is sane... yes > checking for a thread-safe mkdir -p... /bin/mkdir -p > checking for gawk... gawk > checking whether make sets $(MAKE)... yes > checking nano version... 0 (release) > checking whether to enable maintainer-specific portions of Makefiles... no > checking build system type... arm-unknown-linux-gnueabi > checking host system type... arm-unknown-linux-gnueabi > checking for style of include used by make... GNU > checking for gcc... gcc > checking for C compiler default output file name... a.out > checking whether the C compiler works... yes > checking whether we are cross compiling... no > checking for suffix of executables... > checking for suffix of object files... o > checking whether we are using the GNU C compiler... yes > checking whether gcc accepts -g... yes > checking for gcc option to accept ISO C89... none needed > checking dependency style of gcc... gcc3 > checking for a sed that does not truncate output... /bin/sed > checking for grep that handles long lines and -e... /bin/grep > checking for egrep... /bin/grep -E > checking for fgrep... /bin/grep -F > checking for ld used by gcc... > /opt/arm-2008q3/arm-none-linux-gnueabi/bin/ld > checking if the linker (/opt/arm-2008q3/arm-none-linux-gnueabi/bin/ld) is > GNU ld... yes > checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B > checking the name lister (/usr/bin/nm -B) interface... BSD nm > checking whether ln -s works... yes > checking the maximum length of command line arguments... 1966080 > checking whether the shell understands some XSI constructs... yes > checking whether the shell understands "+="... yes > checking for /opt/arm-2008q3/arm-none-linux-gnueabi/bin/ld option to > reload > object files... -r > checking for objdump... objdump > checking how to recognize dependent libraries... pass_all > checking for ar... ar > checking for strip... strip > checking for ranlib... ranlib > checking command to parse /usr/bin/nm -B output from gcc object... ok > checking how to run the C preprocessor... gcc -E > checking for ANSI C header files... yes > checking for sys/types.h... yes > checking for sys/stat.h... yes > checking for stdlib.h... yes > checking for string.h... yes > checking for memory.h... yes > checking for strings.h... yes > checking for inttypes.h... yes > checking for stdint.h... yes > checking for unistd.h... yes > checking for dlfcn.h... yes > checking for objdir... .libs > checking if gcc supports -fno-rtti -fno-exceptions... no > checking for gcc option to produce PIC... -fPIC -DPIC > checking if gcc PIC flag -fPIC -DPIC works... yes > checking if gcc static flag -static works... yes > checking if gcc supports -c -o file.o... yes > checking if gcc supports -c -o file.o... (cached) yes > checking whether the gcc linker > (/opt/arm-2008q3/arm-none-linux-gnueabi/bin/ld) supports shared > libraries... > yes > checking whether -lc should be explicitly linked in... no > checking dynamic linker characteristics... GNU/Linux ld.so > checking how to hardcode library paths into programs... immediate > checking for shl_load... no > checking for shl_load in -ldld... no > checking for dlopen... no > checking for dlopen in -ldl... yes > checking whether a program can dlopen itself... yes > checking whether a statically linked program can dlopen itself... no > checking whether stripping libraries is possible... yes > checking if libtool supports shared libraries... yes > checking whether to build shared libraries... yes > checking whether to build static libraries... no > checking whether NLS is requested... no > checking for msgfmt... /usr/bin/msgfmt > checking for gmsgfmt... /usr/bin/msgfmt > checking for xgettext... /usr/bin/xgettext > checking for msgmerge... /usr/bin/msgmerge > checking for ld used by GCC... > /opt/arm-2008q3/arm-none-linux-gnueabi/bin/ld > checking if the linker (/opt/arm-2008q3/arm-none-linux-gnueabi/bin/ld) is > GNU ld... yes > checking for shared library run path origin... done > checking for CFPreferencesCopyAppValue... no > checking for CFLocaleCopyCurrent... no > checking whether to use NLS... no > configure: disabled subsystem pipeline XML load/save > checking for pkg-config... /usr/bin/pkg-config > checking pkg-config is at least version 0.9.0... yes > checking for VALGRIND... no > no > configure: Using GStreamer source release as package name > configure: Using Unknown package origin as package origin > configure: WARNING: Sissy ! By asking to not build the tests known to > fail, > you hereby waive your right to customer support. If you do not agree with > this EULA, please press Ctrl-C before the next line is printed. By > allowing > the next line to be printed, you expressly acknowledge your acceptance of > this EULA. > checking whether byte ordering is bigendian... no > checking if unaligned memory access works correctly... (blacklisted) no > checking for special C compiler options needed for large files... no > checking for _FILE_OFFSET_BITS value needed for large files... 64 > checking for gcc... (cached) gcc > checking whether we are using the GNU C compiler... (cached) yes > checking whether gcc accepts -g... (cached) yes > checking for gcc option to accept ISO C89... (cached) none needed > checking dependency style of gcc... (cached) gcc3 > checking whether gcc and cc understand -c and -o together... yes > checking dependency style of gcc... gcc3 > checking for perl... /usr/bin/perl > checking for bison... /usr/bin/bison > checking bison version 2.4.1 >= 1.875... yes > checking for flex... /usr/bin/flex > checking flex version 2.5.35 >= 2.5.31... yes > checking for valgrind... no > checking for gobject-introspection... no > checking whether to build gtk-doc documentation... no > checking for gtkdoc-check... no > configure: Looking for Python version >= 2.1 > checking for python... /usr/bin/python > checking for python2.2... no > checking for python2.1... no > checking for python2.0... no > checking for python2... /usr/bin/python2 > checking for python1.6... no > checking for python1.5... no > configure: WARNING: No suitable version of python found > checking whether to build plugin documentation... no (gtk-doc disabled or > not available) > checking for cos in -lm... yes > checking for ANSI C header files... (cached) yes > checking ucontext.h usability... yes > checking ucontext.h presence... yes > checking for ucontext.h... yes > checking sys/socket.h usability... yes > checking sys/socket.h presence... yes > checking for sys/socket.h... yes > checking sys/times.h usability... yes > checking sys/times.h presence... yes > checking for sys/times.h... yes > checking for unistd.h... (cached) yes > checking process.h usability... no > checking process.h presence... no > checking for process.h... no > checking sys/utsname.h usability... yes > checking sys/utsname.h presence... yes > checking for sys/utsname.h... yes > checking stdio_ext.h usability... yes > checking stdio_ext.h presence... yes > checking for stdio_ext.h... yes > checking pthread.h usability... yes > checking pthread.h presence... yes > checking for pthread.h... yes > checking valgrind/valgrind.h usability... no > checking valgrind/valgrind.h presence... no > checking for valgrind/valgrind.h... no > checking winsock2.h usability... no > checking winsock2.h presence... no > checking for winsock2.h... no > checking for __gmpz_init_set_d in -lgmp... no > checking for gsl_rng_uniform_int in -lgsl... no > checking for __uint128_t... no > checking to see if compiler understands -fno-common... yes > checking for sigaction... yes > checking for fork... yes > checking for _LARGEFILE_SOURCE value needed for large files... no > checking for ftello... yes > checking for fgetpos... yes > checking for fsetpos... yes > checking for poll... yes > checking for ppoll... yes > checking for pselect... yes > checking for stdlib.h... (cached) yes > checking for unistd.h... (cached) yes > checking for getpagesize... yes > checking for working mmap... yes > checking for clock_gettime... no > checking for clock_gettime in -lrt... yes > checking for posix timers... yes > checking for monotonic clock... yes > checking whether gcc implements __PRETTY_FUNCTION__... yes > checking whether gcc implements __FUNCTION__... yes > checking whether gcc implements __func__... yes > checking for register_printf_specifier... no > checking for register_printf_function... yes > checking for dladdr in -ldl... yes > checking for socket... yes > checking for gethostbyname... yes > checking for inet_aton... yes > checking for GLIB... no > no > configure: No package 'glib-2.0' found > No package 'gobject-2.0' found > No package 'gthread-2.0' found > No package 'gmodule-no-export-2.0' found > configure: error: This package requires GLib >= 2.16 to compile. > > Please help me to resolve this issue. > > > Thanks In Advance, > Tejas. > > ----- Original Message ----- > From: "Felipe Contreras" <fel...@gm...> > To: "Tejas Bhanabhagavanwala" <te...@or...> > Cc: "Nigel Hsiung" <ni...@ho...>; "gst mailing list" > <gst...@li...> > Sent: Thursday, October 15, 2009 1:06 AM > Subject: Re: [gst-embedded] New to gstreamer > > > On Wed, Oct 14, 2009 at 2:35 PM, Tejas Bhanabhagavanwala > <te...@or...> wrote: >> Hi Felipe, >> I have tried with scratchbox 1. SB1 has been installed >> successfully. But when i tried to configure glib2.16.2 with following >> command. >> >> [sbox-armv7: ~] > ./configure --prefix="$prefix" --disable-static >> --with-html-dir=/tmp/dump --host=arm-none-linux-gnueabi > > Why did you add the '--host' option? It's nowhere on any instructions. > > Read this carefully: scratchbox was created to forget about > cross-compilation; you don't need to specify the host, target, or > anything. > >> it gives following error.Please find log of configure command as >> followed. > > Of course it's failing because it thinks it's cross-compiling, so it's > not using scratchbox. > >> checking whether we are cross compiling... yes > > This question has nothing to do with GStreamer, you should ask it in > the scratchbox mailing list. > > Cheers. > > -- > Felipe Contreras > |
From: Tejas B. <te...@or...> - 2009-10-26 06:17:47
|
Hi Felipe, I am able to install glib-2.16.6 successfully at my $prefix path. I am following followed link to build and install gstreamer for embedded target. http://gstreamer.freedesktop.org/wiki/HowToCompileForEmbedded. For gstreamer i am giving following command . [root@Fedora gstreamer]# sb2 ./configure --prefix=/opt/gstreamer_beagle/ --disable-nls --disable-static --enable-binary-registry --disable-loadsave --with-html-dir=/tmp/dump But i am getting following error while configuring gstreamer-0.10.25. config.log is as followed. [root@Fedora gstreamer-0.10.25]# sb2 ./configure --prefix=/opt/gstreamer_beagle/ --disable-nls --disable-static --enable-binary-registry --disable-loadsave --with-html-dir=/tmp/dump configure: WARNING: unrecognized options: --enable-binary-registry checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking nano version... 0 (release) checking whether to enable maintainer-specific portions of Makefiles... no checking build system type... arm-unknown-linux-gnueabi checking host system type... arm-unknown-linux-gnueabi checking for style of include used by make... GNU checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking dependency style of gcc... gcc3 checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for fgrep... /bin/grep -F checking for ld used by gcc... /opt/arm-2008q3/arm-none-linux-gnueabi/bin/ld checking if the linker (/opt/arm-2008q3/arm-none-linux-gnueabi/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1966080 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /opt/arm-2008q3/arm-none-linux-gnueabi/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for ar... ar checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/opt/arm-2008q3/arm-none-linux-gnueabi/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... no checking for shl_load in -ldld... no checking for dlopen... no checking for dlopen in -ldl... yes checking whether a program can dlopen itself... yes checking whether a statically linked program can dlopen itself... no checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking whether NLS is requested... no checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/msgfmt checking for xgettext... /usr/bin/xgettext checking for msgmerge... /usr/bin/msgmerge checking for ld used by GCC... /opt/arm-2008q3/arm-none-linux-gnueabi/bin/ld checking if the linker (/opt/arm-2008q3/arm-none-linux-gnueabi/bin/ld) is GNU ld... yes checking for shared library run path origin... done checking for CFPreferencesCopyAppValue... no checking for CFLocaleCopyCurrent... no checking whether to use NLS... no configure: disabled subsystem pipeline XML load/save checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for VALGRIND... no no configure: Using GStreamer source release as package name configure: Using Unknown package origin as package origin configure: WARNING: Sissy ! By asking to not build the tests known to fail, you hereby waive your right to customer support. If you do not agree with this EULA, please press Ctrl-C before the next line is printed. By allowing the next line to be printed, you expressly acknowledge your acceptance of this EULA. checking whether byte ordering is bigendian... no checking if unaligned memory access works correctly... (blacklisted) no checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... 64 checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether gcc and cc understand -c and -o together... yes checking dependency style of gcc... gcc3 checking for perl... /usr/bin/perl checking for bison... /usr/bin/bison checking bison version 2.4.1 >= 1.875... yes checking for flex... /usr/bin/flex checking flex version 2.5.35 >= 2.5.31... yes checking for valgrind... no checking for gobject-introspection... no checking whether to build gtk-doc documentation... no checking for gtkdoc-check... no configure: Looking for Python version >= 2.1 checking for python... /usr/bin/python checking for python2.2... no checking for python2.1... no checking for python2.0... no checking for python2... /usr/bin/python2 checking for python1.6... no checking for python1.5... no configure: WARNING: No suitable version of python found checking whether to build plugin documentation... no (gtk-doc disabled or not available) checking for cos in -lm... yes checking for ANSI C header files... (cached) yes checking ucontext.h usability... yes checking ucontext.h presence... yes checking for ucontext.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking sys/times.h usability... yes checking sys/times.h presence... yes checking for sys/times.h... yes checking for unistd.h... (cached) yes checking process.h usability... no checking process.h presence... no checking for process.h... no checking sys/utsname.h usability... yes checking sys/utsname.h presence... yes checking for sys/utsname.h... yes checking stdio_ext.h usability... yes checking stdio_ext.h presence... yes checking for stdio_ext.h... yes checking pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes checking valgrind/valgrind.h usability... no checking valgrind/valgrind.h presence... no checking for valgrind/valgrind.h... no checking winsock2.h usability... no checking winsock2.h presence... no checking for winsock2.h... no checking for __gmpz_init_set_d in -lgmp... no checking for gsl_rng_uniform_int in -lgsl... no checking for __uint128_t... no checking to see if compiler understands -fno-common... yes checking for sigaction... yes checking for fork... yes checking for _LARGEFILE_SOURCE value needed for large files... no checking for ftello... yes checking for fgetpos... yes checking for fsetpos... yes checking for poll... yes checking for ppoll... yes checking for pselect... yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for getpagesize... yes checking for working mmap... yes checking for clock_gettime... no checking for clock_gettime in -lrt... yes checking for posix timers... yes checking for monotonic clock... yes checking whether gcc implements __PRETTY_FUNCTION__... yes checking whether gcc implements __FUNCTION__... yes checking whether gcc implements __func__... yes checking for register_printf_specifier... no checking for register_printf_function... yes checking for dladdr in -ldl... yes checking for socket... yes checking for gethostbyname... yes checking for inet_aton... yes checking for GLIB... no no configure: No package 'glib-2.0' found No package 'gobject-2.0' found No package 'gthread-2.0' found No package 'gmodule-no-export-2.0' found configure: error: This package requires GLib >= 2.16 to compile. Please help me to resolve this issue. Thanks In Advance, Tejas. ----- Original Message ----- From: "Felipe Contreras" <fel...@gm...> To: "Tejas Bhanabhagavanwala" <te...@or...> Cc: "Nigel Hsiung" <ni...@ho...>; "gst mailing list" <gst...@li...> Sent: Thursday, October 15, 2009 1:06 AM Subject: Re: [gst-embedded] New to gstreamer On Wed, Oct 14, 2009 at 2:35 PM, Tejas Bhanabhagavanwala <te...@or...> wrote: > Hi Felipe, > I have tried with scratchbox 1. SB1 has been installed > successfully. But when i tried to configure glib2.16.2 with following > command. > > [sbox-armv7: ~] > ./configure --prefix="$prefix" --disable-static > --with-html-dir=/tmp/dump --host=arm-none-linux-gnueabi Why did you add the '--host' option? It's nowhere on any instructions. Read this carefully: scratchbox was created to forget about cross-compilation; you don't need to specify the host, target, or anything. > it gives following error.Please find log of configure command as > followed. Of course it's failing because it thinks it's cross-compiling, so it's not using scratchbox. > checking whether we are cross compiling... yes This question has nothing to do with GStreamer, you should ask it in the scratchbox mailing list. Cheers. -- Felipe Contreras |
From: Tejas B. <te...@or...> - 2009-10-26 05:58:22
|
Hi Felipe, I am able to install glib-2.16.6 successfully at my $prefix path. I am following followed link to build and install gstreamer for embedded target. http://gstreamer.freedesktop.org/wiki/HowToCompileForEmbedded. For gstreamer i am giving following command . [root@Fedora gstreamer]# sb2 ./configure --prefix=/opt/gstreamer_beagle/ --disable-nls --disable-static --enable-binary-registry --disable-loadsave --with-html-dir=/tmp/dump But i am getting following error while configuring gstreamer-0.10.25. config.log is as followed. [root@Fedora gstreamer-0.10.25]# sb2 ./configure --prefix=/opt/gstreamer_beagle/ --disable-nls --disable-static --enable-binary-registry --disable-loadsave --with-html-dir=/tmp/dump configure: WARNING: unrecognized options: --enable-binary-registry checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking nano version... 0 (release) checking whether to enable maintainer-specific portions of Makefiles... no checking build system type... arm-unknown-linux-gnueabi checking host system type... arm-unknown-linux-gnueabi checking for style of include used by make... GNU checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking dependency style of gcc... gcc3 checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for fgrep... /bin/grep -F checking for ld used by gcc... /opt/arm-2008q3/arm-none-linux-gnueabi/bin/ld checking if the linker (/opt/arm-2008q3/arm-none-linux-gnueabi/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1966080 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /opt/arm-2008q3/arm-none-linux-gnueabi/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for ar... ar checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/opt/arm-2008q3/arm-none-linux-gnueabi/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... no checking for shl_load in -ldld... no checking for dlopen... no checking for dlopen in -ldl... yes checking whether a program can dlopen itself... yes checking whether a statically linked program can dlopen itself... no checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking whether NLS is requested... no checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/msgfmt checking for xgettext... /usr/bin/xgettext checking for msgmerge... /usr/bin/msgmerge checking for ld used by GCC... /opt/arm-2008q3/arm-none-linux-gnueabi/bin/ld checking if the linker (/opt/arm-2008q3/arm-none-linux-gnueabi/bin/ld) is GNU ld... yes checking for shared library run path origin... done checking for CFPreferencesCopyAppValue... no checking for CFLocaleCopyCurrent... no checking whether to use NLS... no configure: disabled subsystem pipeline XML load/save checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for VALGRIND... no no configure: Using GStreamer source release as package name configure: Using Unknown package origin as package origin configure: WARNING: Sissy ! By asking to not build the tests known to fail, you hereby waive your right to customer support. If you do not agree with this EULA, please press Ctrl-C before the next line is printed. By allowing the next line to be printed, you expressly acknowledge your acceptance of this EULA. checking whether byte ordering is bigendian... no checking if unaligned memory access works correctly... (blacklisted) no checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... 64 checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether gcc and cc understand -c and -o together... yes checking dependency style of gcc... gcc3 checking for perl... /usr/bin/perl checking for bison... /usr/bin/bison checking bison version 2.4.1 >= 1.875... yes checking for flex... /usr/bin/flex checking flex version 2.5.35 >= 2.5.31... yes checking for valgrind... no checking for gobject-introspection... no checking whether to build gtk-doc documentation... no checking for gtkdoc-check... no configure: Looking for Python version >= 2.1 checking for python... /usr/bin/python checking for python2.2... no checking for python2.1... no checking for python2.0... no checking for python2... /usr/bin/python2 checking for python1.6... no checking for python1.5... no configure: WARNING: No suitable version of python found checking whether to build plugin documentation... no (gtk-doc disabled or not available) checking for cos in -lm... yes checking for ANSI C header files... (cached) yes checking ucontext.h usability... yes checking ucontext.h presence... yes checking for ucontext.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking sys/times.h usability... yes checking sys/times.h presence... yes checking for sys/times.h... yes checking for unistd.h... (cached) yes checking process.h usability... no checking process.h presence... no checking for process.h... no checking sys/utsname.h usability... yes checking sys/utsname.h presence... yes checking for sys/utsname.h... yes checking stdio_ext.h usability... yes checking stdio_ext.h presence... yes checking for stdio_ext.h... yes checking pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes checking valgrind/valgrind.h usability... no checking valgrind/valgrind.h presence... no checking for valgrind/valgrind.h... no checking winsock2.h usability... no checking winsock2.h presence... no checking for winsock2.h... no checking for __gmpz_init_set_d in -lgmp... no checking for gsl_rng_uniform_int in -lgsl... no checking for __uint128_t... no checking to see if compiler understands -fno-common... yes checking for sigaction... yes checking for fork... yes checking for _LARGEFILE_SOURCE value needed for large files... no checking for ftello... yes checking for fgetpos... yes checking for fsetpos... yes checking for poll... yes checking for ppoll... yes checking for pselect... yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for getpagesize... yes checking for working mmap... yes checking for clock_gettime... no checking for clock_gettime in -lrt... yes checking for posix timers... yes checking for monotonic clock... yes checking whether gcc implements __PRETTY_FUNCTION__... yes checking whether gcc implements __FUNCTION__... yes checking whether gcc implements __func__... yes checking for register_printf_specifier... no checking for register_printf_function... yes checking for dladdr in -ldl... yes checking for socket... yes checking for gethostbyname... yes checking for inet_aton... yes checking for GLIB... no no configure: No package 'glib-2.0' found No package 'gobject-2.0' found No package 'gthread-2.0' found No package 'gmodule-no-export-2.0' found configure: error: This package requires GLib >= 2.16 to compile. Please help me to resolve this issue. Thanks In Advance, Tejas. ----- Original Message ----- From: "Felipe Contreras" <fel...@gm...> To: "Tejas Bhanabhagavanwala" <te...@or...> Cc: "Nigel Hsiung" <ni...@ho...>; "gst mailing list" <gst...@li...>; <scr...@sc...> Sent: Friday, October 16, 2009 4:32 PM Subject: Re: [gst-embedded] New to gstreamer On Fri, Oct 16, 2009 at 11:17 AM, Tejas Bhanabhagavanwala <te...@or...> wrote: > Hi Felipe, > This is really nice to have good guidance from your side. I will > explain you about my system side. > > I have Fedora 11 installed on my system. GCC version is 4.4.1. To install > sbox2 i am following commands as followed. > > > I have downloaded sbox2-2.0 and qemu-0.11.0.tar.gz. > > Both are resident in the following directory > > /tmp/sbox2/sbox2-2.0 > > from here i have given following commands > ./autogen.sh > make install prefix=/opt/sb2/ > > But my make fail and i have applied following patch and get success for > installing sbox2-2.0 <snip/> Right, there's a compilation problem on Fedora 11. That patch looks good, but just to be sure I would use these: http://lists.scratchbox.org/pipermail/scratchbox-devel/2009-September/000464.html > After that i have installed qemu by giving following commands. > > ./configure --prefix=/opt/qemu/ --target-list=arm-linux-user > make install > > i have added sb3 bin path to my PATH variable. > > My cross tool chain is installed at following path which is from > Codesourcery( Sourcery G++ Lite version) and > is installed at /opt/arm-2008q3/. > > These are my system set up. > > Now when i give following command to set up qemu for my cross tool chain > it > gives following error. > > [root@Fedora libc]# sb2-init -c /opt/qemu/bin/qemu-arm armv7 > /opt/arm-2008q3/bin/arm-none-linux-gnueabi-gcc > Info: Mapping mode not specified, using default (simple) > Using /opt/arm-2008q3/bin/arm-none-linux-gnueabi-gcc to detect target > architecture: > Finished writing sb2.gcc.config > gcc configured. > sb2-init: Target architecture is 'arm' > sb2-init: Host architecture is 'i[3456]86' > Finished writing sb2.config > sb2-init: configuring libtool for this target: > /opt/qemu/bin/qemu-arm: error while loading shared libraries: cannot > restore > segment prot after reloc: Permission denied > /opt/qemu/bin/qemu-arm: error while loading shared libraries: cannot > restore > segment prot after reloc: Permission denied > /opt/qemu/bin/qemu-arm: error while loading shared libraries: cannot > restore > segment prot after reloc: Permission denied Hmm, I haven't seen that before but it seems to be a problem with SELinux. Have you tried disabling it? But again, all these problems are in scratchbox, not GStreamer, so I'm moving the discussion there. Cheers. -- Felipe Contreras |
From: Rajesh M. <rma...@i-...> - 2009-10-23 04:42:48
|
Hi Thiago, Yes, I did notice this problem and I have corrected the same. Presently, I am creating two different pipelines (with different elements) in it. I try to pause stream1 and this works. But I cannot play the second stream for some reason. I have attached the code along with this email. Actually, this time around, on pausing the first stream and playing the second stream I get an error like "Cannot play stream 16", and this I see, comes from Freescale codec plugin. Any clue as to why this is happening ? regards Rajesh Marathe. On 10/22/2009 05:52 PM, thi...@gm... wrote: > > > On Tue, Oct 20, 2009 at 9:21 AM, Rajesh Marathe <rma...@i-... > <mailto:rma...@i-...>> wrote: > > Hi, > > I am new to gstreamer and started working on it very recently. While I > am studying, I wrote a program to play two streams alternately using > gstreamer. Details below: > > Development environment: > ------------------------------------- > > LTIB and iMX27ADS board. Host PC has Redhat EL5.0. > > Problem description: > ----------------------------- > > I have two MP4 files. My intention is to play the first file for a few > seconds and pause the same and play the second file fully. After > getting > End-of-Steam message for second file, resume and complete the first > file. My program looks like this: > > int > main (int argc, > char *argv[]) > { > GMainLoop *loop; > GstStateChangeReturn retval; > > > /* Initialisation */ > gst_init (&argc, &argv); > > loop = g_main_loop_new (NULL, FALSE); > > /* Create gstreamer elements */ > masterpipe = GstCreatePipelineMaster ("master-player", argv[1]); > slavepipe = GstCreatePipelineSlave ("slave-player", argv[2]); > > retval = gst_element_set_state (slavepipe, GST_STATE_PAUSED); > > retval = gst_element_set_state (masterpipe, GST_STATE_PLAYING); > > g_timeout_add (4000, (GSourceFunc) cb_print_position, masterpipe); > g_main_loop_run (loop); > ... > ... > } > > static GstElement * GstCreatePipelineMaster (char *name, char *file) > { > > GstElement *pipeline; > > /* Create gstreamer elements */ > pipeline = gst_pipeline_new (name); > source = gst_element_factory_make ("filesrc","file-source"); > demuxer = gst_element_factory_make > ("mfw_mp4demuxer","avi-demuxer"); > decvd = gst_element_factory_make ("mfw_vpudecoder", > "video-decoder"); > decad = gst_element_factory_make ("mad", "mp3-decoder"); > vdsink = gst_element_factory_make ("mfw_v4lsink", > "video-sink"); > vdqueue = gst_element_factory_make ("queue", > "video-queue"); > adqueue = gst_element_factory_make ("queue", > "audio-queue"); > adsink = gst_element_factory_make ("fakesink", > "audio-sink"); > > g_object_set (decvd, "codec-type", "std_mpeg4", NULL); > if (!pipeline || !source || !demuxer || !decvd || !decad || !vdsink > || !vdqueue || !adqueue || !adsink) { > return NULL; > } > > /* Set up the pipeline */ > > /* we set the input filename to the source element */ > g_object_set (G_OBJECT (source), "location", file, NULL); > > > /* we add all elements into the pipeline */ > /* file-source | ogg-demuxer | vorbis-decoder | converter | > alsa-output */ > gst_bin_add_many (GST_BIN (pipeline), > source, demuxer, decvd, decad,/* adqueue, > vdqueue,*/ vdsink, adsink, NULL); > > /* we link the elements together */ > /* file-source -> ogg-demuxer ~> vorbis-decoder -> converter -> > alsa-output */ > gst_element_link (source, demuxer); > gst_element_link (decvd, vdsink); > // gst_element_link (vdqueue, vdsink); > // gst_element_link (decad, adqueue); > // gst_element_link (adqueue, adsink); > gst_element_link (decad, adsink); > > g_signal_connect (demuxer, "pad-added", G_CALLBACK > (on_pad_added), NULL); > > return pipeline; > } > > static GstElement * GstCreatePipelineSlave (char *name, char *file) > { > > GstElement *pipeline; > > /* Create gstreamer elements */ > pipeline = gst_pipeline_new (name); > > /* Set up the pipeline */ > > /* we set the input filename to the source element */ > g_object_set (G_OBJECT (source), "location", file, NULL); > > > /* we add all elements into the pipeline */ > /* file-source | ogg-demuxer | vorbis-decoder | converter | > alsa-output */ > gst_bin_add_many (GST_BIN (pipeline), > source, demuxer, decvd, decad,/* adqueue, > vdqueue,*/ vdsink, adsink, NULL); > > return pipeline; > > } > > > Please note above, that I am creating two pipelines Master and > slave and > adding same elements to the master adn slave 'bin's. Is this okay > to do ? > > The elements can only have a single parent bin, it can't be inside two > bins at the same time. > You would probably notice the problem by checking the result of > gst_bin_add* > > > I do see the master playing and after few seconds the timer > function is > called in which I move the master to 'PAUSE' state and slave to > 'PLAYING'. But the slave media does not play at all?? > > Can anybody let me know what is wrong above ? > > regards, > Rajesh Marathe. > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry(R) Developer Conference in SF, CA > is the only developer event you need to attend this year. > Jumpstart your > developing skills, take BlackBerry mobile applications to market > and stay > ahead of the curve. Join us from November 9 - 12, 2009. Register now! > http://p.sf.net/sfu/devconference > _______________________________________________ > Gstreamer-embedded mailing list > Gst...@li... > <mailto:Gst...@li...> > https://lists.sourceforge.net/lists/listinfo/gstreamer-embedded > > > > > -- > Thiago Sousa Santos |
From: alex z <cel...@gm...> - 2009-10-23 02:44:37
|
Hi All, On my ARM based board, I would like to use gstreamer to playback some online videos like, http://192.168.1.1/a.mp4, how can I do that? Thanks so much! Alex |
From: <thi...@gm...> - 2009-10-22 14:33:23
|
On Tue, Oct 20, 2009 at 9:21 AM, Rajesh Marathe <rma...@i-...> wrote: > Hi, > > I am new to gstreamer and started working on it very recently. While I > am studying, I wrote a program to play two streams alternately using > gstreamer. Details below: > > Development environment: > ------------------------------------- > > LTIB and iMX27ADS board. Host PC has Redhat EL5.0. > > Problem description: > ----------------------------- > > I have two MP4 files. My intention is to play the first file for a few > seconds and pause the same and play the second file fully. After getting > End-of-Steam message for second file, resume and complete the first > file. My program looks like this: > > int > main (int argc, > char *argv[]) > { > GMainLoop *loop; > GstStateChangeReturn retval; > > > /* Initialisation */ > gst_init (&argc, &argv); > > loop = g_main_loop_new (NULL, FALSE); > > /* Create gstreamer elements */ > masterpipe = GstCreatePipelineMaster ("master-player", argv[1]); > slavepipe = GstCreatePipelineSlave ("slave-player", argv[2]); > > retval = gst_element_set_state (slavepipe, GST_STATE_PAUSED); > > retval = gst_element_set_state (masterpipe, GST_STATE_PLAYING); > > g_timeout_add (4000, (GSourceFunc) cb_print_position, masterpipe); > g_main_loop_run (loop); > ... > ... > } > > static GstElement * GstCreatePipelineMaster (char *name, char *file) > { > > GstElement *pipeline; > > /* Create gstreamer elements */ > pipeline = gst_pipeline_new (name); > source = gst_element_factory_make ("filesrc","file-source"); > demuxer = gst_element_factory_make > ("mfw_mp4demuxer","avi-demuxer"); > decvd = gst_element_factory_make ("mfw_vpudecoder", > "video-decoder"); > decad = gst_element_factory_make ("mad", "mp3-decoder"); > vdsink = gst_element_factory_make ("mfw_v4lsink", > "video-sink"); > vdqueue = gst_element_factory_make ("queue", > "video-queue"); > adqueue = gst_element_factory_make ("queue", > "audio-queue"); > adsink = gst_element_factory_make ("fakesink", > "audio-sink"); > > g_object_set (decvd, "codec-type", "std_mpeg4", NULL); > if (!pipeline || !source || !demuxer || !decvd || !decad || !vdsink > || !vdqueue || !adqueue || !adsink) { > return NULL; > } > > /* Set up the pipeline */ > > /* we set the input filename to the source element */ > g_object_set (G_OBJECT (source), "location", file, NULL); > > > /* we add all elements into the pipeline */ > /* file-source | ogg-demuxer | vorbis-decoder | converter | > alsa-output */ > gst_bin_add_many (GST_BIN (pipeline), > source, demuxer, decvd, decad,/* adqueue, > vdqueue,*/ vdsink, adsink, NULL); > > /* we link the elements together */ > /* file-source -> ogg-demuxer ~> vorbis-decoder -> converter -> > alsa-output */ > gst_element_link (source, demuxer); > gst_element_link (decvd, vdsink); > // gst_element_link (vdqueue, vdsink); > // gst_element_link (decad, adqueue); > // gst_element_link (adqueue, adsink); > gst_element_link (decad, adsink); > > g_signal_connect (demuxer, "pad-added", G_CALLBACK (on_pad_added), NULL); > > return pipeline; > } > > static GstElement * GstCreatePipelineSlave (char *name, char *file) > { > > GstElement *pipeline; > > /* Create gstreamer elements */ > pipeline = gst_pipeline_new (name); > > /* Set up the pipeline */ > > /* we set the input filename to the source element */ > g_object_set (G_OBJECT (source), "location", file, NULL); > > > /* we add all elements into the pipeline */ > /* file-source | ogg-demuxer | vorbis-decoder | converter | > alsa-output */ > gst_bin_add_many (GST_BIN (pipeline), > source, demuxer, decvd, decad,/* adqueue, > vdqueue,*/ vdsink, adsink, NULL); > > return pipeline; > > } > > > Please note above, that I am creating two pipelines Master and slave and > adding same elements to the master adn slave 'bin's. Is this okay to do ? > The elements can only have a single parent bin, it can't be inside two bins at the same time. You would probably notice the problem by checking the result of gst_bin_add* > I do see the master playing and after few seconds the timer function is > called in which I move the master to 'PAUSE' state and slave to > 'PLAYING'. But the slave media does not play at all?? > > Can anybody let me know what is wrong above ? > > regards, > Rajesh Marathe. > > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry(R) Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9 - 12, 2009. Register now! > http://p.sf.net/sfu/devconference > _______________________________________________ > Gstreamer-embedded mailing list > Gst...@li... > https://lists.sourceforge.net/lists/listinfo/gstreamer-embedded > -- Thiago Sousa Santos |
From: Rajesh M. <rma...@i-...> - 2009-10-20 13:17:56
|
Hi, I am new to gstreamer and started working on it very recently. While I am studying, I wrote a program to play two streams alternately using gstreamer. Details below: Development environment: ------------------------------------- LTIB and iMX27ADS board. Host PC has Redhat EL5.0. Problem description: ----------------------------- I have two MP4 files. My intention is to play the first file for a few seconds and pause the same and play the second file fully. After getting End-of-Steam message for second file, resume and complete the first file. My program looks like this: int main (int argc, char *argv[]) { GMainLoop *loop; GstStateChangeReturn retval; /* Initialisation */ gst_init (&argc, &argv); loop = g_main_loop_new (NULL, FALSE); /* Create gstreamer elements */ masterpipe = GstCreatePipelineMaster ("master-player", argv[1]); slavepipe = GstCreatePipelineSlave ("slave-player", argv[2]); retval = gst_element_set_state (slavepipe, GST_STATE_PAUSED); retval = gst_element_set_state (masterpipe, GST_STATE_PLAYING); g_timeout_add (4000, (GSourceFunc) cb_print_position, masterpipe); g_main_loop_run (loop); ... ... } static GstElement * GstCreatePipelineMaster (char *name, char *file) { GstElement *pipeline; /* Create gstreamer elements */ pipeline = gst_pipeline_new (name); source = gst_element_factory_make ("filesrc","file-source"); demuxer = gst_element_factory_make ("mfw_mp4demuxer","avi-demuxer"); decvd = gst_element_factory_make ("mfw_vpudecoder", "video-decoder"); decad = gst_element_factory_make ("mad", "mp3-decoder"); vdsink = gst_element_factory_make ("mfw_v4lsink", "video-sink"); vdqueue = gst_element_factory_make ("queue", "video-queue"); adqueue = gst_element_factory_make ("queue", "audio-queue"); adsink = gst_element_factory_make ("fakesink", "audio-sink"); g_object_set (decvd, "codec-type", "std_mpeg4", NULL); if (!pipeline || !source || !demuxer || !decvd || !decad || !vdsink || !vdqueue || !adqueue || !adsink) { return NULL; } /* Set up the pipeline */ /* we set the input filename to the source element */ g_object_set (G_OBJECT (source), "location", file, NULL); /* we add all elements into the pipeline */ /* file-source | ogg-demuxer | vorbis-decoder | converter | alsa-output */ gst_bin_add_many (GST_BIN (pipeline), source, demuxer, decvd, decad,/* adqueue, vdqueue,*/ vdsink, adsink, NULL); /* we link the elements together */ /* file-source -> ogg-demuxer ~> vorbis-decoder -> converter -> alsa-output */ gst_element_link (source, demuxer); gst_element_link (decvd, vdsink); // gst_element_link (vdqueue, vdsink); // gst_element_link (decad, adqueue); // gst_element_link (adqueue, adsink); gst_element_link (decad, adsink); g_signal_connect (demuxer, "pad-added", G_CALLBACK (on_pad_added), NULL); return pipeline; } static GstElement * GstCreatePipelineSlave (char *name, char *file) { GstElement *pipeline; /* Create gstreamer elements */ pipeline = gst_pipeline_new (name); /* Set up the pipeline */ /* we set the input filename to the source element */ g_object_set (G_OBJECT (source), "location", file, NULL); /* we add all elements into the pipeline */ /* file-source | ogg-demuxer | vorbis-decoder | converter | alsa-output */ gst_bin_add_many (GST_BIN (pipeline), source, demuxer, decvd, decad,/* adqueue, vdqueue,*/ vdsink, adsink, NULL); return pipeline; } Please note above, that I am creating two pipelines Master and slave and adding same elements to the master adn slave 'bin's. Is this okay to do ? I do see the master playing and after few seconds the timer function is called in which I move the master to 'PAUSE' state and slave to 'PLAYING'. But the slave media does not play at all?? Can anybody let me know what is wrong above ? regards, Rajesh Marathe. |
From: Felipe C. <fel...@gm...> - 2009-10-16 11:02:53
|
On Fri, Oct 16, 2009 at 11:17 AM, Tejas Bhanabhagavanwala <te...@or...> wrote: > Hi Felipe, > This is really nice to have good guidance from your side. I will > explain you about my system side. > > I have Fedora 11 installed on my system. GCC version is 4.4.1. To install > sbox2 i am following commands as followed. > > > I have downloaded sbox2-2.0 and qemu-0.11.0.tar.gz. > > Both are resident in the following directory > > /tmp/sbox2/sbox2-2.0 > > from here i have given following commands > ./autogen.sh > make install prefix=/opt/sb2/ > > But my make fail and i have applied following patch and get success for > installing sbox2-2.0 <snip/> Right, there's a compilation problem on Fedora 11. That patch looks good, but just to be sure I would use these: http://lists.scratchbox.org/pipermail/scratchbox-devel/2009-September/000464.html > After that i have installed qemu by giving following commands. > > ./configure --prefix=/opt/qemu/ --target-list=arm-linux-user > make install > > i have added sb3 bin path to my PATH variable. > > My cross tool chain is installed at following path which is from > Codesourcery( Sourcery G++ Lite version) and > is installed at /opt/arm-2008q3/. > > These are my system set up. > > Now when i give following command to set up qemu for my cross tool chain it > gives following error. > > [root@Fedora libc]# sb2-init -c /opt/qemu/bin/qemu-arm armv7 > /opt/arm-2008q3/bin/arm-none-linux-gnueabi-gcc > Info: Mapping mode not specified, using default (simple) > Using /opt/arm-2008q3/bin/arm-none-linux-gnueabi-gcc to detect target > architecture: > Finished writing sb2.gcc.config > gcc configured. > sb2-init: Target architecture is 'arm' > sb2-init: Host architecture is 'i[3456]86' > Finished writing sb2.config > sb2-init: configuring libtool for this target: > /opt/qemu/bin/qemu-arm: error while loading shared libraries: cannot restore > segment prot after reloc: Permission denied > /opt/qemu/bin/qemu-arm: error while loading shared libraries: cannot restore > segment prot after reloc: Permission denied > /opt/qemu/bin/qemu-arm: error while loading shared libraries: cannot restore > segment prot after reloc: Permission denied Hmm, I haven't seen that before but it seems to be a problem with SELinux. Have you tried disabling it? But again, all these problems are in scratchbox, not GStreamer, so I'm moving the discussion there. Cheers. -- Felipe Contreras |
From: Tejas B. <te...@or...> - 2009-10-16 08:18:10
|
Hi Felipe, This is really nice to have good guidance from your side. I will explain you about my system side. I have Fedora 11 installed on my system. GCC version is 4.4.1. To install sbox2 i am following commands as followed. I have downloaded sbox2-2.0 and qemu-0.11.0.tar.gz. Both are resident in the following directory /tmp/sbox2/sbox2-2.0 from here i have given following commands ./autogen.sh make install prefix=/opt/sb2/ But my make fail and i have applied following patch and get success for installing sbox2-2.0 --- include/config_hardcoded.h Thu Apr 02 02:06:14 2009 +++ include/config_hardcoded.h Thu Oct 15 19:06:34 2009 @@ -1,22 +1,21 @@ - -/* Define to the type of arg 1 for `readlink'. */ -#define READLINK_TYPE_ARG1 const char *path - -/* Define to the type of arg 2 for `readlink'. */ -#define READLINK_TYPE_ARG2 char *buf - -/* Define to the type of arg 3 for `readlink'. */ -#define READLINK_TYPE_ARG3 size_t bufsiz - -/* Define to the type of arg 1 for `scandir'. */ -#define SCANDIR_TYPE_ARG1 const char *dir - -/* Define to the type of arg 2 for `scandir'. */ -#define SCANDIR_TYPE_ARG2 struct dirent ***namelist - -/* Define to the type of arg 3 for `scandir'. */ -#define SCANDIR_TYPE_ARG3 int(*filter)(const struct dirent *) - -/* Define to the type of arg 4 for `scandir'. */ -#define SCANDIR_TYPE_ARG4 int(*compar)(const void *,const void *) - + +/* Define to the type of arg 1 for `readlink'. */ +#define READLINK_TYPE_ARG1 const char *path + +/* Define to the type of arg 2 for `readlink'. */ +#define READLINK_TYPE_ARG2 char *buf + +/* Define to the type of arg 3 for `readlink'. */ +#define READLINK_TYPE_ARG3 size_t bufsiz + +/* Define to the type of arg 1 for `scandir'. */ +#define SCANDIR_TYPE_ARG1 const char *dir + +/* Define to the type of arg 2 for `scandir'. */ +#define SCANDIR_TYPE_ARG2 struct dirent ***namelist + +/* Define to the type of arg 3 for `scandir'. */ +#define SCANDIR_TYPE_ARG3 int(*filter)(const struct dirent *) + +/* Define to the type of arg 4 for `scandir'. */ +#define SCANDIR_TYPE_ARG4 int(*compar)( (__const struct dirent **, __const struct dirent **) ) --- preload/generate.py Thu Apr 02 02:06:14 2009 +++ preload/generate.py Thu Oct 15 19:03:24 2009 @@ -164,8 +164,8 @@ W('int rename(const char *oldpath, const char *newpath)', b_map("oldpath"), b_map("newpath")) W('int revoke(const char *file)', b_map("file")) W('int rmdir(const char *pathname)', b_map("pathname")) -W('int scandir(const char *dir, struct dirent ***namelist, SCANDIR_TYPE_ARG3, int(*compar)(const void *, const void *))', b_map("dir"), argnames=['dir','namelist','filter','compar']) -W('int scandir64(const char *dir, struct dirent64 ***namelist, int(*filter)(const struct dirent64 *), int(*compar)(const void *, const void *))', b_map("dir"),argnames=['dir','namelist','filter','compar']) +W('int scandir(const char *dir, struct dirent ***namelist,SCANDIR_TYPE_ARG3 , SCANDIR_TYPE_ARG4)', b_map("dir"), argnames=['dir','namelist','filter','compar']) +W('int scandir64(const char *dir, struct dirent64 ***namelist, SCANDIR_TYPE_ARG3,SCANDIR_TYPE_ARG4)', b_map("dir"),argnames=['dir','namelist','filter','compar']) W('int setxattr(const char *path, const char *name, const void *value, size_t size, int flags)', b_map("path")) W('int stat(const char *file_name, struct stat *buf)', b_map("file_name")) W('int stat64(const char *file_name, struct stat64 *buf)', b_map("file_name")) --- preload/interface.master Thu Apr 02 02:06:14 2009 +++ preload/interface.master Thu Oct 15 19:26:21 2009 @@ -407,8 +407,8 @@ #ifdef HAVE_SCANDIR #ifdef HAVE_LINUX_SCANDIR WRAP: int scandir(const char *dir, struct dirent ***namelist, \ - SCANDIR_TYPE_ARG3, int(*compar)(const void *, const void *)) : \ - map(dir) hardcode_param(3,filter) + int(*filter)(const struct dirent *), int(*compar)(const struct dirent **, const struct dirent **)) : \ + map(dir) #endif #ifdef HAVE_OSX_SCANDIR WRAP: int scandir(const char *dirname, struct dirent ***namelist, int (*select)(struct dirent *), int (*compar)(const void *, const void *)): map(dirname) @@ -417,7 +417,7 @@ #ifdef HAVE_SCANDIR64 WRAP: int scandir64(const char *dir, struct dirent64 ***namelist, \ int(*filter)(const struct dirent64 *), \ - int(*compar)(const void *, const void *)) : \ + int(*compar)(const struct dirent64 **, const struct dirent64 **)) : \ map(dir) #endif #ifdef HAVE_SETXATTR After that i have installed qemu by giving following commands. ./configure --prefix=/opt/qemu/ --target-list=arm-linux-user make install i have added sb3 bin path to my PATH variable. My cross tool chain is installed at following path which is from Codesourcery( Sourcery G++ Lite version) and is installed at /opt/arm-2008q3/. These are my system set up. Now when i give following command to set up qemu for my cross tool chain it gives following error. [root@Fedora libc]# sb2-init -c /opt/qemu/bin/qemu-arm armv7 /opt/arm-2008q3/bin/arm-none-linux-gnueabi-gcc Info: Mapping mode not specified, using default (simple) Using /opt/arm-2008q3/bin/arm-none-linux-gnueabi-gcc to detect target architecture: Finished writing sb2.gcc.config gcc configured. sb2-init: Target architecture is 'arm' sb2-init: Host architecture is 'i[3456]86' Finished writing sb2.config sb2-init: configuring libtool for this target: /opt/qemu/bin/qemu-arm: error while loading shared libraries: cannot restore segment prot after reloc: Permission denied /opt/qemu/bin/qemu-arm: error while loading shared libraries: cannot restore segment prot after reloc: Permission denied /opt/qemu/bin/qemu-arm: error while loading shared libraries: cannot restore segment prot after reloc: Permission denied checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... configure: error: cannot run C compiled programs. If you meant to cross compile, use `--host'. See `config.log' for more details. Running /opt/sb2/bin/sb2-build-libtool failed You can run this manually later, otherwise your sb2 environment is correctly setup and ready to use After this when i configure glib by appluing following command, i can not configure it and it gives following error. [root@Fedora libc]# cd /tmp/gstreamer/glib-2.16.6 [root@Fedora glib-2.16.6]# sb2 ./configure --prefix=/opt/gstreamer_beagle/ --disable-static --with-html-dir=/tmp/dump /opt/qemu/bin/qemu-arm: error while loading shared libraries: cannot restore segment prot after reloc: Permission denied /opt/qemu/bin/qemu-arm: error while loading shared libraries: cannot restore segment prot after reloc: Permission denied /opt/qemu/bin/qemu-arm: error while loading shared libraries: cannot restore segment prot after reloc: Permission denied checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no checking build system type... arm-unknown-linux-gnueabi checking host system type... arm-unknown-linux-gnueabi checking for the BeOS... no checking for Win32... no checking for Mac OS X Carbon support... checking for style of include used by make... GNU checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... configure: error: cannot run C compiled programs. If you meant to cross compile, use `--host'. See `config.log' for more details. Please guide me in this situation. Thanks in Advance, Tejas. ----- Original Message ----- From: "Felipe Contreras" <fel...@gm...> To: "Tejas Bhanabhagavanwala" <te...@or...> Cc: "Nigel Hsiung" <ni...@ho...>; "gst mailing list" <gst...@li...> Sent: Thursday, October 15, 2009 1:06 AM Subject: Re: [gst-embedded] New to gstreamer On Wed, Oct 14, 2009 at 2:35 PM, Tejas Bhanabhagavanwala <te...@or...> wrote: > Hi Felipe, > I have tried with scratchbox 1. SB1 has been installed > successfully. But when i tried to configure glib2.16.2 with following > command. > > [sbox-armv7: ~] > ./configure --prefix="$prefix" --disable-static > --with-html-dir=/tmp/dump --host=arm-none-linux-gnueabi Why did you add the '--host' option? It's nowhere on any instructions. Read this carefully: scratchbox was created to forget about cross-compilation; you don't need to specify the host, target, or anything. > it gives following error.Please find log of configure command as > followed. Of course it's failing because it thinks it's cross-compiling, so it's not using scratchbox. > checking whether we are cross compiling... yes This question has nothing to do with GStreamer, you should ask it in the scratchbox mailing list. Cheers. -- Felipe Contreras |
From: Felipe C. <fel...@gm...> - 2009-10-14 19:37:09
|
On Wed, Oct 14, 2009 at 2:35 PM, Tejas Bhanabhagavanwala <te...@or...> wrote: > Hi Felipe, > I have tried with scratchbox 1. SB1 has been installed > successfully. But when i tried to configure glib2.16.2 with following > command. > > [sbox-armv7: ~] > ./configure --prefix="$prefix" --disable-static > --with-html-dir=/tmp/dump --host=arm-none-linux-gnueabi Why did you add the '--host' option? It's nowhere on any instructions. Read this carefully: scratchbox was created to forget about cross-compilation; you don't need to specify the host, target, or anything. > it gives following error.Please find log of configure command as > followed. Of course it's failing because it thinks it's cross-compiling, so it's not using scratchbox. > checking whether we are cross compiling... yes This question has nothing to do with GStreamer, you should ask it in the scratchbox mailing list. Cheers. -- Felipe Contreras |
From: Tejas B. <te...@or...> - 2009-10-14 16:20:16
|
Hi Felipe, I have tried with scratchbox 1. SB1 has been installed successfully. But when i tried to configure glib2.16.2 with following command. [sbox-armv7: ~] > ./configure --prefix="$prefix" --disable-static --with-html-dir=/tmp/dump --host=arm-none-linux-gnueabi it gives following error.Please find log of configure command as followed. checking for a BSD-compatible install... /scratchbox/tools/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /scratchbox/tools/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for arm-none-linux-gnueabi-strip... no checking for strip... strip checking whether to enable maintainer-specific portions of Makefiles... no checking build system type... arm-unknown-linux-gnueabi checking host system type... arm-none-linux-gnueabi checking for the BeOS... no checking for Win32... no checking for Mac OS X Carbon support... checking for style of include used by make... GNU checking for arm-none-linux-gnueabi-gcc... no checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... yes checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking dependency style of gcc... gcc3 checking how to run the C preprocessor... gcc -E no checking whether to enable garbage collector friendliness... no checking whether to disable memory pools... no checking for arm-none-linux-gnueabi-gcc... gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking for c++... c++ checking whether we are using the GNU C++ compiler... yes checking whether c++ accepts -g... yes checking dependency style of c++... gcc3 checking for arm-none-linux-gnueabi-gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether gcc and cc understand -c and -o together... yes checking for a BSD-compatible install... /scratchbox/tools/bin/install -c checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... 64 checking for pkg-config... /scratchbox/tools/bin/pkg-config checking for gawk... (cached) gawk checking for perl5... no checking for perl... perl checking for indent... no checking for perl... /scratchbox/tools/bin/perl checking for a Python interpreter with version >= 2.4... none checking for iconv_open... yes checking for grep that handles long lines and -e... /scratchbox/tools/bin/grep checking for egrep... /scratchbox/tools/bin/grep -E checking whether we are using the GNU C Library 2.1 or newer... yes checking Whether to cache iconv descriptors... no checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking for LC_MESSAGES... yes checking libintl.h usability... yes checking libintl.h presence... yes checking for libintl.h... yes checking for ngettext in libc... yes checking for dgettext in libc... yes checking for bind_textdomain_codeset... yes checking for msgfmt... /scratchbox/tools/bin/msgfmt checking for dcgettext... yes checking if msgfmt accepts -c... yes checking for gmsgfmt... /scratchbox/tools/bin/msgfmt checking for xgettext... /scratchbox/tools/bin/xgettext checking for catalogs to be installed... am ar as az be be@latin bg bn bn_IN bs ca cs cy da de dz el en_CA en_GB eo es et eu fa fi fr ga gl gu he hi hr hu hy id is it ja ka kn ko ku lt lv mg mk ml mn mr ms nb ne nl nn oc or pa pl pt pt_BR ro ru rw si sk sl sq sr sr@Latn sr@ije sv ta te th tl tr tt uk vi wa xh yi zh_CN zh_HK zh_TW checking for a sed that does not truncate output... /scratchbox/tools/bin/sed checking for ld used by gcc... /scratchbox/compilers/cs2007q3-glibc2.5-arm7/arm-none-linux-gnueabi/bin/ld checking if the linker (/scratchbox/compilers/cs2007q3-glibc2.5-arm7/arm-none-linux-gnueabi/bin/ld) is GNU ld... yes checking for /scratchbox/compilers/cs2007q3-glibc2.5-arm7/arm-none-linux-gnueabi/bin/ld option to reload object files... -r checking for BSD-compatible nm... nm checking whether ln -s works... yes checking how to recognize dependent libraries... pass_all checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking how to run the C++ preprocessor... c++ -E checking for arm-none-linux-gnueabi-g77... no checking for arm-none-linux-gnueabi-xlf... no checking for arm-none-linux-gnueabi-f77... no checking for arm-none-linux-gnueabi-frt... no checking for arm-none-linux-gnueabi-pgf77... no checking for arm-none-linux-gnueabi-cf77... no checking for arm-none-linux-gnueabi-fort77... no checking for arm-none-linux-gnueabi-fl32... no checking for arm-none-linux-gnueabi-af77... no checking for arm-none-linux-gnueabi-xlf90... no checking for arm-none-linux-gnueabi-f90... no checking for arm-none-linux-gnueabi-pgf90... no checking for arm-none-linux-gnueabi-pghpf... no checking for arm-none-linux-gnueabi-epcf90... no checking for arm-none-linux-gnueabi-gfortran... no checking for arm-none-linux-gnueabi-g95... no checking for arm-none-linux-gnueabi-xlf95... no checking for arm-none-linux-gnueabi-f95... no checking for arm-none-linux-gnueabi-fort... no checking for arm-none-linux-gnueabi-ifort... no checking for arm-none-linux-gnueabi-ifc... no checking for arm-none-linux-gnueabi-efc... no checking for arm-none-linux-gnueabi-pgf95... no checking for arm-none-linux-gnueabi-lf95... no checking for arm-none-linux-gnueabi-ftn... no checking for g77... no checking for xlf... no checking for f77... no checking for frt... no checking for pgf77... no checking for cf77... no checking for fort77... no checking for fl32... no checking for af77... no checking for xlf90... no checking for f90... no checking for pgf90... no checking for pghpf... no checking for epcf90... no checking for gfortran... no checking for g95... no checking for xlf95... no checking for f95... no checking for fort... no checking for ifort... no checking for ifc... no checking for efc... no checking for pgf95... no checking for lf95... no checking for ftn... no checking whether we are using the GNU Fortran 77 compiler... no checking whether accepts -g... no checking the maximum length of command line arguments... 32768 checking command to parse nm output from gcc object... ok checking for objdir... .libs checking for arm-none-linux-gnueabi-ar... no checking for ar... ar configure: WARNING: In the future, Autoconf will not detect cross-tools whose name does not start with the host triplet. If you think this configuration is useful to you, please write to aut...@gn.... checking for arm-none-linux-gnueabi-ranlib... no checking for ranlib... ranlib checking for arm-none-linux-gnueabi-strip... strip checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking whether the gcc linker (/scratchbox/compilers/cs2007q3-glibc2.5-arm7/arm-none-linux-gnueabi/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no configure: creating libtool appending configuration tag "CXX" to libtool checking for ld used by c++... /scratchbox/compilers/cs2007q3-glibc2.5-arm7/arm-none-linux-gnueabi/bin/ld checking if the linker (/scratchbox/compilers/cs2007q3-glibc2.5-arm7/arm-none-linux-gnueabi/bin/ld) is GNU ld... yes checking whether the c++ linker (/scratchbox/compilers/cs2007q3-glibc2.5-arm7/arm-none-linux-gnueabi/bin/ld) supports shared libraries... yes checking for c++ option to produce PIC... -fPIC checking if c++ PIC flag -fPIC works... yes checking if c++ static flag -static works... yes checking if c++ supports -c -o file.o... yes checking whether the c++ linker (/scratchbox/compilers/cs2007q3-glibc2.5-arm7/arm-none-linux-gnueabi/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so (cached) (cached) checking how to hardcode library paths into programs... immediate appending configuration tag "F77" to libtool checking for extra flags for POSIX compliance... none needed checking for ANSI C header files... (cached) yes checking for vprintf... yes checking for _doprnt... no checking for working alloca.h... yes checking for alloca... yes checking for mmap... yes checking for posix_memalign... yes checking for memalign... yes checking for valloc... yes checking for atexit... yes checking for on_exit... yes checking for timegm... yes checking for gmtime_r... yes checking size of char... 1 checking size of short... 2 checking size of long... 4 checking size of int... 4 checking size of void *... 4 checking size of long long... 8 checking size of __int64... 0 checking for format to printf and scanf a guint64... none checking for an ANSI C-conforming const... yes checking if malloc() and friends prototypes are gmem.h compatible... yes checking for growing stack pointer... configure: error: cannot run test program while cross compiling See `config.log' for more details. Please help me out to resolve this issue. If any where i am wrong, please correct me. Thanks in Advance, Tejas. ----- Original Message ----- From: "Felipe Contreras" <fel...@gm...> To: "Nigel Hsiung" <ni...@ho...> Cc: <te...@or...>; "gst mailing list" <gst...@li...> Sent: Monday, October 12, 2009 8:22 PM Subject: Re: [gst-embedded] New to gstreamer > 2009/10/12 Nigel Hsiung <ni...@ho...>: >> >> Hi Tejas, >> >>> If i follow >>> "http://gstreamer.freedesktop.org/wiki/HowToCompileForEmbedded" >>> link to cross compile gstreamer for my beagle board, there is no CC >>> option >>> is given to cross compile it. >> >> The wiki is for compiling on scratchbox which does not require CC to be >> specified. > > Exactly. For an explanation of what scratchbox is, what problems it > solves, and how to cross-compile without it: > http://felipec.wordpress.com/2009/06/07/installing-scratchbox-1-and-2-for-arm-cross-compilation/ > > Cheers. > > -- > Felipe Contreras > |