

Estimating duration from bitrate, this may be inaccurate Static void end_frame(AVFilterLink *link)ĪVFilterBufferRef *out = link->dst->outputs->out_buf Īv_log(0, AV_LOG_ERROR, "rotate pts:%I64d\n", in->pts ) įFplay version git-774208b, Copyright (c) 2003-2011 the FFmpeg developersĬonfiguration: -enable-memalign-hack -arch=x86 -target-os=mingw32 -cross-prefix=i686-mingw32-cc=i686-mingw32-gcc -enable-shared -disable-static -enable-memalign-hack -target-os=mingw32 -enable-libnut -enable-libvpx -disable-decoder=libvpx -disable-encoder=aac -enable-librtmp -enable-libschroedinger -enable-avisynth -enable-gpl -enable-version3 -enable-zlib -enable-bzlib -enable-libgsm -enable-libfaac -enable-libfreetype -enable-pthreads -enable-libvorbis -enable-nonfree -enable-libtheora -enable-libspeex -enable-libmp3lame -enable-libxvid -enable-libx264 -enable-libopencore-amrnb -enable-libopencore-amrwb -enable-avfilter -enable-runtime-cpudetect -enable-libopenjpeg -extra-libs='-lx264 -lpthread -lrtmp -lpolarssl -lws2_32 -lwinmm ' I added the log output code to vf_rotate's end_frame function like below. Pkt_pts = av_rescale_q(pkt->pts, ist->st->time_base, AV_TIME_BASE_Q)

I found this problem with version 26383 get from ffmpeg on windows autobuild site.įfplay set the pts for AVFilterBufferRef struct with output from guess_correct_pts function which is very small for example 67, 133 ,etc for the first several frames.īut ffmpeg will set the pts for AVFilterBufferRef with very large rescaled value which is calculated by output_packet function's function following process.
