[FFmpeg-user] has setpts filter been changed?
William C Bonner
wimbonner at gmail.com
Fri Mar 21 19:45:28 EET 2025
On Sat, Aug 10, 2024 at 1:22 AM Gyan Doshi <ffmpeg at gyani.pro> wrote:
>
> On 2024-08-10 11:04 am, William C Bonner wrote:
> > On Thu, Aug 8, 2024 at 6:27 PM <rectalogic at rectalogic.com> wrote:
> >
> >>> This seems that the new code speed up the reported fps without dropping
> >> any
> >>> frames.
> >> Looks like this was changed here
> >>
> https://git.ffmpeg.org/gitweb/ffmpeg.git/commit/f121d954ac89060cb7b07da230479cffe5bf9e5c
> >>
> >>
> > If that's what changed, it obviously took a while for it to propagate to
> my
> > running machine. That commit was dated Wed, 27 Mar 2024.
> >
> > As the method I'm using has changed its behavior to a new behavior, the
> old
> > behavior still is documented on FFMPEG's pages, and the new behavior is
> > something I am not crazy about, Is there a way of getting the equivalent
> of
> > the old behavior with the new code?
>
> Add `-fps_mode passthrough`
>
> Regards,
> Gyan
>
I just updated my local executable and it seems to have reverted to the
old process, which runs significantly faster and produces much smaller
output.
Here's an example of the command line I'm using:
C:\WINDOWS\ffmpeg.exe -hide_banner -f concat -safe 0 -i
C:\Users\Wim\AppData\Local\Temp\WimB59.tmp -vf
setpts=(1/60)*PTS,drawtext=fontfile=C\\:/WINDOWS/Fonts/consola.ttf:fontcolor=white:fontsize=80:y=main_h-text_h-50:x=50:text=WimsWorld
-an -map_metadata -1 -c:v libx265 -crf 23 -preset veryfast -movflags
+faststart -bf 2 -g 15 -pix_fmt yuv420p -n D:\ROAV\20250319-BMW.mp4
and the information on the executable I'm running:
ffmpeg version 2025-03-20-git-76f09ab647-full_build-www.gyan.dev Copyright
(c) 2000-2025 the FFmpeg developers
built with gcc 14.2.0 (Rev1, Built by MSYS2 project)
configuration: --enable-gpl --enable-version3 --enable-static
--disable-w32threads --disable-autodetect --enable-fontconfig
--enable-iconv --enable-gnutls --enable-lcms2 --enable-libxml2 --enable-gmp
--enable-bzlib --enable-lzma --enable-libsnappy --enable-zlib
--enable-librist --enable-libsrt --enable-libssh --enable-libzmq
--enable-avisynth --enable-libbluray --enable-libcaca --enable-libdvdnav
--enable-libdvdread --enable-sdl2 --enable-libaribb24
--enable-libaribcaption --enable-libdav1d --enable-libdavs2
--enable-libopenjpeg --enable-libquirc --enable-libuavs3d --enable-libxevd
--enable-libzvbi --enable-libqrencode --enable-librav1e --enable-libsvtav1
--enable-libvvenc --enable-libwebp --enable-libx264 --enable-libx265
--enable-libxavs2 --enable-libxeve --enable-libxvid --enable-libaom
--enable-libjxl --enable-libvpx --enable-mediafoundation --enable-libass
--enable-frei0r --enable-libfreetype --enable-libfribidi
--enable-libharfbuzz --enable-liblensfun --enable-libvidstab
--enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm
--enable-cuvid --enable-dxva2 --enable-d3d11va --enable-d3d12va
--enable-ffnvcodec --enable-libvpl --enable-nvdec --enable-nvenc
--enable-vaapi --enable-libshaderc --enable-vulkan --enable-libplacebo
--enable-opencl --enable-libcdio --enable-libgme --enable-libmodplug
--enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame
--enable-libshine --enable-libtheora --enable-libtwolame
--enable-libvo-amrwbenc --enable-libcodec2 --enable-libilbc --enable-libgsm
--enable-liblc3 --enable-libopencore-amrnb --enable-libopus
--enable-libspeex --enable-libvorbis --enable-ladspa --enable-libbs2b
--enable-libflite --enable-libmysofa --enable-librubberband
--enable-libsoxr --enable-chromaprint
libavutil 59. 60.100 / 59. 60.100
libavcodec 61. 33.102 / 61. 33.102
libavformat 61. 9.107 / 61. 9.107
libavdevice 61. 4.100 / 61. 4.100
libavfilter 10. 9.100 / 10. 9.100
libswscale 8. 13.103 / 8. 13.103
libswresample 5. 4.100 / 5. 4.100
libpostproc 58. 4.100 / 58. 4.100
Universal media converter
usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options]
outfile}...
More information about the ffmpeg-user
mailing list