Altera Video and Image Processing Suite User Manual

Page 300

Advertising
background image

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

Produce a

.raw

file and an

.spc

file that contains the FOURCC information.

> more vip_car_0.spc

fourcc = RGB32
width = 160
height = 120
stride = 640
frame_rate = 25

To decode the data, the file I/O class reader must see both the

.raw

and

.spc

files. The file I/O class reader

writes a

.raw

/

.spc

file pair that you can view using the

.avi

encoder utility.

> raw2avi.exe vip_car_1.raw vip_car_1.avi
"raw" decoder created
vip_car_1.raw:
RGB32 160*120, progressive, 25fps
"dshow" encoder created
AVI encoder created
Encoding in progress.......
7 frames encoded
deleting conversion chain
deleting encoder
press a key to exit
1

If you don't have any Windows machine available to run the utilities, you must then provide the video

data in the correct format by some other means.

A-32

Raw Video Data Format

UG-VIPSUITE

2015.05.04

Altera Corporation

Avalon-ST Video Verification IP Suite

Send Feedback

Advertising