Key frame

In animation and filmmaking, a key frame (or keyframe) is a drawing or shot that defines the starting and ending points of a smooth transition. These are called frames because their position in time is measured in frames on a strip of film or on a digital video editing timeline. A sequence of key frames defines which movement the viewer will see, whereas the position of the key frames on the film, video, or animation defines the timing of the movement. Because only two or three key frames over the span of a second do not create the illusion of movement, the remaining frames are filled with "inbetweens".[1]

Use of key frames as a means to change parameters

In software packages that support animation, especially 3D graphics, there are many parameters that can be changed for any one object. One example of such an object is a light. In 3D graphics, lights function similarly to real-world lights. They cause illumination, cast shadows, and create specular highlights. Lights have many parameters, including light intensity, beam size, light color, and the texture cast by the light. Supposing that an animator wants the beam size to change smoothly from one value to another within a predefined period of time, that could be achieved by using key frames. At the start of the animation, a beam size value is set. Another value is set for the end of the animation. Thus, the software program automatically interpolates the two values, creating a smooth transition.

Video editing

In non-lineardigital videoediting, as well as in video compositing software, a key frame is a frame used to indicate the beginning or end of a change made to a parameter. For example, a key frame could be set to indicate the point at which audio will have faded up or down to a certain level.

Video compression

في ضغط الفيديو ، يُعرف الإطار الرئيسي، أو الإطار الداخلي ، بأنه إطار تُخزَّن فيه صورة كاملة ضمن تدفق البيانات. في ضغط الفيديو، تُخزَّن التغييرات التي تحدث بين إطار وآخر فقط في تدفق البيانات، وذلك لتقليل كمية المعلومات المخزنة بشكل كبير. [ 2 ] تستفيد هذه التقنية من حقيقة أن معظم مصادر الفيديو (مثل الأفلام) لا تحتوي إلا على تغييرات طفيفة في الصورة بين الإطارات. عند حدوث تغيير جذري في الصورة، كما هو الحال عند الانتقال من لقطة كاميرا إلى أخرى أو عند تغيير المشهد، يجب إنشاء إطار رئيسي. يجب إخراج الصورة الكاملة للإطار عندما يكون الفرق المرئي بين الإطارين كبيرًا لدرجة أن تمثيل الصورة الجديدة تدريجيًا من الإطار السابق يتطلب بيانات أكثر من إعادة إنشاء الصورة كاملة.

نظرًا لأن ضغط الفيديو لا يخزن سوى التغييرات التدريجية بين الإطارات (باستثناء الإطارات الرئيسية)، فإنه لا يمكن تقديم الفيديو أو إرجاعه إلى أي نقطة محددة فيه. ذلك لأن بيانات أي إطار تمثل فقط مدى اختلافه عن الإطار السابق. ولهذا السبب، من المفيد تضمين الإطارات الرئيسية على فترات زمنية محددة أثناء ترميز الفيديو. على سبيل المثال، يمكن إخراج إطار رئيسي واحد لكل 10 ثوانٍ من الفيديو، حتى لو لم تتغير صورة الفيديو بشكل كافٍ لتبرير إنشاء هذا الإطار تلقائيًا. وهذا يسمح بالبحث داخل الفيديو بفواصل زمنية لا تقل عن 10 ثوانٍ. أما الجانب السلبي فهو أن حجم ملف الفيديو الناتج سيكون أكبر على القرص الصلب نظرًا لإضافة العديد من الإطارات الرئيسية دون داعٍ لتمثيل الإطار بصريًا. مع ذلك، لا يُسبب هذا العيب فقدانًا كبيرًا في جودة الفيديو عند ضبط معدل البت على قيمة عالية لتحسين الجودة (كما هو الحال في تنسيق DVD MPEG-2 ).

مراجع

  1. ويبستر، كريس (2005). الرسوم المتحركة: ميكانيكا الحركة . دار فوكال للنشر . ص  23-32. ISBN 9780240516660تم الاطلاع عليه بتاريخ 15 فبراير 2025 .
  2. بارسونز، جون جامريش (2023). منظورات جديدة: مفاهيم الحاسوب الشاملة، الطبعة الحادية والعشرون . سينجايج. ص 66. ISBN   9780357674611.