Dynamic a/v synchronization ?

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
pich
New Cone
New Cone
Posts: 4
Joined: 05 Nov 2010 10:07

Dynamic a/v synchronization ?

Postby pich » 05 Nov 2010 10:20

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 !!

Greg
Cone that earned his stripes
Cone that earned his stripes
Posts: 316
Joined: 24 Feb 2009 00:37

Re: Dynamic a/v synchronization ?

Postby Greg » 05 Nov 2010 12:56

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?

pich
New Cone
New Cone
Posts: 4
Joined: 05 Nov 2010 10:07

Re: Dynamic a/v synchronization ?

Postby pich » 05 Nov 2010 13:46

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 :)

Greg
Cone that earned his stripes
Cone that earned his stripes
Posts: 316
Joined: 24 Feb 2009 00:37

Re: Dynamic a/v synchronization ?

Postby Greg » 05 Nov 2010 14:53

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.

pich
New Cone
New Cone
Posts: 4
Joined: 05 Nov 2010 10:07

Re: Dynamic a/v synchronization ?

Postby pich » 05 Nov 2010 23:07

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

pich
New Cone
New Cone
Posts: 4
Joined: 05 Nov 2010 10:07

Re: Dynamic a/v synchronization ?

Postby pich » 08 Nov 2010 13:13

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 ?


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 17 guests