[maemo-developers] [maemo-developers] problem with dspmp3sink (was: problem with gstreamer and dsppcm)

From: Siarhei Siamashka siarhei.siamashka at gmail.com
Date: Tue Aug 22 20:57:29 EEST 2006
On Friday 18 August 2006 22:16, you wrote:

> As the gstreamer got some attention in the mailing list, I think it is a
> good chance to remind that I'm still having problems with it too:
> http://maemo.org/pipermail/maemo-developers/2006-August/005060.html
> I need to know exact audio playing position when using dspmp3sink in order
> to properly synchronize video with it in mplayer (for '-ao -gst -ac dspmp3'
> options): https://garage.maemo.org/projects/mplayer/
> So far I did not succeed. Probably I'm missing something trivial and the
> help from somebody else or some kind of brainstorming could solve this
> problem very fast.

Well, that was really something trivial. It was just needed to set 'sync'
property to TRUE for dspmp3sink element and gst_element_query position() 
function starts working! :-)

Well, I was almost sure that I tried this 'sync' property at an early stage of
experimenting so it took so long to try it again and figure out that it
actually works. I wish somebody with more gstreamer knowledge could 
provide me with some hint, that would save really a lot of my time doing 
some silly experiments trying to find a reliable way to estimate this sound
delay :-)

On a positive side, mplayer with a better gstreamer sound output support with
proper audio/video sync will be available really soon.

More information about the maemo-developers mailing list