[gst-devel] Synchronizing audio stream with system clock

Steven Barth steven at midlink.org
Sun Jan 31 22:38:51 CET 2010


Thanks you very much for your help.
I changed the code to:

pipeline = gst.parse_launch("filesrc location=/home/steven/03.pcm ! audioparse 
! identity sync=true ! audioresample ! audioconvert ! vorbisenc ! oggmux ! 
fdsink sync=true fd="+str(pipeout))
pipeline.set_state(gst.STATE_PLAYING)

and now it works fine.
It seems it needs the "identity sync=true" though otherwise the syncing does 
not work. The sync parameter on the fdsink doesn't seem to have any effect in 
this case.

Cheers,
Steven




More information about the gstreamer-devel mailing list