Gstreamer compilation problem and GST_SEEK_FLAG_SKIP not working...

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Gstreamer compilation problem and GST_SEEK_FLAG_SKIP not working...

Rajesh Marathe
Hello,

I have started using Gstreamer recently and am running into the below
problems.

Environment:
------------

Target - IMX27 ADS board is the target (ARM9 based).
Host - RHEL 5.3 Desktop version
Linux code based on LTIB.

Code Versions are:
-------------------
Gstreamer core: 0.10.22
gst-plugins-base:0.10.22
gst-plugins-good: 0.10.10
gst-plugins-bad: 0.10.8


Problems:
---------

1. Compilation issue: If I use the recommended gst-plugins-good
(0.10.14) version, I see the following compilation error:

==========================
libtool: link: link -dump
-symbols  .libs/libgstvideobalance_la-gstvideobalance.o   |  | /bin/sed
's/.* //' | sort | uniq > .libs/libgstvideobalance.exp
../../libtool: eval: line 964: syntax error near unexpected token `|'
../../libtool: eval: line 964: `link -dump
-symbols  .libs/libgstvideobalance_la-gstvideobalance.o   |  | /bin/sed
's/.* //' | sort | uniq > .libs/libgstvideobalance.exp'
make[3]: *** [libgstvideobalance.la] Error 1
make[3]: *** Waiting for unfinished jobs....
===========================

libtool is throwing out this error. Please help me get over this one.


2. Since I got the above problem with 0.10.14 version I fell back to
0.10.10 gst-plugins-good. This compiled fine but the GST_SEEK_FLAG_SKIP
does not work. Following is the code snippet which I have:

===========================
    gst_element_query_position (pipeline, &fmt, &pos);
    pos += (10 * GST_SECOND);

 
    gst_element_set_state (pipeline, GST_STATE_PLAYING);
    gst_element_get_state (pipeline, NULL, NULL, (5 * GST_SECOND));
    gst_element_seek (vdec,  4.0, GST_FORMAT_TIME,  GST_SEEK_FLAG_FLUSH
| GST_SEEK_FLAG_KEY_UNIT | GST_SEEK_FLAG_SKIP, pos, GST_SEEK_TYPE_NONE,
GST_CLOCK_TIME_NONE);
    gst_element_get_state (vdec, NULL, NULL, (5 * GST_SECOND));
=============================

Am I specifying wrong parameters in the above call for seeking ?

Please help.

thanks and regards,
Rajesh Marathe.



------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Gstreamer compilation problem and GST_SEEK_FLAG_SKIP not working...

Rajesh Marathe
Hi,

Re-sending the below email. Can anybody please help me in compiling
gst-plugins-good version 0.10.14 please ? (Issue #1 below). This issue
is platform independent. And, for some reason the command pipe is not
built correctly.

regards,
Rajesh Marathe.



On Wed, 2010-02-03 at 10:55 +0530, Rajesh Marathe wrote:

> Hello,
>
> I have started using Gstreamer recently and am running into the below
> problems.
>
> Environment:
> ------------
>
> Target - IMX27 ADS board is the target (ARM9 based).
> Host - RHEL 5.3 Desktop version
> Linux code based on LTIB.
>
> Code Versions are:
> -------------------
> Gstreamer core: 0.10.22
> gst-plugins-base:0.10.22
> gst-plugins-good: 0.10.10
> gst-plugins-bad: 0.10.8
>
>
> Problems:
> ---------
>
> 1. Compilation issue: If I use the recommended gst-plugins-good
> (0.10.14) version, I see the following compilation error:
>
> ==========================
> libtool: link: link -dump
> -symbols  .libs/libgstvideobalance_la-gstvideobalance.o   |  | /bin/sed
> 's/.* //' | sort | uniq > .libs/libgstvideobalance.exp
> ../../libtool: eval: line 964: syntax error near unexpected token `|'
> ../../libtool: eval: line 964: `link -dump
> -symbols  .libs/libgstvideobalance_la-gstvideobalance.o   |  | /bin/sed
> 's/.* //' | sort | uniq > .libs/libgstvideobalance.exp'
> make[3]: *** [libgstvideobalance.la] Error 1
> make[3]: *** Waiting for unfinished jobs....
> ===========================
>
> libtool is throwing out this error. Please help me get over this one.
>
>
> 2. Since I got the above problem with 0.10.14 version I fell back to
> 0.10.10 gst-plugins-good. This compiled fine but the GST_SEEK_FLAG_SKIP
> does not work. Following is the code snippet which I have:
>
> ===========================
>     gst_element_query_position (pipeline, &fmt, &pos);
>     pos += (10 * GST_SECOND);
>
>  
>     gst_element_set_state (pipeline, GST_STATE_PLAYING);
>     gst_element_get_state (pipeline, NULL, NULL, (5 * GST_SECOND));
>     gst_element_seek (vdec,  4.0, GST_FORMAT_TIME,  GST_SEEK_FLAG_FLUSH
> | GST_SEEK_FLAG_KEY_UNIT | GST_SEEK_FLAG_SKIP, pos, GST_SEEK_TYPE_NONE,
> GST_CLOCK_TIME_NONE);
>     gst_element_get_state (vdec, NULL, NULL, (5 * GST_SECOND));
> =============================
>
> Am I specifying wrong parameters in the above call for seeking ?
>
> Please help.
>
> thanks and regards,
> Rajesh Marathe.
>
>


------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel