search for: framesync

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

2004 Dec 16
0
[patch] ffmpeg2theora A/V sync
...+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 = &this->context->streams[i]->codec; switch (enc->codec_type){ @@ -520,14 +532,46 @@ len -= len1...
2004 Dec 19
0
[patch] more ffmpeg2theora improvements
...+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 j; + for (i = 0; i < this->context->nb_streams; i++){ AVCodecContext *enc = &this->context-&gt...