Hi Laurent,
On Tue, 2014-04-01 at 15:49 +0200, Laurent Pinchart wrote:
Hi Olivier,
On Sunday 30 March 2014 00:23:01 Olivier Langlois wrote:
Hi Laurent,
Yes. ffmpeg uses wall clock time to create timestamps for audio packets
from ALSA device.
OK. I suppose I shouldn't drop
Hi Laurent,
Yes. ffmpeg uses wall clock time to create timestamps for audio packets from
ALSA device.
OK. I suppose I shouldn't drop support for the realtime clock like I wanted
to
then :-)
There is a bug in ffmpeg describing problems to synchronize audio and
the video from a
Hi Laurent,
On Fri, 2014-03-28 at 17:20 +0100, Laurent Pinchart wrote:
Hi Olivier,
Thank you for the patch.
On Friday 28 March 2014 01:42:38 Olivier Langlois wrote:
timestamps in v4l2 buffers returned to userspace are updated in
uvc_video_clock_update() which uses timestamps fetched
Before applying this, I'm curious, do you have a use case for realtime
time stamps ?
Yes. ffmpeg uses wall clock time to create timestamps for audio packets from
ALSA device.
OK. I suppose I shouldn't drop support for the realtime clock like I wanted
to
then :-)
There
with ffmpeg:
ffmpeg -y -f v4l2 -input_format yuyv422 -video_size 640x480 -framerate 30 -i
/dev/video0 \
-f alsa -acodec pcm_s16le -ar 16000 -ac 1 -i default \
-c:v libx264 -preset ultrafast \
-c:a libfdk_aac \
out.mkv
and inspecting the v4l2 input starting timestamp.
Signed-off-by: Olivier