一策书(湘岳阳万江波)随笔:视频点播直播研究(一)

参考文献:

HTML5点播m3u8(hls)格式视频
https://www.helloweba.net/javascript/571.html

ffmpeg文件生成m3u8文件及ts切片程序(一)
https://www.cnblogs.com/zgq123456/p/9897586.html

FFmpeg功能命令汇总

https://www.jianshu.com/p/a035056cbbf9

视频处理工具FFmpeg的安装(windows/Linux)
https://www.cnblogs.com/rxbook/p/9652185.html

FFmpeg官网:https://www.ffmpeg.org/

ffmpeg 获取电脑摄像头数据,并且保存为MP4视频
https://blog.csdn.net/zhangpengzp/article/details/88632455

FFMPEG 摄像头 命令行参数 录像 直播 rtmp
https://blog.csdn.net/chinabinlang/article/details/47109905


FFMPEG打开摄像头
https://blog.csdn.net/Jasen_830/article/details/79236797

命令行屏幕复制:

Microsoft Windows [版本 10.0.18363.418]
(c) 2019 Microsoft Corporation。保留所有权利。

C:\Users\Administrator>ffplay -f dshow -i video="HD Pro Webcam C920"
ffplay version git-2020-01-08-5bd0010 Copyright (c) 2003-2020 the FFmpeg developers
built with gcc 9.2.1 (GCC) 20191125
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. 38.100 / 56. 38.100
libavcodec 58. 65.102 / 58. 65.102
libavformat 58. 35.101 / 58. 35.101
libavdevice 58. 9.103 / 58. 9.103
libavfilter 7. 70.101 / 7. 70.101
libswscale 5. 6.100 / 5. 6.100
libswresample 3. 6.100 / 3. 6.100
libpostproc 55. 6.100 / 55. 6.100
[dshow @ 0000029924835340] Could not run graph (sometimes caused by a device already in use by other application)
video=HD Pro Webcam C920: I/O error
nan : 0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0

C:\Users\Administrator>D:

D:\>D:

D:\>ffplay -f dshow -i video="HD Pro Webcam C920"
ffplay version git-2020-01-08-5bd0010 Copyright (c) 2003-2020 the FFmpeg developers
built with gcc 9.2.1 (GCC) 20191125
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. 38.100 / 56. 38.100
libavcodec 58. 65.102 / 58. 65.102
libavformat 58. 35.101 / 58. 35.101
libavdevice 58. 9.103 / 58. 9.103
libavfilter 7. 70.101 / 7. 70.101
libswscale 5. 6.100 / 5. 6.100
libswresample 3. 6.100 / 3. 6.100
libpostproc 55. 6.100 / 55. 6.100
Input #0, dshow, from 'video=HD Pro Webcam C920': sq= 0B f=0/0
Duration: N/A, start: 111716.364000, bitrate: N/A
Stream #0:0: Video: rawvideo (YUY2 / 0x32595559), yuyv422, 640x480, 30 fps, 30 tbr, 10000k tbn, 10000k tbc
[dshow @ 0000023d2c445340] real-time buffer [HD Pro Webcam C920] [video input] too full or near too full (80% of size: 3041280 [rtbufsize parameter])! frame dropped!
Last message repeated 1 times
[dshow @ 0000023d2c445340] real-time buffer [HD Pro Webcam C920] [video input] too full or near too full (101% of size: 3041280 [rtbufsize parameter])! frame dropped!
Last message repeated 6 times
[dshow @ 0000023d2c445340] real-time buffer [HD Pro Webcam C920] [video input] too full or near too full (101% of size: 3041280 [rtbufsize parameter])! frame dropped!
Last message repeated 3 times
[dshow @ 0000023d2c445340] real-time buffer [HD Pro Webcam C920] [video input] too full or near too full (101% of size: 3041280 [rtbufsize parameter])! frame dropped!
Last message repeated 5 times
[dshow @ 0000023d2c445340] real-time buffer [HD Pro Webcam C920] [video input] too full or near too full (101% of size: 3041280 [rtbufsize parameter])! frame dropped!
Last message repeated 9 times
[dshow @ 0000023d2c445340] real-time buffer [HD Pro Webcam C920] [video input] too full or near too full (80% of size: 3041280 [rtbufsize parameter])! frame dropped!
Last message repeated 1 times
[dshow @ 0000023d2c445340] real-time buffer [HD Pro Webcam C920] [video input] too full or near too full (101% of size: 3041280 [rtbufsize parameter])! frame dropped!
Last message repeated 6 times
111864.02 M-V: -0.008 fd= 152 aq= 0KB vq= 0KB sq= 0B f=0/0
D:\>ffmpeg -list_devices true -f dshow -i dummy
ffmpeg version git-2020-01-08-5bd0010 Copyright (c) 2000-2020 the FFmpeg developers
built with gcc 9.2.1 (GCC) 20191125
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. 38.100 / 56. 38.100
libavcodec 58. 65.102 / 58. 65.102
libavformat 58. 35.101 / 58. 35.101
libavdevice 58. 9.103 / 58. 9.103
libavfilter 7. 70.101 / 7. 70.101
libswscale 5. 6.100 / 5. 6.100
libswresample 3. 6.100 / 3. 6.100
libpostproc 55. 6.100 / 55. 6.100
[dshow @ 000001f0cb648380] DirectShow video devices (some may be both video and audio devices)
[dshow @ 000001f0cb648380] "HD Pro Webcam C920"
[dshow @ 000001f0cb648380] Alternative name "@device_pnp_\\?\usb#vid_046d&pid_082d&mi_00#6&f18173e&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global"
[dshow @ 000001f0cb648380] "Logi Capture"
[dshow @ 000001f0cb648380] Alternative name "@device_sw_{860BB310-5D01-11D0-BD3B-00A0C911CE86}\{4A2FEA90-B0A0-438E-8BC3-D84157660D0A}"
[dshow @ 000001f0cb648380] DirectShow audio devices
[dshow @ 000001f0cb648380] "楹﹀厠椋?(HD Pro Webcam C920)"
[dshow @ 000001f0cb648380] Alternative name "@device_cm_{33D9A762-90C8-11D0-BD43-00A0C911CE86}\wave_{063789E7-F360-4CAD-A948-0192B093FE5E}"
dummy: Immediate exit requested

