Page 1 of 1
Dynamic a/v synchronization ?
Posted: 05 Nov 2010 10:20
by pich
Hi, I'm streaming my desktop capturing audio from pulseaudio using ffmpeg. Then I encapsulate the output in transport stream with VLC.
I have an a/v synchronizaction problem. VLC has options to delay audio or video to synchronize them but this only works if the delay is constant. My problem is that the delay is been increased along the time.
Is there any option to tell VLC something like "delay audio 0.1 seconds every second" or some way to tell dynamically to VLC to use a delay (without GUI) ??
Thanks in advance !!
Re: Dynamic a/v synchronization ?
Posted: 05 Nov 2010 12:56
by Greg
The command <audio-sync> should do this dynamically.
I am seeing a problem with it apparently not working using the Lucid-Bleed PPA build. What OS, and version are you using?
Re: Dynamic a/v synchronization ?
Posted: 05 Nov 2010 13:46
by pich
Currently I'm using Lucid with the medibuntu repos.
The <audio-sync> command is used from telnet interface, isn't it? So I must create the media from telnet interface to interact with it and send such commands...
btw, thanks for the answer
![Smile :)](./images/smilies/icon_smile.gif)
Re: Dynamic a/v synchronization ?
Posted: 05 Nov 2010 14:53
by Greg
Use it in the sout string...
http://wiki.videolan.org/Documentation: ... audio-sync
I can't however confirm that it is working at the mo in the std Lucid medibuntu repo version. I will check that out in the next few days.
Re: Dynamic a/v synchronization ?
Posted: 05 Nov 2010 23:07
by pich
What I see, the audio-sync option is not what I need. I need an option to set the A/V delay on the fly at any time and any value of delay and several times.
Something like the command line --audio-desync parameter but called on the fly to adjust the delay between audio and video.
Regards
Re: Dynamic a/v synchronization ?
Posted: 08 Nov 2010 13:13
by pich
Could be used the dts-delay ??? I'm trying to use it but it does nothing. Could any body post me some example ?
I setup this on telnet:
new A broadcast
setup A input udp://@224.66.66.66:6666
setup A output #udp{mux=ts,dst=224.65.65.65:6655}
setup A enabled
control A play
> setup A option dts-delay=1000
setup
# This does nothing
> setup A option dts-delay=-1000
setup
# This does nothing
# And also...
> setup A mux ts
setup : invalid mux option for broadcast
Type `help' for help.
Any clues ?