Skip to content

Modifies YUV files by dividing every frame into four equal parts. Opposite parts of the image are changed with each other, at specified time intervals.

Notifications You must be signed in to change notification settings

JakubBorkowski/YUVEdit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

YUVEdit

This program modifies images of the video sequence in a YUV file. Every image of each frame is first divided into four equal parts. Then, the opposite parts of the image of a given frame are changed with each other, at specified time intervals. The exact process is shown in the image below. This program was created to test the efficiency of video codecs under a frequent scene change conditions. Currently, there are supported only yuv files with 4:2:0 chroma subsampling.

Frame dividing schema

Usage

Program must be started with the following arguments in the same order:

  • [Input patch] - Patch to input yuv file
  • [Output patch] - Patch to output yuv file
  • [Number of frames to process] - Number of frames that program will process from input file to output file
  • [Frequency of change] - Number of frames at which an image change will occur in the sequence
  • [X resolution] - Width of video sequence
  • [Y resolution] - Height of video sequence
  • [Start of change (0/1)] - 0 – if change of frame should start from first frame or 1 – if change of frame should start after number of frames specified in frequency of change

Example use:

YUVEdit.exe input.yuv output.yuv 500 4 1920 1080 0

A fragment of the 'Pedestrian area' sequence with frequency of change 4

About

Modifies YUV files by dividing every frame into four equal parts. Opposite parts of the image are changed with each other, at specified time intervals.

Topics

Resources

Stars

Watchers

Forks

Packages

 
 
 

Languages