D:\>ffmpeg -list_devices true -f dshow -i dummy
ffmpeg version git-2020-01-08-5bd0010 Copyright (c) 2000-2020 the FFmpeg developers
built with gcc 9.2.1 (GCC) 20191125
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. 38.100 / 56. 38.100
libavcodec 58. 65.102 / 58. 65.102
libavformat 58. 35.101 / 58. 35.101
libavdevice 58. 9.103 / 58. 9.103
libavfilter 7. 70.101 / 7. 70.101
libswscale 5. 6.100 / 5. 6.100
libswresample 3. 6.100 / 3. 6.100
libpostproc 55. 6.100 / 55. 6.100
[dshow @ 00000192b3bd8380] DirectShow video devices (some may be both video and audio devices)
[dshow @ 00000192b3bd8380] "HD Pro Webcam C920"
[dshow @ 00000192b3bd8380] Alternative name "@device_pnp_\\?\usb#vid_046d&pid_082d&mi_00#6&f18173e&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global"
[dshow @ 00000192b3bd8380] "Logi Capture"
[dshow @ 00000192b3bd8380] Alternative name "@device_sw_{860BB310-5D01-11D0-BD3B-00A0C911CE86}\{4A2FEA90-B0A0-438E-8BC3-D84157660D0A}"
[dshow @ 00000192b3bd8380] DirectShow audio devices
[dshow @ 00000192b3bd8380] "楹﹀厠椋?(HD Pro Webcam C920)"
[dshow @ 00000192b3bd8380] Alternative name "@device_cm_{33D9A762-90C8-11D0-BD43-00A0C911CE86}\wave_{063789E7-F360-4CAD-A948-0192B093FE5E}"
dummy: Immediate exit requested

D:\>ffmpeg -f dshow -i video="HD Pro Webcam C920" -vcode libx264 mycamera.mkv
ffmpeg version git-2020-01-08-5bd0010 Copyright (c) 2000-2020 the FFmpeg developers
built with gcc 9.2.1 (GCC) 20191125
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. 38.100 / 56. 38.100
libavcodec 58. 65.102 / 58. 65.102
libavformat 58. 35.101 / 58. 35.101
libavdevice 58. 9.103 / 58. 9.103
libavfilter 7. 70.101 / 7. 70.101
libswscale 5. 6.100 / 5. 6.100
libswresample 3. 6.100 / 3. 6.100
libpostproc 55. 6.100 / 55. 6.100
Unrecognized option 'vcode'.
Error splitting the argument list: Option not found

