id	summary	reporter	owner	description	type	status	priority	component	version	resolution	keywords	cc	blockedby	blocking	reproduced	analyzed
692	Audio is not in sync with video, webcam capturing	burek		"This command:

{{{
ffmpeg -f alsa -ar 44100 -ac 1 -i front:CARD=U0x46d0x809,DEV=0 -f video4linux2 -r 25 -s vga -i /dev/video0 -vcodec libx264 -preset fast -crf 20 -acodec libaacplus -ab 32k -f mpegts udp://burek:10001
}}}

produces such a stream that AUDIO is late (video comes before audio), and this command (just swapped a/v inputs):

{{{
ffmpeg -f video4linux2 -r 25 -s vga -i /dev/video0 -f alsa -ar 44100 -ac 1 -i front:CARD=U0x46d0x809,DEV=0 -vcodec libx264 -preset fast -crf 20 -acodec libaacplus -ab 32k -f mpegts udp://burek:10001
}}}
produces such a stream that VIDEO is late (audio comes before video).

The sync time difference is less than a second, but it's noticable. Also, I've tried with -isync option (before, between and after both inputs) and it didn't have any effect."	defect	closed	normal	avdevice	git-master	fixed	v4l2 alsa				1	0
