Advertisement
Guest User

Untitled

a guest
Jun 9th, 2014
285
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.66 KB | None | 0 0
  1. This commands sends a previously captured screencap (X11grab=>avi) to yuoutube
  2.  
  3. (i /dev/fd/63 is a pipe to /dev/zero to generate a silenced audio stream)
  4.  
  5. ffmpeg -i screen_0.avi -ar 44100 -acodec pcm_s16le -f s16le -ac 2 -i /dev/fd/63 -vcodec libx264 -preset veryfast -maxrate 3000k -bufsize 6000k -pix_fmt yuv420p -g 50 -acodec libmp3lame -b:a 128k -ac 2 -ar 44100 -f flv rtmp://x.rtmp.youtube.com/live2/wrl.delvaux.q324-jza0-vk07-2cb6
  6. ffmpeg version 0.10.11-7:0.10.11-1~saucy1 Copyright (c) 2000-2014 the FFmpeg developers
  7. built on Feb 6 2014 16:55:15 with gcc 4.8.1
  8. configuration: --arch=amd64 --disable-stripping --enable-pthreads --enable-runtime-cpudetect --extra-version='7:0.10.11-1~saucy1' --libdir=/usr/lib/x86_64-linux-gnu --prefix=/usr --enable-bzlib --enable-libdc1394 --enable-libfreetype --enable-frei0r --enable-gnutls --enable-libgsm --enable-libmp3lame --enable-librtmp --enable-libopencv --enable-libopenjpeg --enable-libpulse --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-vaapi --enable-vdpau --enable-libvorbis --enable-libvpx --enable-zlib --enable-gpl --enable-postproc --enable-libcdio --enable-x11grab --enable-libx264 --shlibdir=/usr/lib/x86_64-linux-gnu --enable-shared --disable-static
  9. avcodec configuration: --arch=amd64 --disable-stripping --enable-pthreads --enable-runtime-cpudetect --extra-version='7:0.10.11-1~saucy1' --libdir=/usr/lib/x86_64-linux-gnu --prefix=/usr --enable-bzlib --enable-libdc1394 --enable-libfreetype --enable-frei0r --enable-gnutls --enable-libgsm --enable-libmp3lame --enable-librtmp --enable-libopencv --enable-libopenjpeg --enable-libpulse --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-vaapi --enable-vdpau --enable-libvorbis --enable-libvpx --enable-zlib --enable-gpl --enable-postproc --enable-libcdio --enable-x11grab --enable-libx264 --shlibdir=/usr/lib/x86_64-linux-gnu --enable-shared --disable-static --enable-version3 --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libvo-aacenc --enable-libvo-amrwbenc
  10. libavutil 51. 35.100 / 51. 35.100
  11. libavcodec 53. 61.100 / 53. 61.100
  12. libavformat 53. 32.100 / 53. 32.100
  13. libavdevice 53. 4.100 / 53. 4.100
  14. libavfilter 2. 61.100 / 2. 61.100
  15. libswscale 2. 1.100 / 2. 1.100
  16. libswresample 0. 6.100 / 0. 6.100
  17. libpostproc 52. 0.100 / 52. 0.100
  18. [avi @ 0x1d47840] max_analyze_duration 5000000 reached at 5000000
  19. Input #0, avi, from 'screen_0.avi':
  20. Metadata:
  21. encoder : Lavf53.32.100
  22. Duration: 00:09:48.40, start: 0.000000, bitrate: 371 kb/s
  23. Stream #0:0: Video: h264 (High) (H264 / 0x34363248), yuv420p, 1920x1080, 30 fps, 30 tbr, 30 tbn, 60 tbc
  24. [s16le @ 0x1d3aa40] Estimating duration from bitrate, this may be inaccurate
  25. Input #1, s16le, from '/dev/fd/63':
  26. Duration: N/A, start: 0.000000, bitrate: N/A
  27. Stream #1:0: Audio: pcm_s16le, 44100 Hz, 2 channels, s16, 1411 kb/s
  28. [buffer @ 0x1e47f00] w:1920 h:1080 pixfmt:yuv420p tb:1/1000000 sar:0/1 sws_param:
  29. [libx264 @ 0x1d32ae0] using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX
  30. [libx264 @ 0x1d32ae0] profile High, level 4.0
  31. [libx264 @ 0x1d32ae0] 264 - core 123 r2189 35cf912 - H.264/MPEG-4 AVC codec - Copyleft 2003-2012 - http://www.videolan.org/x264.html - options: cabac=1 ref=1 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=2 psy=1 psy_rd=1.00:0.00 mixed_ref=0 me_range=16 chroma_me=1 trellis=0 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=0 threads=12 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=1 keyint=50 keyint_min=5 scenecut=40 intra_refresh=0 rc_lookahead=10 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 vbv_maxrate=3000 vbv_bufsize=6000 crf_max=0.0 nal_hrd=none ip_ratio=1.40 aq=1:1.00
  32. Output #0, flv, to 'rtmp://x.rtmp.youtube.com/live2/wrl.delvaux.q324-jza0-vk07-2cb6':
  33. Metadata:
  34. encoder : Lavf53.32.100
  35. Stream #0:0: Video: h264 ([7][0][0][0] / 0x0007), yuv420p, 1920x1080, q=-1--1, 1k tbn, 30 tbc
  36. Stream #0:1: Audio: mp3 ([2][0][0][0] / 0x0002), 44100 Hz, 2 channels, s16, 128 kb/s
  37. Stream mapping:
  38. Stream #0:0 -> #0:0 (h264 -> libx264)
  39. Stream #1:0 -> #0:1 (pcm_s16le -> libmp3lame)
  40. Press [q] to stop, [?] for help
  41. 172+0 records in159 q=29.0 size= 10788kB time=00:02:51.07 bitrate= 516.6kbits/s
  42. 171+0 records out
  43. 30164400 bytes (30 MB) copied, 33.1506 s, 910 kB/s
  44. frame= 5177 fps=159 q=-1.0 Lsize= 10872kB time=00:02:51.46 bitrate= 519.4kbits/s
  45. video:7989kB audio:2679kB global headers:0kB muxing overhead 1.912761%
  46. [libx264 @ 0x1d32ae0] frame I:104 Avg QP:20.10 size: 63279
  47. [libx264 @ 0x1d32ae0] frame P:1377 Avg QP:27.00 size: 928
  48. [libx264 @ 0x1d32ae0] frame B:3696 Avg QP:28.76 size: 87
  49. [libx264 @ 0x1d32ae0] consecutive B-frames: 4.6% 0.3% 0.6% 94.4%
  50. [libx264 @ 0x1d32ae0] mb I I16..4: 85.9% 1.0% 13.1%
  51. [libx264 @ 0x1d32ae0] mb P I16..4: 0.7% 0.0% 0.1% P16..4: 0.5% 0.0% 0.0% 0.0% 0.0% skip:98.7%
  52. [libx264 @ 0x1d32ae0] mb B I16..4: 0.0% 0.0% 0.0% B16..8: 0.0% 0.0% 0.0% direct: 0.0% skip:99.9% L0:52.2% L1:46.6% BI: 1.2%
  53. [libx264 @ 0x1d32ae0] 8x8 transform intra:1.4% inter:7.8%
  54. [libx264 @ 0x1d32ae0] coded y,uvDC,uvAC intra: 10.8% 4.5% 3.4% inter: 0.1% 0.0% 0.0%
  55. [libx264 @ 0x1d32ae0] i16 v,h,dc,p: 75% 25% 0% 0%
  56. [libx264 @ 0x1d32ae0] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 16% 49% 26% 1% 1% 1% 1% 1% 4%
  57. [libx264 @ 0x1d32ae0] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 30% 32% 19% 2% 3% 3% 3% 3% 4%
  58. [libx264 @ 0x1d32ae0] i8c dc,h,v,p: 86% 12% 2% 0%
  59. [libx264 @ 0x1d32ae0] Weighted P-Frames: Y:0.0% UV:0.0%
  60. [libx264 @ 0x1d32ae0] kb/s:379.20
  61. Received signal 2: terminating.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement