شرح درس Digital Representation and Compression Technology for Videos لأولى ثانوي لغات، الوحدة السادسة: Frame و Frame rate، وحجم الفيديو، و Compression ratio، و Lossless و Lossy.
Video: An electronic medium that creates the illusion of movement by displaying a series of still images in succession. It utilizes the afterimage phenomenon, which occurs due to the characteristics of human vision. يعني الفيديو صور ثابتة بتتعرض ورا بعض، وعينينا هي اللي بتشوفها حركة. Frame: Each still image that composes a video. Frame rate: The number of frames displayed per second. The unit is fps. The higher the frame rate number, the smoother the video will appear, and the larger the data size will become.
How to Calculate the Amount of Video Data: Amount of video data = Amount of image data [B] × Frame rate[fps] × Time [seconds]. مثال الكتاب: 300,000 [B] × 30 [fps] × 10 [seconds] = 90,000,000 [B]، يعني 90 MB.
Compression: A process of reducing the amount of data as much as possible while preserving the content of the data. Decompression: A process of restoring compressed data to its original state. Compression ratio: The extent to which data has been compressed، وقانونها: Compression ratio [%] = (Amount of data after compression / Original amount of data) × 100. مثال الكتاب: فيديو 90 MB بقى 30 MB، يعني 33% تقريبًا.
Lossless compression: A compression method that allows for the complete restoration of the original data from the compressed data. Used for compressing information such as text or program data. يعني الأصل بيرجع كامل. Lossy compression: A compression method in which the original data cannot be restored from the compressed data. Lossy compression is used for compressing audio, images, and video files in a way that humans do not perceive a significant difference, even if those files cannot be perfectly restored to their original form.
Main Types of Lossless Compression: Run-length encoding: A compression method that replaces sequences of the same consecutive symbols with a numerical value indicating the length of the sequence. It is effective when there are many consecutive identical symbols. مثال الكتاب: AAAAABBAAAABBBBBBBBAAAAAA (25 characters) بتبقى A5B2A4B8A6 (10 characters)، والـ compression ratio يساوي 10 ÷ 25 × 100 = 40%. و Huffman coding: A compression method that assigns shorter bit sequences to characters with higher frequencies of occurrence, and longer bit sequences to those with lower frequencies.
اختبر نفسك
اختبار الدرس للمشتركين
اشترك عشان تفتح كل الفيديوهات والاختبارات بتاعة صفك. التحويل بـ InstaPay أو محفظة موبايل، وبعدها تكلمنا على واتساب ونفعّل الاشتراك.