Advertisement
Guest User

Untitled

a guest
Sep 13th, 2013
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.91 KB | None | 0 0
  1. ffmpeg \
  2. -f x11grab \
  3. -s "$INRES" \
  4. -r "$FPS" \
  5. -i :0.0+0,0 \
  6. -f alsa \
  7. -i hw:0 \
  8. -strict \
  9. -2 \
  10. -acodec aac \
  11. -af aresample \
  12. -vcodec libx264 \
  13. -preset "$QUAL" \
  14. -s "$OUTRES" \
  15. -acodec libmp3lame \
  16. -ar 48000 \
  17. -threads 6 \
  18. -b:a 512k \
  19. -pix_fmt yuv420p \
  20. -f flv "rtmp://live.twitch.tv/app/$STREAM_KEY"
  21.  
  22.  
  23.  
  24. ffmpeg version 1.2.3 Copyright (c) 2000-2013 the FFmpeg developers
  25. built on Sep 13 2013 21:52:11 with gcc 4.7.3 (Gentoo 4.7.3 p1.0, pie-0.5.5)
  26. 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=native' --extra-cflags='-O2 -pipe -march=native' --extra-cxxflags='-O2 -pipe -march=native' --disable-static --enable-gpl --enable-postproc --enable-avfilter --enable-avresample --disable-stripping --enable-version3 --disable-indev=v4l2 --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 --disable-network --disable-openssl --enable-ffplay --disable-vaapi --disable-vdpau --enable-zlib --enable-libvo-aacenc --disable-libvo-amrwbenc --enable-libmp3lame --disable-libfdk-aac --disable-libaacplus --disable-libfaac --disable-libtheora --disable-libtwolame --enable-libx264 --enable-libxvid --disable-libcdio --disable-libiec61883 --disable-libdc1394 --di libavutil 52. 18.100 / 52. 18.100
  27. libavcodec 54. 92.100 / 54. 92.100
  28. libavformat 54. 63.104 / 54. 63.104
  29. libavdevice 54. 3.103 / 54. 3.103
  30. libavfilter 3. 42.103 / 3. 42.103
  31. libswscale 2. 2.100 / 2. 2.100
  32. libswresample 0. 17.102 / 0. 17.102
  33. libpostproc 52. 2.100 / 52. 2.100
  34. [x11grab @ 0x649580] device: :0.0+0,0 -> display: :0.0 x: 0 y: 0 width: 1366 height: 768
  35. [x11grab @ 0x649580] shared memory extension found
  36. [x11grab @ 0x649580] Estimating duration from bitrate, this may be inaccurate
  37. Input #0, x11grab, from ':0.0+0,0':
  38. Duration: N/A, start: 1379104131.499704, bitrate: 1007124 kb/s
  39. Stream #0:0: Video: rawvideo (BGR[0] / 0x524742), bgr0, 1366x768, 1007124 kb/s, 30 tbr, 1000k tbn, 30 tbc
  40. [alsa @ 0x65f330] Estimating duration from bitrate, this may be inaccurate
  41. Guessed Channel Layout for Input Stream #1.0 : stereo
  42. Input #1, alsa, from 'hw:0':
  43. Duration: N/A, start: 1379104131.529847, bitrate: 1536 kb/s
  44. Stream #1:0: Audio: pcm_s16le, 48000 Hz, stereo, s16, 1536 kb/s
  45. [libx264 @ 0x671a80] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
  46. [libx264 @ 0x671a80] profile High, level 3.2
  47. [libx264 @ 0x671a80] 264 - core 135 - H.264/MPEG-4 AVC codec - Copyleft 2003-2013 - 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=6 lookahead_threads=1 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. [flv @ 0x671540] FLV does not support sample rate 48000, choose from (44100, 22050, 11025)
  49. Output #0, flv, to 'rtmp://live.twitch.tv/app/live_23437190_Iuggkx8qT25kRVJxpfPgAOH87gxZ48':
  50. Metadata:
  51. encoder : Lavf54.63.104
  52. Stream #0:0: Video: h264 ([7][0][0][0] / 0x0007), yuv420p, 1366x768, q=-1--1, 1k tbn, 30 tbc
  53. Stream #0:1: Audio: mp3 ([2][0][0][0] / 0x0002), 48000 Hz, stereo, s16p, 512 kb/s
  54. Stream mapping:
  55. Stream #0:0 -> #0:0 (rawvideo -> libx264)
  56. Stream #1:0 -> #0:1 (pcm_s16le -> libmp3lame)
  57. Could not write header for output file #0 (incorrect codec parameters ?): Invalid data found when processing input
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement