algorithm | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

algorithm

i want to build an algorithm for video and compression and processing what should i learn

19th Aug 2018, 9:49 PM
Gaming wise
4 Answers
+ 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.
19th Aug 2018, 11:09 PM
Ahri Fox
Ahri Fox - avatar
+ 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.
19th Aug 2018, 11:17 PM
J.G.
J.G. - avatar
+ 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
19th Aug 2018, 9:57 PM
J.G.
J.G. - avatar
0
thank u very helpful
20th Aug 2018, 12:26 AM
Gaming wise