Advertisement
Guest User

webcam

a guest
Dec 30th, 2014
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.41 KB | None | 0 0
  1. ffmpeg -f v4l2 -s 640x360 -i /dev/video0 -vcodec h264 -pix_fmt yuv420p test.flv
  2. ffmpeg version 2.2.11 Copyright (c) 2000-2014 the FFmpeg developers
  3. built on Dec 30 2014 14:22:51 with gcc 4.8.4 (Gentoo 4.8.4 p1.0, pie-0.6.1)
  4. configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --mandir=/usr/share/man --enable-shared --cc=x86_64-pc-linux-gnu-gcc --cxx=x86_64-pc-linux-gnu-g++ --ar=x86_64-pc-linux-gnu-ar --optflags='-O2 -pipe -march=core-avx2 -fomit-frame-pointer -mtune=core-avx2 -fno-stack-protector' --extra-cflags='-O2 -pipe -march=core-avx2 -fomit-frame-pointer -mtune=core-avx2 -fno-stack-protector' --extra-cxxflags='-O2 -pipe -march=core-avx2 -fomit-frame-pointer -mtune=core-avx2 -fno-stack-protector' --disable-static --enable-gpl --enable-postproc --enable-avfilter --enable-avresample --disable-stripping --enable-version3 --disable-indev=oss --disable-indev=jack --disable-outdev=oss --enable-bzlib --disable-runtime-cpudetect --disable-debug --disable-doc --disable-gnutls --enable-hardcoded-tables --enable-iconv --enable-network --disable-openssl --enable-ffplay --enable-vaapi --disable-vdpau --enable-zlib --enable-libvo-aacenc --disable-libvo-amrwbenc --enable-libmp3lame --disable-libaacplus --disable-libfaac --disable-libtheora --disable-libtwolame --disable-libwavpack --disable-libwebp --enable-libx264 --disable-libx265 --enable-libxvid --disable-libcdio --disable-libiec61883 --disable-libdc1394 --disable-libcaca --disable-openal --enable-opengl --disable-libv4l2 --enable-libpulse --enable-x11grab --disable-libflite --disable-frei0r --disable-fontconfig --disable-ladspa --disable-libass --enable-libfreetype --disable-libsoxr --enable-pthreads --disable-libopencore-amrwb --disable-libopencore-amrnb --disable-libfdk-aac --disable-libopenjpeg --disable-libbluray --disable-libcelt --disable-libgme --disable-libgsm --disable-libmodplug --disable-libopus --disable-libquvi --disable-librtmp --disable-libssh --disable-libschroedinger --disable-libspeex --enable-libvorbis --disable-libvpx --disable-libzvbi --disable-armv5te --disable-armv6 --disable-armv6t2 --disable-neon --disable-vfp --disable-mips32r2 --disable-mipsdspr1 --disable-mipsdspr2 --disable-mipsfpu --disable-altivec --disable-amd3dnow --disable-amd3dnowext --disable-fma3 --disable-fma4 --disable-mmxext --disable-sse4 --disable-sse42 --cpu=core-avx2
  5. libavutil 52. 66.100 / 52. 66.100
  6. libavcodec 55. 52.102 / 55. 52.102
  7. libavformat 55. 33.100 / 55. 33.100
  8. libavdevice 55. 10.100 / 55. 10.100
  9. libavfilter 4. 2.100 / 4. 2.100
  10. libavresample 1. 2. 0 / 1. 2. 0
  11. libswscale 2. 5.102 / 2. 5.102
  12. libswresample 0. 18.100 / 0. 18.100
  13. libpostproc 52. 3.100 / 52. 3.100
  14. Input #0, video4linux2,v4l2, from '/dev/video0':
  15. Duration: N/A, start: 6096.188860, bitrate: 110592 kb/s
  16. Stream #0:0: Video: rawvideo (YUY2 / 0x32595559), yuyv422, 640x360, 110592 kb/s, 30 fps, 30 tbr, 1000k tbn, 1000k tbc
  17. File 'test.flv' already exists. Overwrite ? [y/N] y
  18. [libx264 @ 0x14786d0] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX AVX2 FMA3 LZCNT BMI2
  19. [libx264 @ 0x14786d0] profile High, level 3.0
  20. [libx264 @ 0x14786d0] 264 - core 142 - H.264/MPEG-4 AVC codec - Copyleft 2003-2014 - 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
  21. Output #0, flv, to 'test.flv':
  22. Metadata:
  23. encoder : Lavf55.33.100
  24. Stream #0:0: Video: h264 (libx264) ([7][0][0][0] / 0x0007), yuv420p, 640x360, q=-1--1, 1k tbn, 30 tbc
  25. Stream mapping:
  26. Stream #0:0 -> #0:0 (rawvideo -> libx264)
  27. Press [q] to stop, [?] for help
  28. frame= 22 fps=0.0 q=0.0 size= 0kB time=00:00:00.00 bitrate=N/A dup=0 droframe= 22 fps= 22 q=0.0 size= 0kB time=00:00:00.00 bitrate=N/A dup=0 droframe= 37 fps= 24 q=0.0 size= 0kB time=00:00:00.00 bitrate=N/A dup=0 droframe= 53 fps= 26 q=0.0 size= 0kB time=00:00:00.00 bitrate=N/A dup=0 droframe= 68 fps= 27 q=29.0 size= 75kB time=00:00:02.36 bitrate= 258.8kbits/frame= 83 fps= 27 q=29.0 size= 138kB time=00:00:02.86 bitrate= 394.4kbits/frame= 98 fps= 28 q=29.0 size= 192kB time=00:00:03.36 bitrate= 468.5kbits/frame= 113 fps= 28 q=29.0 size= 249kB time=00:00:03.86 bitrate= 528.0kbits/frame= 128 fps= 28 q=29.0 size= 306kB time=00:00:04.36 bitrate= 573.6kbits/frame= 143 fps= 28 q=29.0 size= 362kB time=00:00:04.86 bitrate= 609.1kbits/frame= 158 fps= 29 q=29.0 size= 421kB time=00:00:05.36 bitrate= 642.1kbits/frame= 173 fps= 29 q=29.0 size= 478kB time=00:00:05.86 bitrate= 667.0kbits/frame= 188 fps= 29 q=29.0 size= 531kB time=00:00:06.36 bitrate= 683.6kbits/frame= 189 fps= 28 q=-1.0 Lsize= 743kB time=00:00:08.26 bitrate= 736.4kbits/s dup=0 drop=39
  29. video:739kB audio:0kB subtitle:0 data:0 global headers:0kB muxing overhead 0.533235%
  30. [libx264 @ 0x14786d0] frame I:1 Avg QP:12.82 size: 28096
  31. [libx264 @ 0x14786d0] frame P:127 Avg QP:24.47 size: 4407
  32. [libx264 @ 0x14786d0] frame B:61 Avg QP:24.93 size: 2760
  33. [libx264 @ 0x14786d0] consecutive B-frames: 35.4% 64.6% 0.0% 0.0%
  34. [libx264 @ 0x14786d0] mb I I16..4: 38.4% 48.4% 13.3%
  35. [libx264 @ 0x14786d0] mb P I16..4: 11.8% 11.8% 0.1% P16..4: 45.0% 9.4% 10.9% 0.0% 0.0% skip:11.0%
  36. [libx264 @ 0x14786d0] mb B I16..4: 0.1% 2.0% 0.0% B16..8: 33.3% 3.2% 0.4% direct:27.5% skip:33.6% L0:57.5% L1:41.6% BI: 1.0%
  37. [libx264 @ 0x14786d0] 8x8 transform intra:51.5% inter:79.4%
  38. [libx264 @ 0x14786d0] coded y,uvDC,uvAC intra: 20.7% 95.5% 80.6% inter: 23.7% 59.4% 6.4%
  39. [libx264 @ 0x14786d0] i16 v,h,dc,p: 95% 3% 1% 1%
  40. [libx264 @ 0x14786d0] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 5% 7% 62% 4% 5% 3% 5% 4% 5%
  41. [libx264 @ 0x14786d0] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 27% 11% 20% 7% 8% 6% 6% 11% 4%
  42. [libx264 @ 0x14786d0] i8c dc,h,v,p: 63% 14% 17% 6%
  43. [libx264 @ 0x14786d0] Weighted P-Frames: Y:3.1% UV:2.4%
  44. [libx264 @ 0x14786d0] ref P L0: 42.9% 6.8% 30.5% 19.7% 0.2%
  45. [libx264 @ 0x14786d0] ref B L0: 47.6% 52.4%
  46. [libx264 @ 0x14786d0] kb/s:725.93
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement