Streaming an AVI using RTP

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Streaming an AVI using RTP

Néstor Morales Hernández
Hello,

I'm new in using GStreamer libraries. I want to send an AVI stream (DivX5.0 without audio) using RTP on Windows. I've tried the following command:

gst-launch-0.10 filesrc location=C:/Proyecto/Teinemat/GStreamer/Test2/debug/Pelicula.avi !video/x-msvideo !ffdemux_avi !video/mpeg4 !ffdec_mpeg4 !ffenc_mpeg2video ! ffmux_mpegts ! rtpmp2tpay pt=96 ! udpsink host=127.0.0.1 port=5000 sync=false

, but I get this:

Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...

and it stays in this state, but never finishes! i've also tried other commands, like this one:

gst-launch-0.10 uridecodebin uri=file://C:/Proyecto/Teinemat/GStreamer/Test2/debug/Pelicula.avi !ffenc_h263p ! video/x-h263 ! rtph263ppay pt=96 ! udpsink host=127.0.0.1 port=5000 sync=false

, but in this case, I get:

Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
ERROR: from element /pipeline0/uridecodebin0/source: Internal data flow error.
Additional debug info:
E:\devel-release\src_releases\gstreamer\libs\gst\base\gstbasesrc.c(2165): (function) (): /pipeline0/uridecodebin0/source: streaming task paused, reason not-linked (-1)
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
FREEING pipeline ...

How can I do that? Thank you

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel