audio-desync change while streaming using libVLC

This forum is about all development around libVLC.
Soroush
New Cone
New Cone
Posts: 8
Joined: 05 Oct 2010 01:41

audio-desync change while streaming using libVLC

Postby Soroush » 26 Jan 2011 13:48

Hi,
I have ts(mpeg2video/mpga) stream and I am trying to transcode to H.264/AAC in ts container, I am getting variable audio sync problems that I was not able to fix using parameters of VLC. to my basic knowledge there is sync and timestamp information in ts streams with every packet and saving a copy of stream in ts and using mediainfo there is video delay value that equal the delay I notice in my stream, I wonder why VLC does not use these information to correct the delay in first place?

Now I think it maybe possible to use libVLC to correct this issue if:
1. libVLC give access to audio and video sync information while do the streaming to probe the current video delay.
2. It support change of audio-desync parameter value on the fly(e.g without interrupting the streaming).

I am not familiar with libVLC and would like the experts to confirm that my requirements are doable using libVLC before starting learning libVLC and its API.

Thanks

skurdakov
New Cone
New Cone
Posts: 2
Joined: 19 Sep 2010 12:27

Re: audio-desync change while streaming using libVLC

Postby skurdakov » 29 Jan 2011 23:19

Hi Soroush,

first - you may correct using libVLC, as you have all info there in code.
you may add code to control desync ( though it is no there as you may notice )

now - I seen you sent me private message - but I cannot reply - due to my low activity - feature to reply is just blocked for me.
In case you wish to have a reply - please PM me with details how to contact you


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 8 guests