D:\>ffmpeg -f dshow -i video="HD Pro Webcam C920" -vcodec libx264 mycamera.mkv
ffmpeg version git-2020-01-08-5bd0010 Copyright (c) 2000-2020 the FFmpeg developers
built with gcc 9.2.1 (GCC) 20191125
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. 38.100 / 56. 38.100
libavcodec 58. 65.102 / 58. 65.102
libavformat 58. 35.101 / 58. 35.101
libavdevice 58. 9.103 / 58. 9.103
libavfilter 7. 70.101 / 7. 70.101
libswscale 5. 6.100 / 5. 6.100
libswresample 3. 6.100 / 3. 6.100
libpostproc 55. 6.100 / 55. 6.100
Input #0, dshow, from 'video=HD Pro Webcam C920':
Duration: N/A, start: 112525.427000, bitrate: N/A
Stream #0:0: Video: rawvideo (YUY2 / 0x32595559), yuyv422, 640x480, 30 fps, 30 tbr, 10000k tbn, 10000k tbc
Stream mapping:
Stream #0:0 -> #0:0 (rawvideo (native) -> h264 (libx264))
Press [q] to stop, [?] for help
[libx264 @ 0000020ef2d6ba00] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
[libx264 @ 0000020ef2d6ba00] profile High 4:2:2, level 3.0, 4:2:2, 8-bit
[libx264 @ 0000020ef2d6ba00] 264 - core 158 - H.264/MPEG-4 AVC codec - Copyleft 2003-2019 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=12 lookahead_threads=2 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
Output #0, matroska, to 'mycamera.mkv':
Metadata:
encoder : Lavf58.35.101
Stream #0:0: Video: h264 (libx264) (H264 / 0x34363248), yuv422p, 640x480, q=-1--1, 30 fps, 1k tbn, 30 tbc
Metadata:
encoder : Lavc58.65.102 libx264
Side data:
cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: N/A
[dshow @ 0000020ef2d58bc0] real-time buffer [HD Pro Webcam C920] [video input] too full or near too full (80% of size: 3041280 [rtbufsize parameter])! frame dropped!
Last message repeated 1 times
[dshow @ 0000020ef2d58bc0] real-time buffer [HD Pro Webcam C920] [video input] too full or near too full (101% of size: 3041280 [rtbufsize parameter])! frame dropped!
Last message repeated 6 times
frame= 2779 fps= 30 q=-1.0 Lsize= 1321kB time=00:01:33.73 bitrate= 115.5kbits/s speed=0.999x
video:1301kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 1.561433%
[libx264 @ 0000020ef2d6ba00] frame I:12 Avg QP:20.08 size: 17711
[libx264 @ 0000020ef2d6ba00] frame P:700 Avg QP:22.24 size: 936
[libx264 @ 0000020ef2d6ba00] frame B:2067 Avg QP:23.25 size: 224
[libx264 @ 0000020ef2d6ba00] consecutive B-frames: 0.8% 0.0% 0.0% 99.2%
[libx264 @ 0000020ef2d6ba00] mb I I16..4: 27.1% 50.8% 22.1%
[libx264 @ 0000020ef2d6ba00] mb P I16..4: 0.7% 0.0% 0.0% P16..4: 34.2% 0.7% 2.7% 0.0% 0.0% skip:61.6%
[libx264 @ 0000020ef2d6ba00] mb B I16..4: 0.0% 0.0% 0.0% B16..8: 12.9% 0.0% 0.0% direct: 0.2% skip:86.9% L0:45.7% L1:54.3% BI: 0.0%
[libx264 @ 0000020ef2d6ba00] 8x8 transform intra:36.0% inter:93.5%
[libx264 @ 0000020ef2d6ba00] coded y,uvDC,uvAC intra: 36.4% 59.6% 29.7% inter: 0.3% 10.0% 0.1%
[libx264 @ 0000020ef2d6ba00] i16 v,h,dc,p: 14% 10% 2% 74%
[libx264 @ 0000020ef2d6ba00] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 35% 24% 17% 4% 3% 4% 5% 4% 5%
[libx264 @ 0000020ef2d6ba00] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 45% 26% 8% 3% 3% 3% 4% 4% 5%
[libx264 @ 0000020ef2d6ba00] i8c dc,h,v,p: 54% 16% 27% 4%
[libx264 @ 0000020ef2d6ba00] Weighted P-Frames: Y:0.3% UV:0.1%
[libx264 @ 0000020ef2d6ba00] ref P L0: 52.7% 1.0% 34.3% 11.9% 0.0%
[libx264 @ 0000020ef2d6ba00] ref B L0: 68.7% 22.9% 8.5%
[libx264 @ 0000020ef2d6ba00] ref B L1: 81.8% 18.2%
[libx264 @ 0000020ef2d6ba00] kb/s:113.52
Exiting normally, received signal 2.

