User:Mai X/HEVC: Difference between revisions

From OniGalore
Jump to navigation Jump to search
m (Adding info about lossless codecs...)
m (+cat)
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
Here I want to explain some effective ways to transcode or re-encode video (with or without audio).
[[Category:Userspace]]
I'll give a list of codecs that I use regulary. Also I'll compare some codecs by main parameters.
<br>
<br>
<br>
== Video Features ==
About pixel formats, alpha-channel, bpp and YUV-subsampling.
<br>
Special words:
<br>
# BPP (bpp) - Bits Per Pixel (Total bits for 1 pixel, i.e. RGB24 - 24 BPP).
# BPC (bpc) - Bits Per Channel (bits for 1 component of a pixel, i.e. RGB24: 3 components - R, G, B; So 24/3 = 8; 8 BPC).
# VFW (vfw) - Video For Windows. For more info - go [[wp:Video for Windows|here]].
<br>
<br>
=== Pixel formats ===
These pixel formats are the most useful for me:
<br>
* <code>RGB24</code> - raw RGB samples without alpha-channel (8 bpc). Can be compressed.
* <code>RGBA32</code> - raw RGB samples with alpha-channel (8 bpc). Can be compressed.
* <code>YUV 4:4:4 (YV24)</code> - YUV format with highest bpc subsampling. Can be used with 10 or 12 bits profiles in H.26x codecs.
* <code>YUV 4:2:2 (YUYV/YUY2)</code> - Same as above, but with lower bpc subsampling. Can be used only with 8 or 10 bits profiles in same codecs.
* <code>YUV 4:2:0 (NV12/YV12)</code> - Same as above, but with the lowest bpc subsampling. Can be used only with 8 bits profiles in same codecs.
* <code>RGBA64</code> - raw RGB samples with alpha-channel (16 bpc). Can be compressed. Not really useful, because 8 bpc is enough for everything.
<br>
<br>
<br>
=== Video Codecs ===
The list of my favourite lossless video codec:
<br>
* <code>PNG Video</code> - Video codec, that encodes every video frame in PNG format. The only lossless codec, that supports Alpha-channel (transparency). Not counting Apple ProRes.
* <code>DV SD</code> - Codec, that used in MiniDV cassettes. Officially, this codec is Lossy, but in my tests it produces NO quality loss. This version is for SD video (supports: 720x480 @ 29.970 fps for NTSC, 720x576 @ 25 fps for PAL/SECAM).
* <code>DV HD</code> - Same as above, but for HD video (supports: 960x720 @ 60 fps @ 16:9 for all standards).
* <code>Lagarith</code> - Codec, that based on HuffYUV codec, but produces smaller files.
* <code>FFV1 Lossless</code> - New video codec, that is more efficient than Lagarith, but is not as widely supported as HEVC.
* <code>HEVC Lossless</code> - One of my favourite lossless codecs (except: PNG Video). Produces smallest files through all lossless codecs. And it has the best support in many devices.

Latest revision as of 17:47, 8 April 2023