Displaying 1 result from an estimated 1 matches for "audio_index".
2004 Nov 20
0
ffmpeg2theora start and end time support
...ot;
#include "theorautils.h"
static double rint(double x)
{
if (x < 0.0)
return (double)(int)(x - 0.5);
else
return (double)(int)(x + 0.5);
}
theoraframes_info info;
static int using_stdin = 0;
typedef struct ff2theora{
AVFormatContext *context;
int video_index;
int audio_index;
int deinterlace;
int sample_rate;
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_uin...