Displaying 2 results from an estimated 2 matches for "frame_bottomband".
2004 Nov 20
0
ffmpeg2theora start and end time support
...h;
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 initialise an AVFrame.
*/
AVFrame *alloc_picture (int pix_fmt, int width, int h...
2004 Nov 20
0
ffmpeg2theora start and end time support - patch
...========================
--- ffmpeg2theora.c (revision 8237)
+++ ffmpeg2theora.c (working copy)
@@ -76,6 +76,9 @@
int video_y;
int frame_x_offset;
int frame_y_offset;
+
+ int start_time; /* In seconds */
+ int end_time; /* In seconds */
}
*ff2theora;
@@ -128,7 +131,8 @@
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_num...