seeking problem in live recorded mp4 file

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

seeking problem in live recorded mp4 file

somanath sahoo-2
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=qual quantizer=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=rtpbin udpsrc 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

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel