appsrc example not works with 1.0.10 on Linux ?

comicfans44 comicfans44 at gmail.com
Sun Sep 29 22:47:35 PDT 2013


Hi
  as follows:
     gstreamer 1.2 branch (9ac57f) 
     common    1.2 branch (741224)
     plugins-base/good/bad/ugly 1.2.0 zip from gstreamer web (I tried to clone git repo ,but found it's too large. so use zip package)

  first time I'm facing this problem with 1.0.10 ,but Tim-Philipp Müller said he can't reproduce (http://lists.freedesktop.org/archives/gstreamer-devel/2013-September/042860.html) ,then I append a full GST_DEBUG log . 
(http://lists.freedesktop.org/archives/gstreamer-devel/2013-September/042869.html). (I'm not familiar with mail list and sorry to
create some seperate thread with same topic)

is this problem related to other dependencies ? 
  this time I used a new installed Ubuntu 12.04.1 to test, uninstalled system gstreamer-0.10 , compile 1.2 ,found the same problem. 

----- Original Message ----- 
From: Wim Taymans 
To: Discussion of the development of and with GStreamer 
Date: 2013-09-30, 12:21:12 
Subject: Re: appsrc example not works with 1.0.10 on Linux ? 




>Hi, 
> 
>The example works fine for me with the git version, which should not 
>have 
>much different from 1.2. What are you testing exactly? 
> 
>Wim 
> 
> 
>On Mon, Sep 30, 2013 at 4:32 AM, comicfans44 
>wrote: 
>> Hello, 
>> I have tried appsrc example code with lastest version 1.2 ,found 
>> that the example code has a little bug (or gstreamer behaver change? ) 
>> when specified appsrc caps: 
>> 
>> code in document 
>> 
>> g_object_set (G_OBJECT (appsrc), "caps", 
>> gst_caps_new_simple ("video/x-raw", 
>> "format", G_TYPE_STRING, "RGB16", 
>> "width", G_TYPE_INT, 384, 
>> "height", G_TYPE_INT, 288, 
>> "framerate", GST_TYPE_FRACTION, 0, 1, 
>> NULL), NULL); 
>> could not run :basesrc 
>> ../../../../libs/gst/base/gstbasesrc.c:2865:gst_base_src_loop: 
>> error: streaming task paused, reason not-negotiated (-4) 
>> 
>> but with additional 
>> "pixel-aspect-ratio" ,GST_TYPE_FRACTION, 1, 1, 
>> 
>> everything works OK . I have not tried 1.0.10 back again to confirm 
>> the same reason but it seems to be. 
>> isn't pixel-aspect-ratio default 1:1 ? or I suggest a little document 
>> fix, this really confused. 
>> 
>> 
> 
> 
>_____________________ next part ______________________ 
> 
>_______________________________________________ 
>gstreamer-devel mailing list 
>gstreamer-devel at lists.freedesktop.org 
>http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel 
>


More information about the gstreamer-devel mailing list