[gst-devel] TCP Streaming in Threads

urs dev at nimble.ch
Wed Oct 17 06:51:09 CEST 2007


Hi All

First I run this local, and it works:

gst-launch -v filesrc location=video.mpg ! dvddemux name=d !
{ mpeg2dec ! ffmpegcolorspace ! queue ! xvimagesink }{ d. ! mad !
audioconvert ! queue ! alsasink }

Now i try to stream the two threads over TCP:

gst-launch -v filesrc location=video.mpg ! dvddemux name=d ! { queue !
tcpclientsink port=5001 }{ d. ! queue ! tcpclientsink port=5002}
gst-launch -v tcpserversrc port=5001 ! mpeg2dec ! ffmpegcolorspace !
xvimagesink
gst-launch -v tcpserversrc port=5002 ! mad ! audioconvert ! alsasink

The second Stream doesn't start becaus of "Could not set element "port"
to "5002"

Can somebody tell me where's the problem?

PS: if i just stream the audio part, the first image of the movie is
shown on xvimage but no sound and no moving picture.

Thanks for Help





More information about the gstreamer-devel mailing list