Audio rate problems

Mailing List SVR lists at svrinformatica.it
Mon Apr 16 05:07:10 PDT 2012


Il 16/04/2012 07:59, Garth Tissington ha scritto:
> Hi,
>
> I am a complete Gstreamer new.  Please forgive me if this is a common 
> question.  I found many other "audio synchronization" posts on this 
> list-serve but none of the offered answers seems to address my problem.
>
> My pipe line is simply trying to mux an audiotestsrc with a 
> videotestsrc and output to a filesink.
>
> videotestsrc num-buffers=150  ! video/x-raw-yuv,width=1920, height=1080 !
>    timeoverlay ! videorate ! queue ! xvidenc ! avimux name=mux mux.
>       ! filesink sync=true location=new.avi
> audiotestsrc num-buffers=150 !
>   queue ! audioconvert ! audiorate ! mux.
>
>   * new.avi is produced.
>   * Video is exactly 5 seconds long as expected
>   * Audio is about 3.5 seconds long and the remaining 1.5 seconds is
>     slient.
>

the duration for audio and video buffers could be different you cannot 
assume that an audio buffer has the same duration as a video buffer

Nicola

> What am I missing here?  I've tried every combination of sync="" 
> properties, etc.
>
> Thanks very much in advance
>
> Garth Tissington
> 250 891 4797
> ---
>
> Given sufficient thrust pigs fly just fine.
>
>
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20120416/1f718026/attachment.htm>


More information about the gstreamer-devel mailing list