Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .