<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Hi all, </div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
I have an issue with the first 12 images not being saved to file. I have attached my code ( the relevant ones ) in this email, I have also attached a log file to show that the first 12 images aren't written to the file that is generated. The frame rate is 24
 fps and the recording is 5 sec, so there should be 120 frames written to the file. This can be seen in the 4th column. The lines in the log files are as follows : </div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
[cpp filename] : image num [ unique num from camera]  [temp image num for recording seq] [time in ms]</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
The image class is actually a simple wrapper around  OpenCV's mat class with some addition members. The output file is around 10 MB and when I open it in VLC it doesn't run for 5 seconds but more like 1 - 2 seconds. Can anyone explain the files not written
 and the duration not being 5 secs. As you can see I have tried with  "av_interleaved_write_frame"  but that didn't help</div>
</body>
</html>