Knowledge Base Article

Why the last char is lost when generate the new .spc file with avi2raw.exe?

Description
The avi2raw is used to convert .avi format to raw data format as described in the VIP User Guide (Avalon-ST Video Verification IP Suite). However, the last char is lost when generate the new .spc file with avi2raw.
Resolution

A workaround for this issue is change the “av_st_video_file_io_class.sv” line 322 as below:

From:
ending = read_data_str.substr(i 4,length-3); 
To:
ending = read_data_str.substr(i 4,length-2); 

Updated 3 months ago
Version 2.0
No CommentsBe the first to comment