[gst-devel] Problem streaming Mpeg2 video

Nikunj A. Dadhania ndadhania at yahoo.com
Mon Mar 22 22:30:02 CET 2004


Hi all,

I am trying to stream mpeg2 video over the lan using
Gstreamer 0.8 and Gstreamer Plugins 0.8.

I am running following commands:

Server command:
gst-launch filesrc location=test.mpg ! mpegdemux
mpegdemux0.video_00 ! { queue ! udpsink port=4400 }

Client command:
gst-launch  udpsrc port=4400 ! { queue ! mpeg2dec !
sdlvideosink }

I start the client first and then the server. After I
start the server, a window opens at client end but
video doesn't play at all.  Is there any filters that
I am missing here? Has anyone tried similar commands? 

Similar commands for audio works with out any problem.


Server command:
gst-launch filesrc location=iwdetrailer.mpg !
mpegdemux mpegdemux0.video_00 ! { queue ! udpsink
port=4400 }

Client command:
gst-launch  udpsrc port=4400 ! { queue ! mad ! osssink
}

I tried streaming the complete stream without
demultiplexing at server side, which works fine. 

Server Command:
gst-launch filesrc location=iwdetrailer.mpg !
mpegparse ! { queue ! udpsink port=4400 } 

On the client end received the stream and
demultiplexed the audio and video stream and could do
the playback without any issue. 

Thanks,
Regards


__________________________________
Do you Yahoo!?
Yahoo! Finance Tax Center - File online. File on time.
http://taxes.yahoo.com/filing.html




More information about the gstreamer-devel mailing list