H.264 vs H.265 (HEVC) vs AV1: codecs vidéo mo9arnin
9aren codecs vidéo H.264, HEVC, w AV1. T3allem el far9 f-efficacité compression, licences, sor3at encodage, w décodage matériel Apple Silicon.
Bil mokhtasar
- HEVC w AV1 ya3tiw 30% l-50%+ rba7 f-bitrate 3la H.264 b-nafs el qualité el basseriyya.
- AV1 ya3ti 20% l-35% efficacité zeyda 3la HEVC w balesh men ghir royalties bel kamel.
- x264 w x265 houma encodeurs logiciels san3ouhom développeurs, wa9telli H.264 w HEVC houma standards.
- Kol puces Apple Silicon ydécodiw H.264 w HEVC f-matériel; décodage matériel AV1 yotlob puce M3 wella ajadd.
- Mac-et M1 w M2 ydécodiw AV1 b-slasa b-librairies logiciels CPU multi-thread kima dav1d.
Fi hal saf7a
- Chnowa ya3mel codec vidéo fel wa9e3?
- 9addech HEVC w AV1 akther efficacité men H.264?
- Chnowa el far9 bin codecs w encodeurs kima x264 w x265?
- 3lech licences brevets mohemma l-H.264, HEVC, w AV1?
- Kifech Apple Silicon ygeri décodage matériel H.264, HEVC, w AV1?
- H.264 vs H.265 vs AV1: mo9arna technique kamla
- Anahou codec te5tar lel tafarroj wel encodage?
H.265 (HEVC) w AV1 houma codecs vidéo jdod ycompressiw el vidéo b-efficacité akbar barcha men standard H.264 (AVC) el 9dim, w ya3tiw nafs el qualité el basseriyya b-bitrates a9al b-40 l-50% ta9riban. Bin ez-zouz codecs el jdod, AV1 ya3ti 20 l-30% rba7 débit zeyed 3la HEVC w balesh men ghir royalties, elli y5allih el standard el mafadhel l-YouTube w Netflix.
Lel moullek Mac, efficacité el lecture tetwa99ef 3la jil el processeur: kol Mac Apple Silicon ydécodi H.264 w HEVC direct f-matériel, wa9telli décodage matériel AV1 m5asses mawjoud f-puces M3, M4, w ma ajadd. Mac-et M1 w M2 ycha33lou vidéowat AV1 b-résolution 3alya b-slasa b-décodeurs logiciels CPU kima dav1d, ama el décodage matériel y7afedh akther barcha 3al batterie wa9t el lecture et-twila.
Chnowa ya3mel codec vidéo fel wa9e3?
El vidéo hiya motataliyet tsawer thebta tet3adda b-24, 30, wella 60 image f-thanya. Men ghir compression, vidéo 4K f-60 images/s b-alwen 10-bit tekhou ta9rib 10 gigabits f-thanya: disque 1 téraoctets yet3abba f-rbo3 sa3a. Codec vidéo ycompressi el flux el kbir hedha l-taille ma39oula ki yna77i el ma3loumet el basseriyya el met3awda.
El codecs youslou lel compression b-zouz toro9: compression spatiale w compression temporelle. El compression spatiale tsahel el achkel el met3awda da5el image wa7da, kima taswiret JPEG. El compression temporelle t9iss el taghyir bin el images elli wra b3adhhom fel wa9t.
F-mach-had vidéo 3adi, el arrière-plan ghalben yo93od thabet wa9telli moumathel yetkellem wella yemchi. F-blast ma y5abbi el arrière-plan f-kol image, el codec y5abbi image référence kamla wa7da w ba3d ysajjel ken el pixels elli t7arrkou fel images ej-jeyin.
Animation
A keyframe, then only what changed
El motataliya hedhi men el images tetsamma Group of Pictures (GOP):
- Intra-coded frames (I-frames): Keyframes kamlin fihom image kamla mosta9la 3la ay image o5ra.
- Predicted frames (P-frames): Images ysajlou el taghyir par rapport l-I-frame wella P-frame elli 9ablou.
- Bi-directional predictive frames (B-frames): Images compressés barcha yinterpoliw el taghyir ki ychoufou 9oddem w teli lel images elli dawrin bihom.
El far9 bin H.264, HEVC, w AV1 jey men dhaka2 algorithmes mte3hom f-tawa99o3 el taghyir, 9addech sghar ynajmou y9assmou blocs el pixels, w efficacité el encodage entropique.
9addech HEVC w AV1 akther efficacité men H.264?
Ingénieurs el vidéo y9issou efficacité compression b-Bjøntegaard Delta bitrate (BD-rate), courbe mathématique t9iss nisbet rba7 el bitrate bin zouz codecs f-nafs el qualité. El qualité el basseriyya tet9as b-VMAF (Video Multi-Method Assessment Fusion), métrique machine learning tawretha Netflix w makhber.
Benchmarks el sina3a ywarriw niveaux wadh7in bin el 3 codecs:
- HEVC vs H.264: mo9arnet manchoura, bima fihom tests ingénieurs Netflix, y7ottou rba7 HEVC f-ta9rib 30% l-50% l-nafs el qualité.
- AV1 vs H.264: tests manchoura men ingénieurs Meta (wa9tha Facebook) warrat elli AV1 yna99es el bitrate b-50.3% mo9arana b-x264 Main Profile, w 46.2% mo9arana b-x264 High Profile.
- AV1 vs VP9 w HEVC: nafs el tests la9aw 34.0% rba7 3la VP9 (libvpx); mo9arnet m3a HEVC 3amatan y7ottou AV1 a9al b-20% l-30%.
- Fel wa9e3: services kima Netflix w YouTube tawwa yeb3thou AV1 lel appareils elli ynajmou ydécodiwah, 5ater nafs el qualité tetkallefhom a9al bits.
Schéma
Bitrate matloub l-qualité mchabbiha (H.264 = 100)
A9al bits l-nafs el taswira ya3ni résolutions a3la 3al connexions el bti2a, w fatouret bande passante a9al lel services. Bech tefhem kifech el bitrate y2ather 3al qualité, chouf Chnowa howa el bitrate?.
Chnowa el far9 bin codecs w encodeurs kima x264 w x265?
El nes dima yesta3mlou “H.264” w “x264” f-blast b3adhhom, ama houma mafahim mo5talfa jemla f-hendeset el vidéo.
Codec howa spécification rasmiya mektouba 3al wra9. Mathalan, ITU-T H.264 w ISO/IEC 14496-10 y7adddou syntaxe el bitstream elli décodeurs lezemhom yefhmouha. El spécification ma ta3tich code logiciel; ta3ti el 9awa3ed kahaw.
Encodeur howa el logiciel wella el bloc silicium el 7a9i9i elli ye5ou images brutes, yejri 7sebet compression, w y5arrej bitstream motabe9:
- H.264 (AVC) howa el standard; x264 howa l-encodeur logiciel open-source mta3 VideoLAN.
- H.265 (HEVC) howa el standard; x265 howa l-encodeur logiciel open-source mta3 MulticoreWare.
- AV1 howa el standard; SVT-AV1 (men Intel w Alliance for Open Media) w libaom houma encodeurs logiciels yektbou AV1.
Ki tchouf tag x265 f-esm fichier film, ma3neha el fichier tcompressa b-moteur logiciel x265 f-blast encodeur matériel kima Apple VideoToolbox wella Intel Quick Sync. Tnajem tefhem el tags hedhom f-Asma2 fichiers vidéo mfassrin.
Encodeurs logiciels kima x264 w x265 ya3tiw ta7akkum da9i9, w y5arrjou qualité a3la l-kol mégaoctet men encodeurs matériels sra3, ama yaklou CPU barcha w ya5dhou wa9t twil fel encodage.
3lech licences brevets mohemma l-H.264, HEVC, w AV1?
En-naja7 el tijari mta3 codec vidéo yet7akkem fih chourout licences el brevets 9add efficacité compression. El far9 bin HEVC w AV1 ybayyen el wa9e3 hedha.
H.264 ken mlicenci via pool wa7ed tgerih MPEG LA. El chourout kenou wadh7in, royalties ma7doudin, wel streaming web el balesh ken ma3fi men rousoum l-kol flux. El woudhou7 hedha 5alla H.264 el format el universel 3al web akther men 15 sna.
HEVC, b-el 3aks, 3ana men nizaa3 licences m5allat. Barcha pools motanafsin — MPEG LA, HEVC Advance, Velos Media — talbou royalties 3al matériel, distribution, w abonnements streaming, men ghir sa9f mowahhad.
5ater chariket el matériel w navigateurs open-source wajhou mas2ouliyet maliya kbira, plateformes el web el kbar rafdhou HEVC:
- Navigateurs kima Google Chrome w Mozilla Firefox rafdhou ycha33lou HEVC l-snin.
- Kbar el streaming 3amlou ta7alof bech yfotou el pools bel kamel.
- F-2015, Google, Mozilla, Cisco, Microsoft, Amazon, Netflix, w Intel assou Alliance for Open Media (AOMedia) bech yasna3ou codec balesh men ghir royalties: AV1.
- Apple da5let rasmiyan f-majles AOMedia f-Janvier 2018.
5ater AV1 ma fihouch 7atta royalties brevets, fisa3 walla el standard l-YouTube, Netflix, w navigateurs el jdod.
Kifech Apple Silicon ygeri décodage matériel H.264, HEVC, w AV1?
Kol processeur ordinateur ynajem ydécodi vidéo b-décodage logiciel wella décodage matériel m5asses. El far9 bin ez-zouz y7added ken batteriet el MacBook mte3ek tched re7la kamla wella tferegh f-sa3tin.
El décodage logiciel yesta3mel cœurs CPU 3adiyin bech ye7seb el images. Hedha yakol énergie kbira, ysakhkhen el puce, w ycha33el el ventilateurs. El décodage matériel y3addi el flux 3al circuits silicium thebta f-puce Apple Silicon, esmha Media Engine. El Media Engine ytraiti images 4K b-énergie 9lila barcha, w y5alli CPU w GPU mertahin.
Da3m décodage matériel Apple bin ajyel el puces wadhah:
- H.264 (AVC): Mad3oum f-matériel 3la kol processeurs Apple Silicon (M1, M2, M3, M4, w ajadd) w Mac-et Intel el 9dom b-VideoToolbox.
- H.265 (HEVC): Mad3oum f-matériel 3la kol processeurs Apple Silicon (M1 l-M4) l-alwen 8-bit w 10-bit, bima fih HDR10 w Dolby Vision.
- AV1: Mad3oum f-décodage matériel silicium m5asses 3la Apple Silicon M3, M4, w ajadd, w processeur iPhone A17 Pro. Apple t5arjou f-CoreMedia ta7t kCMVideoCodecType_AV1 (
av01).
Puces M1 w M2 ma fihomch circuits AV1, donc el lecteurs ydécodiwah b-logiciel. Décodeur dav1d open-source mta3 VideoLAN optimisé barcha l-cœurs CPU Apple Silicon w ghalben ycha33el 7atta AV1 4K b-slasa, ama yakol akther énergie. L-akther tafasil, a9ra AV1 3al Mac.
H.264 vs H.265 vs AV1: mo9arna technique kamla
Ta9yim el 3 codecs ywarri 3lech sina3et el vidéo 9a3da tet7awel mel standards el 9dom lel badayel el jdod.
| Sifa | H.264 (MPEG-4 AVC) | H.265 (HEVC) | AV1 (AOMedia) |
|---|---|---|---|
| Standard Kammel | 2003 (ITU-T / ISO) | 2013 (ITU-T / ISO) | 2018 (AOMedia) |
| Rba7 bitrate vs H.264 | Marja3 | Ta9rib 30% l-50% | Ta9rib 50% |
| Rba7 bitrate vs HEVC | Yest7a9 akther | Marja3 | Ta9rib 20% l-30% |
| Modèle Licence | B-royalties (MPEG LA) | Pools mfar9in (Royalties 3alya) | Balesh men ghir royalties, open source |
| Max Bloc Codage | Macroblocs 16×16 | Coding Tree Units 64×64 | Superblocs 128×128 |
| Profondeur Alwen | 8-bit 3adi (10-bit nader) | 8-bit, 10-bit (Main 10), 12-bit | 8-bit, 10-bit, 12-bit |
| Matériel Apple Silicon | Kol M1, M2, M3, M4 | Kol M1, M2, M3, M4 | M3, M4 w ajadd (A17 Pro) |
| Tariqet Lecture M1 / M2 | Matériel (VideoToolbox) | Matériel (VideoToolbox) | Logiciel (dav1d ARM NEON) |
| Lecture Web 3al Mac | Kol navigateur | Safari, Chrome (b-da3m matériel) | Chrome, Firefox; Safari 3la M3 w ajadd |
| Sor3at Encodage (CPU) | Sari3 (x264) | Moutawasset l-bti2 (x265) | Bti2 l-bti2 barcha (SVT-AV1) |
El blocs el akbar f-HEVC (64×64 pixels) w AV1 (128×128 pixels) y5alliw ez-zouz codecs ycompressiw masahat thebta kbar — kima es-sma, el 7yout, wel arrière-plan flou — b-bits a9al barcha men macroblocs 16×16 mta3 H.264.
Anahou codec te5tar lel tafarroj wel encodage?
5ater kol codec fih mouwazena bin compatibilité, wa9t encodage, w efficacité, el format el mneseb yetwa99ef 3la isti3malek.
Lel tafarroj:
- 3la Mac-et M3 w ajadd, flux AV1 yetdécodiw f-matériel: 5alli el services yeb3thouh.
- E5tar HEVC l-archives aflam 3alya w lecture 4K HDR, 5ater yetmacha m3a décodage matériel f-kol Mac Apple Silicon w Apple TV 4K.
- A3temed 3la H.264 ki tcha33el vidéo 3la matériel 9dim, écrans krahba, wella smart TVs 9dom.
Lel encodage w export:
- E5tar H.264 ken awlawiytek compatibilité universelle. Ken teb3ath clip l-zoumala2 wella t7ottou f-site web 3am, H.264 ye5dem 3la kol écran tsana3 f-15 sna el a5ira.
- E5tar HEVC ken tarchivi vidéowat dar wella taswir 4K chakhsi. Encodeur VideoToolbox mta3 Apple yexporti fichiers HEVC f-d9aye9 w yna99es el stockage lel nosf mo9arana b-H.264.
- E5tar AV1 ken tencher 3la plateformes streaming wella t7eb asghar taille fichier lel web, ken 3andek 9owwet processeur lel encodage el bti2.
E5tar el codec l-win el vidéo bech tetchef: ajadd we7ed ma ynfa3 ken ki el appareils elli ycha33louh ynajmou ydécodiwah.
As2ela yet3awdou
Ya5i H.265 dima a7sen qualité men H.264?
F-nafs el bitrate, H.265 ya3ti qualité a7sen b-woudhou7 w tafasil awdha7 men H.264. Wella, H.265 ynajem yjib nafs qualité H.264 b-nosf taille el fichier wel débit ta9riban.
Chnowa el far9 bin H.265 w HEVC?
H.265 w HEVC ychirou l-nafs el standard vidéo b-dhabt. High Efficiency Video Coding (HEVC) howa el esm el handasi el rasmi, wa9telli H.265 howa esm standard ITU-T.
Ya5i AV1 y3awedh HEVC?
AV1 9a3ed y3awedh HEVC fel streaming 3al internet f-plateformes kima YouTube w Netflix 5ater ya3ti efficacité compression a7sen w ma yotlobch 7atta royalties licences brevets.
Ynajem Mac M1 wella M2 ycha33el vidéowat AV1?
Ey. Sa7i7 puces M1 w M2 na9shom décodeur silicium AV1 m5asses, lecteurs vidéo el jdod yesta3mlou moteur logiciel dav1d multi-thread bech ydécodiw flux AV1 1080p w 4K b-slasa 3al cœurs CPU.