[FFmpeg-user] ffmpeg startup
Carl Eugen Hoyos
ceffmpeg at gmail.com
Fri Feb 28 09:54:44 EET 2020
Am Do., 27. Feb. 2020 um 22:57 Uhr schrieb <tottek at gmail.com>:
> > You do know that h264 in avi is unusual and that no player (except
> > FFmpeg-based) will support gray h264?
>
> I'm an ffmpeg beginner and so any suggestions appreciated. Would
> using mp4 as file extension and yuv420p as output pixel format be
> more 'standard'?
Definitely.
> ffmpeg.exe -y -pix_fmt gray -vcodec rawvideo -f rawvideo -r 60 -s 658x492 -i \\.\pipe\DEV_000F315B978C -c:v libx264 -crf 19 -pix_fmt gray x:\Videos\One_2020T132200.avi
> ffmpeg version git-2020-02-11-f15007a Copyright (c) 2000-2020 the FFmpeg developers
> built with gcc 9.2.1 (GCC) 20200122
> configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libdav1d --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt --enable-amf
If your problem is really startup-time (I cannot know), you could test
the following configure line:
--disable-everything --enable-protocol=pipe,file --enable-demuxer=rawvideo
--enable-decoder=rawvideo --enable-libx264 --enable-encoder=libx264
--enable-muxer=mp4,mov --enable-filter=scale --enable-gpl
Theoretically, if you link a static x264, startup time decreases a little more.
Carl Eugen
More information about the ffmpeg-user
mailing list