<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=koi8-r">
<META content="MSHTML 6.00.6000.17092" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi Ross,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I just was wondering if it's possible to
calculate and write keyframe index information to the recorded AVI files
using AVIFileSink? Implementation of this class has some hints (like setting
AVIF_HASINDEX and AVIF_TRUSTCKTYPE flags in AVI header) but where is the the
actual implementation?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Kind regards,</FONT></DIV>
<DIV><FONT face=Arial size=2>Dmitriy Petrenko</FONT></DIV>
<BLOCKQUOTE dir=ltr
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=demask@mail.ru href="mailto:demask@mail.ru">Dmitry Petrenko</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=live-devel@ns.live555.com
href="mailto:live-devel@ns.live555.com">LIVE555 Streaming Media - development
& use</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Wednesday, December 08, 2010 1:07
AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> key frames (I-frames) in the
recorded AVI file</DIV>
<DIV><BR></DIV>
<DIV><FONT face=Arial size=2>Hi Ross,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I have noticed that when I'm recording video
stream to AVI file using LIVE555 (evein if I'm using openRTSP sample
app), the output file does not contain any key frames exept for the very
first one.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>E.g. when I open the recorded file in Virtual Dub
and go to FIle->File Information, the "Number of key frames" is always 1,
whatever is the length of the recorded video. </FONT><FONT face=Arial
size=2>Or, if </FONT><FONT face=Arial size=2>I execute search for the key
frame using </FONT><FONT face=Arial size=2>AVIStreamFindSample() VFW API
function, it always return 0 (the very first frame), whatever start search
position I do specify in call.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>
<DIV><FONT face=Arial size=2>As a video source I'm using Axis 241S/241Q video
servers, and they are configured to stream I-frame followed by 7
P-frames </FONT><FONT face=Arial size=2>(GOV Settings Structure: IP,
Length: 8).</FONT></DIV>
<DIV> </DIV>
<DIV>Could you please advise what could be the reason of such
strange behaviour?</DIV></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Kind regards,</FONT></DIV>
<DIV><FONT face=Arial size=2>Dmitriy
Petrenko</FONT></DIV></BLOCKQUOTE></BODY></HTML>