Advertisement
Guest User

webcam + aevalsrc

a guest
Dec 30th, 2014
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.05 KB | None | 0 0
  1. ffmpeg -f v4l2 -s 640x360 -i /dev/video0 -f lavfi -i aevalsrc=0 -vcodec h264 -pix_fmt yuv420p -acodec libvo_aacenc 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: 3570.964173, 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. Input #1, lavfi, from 'aevalsrc=0':
  18. Duration: N/A, start: 0.000000, bitrate: 2822 kb/s
  19. Stream #1:0: Audio: pcm_f64le, 44100 Hz, mono, dbl, 2822 kb/s
  20. [libx264 @ 0x2216570] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX AVX2 FMA3 LZCNT BMI2
  21. [libx264 @ 0x2216570] profile High, level 3.0
  22. [libx264 @ 0x2216570] 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
  23. Output #0, flv, to 'test.flv':
  24. Metadata:
  25. encoder : Lavf55.33.100
  26. Stream #0:0: Video: h264 (libx264) ([7][0][0][0] / 0x0007), yuv420p, 640x360, q=-1--1, 1k tbn, 30 tbc
  27. Stream #0:1: Audio: aac (libvo_aacenc) ([10][0][0][0] / 0x000A), 44100 Hz, mono, s16, 128 kb/s
  28. Stream mapping:
  29. Stream #0:0 -> #0:0 (rawvideo -> libx264)
  30. Stream #1:0 -> #0:1 (pcm_f64le -> libvo_aacenc)
  31. Press [q] to stop, [?] for help
  32. frame= 16 fps=0.0 q=0.0 size= 2744kB time=00:02:57.87 bitrate= 126.4kbits/sframe= 31 fps= 31 q=0.0 size= 5131kB time=00:05:23.97 bitrate= 129.7kbits/sframe= 46 fps= 31 q=0.0 size= 7965kB time=00:08:17.42 bitrate= 131.2kbits/s[flv @ 0x2215c80] Packets are not in the proper order with respect to DTS
  33. av_interleaved_write_frame(): Invalid argument
  34. frame= 57 fps= 22 q=-1.0 Lsize= 9585kB time=00:09:46.52 bitrate= 133.9kbits/s
  35. video:6kB audio:9165kB subtitle:0 data:0 global headers:0kB muxing overhead 4.513440%
  36. [libx264 @ 0x2216570] frame I:1 Avg QP:22.10 size: 5288
  37. [libx264 @ 0x2216570] frame P:53 Avg QP:25.43 size: 3191
  38. [libx264 @ 0x2216570] frame B:3 Avg QP:23.02 size: 1022
  39. [libx264 @ 0x2216570] consecutive B-frames: 89.5% 10.5% 0.0% 0.0%
  40. [libx264 @ 0x2216570] mb I I16..4: 17.5% 74.6% 7.9%
  41. [libx264 @ 0x2216570] mb P I16..4: 1.3% 6.7% 0.1% P16..4: 52.9% 8.4% 10.6% 0.0% 0.0% skip:20.0%
  42. [libx264 @ 0x2216570] mb B I16..4: 0.3% 0.3% 0.0% B16..8: 25.3% 0.6% 0.0% direct:21.1% skip:52.5% L0:57.1% L1:41.7% BI: 1.2%
  43. [libx264 @ 0x2216570] 8x8 transform intra:81.6% inter:84.3%
  44. [libx264 @ 0x2216570] coded y,uvDC,uvAC intra: 38.9% 70.4% 24.9% inter: 24.8% 47.4% 0.5%
  45. [libx264 @ 0x2216570] i16 v,h,dc,p: 34% 22% 8% 37%
  46. [libx264 @ 0x2216570] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 15% 11% 42% 5% 6% 4% 7% 4% 6%
  47. [libx264 @ 0x2216570] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 36% 10% 20% 6% 6% 5% 6% 8% 4%
  48. [libx264 @ 0x2216570] i8c dc,h,v,p: 65% 16% 16% 3%
  49. [libx264 @ 0x2216570] Weighted P-Frames: Y:24.5% UV:9.4%
  50. [libx264 @ 0x2216570] ref P L0: 48.4% 8.0% 25.8% 16.3% 1.4%
  51. [libx264 @ 0x2216570] ref B L0: 79.6% 20.4%
  52. [libx264 @ 0x2216570] kb/s:747.31
  53. Conversion failed!
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement