[FFmpeg-user] Audio/video stream are out of sync?

Carl Eugen Hoyos ceffmpeg at gmail.com
Thu Feb 9 01:02:26 EET 2017


2017-02-08 22:57 GMT+01:00 christina zou <zou.christina at gmail.com>:

> *arecord -Dmic_sv -c2 -r48000 -fS32_LE -twav temp_audio.v & \*

Why?
(See below)

> *raspivid -fps 10 -v -b 3000000 -o temp_video.h264 -t 0 & \*

Is this not possible with ffmpeg alone?

> ~/special/ffmpeg/ffmpeg* \*
> *    -framerate 10 \*
> *    -re \*
> *    -i temp_video.h264 \*
> *    -i temp_audio.v \*

(Complete, uncut console output missing.)
How are these two input streams supposed to be synced?

Normally, you would use (for example) alsa and v4l2 input
and hope that the two drivers both provide wallclock timestamps.

Carl Eugen


More information about the ffmpeg-user mailing list