Am 26.06.19 um 12:26 schrieb Moritz Barsnick: > This list is for the development *of* ffmpeg and its libraries. For the > use of the libraries and the development *with* them, please turn to > the mailing list "libav-user".
Sorry, if I misunderstood. I'm in progress to develop a new filter and will provide a patch if I'm ready. So I'm wrong on this list? > Regarding your request, you can look at libavfilter/vf_showinfo.c. > filter_frame() has an av_log() line which should show the calculation > you are looking for: > > av_log(ctx, AV_LOG_INFO, > "n:%4"PRId64" pts:%7s pts_time:%-7s pos:%9"PRId64" " > [...] > av_ts2str(frame->pts), av_ts2timestr(frame->pts, &inlink->time_base), > frame->pkt_pos, Great! Much thanks! -Ulf _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".