Delay in the stream of an audio conf

About encoding, codec settings, muxers and filter usage
shibby
New Cone
New Cone
Posts: 2
Joined: 19 May 2008 11:52

Delay in the stream of an audio conf

Postby shibby » 21 May 2008 10:37

Hello,

I saw a lot of people asking that in the forum, but no answer seems to be able to make the delay below 2 sec.
Most topic I read were quite old, so may be there is any change now ?
I need a delay about 0.5 sec, I already try to change the cache size

Code: Select all

vlc v4l://sdsdsd --v4l-vdev azead --sout '#transcode{acodec=mpga,ab=192,channels=2}:duplicate{dst=std{access=udp,mux=ts,dst=pedibux:1234}}' --sout-udp-caching 10
It did not work.
Is there some faster codec ? some faster mux ? faster protocol ?

Shibby.

shibby
New Cone
New Cone
Posts: 2
Joined: 19 May 2008 11:52

Re: Delay in the stream of an audio conf

Postby shibby » 21 May 2008 17:01

Here is the solution if you want to make video/audio conference using vlc :

http://www.vlvc.net/en-home.html

that's based on vlc core, but without the delay.

dave73
New Cone
New Cone
Posts: 5
Joined: 14 May 2008 15:22

Re: Delay in the stream of an audio conf

Postby dave73 » 11 Jun 2008 16:59

Hi Shibbi,

I try the VLVC solution but there is always a delay.
I try with different parameters (codec, network configuration...) but nothing change.
Which configuration do you use to avoid the delay?

Thank in advance.

Nehemiah
New Cone
New Cone
Posts: 5
Joined: 13 May 2008 14:18
VLC version: 0.9.0
Operating System: linux

Re: Delay in the stream of an audio conf

Postby Nehemiah » 12 Jun 2008 16:38

Hi,
How did you measure delay?
Thanks

dave73
New Cone
New Cone
Posts: 5
Joined: 14 May 2008 15:22

Re: Delay in the stream of an audio conf

Postby dave73 » 13 Jun 2008 13:53

I have 2 PC connected in the same LAN and these computers are physically close to each other. That why I perfectly see the delay between the transmitted video and the receive video.
I have not an accuracy timing but with mp4v video codec @256kbps and audio codec @96kbps there is a delay of about 3secondes.

dave73
New Cone
New Cone
Posts: 5
Joined: 14 May 2008 15:22

Re: Delay in the stream of an audio conf

Postby dave73 » 17 Jun 2008 16:59

With these parameters under vlc the delay is droped under 1second :
udp-caching=0 (defaut = 200ms)

(Setting->Preferences->Stream output->Muxers->MPEG-TS)
dts-delay=20 (defaut = 400ms)
pcr=20 (defaut = 70ms)
shaping=20 (defaut=20ms)

yuniara
New Cone
New Cone
Posts: 9
Joined: 08 Jul 2008 08:54

Re: Delay in the stream of an audio conf

Postby yuniara » 05 Aug 2008 06:08

With these parameters under vlc the delay is droped under 1second :
udp-caching=0 (defaut = 200ms)

(Setting->Preferences->Stream output->Muxers->MPEG-TS)
dts-delay=20 (defaut = 400ms)
pcr=20 (defaut = 70ms)
shaping=20 (defaut=20ms)

is it playout delay ? how do i have to do to know network delay of every packet sent by VLC in server side to VLC in client side. not by using wireshark, but i want to know it in VLC client. Thank You


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 22 guests