JM H264 Reference Codec

To download JM from here Enter to JM-master and make ‘build’ directory, then enter to the build folder and run the following command to create Visual Studio solution: cmake .. -G “Visual Studio 16 2019” -DCMAKE_GENERATOR_PLATFORM=x64 Open JM.sln in the build directory and compile two projects: ‘ldecod’ and ‘lencod’ Example to run ldecod.exe [decode first […]

HEVC Wavefront (WPP) and Slicing

One of the problems of WPP parallelization is long lags for CTU rows at the end of picture, because (k+1)-th thread starts after the previous one has completed two CTUs:   In the figure above thread 8 starts after the first thread has completed the half of CTUs. However, slicing reduces start lags and parallelization […]

HM – Official HEVC Reference Codec

Download and Build To download HM SW type the following: git clone https://vcgit.hhi.fraunhofer.de/jvet/HM.git then enter to folder ‘HM’ and make the directory ‘build’ by typing ‘mkdir build’ then enter to the build directory and create Visual Studio Solution (i use the version 2019): cmake .. -G “Visual Studio 16 2019” -DCMAKE_GENERATOR_PLATFORM=x64 Open HM.sln in the […]

JPEG-XL – JPEG Lineage

FFMPEG Support of JPEG-XL   JPEG-XL is the recent alternative to the old JPEG. JPEG-XL exploits variable DCT size, advanced entropy coding, adaptive quantization, loop filters (to eliminate blockiness). The sources of JPEG-XL are here  , the binaries (incl. for Windows) are here   .  How to build JEPG-XL codec (cjxl and djxl) in Windows […]

JPEG-XS – Visually Lossless Lightweight Image Codec

Content Getting and Compilation of JPEG-XS Codec (in Windows) Running JPEG-XS Reference Codec How to Play JPEG-XS file     JPEG XS is an International Standard from the JPEG Committee, formally known as ISO/IEC SC29 WG1. It provides visually lossless, lightweight and low-latency image compression, compression ratios of JPEG-XS tend to around 10:1.  JPEG-XS files […]

ffmpeg Video Lossless Codecs

Content FFV1 HuffYUV           x264 Codec with zero CRF     ffmpeg-tool supports several video lossless codecs (e.g. for medical imaging applications), implemented from de-facto standards, one of such codecs is FFV1. Note: the full version of ffmpeg binary is here. According to Lossless Video Codec comparisons, most of lossless codecs are too complex, most […]

MPEG-4 Video Encoding with ffmpeg

You are recommended to take full version of ffmpeg build (ffmpeg-git-full.7z) from here. To encode MPEG-4 Simple profile use ‘-c:v mpeg4‘: Example [bitrate 2Mbps]: ffmpeg -video_size 1920×1080 -i crowdrun1080p50fps.yuv    -c:v mpeg4    -b:v 2M -y crowd_mpeg4.avi Video: mpeg4 (Simple Profile) (FMP4 / 0x34504D46), yuv420p, 1920×1080 [SAR 1:1 DAR 16:9], 4297 kb/s To encode with the […]

Codec Popularity at Next Years (till 2030)

According to the graph of codec popularity, taken from the paper “Towards Efficient Multi-Codec Streaming” by Yuriy A. Reznik at 2030 three codecs are popular: HEVC, H264/AVC and AV1 Slava23+ years’ programming and theoretical experience in the computer science fields such as video compression, media streaming and artificial intelligence (co-author of several papers and patents). […]

JPEG Lossless and FFMPEG

JPEG Lossless coding of still images (with ffmpeg tool’s  jpegls) tends to be slightly better than png-format (for both live images and computer-generated)   How to apply JPEG Lossles coding: ffmpeg -i test.png -vcodec jpegls -pix_fmt rgb24 -y test_ls.jpg Note: it’s recommended to set ‘-pred 2’ the median prediction instead of the left (default): ffmpeg […]

AVS Chinese National Video Standard

AVS is Chinese national video standard, it is included in ffmpeg. To validate that you ffmpeg-tool supports AVS pls. run ffmpeg -codecs | findstr xavs … DEV.L. cavs Chinese AVS (Audio Video Standard) (AVS1-P2, JiZhun profile) (encoders: libxavs ) Note: ffmpeg supports the profile JiZhun by default.    Example of AVS encoding  [the bitrate 600 […]