<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt">Hi Tim,<br><br><div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"><div style="font-family: times new roman, new york, times, serif; font-size: 12pt;">>Date: Sat, 13 Oct 2012 12:03:45 +0100<br>>From: Tim-Philipp M?ller <<a ymailto="mailto:t.i.m@zen.co.uk" href="mailto:t.i.m@zen.co.uk">t.i.m@zen.co.uk</a>><br><br>>On Fri, 2012-10-12 at 23:12 -0700, somanath sahoo wrote:<br><br>>>Hi,<br><br>>> I am trying to record an incoming live stream into mp4 format. I am<br>>> able to play that mp4 video file, But i am not able to seek while it<br>>> plays and Its playing too fast.<br><br>>How are you trying to play it back?<br><br>I am not trying play while i am recording from the stream.<br><br>I am trying to record for some time and pressing control+c which forcing
 EOS and mp4 file has been created.  then i am trying play that mp4 file using media player available with ubuntu 12.04.<br><br>Please help me to know what i am doing wrong in the below pipeline while i am trying to record a stream into mp4 format  for a duration by pressing cntr+c which forces EOS to the mp4 file. The problem that i am facing ; the seek is not working and playing too fast when i am trying to play that recorded mp4 file. here is the pipeline -- <br><br>gst-launch-0.10 -e udpsrc port=1234 ! "application/x-rtp,payload=127" ! rtph264depay ! filesink location=x001.mp4<br><br><br>Regards,<br>Somanath<br><br>>I don't think you will be able to play it back while the file is still<br>being written to.<br><br>>If you need to be able to do that, you should create a file in a<br>>streamable format such as e.g. mpeg-ts or mpeg-ps perhaps.<br><br>>If you ever use these pipelines between two different machines, you<br>>might
 also want a jitterbuffer before the depayloader (not related to<br>>your issue though).<br><br>>Cheers<br> >-Tim<br><br>>> For sending streaming data to network -- <br>>> <br>> <br>> <br>> gst-launch-0.10 v4l2src device=/dev/video0 !<br>> 'video/x-raw-yuv,width=640,height=480' ! x264enc pass=qual<br>> quantizer=20 tune=zerolatency ! rtph264pay ! udpsink host=127.0.0.1<br>> port=1234<br>> <br>> <br>> for recording the incoming live stream - <br>> <br>> <br>> <br>> gst-launch-0.10 -e udpsrc port=1234 ! "application/x-rtp,<br>> payload=127" ! rtph264depay ! filesink location=x001.mp4<br>> <br>> <br>> <br>> <br>> Please any can provide pointers on this issue so that i can able to<br>> seek properly while i playback that mp4 file along with its normal<br>> speed.<br>> <br>> <br>> I thought it was clock sync problem. i tried with identity element.<br>> but i
 couldn't able to resolve it. <br>> <br>> <br>> I am looking forward for some guidance.<br>> <br>> <br>> <br>> <br>> Thanks & Regards,<br>> Somanath<br>> <br>> <br>> <br>> <br>> <br>> <br>> <br>> _______________________________________________<br>> gstreamer-devel mailing list<br>> <a ymailto="mailto:gstreamer-devel@lists.freedesktop.org" href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>> <a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br><br><br><br><br>------------------------------<br><br>_______________________________________________<br>gstreamer-devel mailing list<br><a ymailto="mailto:gstreamer-devel@lists.freedesktop.org" href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br><a
 href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br><br><br>End of gstreamer-devel Digest, Vol 21, Issue 28<br>***********************************************<br><br><br> </div> </div>  </div></body></html>