Displaying 2 results from an estimated 2 matches for "frame_aspect".
2004 Nov 20
0
ffmpeg2theora start and end time support
...te;
int channels;
int disable_audio;
float audio_quality;
int output_width;
int output_height;
double fps;
ImgReSampleContext *img_resample_ctx; /* for image resampling/resizing */
ReSampleContext *audio_resample_ctx;
ogg_uint32_t aspect_numerator;
ogg_uint32_t aspect_denominator;
double frame_aspect;
int video_quality;
/* cropping */
int frame_topBand;
int frame_bottomBand;
int frame_leftBand;
int frame_rightBand;
int video_x;
int video_y;
int frame_x_offset;
int frame_y_offset;
int start_time; /* In seconds */
int end_time; /* In seconds */
}
*ff2theora;
/**
* Allocate and...
2004 Nov 20
0
ffmpeg2theora start and end time support - patch
...@@
this->frame_bottomBand=0;
this->frame_leftBand=0;
this->frame_rightBand=0;
-
+ this->start_time=0;
+ this->end_time=0; /* ZERO denotes no end time set */
}
return this;
}
@@ -142,7 +146,7 @@
AVCodec *acodec = NULL;
AVCodec *vcodec = NULL;
float frame_aspect;
-
+ int frame_number=0;
double fps = 0.0;
for (i = 0; i < this->context->nb_streams; i++){
@@ -426,9 +430,23 @@
info.vorbis_quality = this->audio_quality;
info.vorbis_bitrate = this->audio_bitrate;
theoraframes_init (&info);
-
+ /*seek to start time*/
+ av_se...