Displaying 2 results from an estimated 2 matches for "got_pictur".
Did you mean:
got_picture
2004 Nov 20
0
ffmpeg2theora start and end time support - patch
...break;
+ }
+ }
ret = av_read_frame(this->context,&pkt);
if(ret<0){
e_o_s=1;
@@ -449,6 +467,9 @@
//FIXME: move image resize/deinterlace/colorformat transformation
// into seperate function
if(got_picture){
+ //For audio only files command line option"-e" will not work
+ //as we donot increment frame_number in audio section.
+ frame_number++;
//FIXME: better colorfor...
2004 Nov 20
0
ffmpeg2theora start and end time support
...ex = -1;
}
}
if (this->video_index >= 0 || this->audio_index >=0){
AVFrame *frame=NULL;
AVFrame *frame_tmp=NULL;
AVFrame *output=NULL;
AVFrame *output_tmp=NULL;
AVFrame *output_resized=NULL;
AVFrame *output_buffered=NULL;
AVPacket pkt;
int len;
int len1;
int got_picture;
int first = 1;
int e_o_s=0;
int ret;
uint8_t *ptr;
int16_t *audio_buf= av_malloc(4*AVCODEC_MAX_AUDIO_FRAME_SIZE);
int16_t *resampled= av_malloc(4*AVCODEC_MAX_AUDIO_FRAME_SIZE);
if(this->video_index >= 0)
info.audio_only=0;
else
info.audio_only=1;
if(this->...