+ 1
algorithm
i want to build an algorithm for video and compression and processing what should i learn
4 Respuestas
+ 9
For a language I would recommend C, just to compress it quickly. But I think any programming language would work.
Normal compression is when you look for patterns in the file, and instead you make a reference point. So:
"I really really really love hot coco!"
Becomes:
ref=["really"]
"I ref[0]*3 love hot coco!"
Which has reduced the amount of characters in the string.
Video files can be a little bit different from normal compression. It compresses the bits of the video that tend to not change frame to frame.
Note that these explanations are from my understanding of how compression works, I reccomend you read up more about how it works if you really want to do it.
+ 3
Ahri Fox That was a very thoughtful and good answer. it explains compression at a basic level quite well and the idea can be transferred to bit compression very readily.
+ 2
For compressing videos? First, you need to know how videos are compressed. Do you know how that works? then, implement that in a code that optimizes that method of video compression
0
thank u very helpful