Hi Ross,

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?

Kind regards,
Dmitriy Petrenko
  ----- Original Message ----- 
  From: Dmitry Petrenko 
  To: LIVE555 Streaming Media - development & use 
  Sent: Wednesday, December 08, 2010 1:07 AM
  Subject: key frames (I-frames) in the recorded AVI file


  Hi Ross,

  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.

  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. Or, if I execute search for the key frame using 
AVIStreamFindSample() VFW API function, it always return 0 (the very first 
frame), whatever start search position I do specify in call.

  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 (GOV Settings Structure: 
IP, Length: 8).

  Could you please advise what could be the reason of such strange behaviour?

  Kind regards,
  Dmitriy Petrenko
_______________________________________________
live-devel mailing list
live-devel@lists.live555.com
http://lists.live555.com/mailman/listinfo/live-devel

Reply via email to