[Libav-user] libavcodec usage inside Cinelerra-GG [LONG]
Andrew Randrianasulu
randrianasulu at gmail.com
Mon Nov 4 22:40:51 EET 2019
В сообщении от Monday 04 November 2019 20:51:06 Carl Eugen Hoyos написал(а):
> Am Mo., 4. Nov. 2019 um 16:27 Uhr schrieb Andrew Randrianasulu
> <randrianasulu at gmail.com>:
>
> > my diff for ffmpeg.c:
> >
> > diff --git a/cinelerra-5.1/cinelerra/ffmpeg.C b/cinelerra-5.1/cinelerra/ffmpeg.C
>
> When I said in an earlier mail you check how ffmpeg.c deals with seeking in
> your file, I did not mean cinelerra/ffmpeg.C but fftools/ffmpeg.c in the
> FFmpeg sources...
My naive search for 'seek' only resulted in
static int seek_to_start(InputFile *ifile, AVFormatContext *is) function..I'll try to understand what it does and compare ..
still, my whole file backward reading caught this comment:
static void do_video_out(OutputFile *of,
OutputStream *ost,
AVFrame *next_picture,
double sync_ipts)
and down this function ....
case VSYNC_CFR:
// FIXME set to 0.5 after we fix some dts/pts bugs like in avidec.c
if (frame_drop_threshold && delta < frame_drop_threshold && ost->frame_number) {
nb_frames = 0;
} else if (delta < -1.1)
nb_frames = 0;
else if (delta > 1.1) {
nb_frames = lrintf(delta);
if (delta0 > 1.1)
nb0_frames = lrintf(delta0 - 0.6);
}
break;
are there still bugs in avidec.c ? Because, well, this CinelerraGG bug mainfest itself on AVI container ....
>
> Carl Eugen
> _______________________________________________
> Libav-user mailing list
> Libav-user at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/libav-user
>
> To unsubscribe, visit link above, or email
> libav-user-request at ffmpeg.org with subject "unsubscribe".
More information about the Libav-user
mailing list