import{s as O,n as Q,o as X}from"../chunks/scheduler.7bc62968.js";import{S as Y,i as Z,g as r,s as i,r as I,A as ee,h as l,f as a,c as o,j as J,u as M,x as y,k as N,y as te,a as s,v as V,d as D,t as E,w as U}from"../chunks/index.2f8492b0.js";import{H as j}from"../chunks/Heading.14fb2476.js";function ae(B){let n,w,x,b,m,_,d,C,p,R="An image is a  binary, two-dimensional (2D) representation of visual data. A video is a multimedia format that sequentially displays these frames or images.",q,f,S=`Technically speaking, the frames are separate pictures. As a result, storing and playing these frames sequentially at a conventional speed results in the creation of a video, thus giving the illusion of motion (just like a flipbook).
It is a popular and widely used medium for communicating information, entertainment, and conversation. Videos and photos are obtained via image-acquisition equipment such as video cameras, smartphones, and so on.`,T,u,H,c,W=`<li><p><strong>Resolution:</strong>
The resolution of a video refers to the number of pixels in each frame or we can also refer to it as the size of each frame in the video. It doesn’t need to be a standard size, but there are common sizes for video. Common video resolutions include HD (1280x720 pixels), Full HD (1920x1080 pixels), Ultra HD or 4K (3840x2160 pixels), and so on.
When a video is said to have a resolution of 1920x1080 pixels, it essentially means the video has a width of 1920 pixels and a height of 1080 pixels.
Higher resolution videos have more detail but also require more storage space and processing power.</p></li> <li><p><strong>Frame Rate:</strong>
A video is composed of multiple separate frames, or images. In order to give the impression of motion, these frames are displayed quickly one after the other.
The number of frames displayed per second is called the “frame rate.” Common frame rates include 24, 30, and 60 frames per second (fps) or hertz (general unit for frequency). Higher frame rates result in smoother motion.</p></li> <li><p><strong>Bitrate:</strong>
The quantity of data needed to describe audio and video is called bitrate. Better quality is achieved at higher bitrates, but streaming requires more storage and bandwidth.</p></li>`,P,h,F="Bitrates for videos are commonly expressed in megabytes per second (mbps) or kilobytes per second (kbps).",k,v,K=`<li><strong>Codecs:</strong>
Codecs, short for “compressor-decompressor” are software or hardware components that compress and decompress digital media to reduce the size of media files, making them more manageable for storage and transmission while maintaining an acceptable level of quality.
There are two main types of codecs; “lossless codecs” and “lossy codecs”. Lossless codecs are designed to compress data without any loss of quality, while lossy codecs are more designed to compress by removing some of the data resulting in a loss of quality.</li>`,A,g,G="In summary, a video is a dynamic multimedia format that combines a series of individual frames, audio, and often additional metadata. It is used in a wide range of applications and can be tailored for different purposes, whether for entertainment, education, communication, or analysis.",L,$,z;return m=new j({props:{title:"Introduction",local:"introduction",headingTag:"h1"}}),d=new j({props:{title:"What is a Video?",local:"what-is-a-video",headingTag:"h2"}}),u=new j({props:{title:"Aspects of a Video",local:"aspects-of-a-video",headingTag:"h3"}}),{c(){n=r("meta"),w=i(),x=r("p"),b=i(),I(m.$$.fragment),_=i(),I(d.$$.fragment),C=i(),p=r("p"),p.textContent=R,q=i(),f=r("p"),f.textContent=S,T=i(),I(u.$$.fragment),H=i(),c=r("ul"),c.innerHTML=W,P=i(),h=r("p"),h.textContent=F,k=i(),v=r("ul"),v.innerHTML=K,A=i(),g=r("p"),g.textContent=G,L=i(),$=r("p"),this.h()},l(e){const t=ee("svelte-u9bgzb",document.head);n=l(t,"META",{name:!0,content:!0}),t.forEach(a),w=o(e),x=l(e,"P",{}),J(x).forEach(a),b=o(e),M(m.$$.fragment,e),_=o(e),M(d.$$.fragment,e),C=o(e),p=l(e,"P",{"data-svelte-h":!0}),y(p)!=="svelte-1y9j5ek"&&(p.textContent=R),q=o(e),f=l(e,"P",{"data-svelte-h":!0}),y(f)!=="svelte-9w7mfy"&&(f.textContent=S),T=o(e),M(u.$$.fragment,e),H=o(e),c=l(e,"UL",{"data-svelte-h":!0}),y(c)!=="svelte-7hg889"&&(c.innerHTML=W),P=o(e),h=l(e,"P",{"data-svelte-h":!0}),y(h)!=="svelte-v1a01l"&&(h.textContent=F),k=o(e),v=l(e,"UL",{"data-svelte-h":!0}),y(v)!=="svelte-16y68c2"&&(v.innerHTML=K),A=o(e),g=l(e,"P",{"data-svelte-h":!0}),y(g)!=="svelte-zqye5x"&&(g.textContent=G),L=o(e),$=l(e,"P",{}),J($).forEach(a),this.h()},h(){N(n,"name","hf:doc:metadata"),N(n,"content",se)},m(e,t){te(document.head,n),s(e,w,t),s(e,x,t),s(e,b,t),V(m,e,t),s(e,_,t),V(d,e,t),s(e,C,t),s(e,p,t),s(e,q,t),s(e,f,t),s(e,T,t),V(u,e,t),s(e,H,t),s(e,c,t),s(e,P,t),s(e,h,t),s(e,k,t),s(e,v,t),s(e,A,t),s(e,g,t),s(e,L,t),s(e,$,t),z=!0},p:Q,i(e){z||(D(m.$$.fragment,e),D(d.$$.fragment,e),D(u.$$.fragment,e),z=!0)},o(e){E(m.$$.fragment,e),E(d.$$.fragment,e),E(u.$$.fragment,e),z=!1},d(e){e&&(a(w),a(x),a(b),a(_),a(C),a(p),a(q),a(f),a(T),a(H),a(c),a(P),a(h),a(k),a(v),a(A),a(g),a(L),a($)),a(n),U(m,e),U(d,e),U(u,e)}}}const se='{"title":"Introduction","local":"introduction","sections":[{"title":"What is a Video?","local":"what-is-a-video","sections":[{"title":"Aspects of a Video","local":"aspects-of-a-video","sections":[],"depth":3}],"depth":2}],"depth":1}';function ie(B){return X(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class le extends Y{constructor(n){super(),Z(this,n,ie,ae,O,{})}}export{le as component};
