<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:garamond,new york,times,serif;font-size:12pt"><br>Hi<br><br>I am trying to transmit an H264 file over a network using RTP streaming of gstreamer. My pipeline is:<br><br>Sender: <br>&nbsp;gst-launch-0.10&nbsp; filesrc location=akiyo_qcif.264 ! h264parse ! rtph264pay pt=96 ! udpsink host=127.0.0.1 port=42050 sync=false<br><br>Receiver: <br>gst-launch-0.10 udpsrc port=42050 ! rtph264depay&nbsp; ! filesink location=/home/mrplus/Desktop/June/test.264<br><br>Please note that I am using the loopback address and there should be no packet loss. To verify if my pipeline is working fine and there should be no encoding loss, I used the following pipeline:<br><br>gst-launch-0.10&nbsp; filesrc location=akiyo_qcif.264 ! h264parse ! rtph264pay pt=96 ! rtph264depay !&nbsp; h264parse&nbsp; ! filesink location=/home/mrplus/Desktop/June/test2.264<br><br>Now, in the
 first scenario, the sender finishes playing after a time on its own. I have to close the receiver using a Ctrl+C. I get an output file at the receiver that is significantly smaller than the sent file, runs a couple of seconds lesser than the sent file and has worse quality (boxes, blur etc) visually, when played. In the case of the second pipeline, however, the file is the perfect copy of the sent file as expected. I dont understand where is the loss taking place in a loopback address!!! Or else, what am I doing wrong? Is it because of the Ctrl+C and no EOS element on the receiever? What to do?<br><br>Is it fine to stream and H264 file like that or do I have to have it in a container like mp4, avi etc. to stream properly?<br><br>I attach the output of gst-launch -v for both sender and receiver. Both seem ok to me, no
 errors.<br>---------------------------------------------------------------------------------------------------------------------------<br><br>Sender:<br>gst-launch-0.10 -v&nbsp; filesrc location=akiyo_qcif.264 ! h264parse ! rtph264pay pt=96 ! udpsink host=127.0.0.1 port=42050 sync=false<br>Setting pipeline to PAUSED ...<br>Pipeline is PREROLLING ...<br>/pipeline0/h264parse0.src: caps = video/x-h264<br>/pipeline0/rtph264pay0.sink: caps = video/x-h264<br>Pipeline is PREROLLED ...<br>Setting pipeline to PLAYING ...<br>New clock: GstSystemClock<br>/pipeline0/rtph264pay0.src: caps = application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string)H264, profile-level-id=(string)900033, sprop-parameter-sets=(string)\"Z5AAM64ZGoLE6EAAAAMAQAAADKPGDKg\\=\", payload=(int)96, ssrc=(guint)2945604081, clock-base=(guint)1436723394, seqnum-base=(guint)52331<br>/pipeline0/udpsink0.sink: caps = application/x-rtp, media=(string)video,
 clock-rate=(int)90000, encoding-name=(string)H264, profile-level-id=(string)900033, sprop-parameter-sets=(string)\"Z5AAM64ZGoLE6EAAAAMAQAAADKPGDKg\\=\", payload=(int)96, ssrc=(guint)2945604081, clock-base=(guint)1436723394, seqnum-base=(guint)52331<br>Got EOS from element "pipeline0".<br>Execution ended after 24871606 ns.<br>Setting pipeline to PAUSED ...<br>Setting pipeline to READY ...<br>/pipeline0/udpsink0.sink: caps = NULL<br>/pipeline0/rtph264pay0.sink: caps = NULL<br>/pipeline0/rtph264pay0.src: caps = NULL<br>/pipeline0/h264parse0.src: caps = NULL<br>Setting pipeline to NULL ...<br>FREEING pipeline ...<br>-------------------------------------------------------------------------------------------------------------------------------<br><br>Receiver: (Interrupt is the Ctrl+C)<br><br>gst-launch-0.10 -v udpsrc port=42050 ! rtph264depay&nbsp; ! filesink location=/home/mrplus/Desktop/June/test11.264<br>Setting pipeline to PAUSED ...<br>Pipeline is live
 and does not need PREROLL ...<br>Setting pipeline to PLAYING ...<br>New clock: GstSystemClock<br>Caught interrupt -- handling interrupt.<br>Interrupt: Stopping pipeline ...<br>Execution ended after 1403396440 ns.<br>Setting pipeline to PAUSED ...<br>Setting pipeline to READY ...<br>Setting pipeline to NULL ...<br>FREEING pipeline ...<br>----------------------------------------------------------------------------------------------------------------------<br></div><br>

      </body></html>