search for: theoraframes_info

Displaying 2 results from an estimated 2 matches for "theoraframes_info".

2004 Nov 16
0
metadata switches for ffmpeg2theora
...-title="bar" and so on. FWIW, -r -------------- next part -------------- Index: theorautils.c =================================================================== --- theorautils.c (revision 8208) +++ theorautils.c (working copy) @@ -32,8 +32,6 @@ #include "theorautils.h" -theoraframes_info info; - static double rint(double x) { if (x < 0.0) @@ -42,30 +40,30 @@ return (double)(int)(x + 0.5); } -void theoraframes_init (){ - info.audio_bytesout = 0; - info.video_bytesout = 0; +void theoraframes_init (theoraframes_info *info){ + info->audio_bytesout = 0; + info->vid...
2004 Nov 20
0
ffmpeg2theora start and end time support
...de <getopt.h> #include "theora/theora.h" #include "vorbis/codec.h" #include "vorbis/vorbisenc.h" #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_resa...