<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div>Hi,</div><div><br></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;">As newbie to gstreamer and to its correct usage, i am trying to record the live streaming video data into mp4. when i am going to play that recorded file, only initial half of the video is being played and also i am not able to seek. <br></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;"><br></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;">Here is my set up - <br></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times
 new roman,new york,times,serif; background-color: transparent; font-style: normal;"><br></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;"><span id="misspell-1" class=""><span>system</span></span> - <span id="misspell-2" class="mark">ubuntu</span> 12.04</div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;"><br></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;"><span style="font-weight: bold;">In one terminal</span> , i am sending the video(from <span id="misspell-3" class="mark">webcam</span>) to network - the command is provided below -</div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new
 york,times,serif; background-color: transparent; font-style: normal;"><br></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;"><span id="misspell-4" class="mark">gst</span>-launch-0.10 v4l2<span id="misspell-5" class="mark">src</span> device=/<span id="misspell-6" class="mark">dev</span>/video0 ! 'video/x-raw-<span id="misspell-7" class="mark">yuv</span>,width=640,height=480' ! x264enc pass=<span id="misspell-8" class="mark">qual</span> <span id="misspell-9" class="mark">quantizer</span>=20 tune=<span id="misspell-10" class="mark">zerolatency</span> ! <span id="misspell-11" class="mark">rtph</span>264pay ! <span id="misspell-12" class="mark">udpsink</span> port=1234</div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;"><br></div><div style="color:
 rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;"><span style="font-weight: bold;">In another terminal</span>, i am recording the <span id="misspell-13" class=""><span>received</span></span> live <span id="misspell-14" class="mark">rtp</span> video into mp4. the command is below - <br></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;"><br></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;"><span id="misspell-15" class="mark">gst</span>-launch-0.10 -e <span id="misspell-16" class="mark">gstrtpbin</span> name=<span id="misspell-17" class="mark">rtpbin</span> <span id="misspell-18" class="mark">udpsrc</span> caps="application/x-<span id="misspell-19"
 class="mark">rtp</span>,media=(string)video,clock-rate=(int)90000,encoding-name=(string)H264" port=1234 ! <span id="misspell-20" class="mark">rtpbin</span>.<span id="misspell-21" class="mark">recv</span>_<span id="misspell-22" class="mark">rtp</span>_sink_0 <span id="misspell-23" class="mark">rtpbin</span>. ! <span id="misspell-24" class="mark">rtph</span>264<span id="misspell-25" class="mark">depay</span> ! <span id="misspell-26" class="mark">filesink</span> location=x001.mp4 sync=false -v</div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;"><br></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;">---</div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent;
 font-style: normal;"><br></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;">After pressing <span id="misspell-27" class="">ctrl</span>+c in order to stop recording, i played the mp4 file, only some part of video is being played and i can NOT seek or playback again. for playing again, i have to close existing player, then play the video file again. <br></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;"><br></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;">Please anyone can correct me on the usage of the command which i have used for recording of received live video data.</div><div style="color: rgb(0, 0, 0); font-size: 16px;
 font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;"><br></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;">could anyone please provide the pointer on this issue as i want to <span id="misspell-28" class=""><span>analyze</span></span> the <span id="misspell-29" class=""><span>root-cause</span></span> correctly?</div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;"><br></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;"><br></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style:
 normal;">Regards,<br>Somanath</div></div></body></html>