[gst-devel] How to sync audio and video with a DVB src ?

Zaheer Merali zaheermerali at gmail.com
Thu Jul 17 10:18:02 CEST 2008


On Wed, Jul 16, 2008 at 6:46 PM, Julien Pauty <julien.pauty at gmail.com> wrote:
> Hello,
>
> I'm writing an application to watch DVB-T tv. I'm using the dvbsrc and the
> flutsdemux elements. Unfortunatelly, I can't get the sound and video in
> sync: the sound is always a bit late. This is the pipeline I came up with:
>
> gst-launch -v dvbsrc do-timestamp=true modulation=AUTO trans-mode=AUTO
> bandwidth=AUTO frequency=586000000 code-rate-lp=AUTO  guard=AUTO
> hierarchy=NONE pids=16:17:18:110:120:130:140 ! flutsdemux  name=demux
> program-number=257 !  queue max-size-buffers=0 max-size-time=0 !  mpeg2dec
> ! xvimagesink sync=false  demux. ! queue max-size-buffers=0 max-size-time=0
> ! mad ! alsasink sync=false

Change sync=false to sync=true, assuming you are using recent
gstreamer, gst-plugins-base and flutsdemux.

Zaheer
>
> I got there using some source files from flumotion, but I am a bit stuck
> now. I tried to tune various parameters such the "slave-method" and
> "provide-clock" of the alsasink. I also tried to change parameters on the
> dvbsrc. This improves synchronization a bit, but the result is never in
> sync. After all those trials I thought that I probably do something wrong.
>
> Thank you for your help,
>
> Julien
>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>
>




More information about the gstreamer-devel mailing list