audio video synchornization problem

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

audio video synchornization problem

sreerenj


Hi, I am getting no soud in the recorder video.Getting only the video for the following pipeline.

gst-launch -e   rtspsrc location="rtsp://root:carinov1@10.0.0.100/axis-media/media.amp" name=rtsp  ! queue ! rtph264depay ! video/x-h264, width=320, height=240, framerate=30/1  ! ffdec_h264  ! videorate ! ffenc_mpeg4 ! avimux name=avi ! filesink location=s.avi rtsp.  ! queue ! rtpmp4gdepay  !  aacparse ! avi.

Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
^CCaught interrupt -- handling interrupt.
Interrupt: Stopping pipeline ...
EOS on shutdown enabled -- Forcing EOS on the pipeline
Waiting for EOS...
WARNING: from element /GstPipeline:pipeline0/GstAviMux:avi: No or invalid input audio, AVI stream will be corrupt.
Additional debug info:
gstavimux.c(1611): gst_avi_mux_stop_file (): /GstPipeline:pipeline0/GstAviMux:avi
Got EOS from object "/GstPipeline:pipeline0".
EOS received - stopping pipeline...
Execution ended after 9806220692 ns.
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
^C





But for the following pipeline i got both audio and video.But they are not synchronized!!! first hearing the sound and then the video.(video is lacking behind the audio).

 gst-launch -e   rtspsrc location="rtsp://root:carinov1@10.0.0.100/axis-media/media.amp" name=rtsp  ! queue ! rtph264depay ! video/x-h264, width=320, height=240, framerate=30/1  ! ffdec_h264  ! videorate ! ffenc_mpeg4 ! avimux name=avi ! filesink location=s.avi rtsp.  ! queue ! rtpmp4gdepay  !  faad ! audioconvert ! audioresample !  avi.











------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: audio video synchornization problem

AJAY GAUTAM
Try this:
 gst-launch -e   rtspsrc location="rtsp://root:carinov1@10.0.0.100/axis-media/media.amp" name=rtsp  ! queue ! rtph264depay ! video/x-h264, width=320, height=240, framerate=30/1  ! ffdec_h264  ! videorate ! ffenc_mpeg4 ! avimux name=avi ! filesink location=s.avi rtsp.  ! queue ! rtpmp4gdepay  !  faad ! audioconvert ! audioresample !  avi ! sync=true



On Fri, Jul 31, 2009 at 12:39 PM, sreerenj b <[hidden email]> wrote:


Hi, I am getting no soud in the recorder video.Getting only the video for the following pipeline.

gst-launch -e   rtspsrc location="rtsp://root:carinov1@10.0.0.100/axis-media/media.amp" name=rtsp  ! queue ! rtph264depay ! video/x-h264, width=320, height=240, framerate=30/1  ! ffdec_h264  ! videorate ! ffenc_mpeg4 ! avimux name=avi ! filesink location=s.avi rtsp.  ! queue ! rtpmp4gdepay  !  aacparse ! avi.

Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
^CCaught interrupt -- handling interrupt.
Interrupt: Stopping pipeline ...
EOS on shutdown enabled -- Forcing EOS on the pipeline
Waiting for EOS...
WARNING: from element /GstPipeline:pipeline0/GstAviMux:avi: No or invalid input audio, AVI stream will be corrupt.
Additional debug info:
gstavimux.c(1611): gst_avi_mux_stop_file (): /GstPipeline:pipeline0/GstAviMux:avi
Got EOS from object "/GstPipeline:pipeline0".
EOS received - stopping pipeline...
Execution ended after 9806220692 ns.
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
^C





But for the following pipeline i got both audio and video.But they are not synchronized!!! first hearing the sound and then the video.(video is lacking behind the audio).

 gst-launch -e   rtspsrc location="rtsp://root:carinov1@10.0.0.100/axis-media/media.amp" name=rtsp  ! queue ! rtph264depay ! video/x-h264, width=320, height=240, framerate=30/1  ! ffdec_h264  ! videorate ! ffenc_mpeg4 ! avimux name=avi ! filesink location=s.avi rtsp.  ! queue ! rtpmp4gdepay  !  faad ! audioconvert ! audioresample !  avi.











------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel




--
Thanx & Regards
Ajay Gautam
+91-9717785580

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: audio video synchornization problem

bagz
In reply to this post by sreerenj
CONTENTS DELETED
The author has deleted this message.
Reply | Threaded
Open this post in threaded view
|

Re: audio video synchornization problem

sreerenj
HI,

Check the date in which the original mail sent !!!!!!!!!
IMHO, you don't need to answer to the questions which asked few years before since we all are using gstreamer git head...(all the "gstreamer git-head" were updated just few hours before I think.. :) ..)

On Tue, Nov 8, 2011 at 1:43 PM, bagz <[hidden email]> wrote:
Try this:

gst-launch-0.10 -v rtspsrc location=rtsp://<a href="http://127.0.0.1:5544/streaming.sdp name=dd" target="_blank">127.0.0.1:5544/streaming.sdp
name=dd dd. ! rtph263pdepay ! ffdec_h263 ! ffmpegcolorspace ! autovideosink
dd. ! rtpmp4gdepay ! ffdec_aac ! autoaudiosink

--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/audio-video-synchornization-problem-tp973307p4015691.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.
_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel



--
Sreerenj Balachandran (Intel OTC, Finland)

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