gstreamer UDP source play

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

gstreamer UDP source play

Duchassin Frederic

Hello  all,

 

I try to use gstreamer with a dektec source (DTM3200). It’s an UDP/RTP source.

So I feed my gstreamer board with an UDP stream.

 

And using the command for read  :

gst-launch-1.0 -v udpsrc address=239.0.0.1 port=1234 ! decodebin ! imxipuvideosink

 

 

The image displayed is completely bad !

 

Have you an idea about the problem ?

 

Thanks in advance

 

Frederic

 

 


_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: gstreamer UDP source play

Tim Müller
On Thu, 2017-07-27 at 09:56 +0000, Duchassin Frédéric wrote:

Hi,

> I try to use gstreamer with a dektec source (DTM3200). It’s an
> UDP/RTP source.
> So I feed my gstreamer board with an UDP stream.
>  
> And using the command for read  :
> gst-launch-1.0 -v udpsrc address=239.0.0.1 port=1234 ! decodebin !
> imxipuvideosink
>  
>  
> The image displayed is completely bad !
>  
> Have you an idea about the problem ?

If it's RTP, you probably want something like:

udpsrc caps=application/x-rtp,clock-rate=...,media=...,encoding-
name=... ! rtpjitterbuffer ! decodebin ! imxipuvideosink

what those parameters in the caps are depends on what it sends (mpeg-ts
stream? video elementary stream? which codec?)

Cheers
-Tim


--
Tim Müller, Centricular Ltd - http://www.centricular.com

Join us at the GStreamer Conference!
21-22 October 2017 in Prague, Czech Republic
http://gstreamer.freedesktop.org/conference/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

RE: gstreamer UDP source play

Duchassin Frederic
Hello,

It's not an RTP source but an UDP source. (the dtm3200 can feed using UDP or UDP+RTP. And I just use UDP capabilities)
The stream is an MPEG-TS, H264 stream.

Fred



-----Message d'origine-----
De : gstreamer-devel [mailto:[hidden email]] De la part de Tim Müller
Envoyé : jeudi 27 juillet 2017 12:28
À : [hidden email]
Objet : Re: gstreamer UDP source play

On Thu, 2017-07-27 at 09:56 +0000, Duchassin Frédéric wrote:

Hi,

> I try to use gstreamer with a dektec source (DTM3200). It’s an UDP/RTP
> source.
> So I feed my gstreamer board with an UDP stream.
>  
> And using the command for read  :
> gst-launch-1.0 -v udpsrc address=239.0.0.1 port=1234 ! decodebin !
> imxipuvideosink
>  
>  
> The image displayed is completely bad !
>  
> Have you an idea about the problem ?

If it's RTP, you probably want something like:

udpsrc caps=application/x-rtp,clock-rate=...,media=...,encoding-
name=... ! rtpjitterbuffer ! decodebin ! imxipuvideosink

what those parameters in the caps are depends on what it sends (mpeg-ts stream? video elementary stream? which codec?)

Cheers
-Tim


--
Tim Müller, Centricular Ltd - http://www.centricular.com

Join us at the GStreamer Conference!
21-22 October 2017 in Prague, Czech Republic http://gstreamer.freedesktop.org/conference/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Loading...