Sunday, January 14, 2018

Standard y4m and yuv video files

There are lots of standard video files that if you want to write a video processing paper or testing a novel idea about video,  you can rely on them. Each of them has its own characteristic for instance a couple of them are used for non-uniform/uniform motion vector (MV) analysis while the other are used mainly for intra-prediction coding and analysis. So it is depended on your paper/project to make a choice between them. I will list some of them and list them.



1. Carphone video sequence:

Carphone video sequence
Carphone video sequence
Its background is changing with high alternation and besides there are several straight lines which can be used for error concealment evaluations such as subjective tests (MOS).
the link for download this sequence: link








Container video sequence
Container video sequence


2. Container video sequence:

A small ship in a river. ver low speed (Dead speed :)). straight lines and also uniform motions. This is also can be used as a confirmation of your novel method in your project.
the download link for CIF is: link
the download link for QCIF is: link





To be continued...

Friday, January 12, 2018

HEVC: How to encode and decode using HM software?

It is really nice to know that HEVC can handle ultra HD called UHD. UHD video files have large size up to 8192×4320 pixels. So if you want to transmit this amount of data using older codecs, you should wait too much time. HEVC uses CTU (Coding Tree Unit) and other professional method of increasing Intra prediction to increase block sizes and sample precision (Up to 1/8-sample). Therefore, It can send a video file by half of the bits which are used for H.264, i.e., 50% of the H.264 bit rate with the same quality.  The reference software for H.264 is JM and you can download it from this link: http://iphome.hhi.de/suehring/tml/download/
After downloading, just build the whole solution using Microsoft Visual Studio (Maybe free IDE  version you want to use!)
https://www.visualstudio.com/
After building the solution there should be and .exe file lencode.exe and ldecode.exe. Using these exe files you can run the program. Also, by editing the .conf or config file you could change the way your video file is encoded/decoded. please feel free to comment any problem you may encounter during the procedure.
Although the way it is compiled is the same for HEVC, it should be downloded using SVN subversion client for example you can download one from this link:
http://www.sliksvn.com/en/download
After downloading, just please add this svn link in its field and let it go :):
https://hevc.hhi.fraunhofer.de/svn/svn_HEVCSoftware/trunk/
It will download all that is necessary with all the archive up to the latest version.
All is the same as before to compile and run the program.
Also for several useful and standard video files you can refer to this link:
https://media.xiph.org
and for YUV player (if you don't have one :)),  just please refer to this link:
https://sourceforge.net/projects/raw-yuvplayer/
Also, if you want to start, you van use this config file:
https://files.fm/u/kd8kpq5c
This file is random access and can be found in config directory.