D:\>ffmpeg -f dshow -i video="HD Pro Webcam C920" -vcodec libx264 mycam20190109.mkv
ffmpeg version git-2020-01-08-5bd0010 Copyright (c) 2000-2020 the FFmpeg developers
built with gcc 9.2.1 (GCC) 20191125
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. 38.100 / 56. 38.100
libavcodec 58. 65.102 / 58. 65.102
libavformat 58. 35.101 / 58. 35.101
libavdevice 58. 9.103 / 58. 9.103
libavfilter 7. 70.101 / 7. 70.101
libswscale 5. 6.100 / 5. 6.100
libswresample 3. 6.100 / 3. 6.100
libpostproc 55. 6.100 / 55. 6.100
Input #0, dshow, from 'video=HD Pro Webcam C920':
Duration: N/A, start: 112961.315000, bitrate: N/A
Stream #0:0: Video: rawvideo (YUY2 / 0x32595559), yuyv422, 640x480, 30 fps, 30 tbr, 10000k tbn, 10000k tbc
Stream mapping:
Stream #0:0 -> #0:0 (rawvideo (native) -> h264 (libx264))
Press [q] to stop, [?] for help
[libx264 @ 000002032dadb9c0] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
[libx264 @ 000002032dadb9c0] profile High 4:2:2, level 3.0, 4:2:2, 8-bit
[libx264 @ 000002032dadb9c0] 264 - core 158 - H.264/MPEG-4 AVC codec - Copyleft 2003-2019 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=12 lookahead_threads=2 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
Output #0, matroska, to 'mycam20190109.mkv':
Metadata:
encoder : Lavf58.35.101
Stream #0:0: Video: h264 (libx264) (H264 / 0x34363248), yuv422p, 640x480, q=-1--1, 30 fps, 1k tbn, 30 tbc
Metadata:
encoder : Lavc58.65.102 libx264
Side data:
cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: N/A
frame=17072 fps= 30 q=-1.0 Lsize= 8240kB time=00:09:28.96 bitrate= 118.6kbits/s speed= 1x
video:8118kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 1.492810%
[libx264 @ 000002032dadb9c0] frame I:69 Avg QP:19.85 size: 17680
[libx264 @ 000002032dadb9c0] frame P:4302 Avg QP:22.26 size: 961
[libx264 @ 000002032dadb9c0] frame B:12701 Avg QP:23.25 size: 233
[libx264 @ 000002032dadb9c0] consecutive B-frames: 0.8% 0.0% 0.0% 99.2%
[libx264 @ 000002032dadb9c0] mb I I16..4: 26.4% 52.4% 21.3%
[libx264 @ 000002032dadb9c0] mb P I16..4: 0.8% 0.0% 0.0% P16..4: 34.1% 0.8% 2.7% 0.0% 0.0% skip:61.5%
[libx264 @ 000002032dadb9c0] mb B I16..4: 0.0% 0.0% 0.0% B16..8: 13.2% 0.0% 0.0% direct: 0.2% skip:86.6% L0:45.4% L1:54.4% BI: 0.1%
[libx264 @ 000002032dadb9c0] 8x8 transform intra:35.5% inter:92.0%
[libx264 @ 000002032dadb9c0] coded y,uvDC,uvAC intra: 35.8% 58.1% 29.2% inter: 0.4% 10.0% 0.1%
[libx264 @ 000002032dadb9c0] i16 v,h,dc,p: 14% 9% 2% 75%
[libx264 @ 000002032dadb9c0] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 35% 24% 17% 3% 4% 4% 4% 4% 5%
[libx264 @ 000002032dadb9c0] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 45% 25% 8% 3% 3% 3% 4% 4% 5%
[libx264 @ 000002032dadb9c0] i8c dc,h,v,p: 55% 15% 26% 4%
[libx264 @ 000002032dadb9c0] Weighted P-Frames: Y:0.0% UV:0.0%
[libx264 @ 000002032dadb9c0] ref P L0: 52.7% 1.4% 34.0% 11.9% 0.0%
[libx264 @ 000002032dadb9c0] ref B L0: 68.6% 22.8% 8.6%
[libx264 @ 000002032dadb9c0] ref B L1: 81.7% 18.3%
[libx264 @ 000002032dadb9c0] kb/s:116.86
Exiting normally, received signal 2.

D:\>

猜你喜欢

转载自www.cnblogs.com/vanjob/p/12172087.html