not able to seek while it plays and Its playing too fast
bapi_mvit2004 at yahoo.com
Sun Oct 14 22:51:21 PDT 2012
>Date: Sat, 13 Oct 2012 12:03:45 +0100
>From: Tim-Philipp M?ller <t.i.m at zen.co.uk>
>On Fri, 2012-10-12 at 23:12 -0700, somanath sahoo wrote:
>> I am trying to record an incoming live stream into mp4 format. I am
>> able to play that mp4 video file, But i am not able to seek while it
>> plays and Its playing too fast.
>How are you trying to play it back?
I am not trying play while i am recording from the stream.
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.
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 --
gst-launch-0.10 -e udpsrc port=1234 ! "application/x-rtp,payload=127" ! rtph264depay ! filesink location=x001.mp4
>I don't think you will be able to play it back while the file is still
being written to.
>If you need to be able to do that, you should create a file in a
>streamable format such as e.g. mpeg-ts or mpeg-ps perhaps.
>If you ever use these pipelines between two different machines, you
>might also want a jitterbuffer before the depayloader (not related to
>your issue though).
>> For sending streaming data to network --
> gst-launch-0.10 v4l2src device=/dev/video0 !
> 'video/x-raw-yuv,width=640,height=480' ! x264enc pass=qual
> quantizer=20 tune=zerolatency ! rtph264pay ! udpsink host=127.0.0.1
> for recording the incoming live stream -
> gst-launch-0.10 -e udpsrc port=1234 ! "application/x-rtp,
> payload=127" ! rtph264depay ! filesink location=x001.mp4
> Please any can provide pointers on this issue so that i can able to
> seek properly while i playback that mp4 file along with its normal
> I thought it was clock sync problem. i tried with identity element.
> but i couldn't able to resolve it.
> I am looking forward for some guidance.
> Thanks & Regards,
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
gstreamer-devel mailing list
gstreamer-devel at lists.freedesktop.org
End of gstreamer-devel Digest, Vol 21, Issue 28
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the gstreamer-devel