Log in

View Full Version : extracting date/time stamp


benw
29th July 2013, 19:05
I have a 640x480 .avi film clip that has a date/time stamp. Is there anyway to extract that from the .avi file and relate it to the frame number?

I have attached a sample image.

Thanks!

Ben

IanB
30th July 2013, 23:28
Seeing the date/time stamp is in the form of pixels on the image you are going to need some form of OCR.

Take a look at how DVD subtitles get ripped. The job here looks trivial, black background, white text, numeric only, fixed position, ...

benw
31st July 2013, 01:36
Thanks!

If I ocr it can the date/time stamp be related to the frame number?

IanB
31st July 2013, 03:07
Well you need to decode the frames in order to be able to OCR the pixels representing the timecode texts, so I think it's pretty much a given. i.e. decode frame 1234, OCR the bottom centre region, that timecode goes with frame 1234, rinse, repeat.

mariner
31st July 2013, 03:17
Try AviSubDetector 0.6.0.7 beta

http://www.free-codecs.com/AviSubDetector_download.htm

benw
31st July 2013, 14:29
AviSubDetector 0.6.0.7 beta looks great. Is there a manual that explains how to use all the tools available?

Thanks!

Ben

mariner
31st July 2013, 15:29
Try this:

http://www.wxfs.org/guides/HowtoRiptheTimingandEnglishSubsFromanAVIfileUsingAviSubDetector.pdf