Displaying 2 results from an estimated 2 matches for "index_entry".
2008 Nov 11
5
further debugging of my ogg/theora decoder
Hi,
I am continuing to try to debug my ogg/theora decoder.
The issue seems to be that not enough packets are being pulled from the
bitstream, here is some sample output from my player with some debugging
comments put in:
(playback began at first frame, this is from the middle of the clip)
get page at 1765027
got packet
frame++, skip is 0
frame decoded
page processed, kframe=414 : offs=442
get
2004 Nov 20
0
ffmpeg2theora start and end time support
...->end_time=0; /* ZERO denotes no end time set */
}
return this;
}
void ff2theora_output(ff2theora this) {
int i;
AVCodecContext *aenc = NULL;
AVCodecContext *venc = NULL;
AVStream *astream = NULL;
AVStream *vstream = NULL;
AVCodec *acodec = NULL;
AVCodec *vcodec = NULL;
AVIndexEntry * index_entry;
float frame_aspect;
int frame_number=0;
double fps = 0.0;
for (i = 0; i < this->context->nb_streams; i++){
AVCodecContext *enc = &this->context->streams[i]->codec;
switch (enc->codec_type){
case CODEC_TYPE_VIDEO:
if (this->video_index < 0)
this->...