Hi, 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. 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 port=1234 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 speed. I am looking forward for some guidance. Thanks & Regards, Somanath _______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Hi, 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. 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 port=1234 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 speed. 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, Somanath _______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Hi, 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. 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 port=1234 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 speed. 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, Somanath _______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
On Fri, 2012-10-12 at 23:12 -0700, somanath sahoo wrote:
Hi, > 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 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). Cheers -Tim > 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 > port=1234 > > > 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 > speed. > > > 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, > Somanath > > > > > > > > _______________________________________________ > gstreamer-devel mailing list > [hidden email] > http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel _______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
In reply to this post by somanath sahoo-2
Hi Tim, >Date: Sat, 13 Oct 2012 12:03:45 +0100 >From: Tim-Philipp M?ller <[hidden email]> >On Fri, 2012-10-12 at 23:12 -0700, somanath sahoo wrote: >>Hi, >> 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 Regards, Somanath >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). >Cheers >-Tim >> 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 > port=1234 > > > 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 > speed. > > > 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, > Somanath > > > > > > > > _______________________________________________ > gstreamer-devel mailing list > [hidden email] > http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel ------------------------------ _______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel End of gstreamer-devel Digest, Vol 21, Issue 28 *********************************************** _______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
On Sun, 2012-10-14 at 22:51 -0700, somanath sahoo wrote:
Hi, > 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 You should mux the h264 data into a container, e.g. with mp4mux or matroskamux or mpegpsmux. That will preserve timestamps. And don't forget about that gstrtpjitterbuffer before the depayloader. Cheers -Tim _______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |