Sign up ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

How to record video from webcam with added date and time? VLC and cheese cat't do it.

share|improve this question

migrated from Jun 6 '12 at 22:23

This question came from our site for professional and enthusiast programmers.

Question for SU – Shiplu Jun 6 '12 at 9:08

1 Answer 1

up vote 3 down vote accepted

Sorry I didn't notice you already tried cheese.

FFMpeg can do it.

ffmpeg -f video4linux2 -i /dev/video0 -s 640x480 -r 30 -vf \
"drawtext=fontfile=/usr/share/fonts/truetype/ttf-dejavu/DejaVuSans-Bold.ttf: \
text='\%T': fontcolor=white@0.8: x=7: y=460" -vcodec libx264 -vb 2000k \
-preset ultrafast -f mp4 output.mp4

Its not very user friendly, but here is a page that can help, Adding time stamp overlay to video stream using ffmpeg and I'm sure there are more.

share|improve this answer
This is quite enough to me. Thank you. – uralbash Jun 6 '12 at 10:06

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.