GnlComposition Question

Garth Tissington gtissington at gmail.com
Sat Apr 7 22:12:42 PDT 2012


I'm having a problem synchronizing the audio and video in two GnlCompostion
elements.

What I need is shown below (I know this is not the exact syntax it is being
done in C):

It should have
- two five second video clips one after the other - this works
- silence for the first 5 seconds then 5 seconds of audio from x.mp3.  This
does not work.  Instead the 5 second audio clip is played at 1/2 speed so
it becomes 10 seconds long.

The Pseudo Code for the pipeline is shown here.

Thanks for your help and suggestions

gst-launch
   GnlComposition name="Audio"
       ( GnlFileSource
             location="x.mp3"
             start=5s
             duration=5s
             media-start=30s
             media-duration=5s )
   GnlComposition name="Video"
       ( GnlFileSource
             location="a.avi"
             start=0s
             duration=5s
             media-start=0s
             media-duration=5s )
       ( GnlFileSource
             location="x.mp3"
             start=5s
             duration=5s
             media-start=0s
             media-duration=5s )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20120408/c9b44d3a/attachment.html>


More information about the gstreamer-devel mailing list