Advertisement
Guest User

pipes

a guest
Dec 30th, 2014
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.17 KB | None | 0 0
  1. ffmpeg -f v4l2 -r 30 -s 640x360 -i /dev/video0 -c copy -f matroska pipe:1 | ffmpeg -i - -f lavfi -i aevalsrc=0 -c:v libx264 -pix_fmt yuv420p -c:a aac -strict -2 out.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. ffmpeg version 2.2.11 Copyright (c) 2000-2014 the FFmpeg developers
  15. built on Dec 30 2014 14:22:51 with gcc 4.8.4 (Gentoo 4.8.4 p1.0, pie-0.6.1)
  16. 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
  17. libavutil 52. 66.100 / 52. 66.100
  18. libavcodec 55. 52.102 / 55. 52.102
  19. libavformat 55. 33.100 / 55. 33.100
  20. libavdevice 55. 10.100 / 55. 10.100
  21. libavfilter 4. 2.100 / 4. 2.100
  22. libavresample 1. 2. 0 / 1. 2. 0
  23. libswscale 2. 5.102 / 2. 5.102
  24. libswresample 0. 18.100 / 0. 18.100
  25. libpostproc 52. 3.100 / 52. 3.100
  26. Input #0, video4linux2,v4l2, from '/dev/video0':
  27. Duration: N/A, start: 8791.619157, bitrate: 110592 kb/s
  28. Stream #0:0: Video: rawvideo (YUY2 / 0x32595559), yuyv422, 640x360, 110592 kb/s, 30 fps, 30 tbr, 1000k tbn, 1000k tbc
  29. Output #0, matroska, to 'pipe:1':
  30. Metadata:
  31. encoder : Lavf55.33.100
  32. Stream #0:0: Video: rawvideo (YUY2 / 0x32595559), yuyv422, 640x360, q=2-31, 110592 kb/s, 30 fps, 1k tbn, 30 tbc
  33. Stream mapping:
  34. Stream #0:0 -> #0:0 (copy)
  35. Press [q] to stop, [?] for help
  36. Input #0, matroska,webm, from 'pipe:':
  37. Metadata:
  38. ENCODER : Lavf55.33.100
  39. Duration: N/A, start: 0.000000, bitrate: N/A
  40. Stream #0:0: Video: rawvideo (YUY2 / 0x32595559), yuyv422, 640x360, SAR 1:1 DAR 16:9, 30 fps, 30 tbr, 1k tbn, 1k tbc (default)
  41. Input #1, lavfi, from 'aevalsrc=0':
  42. Duration: N/A, start: 0.000000, bitrate: 2822 kb/s
  43. Stream #1:0: Audio: pcm_f64le, 44100 Hz, mono, dbl, 2822 kb/s
  44. [libx264 @ 0x14a2d30] using SAR=1/1
  45. [libx264 @ 0x14a2d30] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX AVX2 FMA3 LZCNT BMI2
  46. [libx264 @ 0x14a2d30] profile High, level 3.0
  47. [libx264 @ 0x14a2d30] 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
  48. Output #0, flv, to 'out.flv':
  49. Metadata:
  50. encoder : Lavf55.33.100
  51. Stream #0:0: Video: h264 (libx264) ([7][0][0][0] / 0x0007), yuv420p, 640x360 [SAR 1:1 DAR 16:9], q=-1--1, 1k tbn, 30 tbc (default)
  52. Stream #0:1: Audio: aac ([10][0][0][0] / 0x000A), 44100 Hz, mono, fltp, 128 kb/s
  53. Stream mapping:
  54. Stream #0:0 -> #0:0 (rawvideo -> libx264)
  55. Stream #1:0 -> #0:1 (pcm_f64le -> aac)
  56. frame= 16 fps=0.0 q=-1.0 size= 6751kB time=00:00:00.53 bitrate=103757.9kbitframe= 16 fps=0.0 q=0.0 size= 279kB time=00:05:24.61 bitrate= 7.0kbits/sframe= 31 fps= 31 q=-1.0 size= 13501kB time=00:00:01.03 bitrate=107068.6kbitframe= 31 fps= 31 q=0.0 size= 572kB time=00:10:55.05 bitrate= 7.2kbits/sframe= 46 fps= 31 q=-1.0 size= 20252kB time=00:00:01.53 bitrate=108219.7kbitframe= 46 fps= 31 q=0.0 size= 859kB time=00:16:18.97 bitrate= 7.2kbits/s[flv @ 0x14a2780] Packets are not in the proper order with respect to DTS
  57. av_interleaved_write_frame(): Invalid argument
  58. frame= 57 fps= 27 q=-1.0 Lsize= 1065kB time=00:20:01.61 bitrate= 7.3kbits/s
  59. video:6kB audio:206kB subtitle:0 data:0 global headers:0kB muxing overhead 403.405487%
  60. [libx264 @ 0x14a2d30] frame I:1 Avg QP:23.79 size: 5478
  61. [libx264 @ 0x14a2d30] frame P:56 Avg QP:23.82 size: 3793
  62. [libx264 @ 0x14a2d30] mb I I16..4: 2.9% 96.3% 0.8%
  63. [libx264 @ 0x14a2d30] mb P I16..4: 1.9% 17.1% 0.1% P16..4: 53.5% 6.4% 11.8% 0.0% 0.0% skip: 9.2%
  64. [libx264 @ 0x14a2d30] 8x8 transform intra:90.2% inter:84.7%
  65. [libx264 @ 0x14a2d30] coded y,uvDC,uvAC intra: 20.1% 96.0% 72.8% inter: 16.6% 76.8% 12.2%
  66. [libx264 @ 0x14a2d30] i16 v,h,dc,p: 90% 4% 2% 4%
  67. [libx264 @ 0x14a2d30] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 4% 3% 80% 2% 2% 2% 3% 2% 3%
  68. [libx264 @ 0x14a2d30] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 9% 12% 30% 10% 12% 6% 9% 5% 6%
  69. [libx264 @ 0x14a2d30] i8c dc,h,v,p: 57% 15% 19% 9%
  70. [libx264 @ 0x14a2d30] Weighted P-Frames: Y:0.0% UV:0.0%
  71. [libx264 @ 0x14a2d30] ref P L0: 47.5% 3.0% 31.1% 18.4%
  72. [libx264 @ 0x14a2d30] kb/s:917.36
  73. Conversion failed!
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement