Problem using uridecodebin

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

Problem using uridecodebin

Rémi BUISSON
Hi everyone,

I would like to write a simple streaming RTP server but first I'm trying
the find the write pipeline to use.

I didn't succeed in it ... :-(

In order to test uridecodebin I tried :

$ gst-launch-0.10 uridecodebin
uri=file:///home/partage/Videos/pepsi_baeren.mpg ! cacasink
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
ERROR: from element /pipeline0/uridecodebin0/source: Internal data flow
error.
Additional debug info:
gstbasesrc.c(2165): gst_base_src_loop (): /pipeline0/uridecodebin0/source:
streaming task paused, reason not-linked (-1)
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
FREEING pipeline ...


and I don't understand why it tells me it's not linked ...

May anyone help me ?

++

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Problem using uridecodebin

Stefan Sauer
Rémi BUISSON schrieb:

> Hi everyone,
>
> I would like to write a simple streaming RTP server but first I'm trying
> the find the write pipeline to use.
>
> I didn't succeed in it ... :-(
>
> In order to test uridecodebin I tried :
>
> $ gst-launch-0.10 uridecodebin
> uri=file:///home/partage/Videos/pepsi_baeren.mpg ! cacasink
> Setting pipeline to PAUSED ...
> Pipeline is PREROLLING ...
> ERROR: from element /pipeline0/uridecodebin0/source: Internal data flow
> error.
> Additional debug info:
> gstbasesrc.c(2165): gst_base_src_loop (): /pipeline0/uridecodebin0/source:
> streaming task paused, reason not-linked (-1)
> ERROR: pipeline doesn't want to preroll.
> Setting pipeline to NULL ...
> FREEING pipeline ...
>  

$ gst-launch-0.10 uridecodebin
uri=file:///home/partage/Videos/pepsi_baeren.mpg ! ffmpegcolorspace ! cacasink

Stefan

>
> and I don't understand why it tells me it's not linked ...
>
> May anyone help me ?
>
> ++
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>  


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Problem using uridecodebin

Rémi BUISSON
Thanks for your answer but I have still the same problem :-(

$ gst-launch-0.10 uridecodebin
uri=file:///home/partage/Videos/pepsi_baeren.mpg ! ffmpegcolorspace !
cacasink
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
ERROR: from element /pipeline0/uridecodebin0/source: Internal data flow
error.
Additional debug info:
gstbasesrc.c(2165): gst_base_src_loop (): /pipeline0/uridecodebin0/source:
streaming task paused, reason not-linked (-1)
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
FREEING pipeline ...

If it works for you maybe it can be due to my gstreamer version (which
the ubuntu hardy repository version) ?

Stefan Kost wrote:

> Rémi BUISSON schrieb:
>  
>> Hi everyone,
>>
>> I would like to write a simple streaming RTP server but first I'm trying
>> the find the write pipeline to use.
>>
>> I didn't succeed in it ... :-(
>>
>> In order to test uridecodebin I tried :
>>
>> $ gst-launch-0.10 uridecodebin
>> uri=file:///home/partage/Videos/pepsi_baeren.mpg ! cacasink
>> Setting pipeline to PAUSED ...
>> Pipeline is PREROLLING ...
>> ERROR: from element /pipeline0/uridecodebin0/source: Internal data flow
>> error.
>> Additional debug info:
>> gstbasesrc.c(2165): gst_base_src_loop (): /pipeline0/uridecodebin0/source:
>> streaming task paused, reason not-linked (-1)
>> ERROR: pipeline doesn't want to preroll.
>> Setting pipeline to NULL ...
>> FREEING pipeline ...
>>  
>>    
>
> $ gst-launch-0.10 uridecodebin
> uri=file:///home/partage/Videos/pepsi_baeren.mpg ! ffmpegcolorspace ! cacasink
>
> Stefan
>  
>> and I don't understand why it tells me it's not linked ...
>>
>> May anyone help me ?
>>
>> ++
>>
>> -------------------------------------------------------------------------
>> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
>> Build the coolest Linux based applications with Moblin SDK & win great prizes
>> Grand prize is a trip for two to an Open Source event anywhere in the world
>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>> _______________________________________________
>> gstreamer-devel mailing list
>> [hidden email]
>> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>>  
>>    
>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>
>  

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Problem using uridecodebin

Stefan Sauer
hi,

can you try this:

gst-launch-0.10 filesrc location=/home/partage/Videos/pepsi_baeren.mpg ! decodebin ! ffmpegcolorspace !
cacasink

Does the video work in totem? try a different video?

Stefan

Rémi BUISSON schrieb:

> Thanks for your answer but I have still the same problem :-(
>
> $ gst-launch-0.10 uridecodebin
> uri=file:///home/partage/Videos/pepsi_baeren.mpg ! ffmpegcolorspace !
> cacasink
> Setting pipeline to PAUSED ...
> Pipeline is PREROLLING ...
> ERROR: from element /pipeline0/uridecodebin0/source: Internal data flow
> error.
> Additional debug info:
> gstbasesrc.c(2165): gst_base_src_loop (): /pipeline0/uridecodebin0/source:
> streaming task paused, reason not-linked (-1)
> ERROR: pipeline doesn't want to preroll.
> Setting pipeline to NULL ...
> FREEING pipeline ...
>
> If it works for you maybe it can be due to my gstreamer version (which
> the ubuntu hardy repository version) ?
>
> Stefan Kost wrote:
>  
>> Rémi BUISSON schrieb:
>>  
>>    
>>> Hi everyone,
>>>
>>> I would like to write a simple streaming RTP server but first I'm trying
>>> the find the write pipeline to use.
>>>
>>> I didn't succeed in it ... :-(
>>>
>>> In order to test uridecodebin I tried :
>>>
>>> $ gst-launch-0.10 uridecodebin
>>> uri=file:///home/partage/Videos/pepsi_baeren.mpg ! cacasink
>>> Setting pipeline to PAUSED ...
>>> Pipeline is PREROLLING ...
>>> ERROR: from element /pipeline0/uridecodebin0/source: Internal data flow
>>> error.
>>> Additional debug info:
>>> gstbasesrc.c(2165): gst_base_src_loop (): /pipeline0/uridecodebin0/source:
>>> streaming task paused, reason not-linked (-1)
>>> ERROR: pipeline doesn't want to preroll.
>>> Setting pipeline to NULL ...
>>> FREEING pipeline ...
>>>  
>>>    
>>>      
>> $ gst-launch-0.10 uridecodebin
>> uri=file:///home/partage/Videos/pepsi_baeren.mpg ! ffmpegcolorspace ! cacasink
>>
>> Stefan
>>  
>>    
>>> and I don't understand why it tells me it's not linked ...
>>>
>>> May anyone help me ?
>>>
>>> ++
>>>
>>> -------------------------------------------------------------------------
>>> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
>>> Build the coolest Linux based applications with Moblin SDK & win great prizes
>>> Grand prize is a trip for two to an Open Source event anywhere in the world
>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>> _______________________________________________
>>> gstreamer-devel mailing list
>>> [hidden email]
>>> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>>>  
>>>    
>>>      
>> -------------------------------------------------------------------------
>> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
>> Build the coolest Linux based applications with Moblin SDK & win great prizes
>> Grand prize is a trip for two to an Open Source event anywhere in the world
>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>> _______________________________________________
>> gstreamer-devel mailing list
>> [hidden email]
>> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>>
>>  
>>    
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>  


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Problem using uridecodebin

Rémi BUISSON
Works perfectly !
Thanks.

Yes it works in totem.

I have a panel of video with a lot of codecs and containers and it does
the same thing ...

But I would like to use uridecodebin in order to stream, for instance,
mms://, v4l:// ...

It is strange that uridecodebin has a different behaviour than decodebin ...

More strange, this works :

gst-launch-0.10 uridecodebin
uri=file:///home/partage/Videos/pepsi_baeren.mpg ! decodebin !
ffmpegcolorspace ! cacasink

whereas uridecodebin is assumed to give raw media ...

Stefan Kost wrote:

> hi,
>
> can you try this:
>
> gst-launch-0.10 filesrc location=/home/partage/Videos/pepsi_baeren.mpg ! decodebin ! ffmpegcolorspace !
> cacasink
>
> Does the video work in totem? try a different video?
>
> Stefan
>
> Rémi BUISSON schrieb:
>  
>> Thanks for your answer but I have still the same problem :-(
>>
>> $ gst-launch-0.10 uridecodebin
>> uri=file:///home/partage/Videos/pepsi_baeren.mpg ! ffmpegcolorspace !
>> cacasink
>> Setting pipeline to PAUSED ...
>> Pipeline is PREROLLING ...
>> ERROR: from element /pipeline0/uridecodebin0/source: Internal data flow
>> error.
>> Additional debug info:
>> gstbasesrc.c(2165): gst_base_src_loop (): /pipeline0/uridecodebin0/source:
>> streaming task paused, reason not-linked (-1)
>> ERROR: pipeline doesn't want to preroll.
>> Setting pipeline to NULL ...
>> FREEING pipeline ...
>>
>> If it works for you maybe it can be due to my gstreamer version (which
>> the ubuntu hardy repository version) ?
>>
>> Stefan Kost wrote:
>>  
>>    
>>> Rémi BUISSON schrieb:
>>>  
>>>    
>>>      
>>>> Hi everyone,
>>>>
>>>> I would like to write a simple streaming RTP server but first I'm trying
>>>> the find the write pipeline to use.
>>>>
>>>> I didn't succeed in it ... :-(
>>>>
>>>> In order to test uridecodebin I tried :
>>>>
>>>> $ gst-launch-0.10 uridecodebin
>>>> uri=file:///home/partage/Videos/pepsi_baeren.mpg ! cacasink
>>>> Setting pipeline to PAUSED ...
>>>> Pipeline is PREROLLING ...
>>>> ERROR: from element /pipeline0/uridecodebin0/source: Internal data flow
>>>> error.
>>>> Additional debug info:
>>>> gstbasesrc.c(2165): gst_base_src_loop (): /pipeline0/uridecodebin0/source:
>>>> streaming task paused, reason not-linked (-1)
>>>> ERROR: pipeline doesn't want to preroll.
>>>> Setting pipeline to NULL ...
>>>> FREEING pipeline ...
>>>>  
>>>>    
>>>>      
>>>>        
>>> $ gst-launch-0.10 uridecodebin
>>> uri=file:///home/partage/Videos/pepsi_baeren.mpg ! ffmpegcolorspace ! cacasink
>>>
>>> Stefan
>>>  
>>>    
>>>      
>>>> and I don't understand why it tells me it's not linked ...
>>>>
>>>> May anyone help me ?
>>>>
>>>> ++
>>>>
>>>> -------------------------------------------------------------------------
>>>> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
>>>> Build the coolest Linux based applications with Moblin SDK & win great prizes
>>>> Grand prize is a trip for two to an Open Source event anywhere in the world
>>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>>> _______________________________________________
>>>> gstreamer-devel mailing list
>>>> [hidden email]
>>>> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>>>>  
>>>>    
>>>>      
>>>>        
>>> -------------------------------------------------------------------------
>>> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
>>> Build the coolest Linux based applications with Moblin SDK & win great prizes
>>> Grand prize is a trip for two to an Open Source event anywhere in the world
>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>> _______________________________________________
>>> gstreamer-devel mailing list
>>> [hidden email]
>>> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>>>
>>>  
>>>    
>>>      
>> -------------------------------------------------------------------------
>> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
>> Build the coolest Linux based applications with Moblin SDK & win great prizes
>> Grand prize is a trip for two to an Open Source event anywhere in the world
>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>> _______________________________________________
>> gstreamer-devel mailing list
>> [hidden email]
>> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>>  
>>    
>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>
>  

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel