|
|
(5 intermediate revisions by 2 users not shown) |
Line 1: |
Line 1: |
| Here I want to explane 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 [https://en.wikipedia.org/wiki/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 ===
| |