seeking problem in live recorded mp4 file
somanath sahoo
bapi_mvit2004 at yahoo.com
Fri Sep 28 03:37:18 PDT 2012
Hi,
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.
Here is my set up -
system - ubuntu 12.04
In one terminal , i am sending the video(from webcam) to network - the command is provided below -
gst-launch-0.10 v4l2src device=/dev/video0 ! 'video/x-raw-yuv,width=640,height=480' ! x264enc pass=qualquantizer=20 tune=zerolatency ! rtph264pay ! udpsink port=1234
In another terminal, i am recording the received live rtp video into mp4. the command is below -
gst-launch-0.10 -e gstrtpbin name=rtpbinudpsrc caps="application/x-rtp,media=(string)video,clock-rate=(int)90000,encoding-name=(string)H264" port=1234 ! rtpbin.recv_rtp_sink_0 rtpbin. ! rtph264depay ! filesink location=x001.mp4 sync=false -v
---
After pressing ctrl+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.
Please anyone can correct me on the usage of the command which i have used for recording of received live video data.
could anyone please provide the pointer on this issue as i want to analyze the root-cause correctly?
Regards,
Somanath
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20120928/d413a29f/attachment.html>
More information about the gstreamer-devel
mailing list