[FFmpeg-user] DST/PST invalid dropping

Carl Eugen Hoyos ceffmpeg at gmail.com
Fri Jul 13 15:01:32 EEST 2018

2018-07-13 8:11 GMT+02:00, Olivier <Olivier.Nicole at cs.ait.ac.th>:

> $ ffmpeg -i /dev/video0 test.mp4
> ffmpeg version 4.0 Copyright (c) 2000-2018 the FFmpeg developers
>   built with FreeBSD clang version 4.0.0 (tags/RELEASE_400/final 297347)
> (based on LLVM 4.0.0)
>   configuration: --prefix=/usr/local --mandir=/usr/local/man
> --datadir=/usr/local/share/ffmpeg
> --pkgconfigdir=/usr/local/libdata/pkgconfig --enable-shared --enable-pic
> --enable-gpl --enable-postproc --enable-avfilter --enable-avresample
> --enable-pthreads --cc=cc --disable-alsa --disable-libopencore-amrnb
> --disable-libopencore-amrwb --disable-libass --disable-libbs2b
> --disable-libcaca --disable-libcdio --disable-libcelt --disable-chromaprint
> --disable-libcodec2 --disable-libdc1394 --disable-debug --disable-htmlpages
> --disable-libdrm --disable-libfdk-aac --disable-libflite --enable-fontconfig
> --enable-libfreetype --enable-frei0r --disable-libfribidi --disable-libgme
> --disable-libgsm --enable-iconv --disable-libilbc --disable-libjack
> --disable-libkvazaar --disable-ladspa --disable-libmp3lame
> --disable-libbluray --disable-librsvg --disable-libxml2 --disable-lv2
> --enable-mmx --disable-libmodplug --disable-libmysofa --disable-openal
> --disable-opencl --enable-libopencv --disable-opengl --disable-libopenh264
> --disable-libopenjpeg --enable-optimizations --disable-libopus
> --disable-libpulse --enable-runtime-cpudetect --disable-librubberband
> --disable-sdl2 --disable-libsmbclient --disable-libsnappy --disable-sndio
> --disable-libsoxr --disable-libspeex --disable-sse --disable-libssh
> --disable-libtesseract --enable-libtheora --disable-libtwolame
> --enable-libv4l2 --disable-vaapi --disable-vdpau --disable-libvidstab
> --enable-libvorbis --disable-libvo-amrwbenc --enable-libvpx
> --disable-libwavpack --disable-libwebp --enable-libx264 --disable-libx265
> --disable-libxcb --enable-libxvid --disable-outdev=xv --disable-libzimg
> --disable-libzmq --disable-libzvbi --disable-gcrypt --enable-gmp
> --disable-librtmp --enable-gnutls --disable-openssl --enable-version3
> --disable-nonfree --disable-libaom --disable-libsrt

Unrelated, assuming you didn't compile yourself:
Consider telling your package manager that adding these useless
--disable-* options (the default for external libraries except system
libraries is "disabled") makes debugging issues so difficult that it
is nearly impossible.
The following should also be removed (or indicate unknown bugs
in FFmpeg that were not reported):
--enable-pic --enable-postproc --enable-avfilter --enable-pthreads
--enable-runtime-cpudetect --enable-optimizations --enable-mmx

I am not sure "--disable-sse" is a good idea, I wonder if anybody
really tested on mmx (I can test on sse but I haven't seen mmx
hardware for a very long time). If this is a work-around for crashes
with Firefox (that I believe were fixed), that makes it even worse


> frame=   60 fps= 16 q=-1.0 Lsize=     364kB time=00:00:01.90
> bitrate=1567.6kbits/s dup=33 drop=6 speed=0.511x

This means your hardware is too slow to encode the given
video in real-time (at least that is how it looks, 60 frames
may not be enough to know for sure). Consider a lower
resolution or "ultrafast" x264 encoding.
Looking at possible other issues only makes sense if
real-time encoding is possible at all.

And if x264 was also compiled with --disable-sse (why
shouldn't it?), that would then explain the performance

Carl Eugen

More information about the ffmpeg-user mailing list