LEADTOOLS Support
General
General Questions
Embedding Timestamp information in a captured video frames
This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Saturday, August 12, 2006 8:13:18 AM(UTC)
Groups: Registered
Posts: 3
Hello,
I want to be able to embed some binary information (a time stamp) into each frame of a video file as I capture it. I can embed the information by modifying the data in the frame using the callback filter, but I think the data will be altered when the file is run through a codec and saved to disk. Is there a way to keep this data from being altered without saving the file uncompressed?
Thanks,
-Ray
#2
Posted
:
Monday, August 14, 2006 6:33:04 PM(UTC)
Groups: Manager, Tech Support
Posts: 367
Was thanked: 1 time(s) in 1 post(s)
Ray,
If you use any type of lossy compression, the data will be modified in a way that does not guarantee reversing when it is decompressed.
You could try a lossless compression format, but generally the size reduction is not close to the good lossy formats such as H264 and MPEG4.
You could come up with an approach that's 'loss-resistant'. The idea is to set certain pixel values to represent the numbers you want, and make different number values fairly distinct from each other. A lossy compression algorithm usually makes limited to changes the color and/or intensity information, so if your chosen values are far apart enough, you should be able to retrieve them correctly even if they are shifted during encoding/decoding.
Amin Dodin
Senior Support Engineer
LEAD Technologies, Inc.
LEADTOOLS Support
General
General Questions
Embedding Timestamp information in a captured video frames
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.