Displaying 2 results from an estimated 2 matches for "a_pts_out".
Did you mean:
v_pts_out
2004 Dec 16
0
[patch] ffmpeg2theora A/V sync
...=================================
--- ffmpeg2theora.c (revision 8373)
+++ ffmpeg2theora.c (working copy)
@@ -150,6 +150,18 @@
int64_t frame_number=0;
double fps = 0.0;
+ /* 20041216/DK variables that help us keep track of A/V sync */
+ double v_pts_out = 0.0;
+ double v_pts_in = 0.0;
+ double a_pts_out = 0.0;
+ double v_pts_delta = 0.0;
+ double v_pts_delta_new = 0.0;
+ double a_pts_delta = 0.0;
+ double framesync = 0.0;
+ const double v_pts_smoothness = 8;
+ const double framesync_thresh = 0.6;
+ int j;
+
for (i = 0; i < this->context->nb_streams; i++){
AVCodecContext *enc = &t...
2004 Dec 19
0
[patch] more ffmpeg2theora improvements
...sync=0;
this->force_input_fps=0;
this->aspect_numerator=0;
this->aspect_denominator=0;
@@ -150,6 +157,21 @@
int64_t frame_number=0;
double fps = 0.0;
+ /* 20041216/DK variables that help us keep track of A/V sync */
+ double v_pts_out = 0.0;
+ double v_pts_in = 0.0;
+ double a_pts_out = 0.0;
+ double v_pts_delta = 1e99;
+ double v_pts_delta_new = 0.0;
+ double a_pts_delta = 0.0;
+ double framesync = 0.0;
+ double was_framesync = 0.0;
+ int frameadjust = 0;
+ const double v_pts_smoothness = 8;
+ double max_good_framesync_change = 0.5;
+ const double framesync_thresh = 0.6;
+ int...