User guide

Table Of Contents
A–34 Appendix A: Avalon-ST Video Verification IP Suite
Raw Video Data Format
Video and Image Processing Suite January 2013 Altera Corporation
User Guide
Raw Video Data Format
Altera provides and recommends two Microsoft Windows utilities for translating
between .avi and .raw file formats. Example A–8 shows ways to convert an .avi file.
Example A–8. Convert .raw to .avi file
>avi2raw.exe vip_car_0.avi vip_car_0.raw
"dshow" decoder created
Information on the input file:
filename: vip_car_0.avi
fourcc = ARGB32
width = 160
height = 120
stride = 640
inversed = yes
endianness = little_endian
frame_rate = 25
Choose output dimensions, 0 to keep original values (this will apply a crop/pad,
not a scaling):
width (160) = 0
height (120) = 0
Choose output colorspace:
1.RGB
2.YCbCr
3.MONO
1
Choose output bps (8, 10)
8
Choose output interlacing:
1.progressive
2.interlaced F0 first
3.interlaced F1 first
1
Choose a number of frames to skip at the start of the sequence (use 0 to start t
he decoding from the beginning) :
0
Choose the maximum number of frames to decode (use 0 to decode up to the end of
the video) :
0
"raw" encoder created
Decoding in progress.......
7 fields extracted
deleting decoding chain
deleting encoder
press a key to exit
1