<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body bgcolor="#ffffff" text="#000000">
<br>
&nbsp;&nbsp;&nbsp; Hi all,<br>
<br>
I need to do UDP streaming of H264 video encapsulated in a MPEG II
Transport Stream container.<br>
<br>
&nbsp;&nbsp;&nbsp; If I do RTP streaming from one PC to another, it works perfectly:<br>
<br>
<i><b>sender pipe:</b> gst-launch-0.10 v4l2src !
'video/x-raw-yuv,format=(fourcc)I420,width=640,height=480,framerate=(fraction)25/1'
! videorate ! x264enc ! h264parse ! <font color="#33cc00"><b>rtph264pay</b></font>
! udpsink host=192.168.0.2 port=8000<br>
</i>
<blockquote><i><b>receiver pipe:</b>&nbsp; gst-launch-0.10 udpsrc port=8000
! <font color="#3333ff"><b>rtph264depay</b></font> !
'video/x-h264,width=640,height=480' ! decodebin ! autovideosink</i><br>
</blockquote>
<br>
But if I try to send/receive MPEG2 Transport Stream (as I have found
here in the developers list) I get less than one frame per second! I
have tried these pipelines:<br>
<br>
<i><b>Sender:</b> gst-launch-0.10 v4l2src !
video/x-raw-yuv,format=(fourcc)I420,width=640,height=480,framerate=(fraction)25/1'
! videorate ! x264enc ! h264parse ! <font color="#33cc00"><b>flutsmux</b></font>
! udpsink host=192.168.0.2 port=8000<br>
<br>
<b>Receiver:</b> gst-launch-0.10 udpsrc port=8000 ! <font
 color="#3333ff"><b>flutsdemux</b></font> ! decodebin ! autovideosink</i><br>
<br>
&nbsp;&nbsp;&nbsp; What is happening? With the RTP I get 25fps, while with the MPEG2TS
it does not work, I barely could say that frame rate is 1 fps!!!<br>
<br>
&nbsp;&nbsp;&nbsp; Thank you in advance.<br>
<br>
&nbsp;&nbsp;&nbsp; Regards,<br>
&nbsp;&nbsp;&nbsp; Favila.<br>
<br>
</body>
</html>