(saving audio and video synchronisation problem) rtspsrc plugin connect live555, saveing video and audio to avi file ,but videoand audio isnot synchronisation.

zhang007z zhang007z at gmail.com
Sat Dec 20 06:53:08 PST 2014


first I use thd command as follow:
//----------------------------------------first
command------------------------------------//
GST_DEBUG="*:2"  gst-launch-0.10 -v -e rtspsrc debug=1
location="rtsp://192.168.1.4:554/vs1" name=rtsp  ! queue ! rtph264depay !
video/x-h264, width=1280, height=720, framerate=30/1  !  avimux name=avi !
filesink location=s.avi rtsp.  ! queue ! rtpmp4gdepay  !  aacparse ! avi. 
//-----------------------------------------------------------------------------------------//
above this command,this command can record video and audio to avi file ,but
audio and video synchronisation problem.
according to author (sreerenj b) post (audio video synchornization problem)
write:
(his post
website:http://gstreamer-devel.966125.n4.nabble.com/audio-video-synchornization-problem-td973307.html)
I use second command as follow (I modify myself command format base on
author "sreerenj b" post ):
root at ubuntu:~# GST_DEBUG="*:2"  gst-launch-0.10 -v -e rtspsrc debug=1
location="rtsp://192.168.1.4:554/vs1" name=rtsp  ! queue ! rtph264depay !
video/x-h264, width=1280, height=720, framerate=30/1  !  avimux name=avi !
filesink location=s.avi rtsp.  ! queue ! rtpmp4gdepay  !  aacparse ! avi. !
sync=true
//-----------------------------second command error
log----------------------------//
0:00:00.054593946  4508      0x16a3800 WARN                 default
./grammar.y:889:priv_gst_parse_yyerror: Error during parsing: syntax error,
unexpected ASSIGNMENT
0:00:00.054766872  4508      0x16a3800 ERROR           GST_PIPELINE
./grammar.y:783:priv_gst_parse_yyparse: link without source element
WARNING: erroneous pipeline: link without source element
//---------------------------------------------------------------------------------//
if I use third command as follow:
GST_DEBUG="*:2"  gst-launch-0.10 -v -e rtspsrc debug=1
location="rtsp://192.168.1.4:554/vs1" name=rtsp  ! queue ! rtph264depay !
video/x-h264, width=1280, height=720, framerate=30/1  !  avimux name=avi !
filesink location=s.avi rtsp.  ! queue ! rtpmp4gdepay  ! faad ! audioconvert
! audioresample ! avi. ! sync=true
//-------------------------error log-----------------------------//
0:00:00.053734567  4518      0x13ef550 WARN           audioresample
gstaudioresample.c:1581:plugin_init: Orc disabled, can't benchmark int vs.
float resampler
0:00:00.054130921  4518      0x13ef550 WARN         GST_PERFORMANCE
gstaudioresample.c:1585:plugin_init: orc disabled, no benchmarking done
0:00:00.054772341  4518      0x13ef550 WARN                 default
./grammar.y:889:priv_gst_parse_yyerror: Error during parsing: syntax error,
unexpected ASSIGNMENT
0:00:00.054898731  4518      0x13ef550 ERROR           GST_PIPELINE
./grammar.y:783:priv_gst_parse_yyparse: link without source element
WARNING: erroneous pipeline: link without source element
//--------------------------------------------------------------//
any ones have any idea for me, thank you for helping me.



--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/saving-audio-and-video-synchronisation-problem-rtspsrc-plugin-connect-live555-saveing-video-and-audi-tp4669991.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list