Welcome Guest! To enable all features, please Login or Register.



Last Go to last post Unread Go to first unread post
#1 Posted : Saturday, August 12, 2006 8:13:18 AM(UTC)

Groups: Registered
Posts: 3


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?




Try the latest version of LEADTOOLS for free for 60 days by downloading the evaluation: https://www.leadtools.com/downloads

Wanna join the discussion? Login to your LEADTOOLS Support accountor Register a new forum account.

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

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

Powered by YAF.NET | YAF.NET © 2003-2024, Yet Another Forum.NET
This page was generated in 0.159 seconds.