[vlc-devel] dynamically syncing live video and audio
Michael.Feurstein at wu.ac.at
Tue Jul 12 10:36:27 CEST 2011
thanks for the replies and this hint. didn't know there was an ffprobe
looks promising, i now can grep the first pts of video and audio packets...
ffprobe -show_packets -sexagesimal udp://@22.214.171.124:1236 | less
now i need to find a way to calculate the delay.
When looking at these first packets there doesn't seem to be a delay even though I have a visual delay of 4 secs
This isn't really vlc-dev related anymore so I'm not sure if anyone of you can point me in the right direction.
I'll figure sth out. One issue also releveant could be the buffer used to receive packets.
Or maybe those numbers are already useless cause they seem to look in sync.
On Jul 5, 2011, at 5:57 PM, Roger Pack wrote:
Is there a way to read out the first presentation time stamps (pts) for
video and audio in order to resync them? I've been trying to analyze the
verbose (-vvv) output for VLC but couldn't pin point the exact start of the
video. My idea would be to try to calculate the out of syncness based on the
pts or the actual start of each stream.
ffprobe -show-packets | head ?
vlc-devel mailing list
To unsubscribe or modify your subscription options:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the vlc-devel