[FFmpeg-user] ffmpeg startup
tottek at gmail.com
tottek at gmail.com
Thu Feb 27 23:57:31 EET 2020
Hello,
>
> If you remove -hide_banner and post the command line together with the complete,
> uncut console output, we can probably suggest a configure line that produces a
> significantly smaller binary that starts quicker.
I copied the full output below for 3 seconds of video. I don't know why ffmpeg says
\\.\pipe\DEV_000F315B978C: Invalid argument
?
>
> 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'? I need to find a good book!
Regards,
-tk
FFMPEG OUTPUT
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
libavutil 56. 39.100 / 56. 39.100
libavcodec 58. 68.102 / 58. 68.102
libavformat 58. 38.100 / 58. 38.100
libavdevice 58. 9.103 / 58. 9.103
libavfilter 7. 75.100 / 7. 75.100
libswscale 5. 6.100 / 5. 6.100
libswresample 3. 6.100 / 3. 6.100
libpostproc 55. 6.100 / 55. 6.100
Input #0, rawvideo, from '\\.\pipe\DEV_000F315B978C':
Duration: N/A, start: 0.000000, bitrate: 155393 kb/s
Stream #0:0: Video: rawvideo (Y800 / 0x30303859), gray, 658x492, 155393 kb/s, 60 tbr, 60 tbn, 60 tbc
Stream mapping:
Stream #0:0 -> #0:0 (rawvideo (native) -> h264 (libx264))
Press [q] to stop, [?] for help
[libx264 @ 000002e71dbff740] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
[libx264 @ 000002e71dbff740] profile High, level 3.1, 4:0:0, 8-bit
Output #0, avi, to 'x:\Videos\One_2020T132200.avi':
Metadata:
ISFT : Lavf58.38.100
Stream #0:0: Video: h264 (libx264) (H264 / 0x34363248), gray, 658x492, q=-1--1, 60 fps, 60 tbn, 60 tbc
Metadata:
encoder : Lavc58.68.102 libx264
Side data:
cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: N/A
frame= 33 fps=0.0 q=0.0 size= 6kB time=00:00:00.00 bitrate=N/A speed= 0x
frame= 64 fps= 63 q=27.0 size= 11kB time=00:00:00.10 bitrate= 888.2kbits/s speed=0.0984x
frame= 94 fps= 62 q=27.0 size= 41kB time=00:00:00.60 bitrate= 553.1kbits/s speed=0.396x
frame= 125 fps= 62 q=27.0 size= 55kB time=00:00:01.11 bitrate= 406.6kbits/s speed=0.55x
frame= 155 fps= 61 q=27.0 size= 68kB time=00:00:01.61 bitrate= 344.7kbits/s speed=0.638x
frame= 186 fps= 61 q=27.0 size= 79kB time=00:00:02.13 bitrate= 302.8kbits/s speed= 0.7x
frame= 217 fps= 61 q=27.0 size= 91kB time=00:00:02.65 bitrate= 281.2kbits/s speed=0.743x
frame= 247 fps= 61 q=27.0 size= 102kB time=00:00:03.15 bitrate= 266.4kbits/s speed=0.775x
frame= 278 fps= 61 q=27.0 size= 114kB time=00:00:03.66 bitrate= 253.6kbits/s speed= 0.8x
frame= 308 fps= 61 q=27.0 size= 148kB time=00:00:04.16 bitrate= 290.7kbits/s speed=0.819x
frame= 339 fps= 61 q=27.0 size= 165kB time=00:00:04.68 bitrate= 288.9kbits/s speed=0.836x
frame= 370 fps= 60 q=27.0 size= 179kB time=00:00:05.20 bitrate= 282.3kbits/s speed=0.85x
frame= 400 fps= 60 q=27.0 size= 191kB time=00:00:05.70 bitrate= 275.1kbits/s speed=0.861x
\\.\pipe\DEV_000F315B978C: Invalid argument
frame= 404 fps= 59 q=-1.0 Lsize= 217kB time=00:00:06.70 bitrate= 265.2kbits/s speed=0.983x
video:202kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 7.552569%
[libx264 @ 000002e71dbff740] frame I:3 Avg QP:17.20 size: 8795
[libx264 @ 000002e71dbff740] frame P:101 Avg QP:20.56 size: 1023
[libx264 @ 000002e71dbff740] frame B:300 Avg QP:19.43 size: 256
[libx264 @ 000002e71dbff740] consecutive B-frames: 1.0% 0.0% 0.0% 99.0%
[libx264 @ 000002e71dbff740] mb I I16..4: 7.5% 83.6% 8.9%
[libx264 @ 000002e71dbff740] mb P I16..4: 0.2% 0.8% 0.1% P16..4: 14.1% 2.6% 3.6% 0.0% 0.0% skip:78.5%
[libx264 @ 000002e71dbff740] mb B I16..4: 0.0% 0.0% 0.0% B16..8: 14.5% 0.1% 0.0% direct: 0.0% skip:85.4% L0:50.6% L1:49.3% BI: 0.1%
[libx264 @ 000002e71dbff740] 8x8 transform intra:79.1% inter:84.3%
[libx264 @ 000002e71dbff740] coded y intra: 39.6% inter: 1.6%
[libx264 @ 000002e71dbff740] i16 v,h,dc,p: 31% 14% 3% 52%
[libx264 @ 000002e71dbff740] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 54% 12% 17% 2% 3% 3% 3% 2% 4%
[libx264 @ 000002e71dbff740] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 38% 9% 13% 3% 12% 8% 11% 2% 5%
[libx264 @ 000002e71dbff740] i8c dc,h,v,p: 100% 0% 0% 0%
[libx264 @ 000002e71dbff740] Weighted P-Frames: Y:1.0%
[libx264 @ 000002e71dbff740] ref P L0: 63.6% 6.4% 21.6% 8.4%
[libx264 @ 000002e71dbff740] ref B L0: 70.4% 22.9% 6.7%
[libx264 @ 000002e71dbff740] ref B L1: 88.7% 11.3%
[libx264 @ 000002e71dbff740] kb/s:245.3
More information about the ffmpeg-user
mailing list