Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ffmpeg \
- -f x11grab \
- -s "$INRES" \
- -r "$FPS" \
- -i :0.0+0,0 \
- -f alsa \
- -i hw:0 \
- -strict \
- -2 \
- -acodec aac \
- -af aresample \
- -vcodec libx264 \
- -preset "$QUAL" \
- -s "$OUTRES" \
- -acodec libmp3lame \
- -ar 48000 \
- -threads 6 \
- -b:a 512k \
- -pix_fmt yuv420p \
- -f flv "rtmp://live.twitch.tv/app/$STREAM_KEY"
- ffmpeg version 1.2.3 Copyright (c) 2000-2013 the FFmpeg developers
- built on Sep 13 2013 21:52:11 with gcc 4.7.3 (Gentoo 4.7.3 p1.0, pie-0.5.5)
- 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
- libavcodec 54. 92.100 / 54. 92.100
- libavformat 54. 63.104 / 54. 63.104
- libavdevice 54. 3.103 / 54. 3.103
- libavfilter 3. 42.103 / 3. 42.103
- libswscale 2. 2.100 / 2. 2.100
- libswresample 0. 17.102 / 0. 17.102
- libpostproc 52. 2.100 / 52. 2.100
- [x11grab @ 0x649580] device: :0.0+0,0 -> display: :0.0 x: 0 y: 0 width: 1366 height: 768
- [x11grab @ 0x649580] shared memory extension found
- [x11grab @ 0x649580] Estimating duration from bitrate, this may be inaccurate
- Input #0, x11grab, from ':0.0+0,0':
- Duration: N/A, start: 1379104131.499704, bitrate: 1007124 kb/s
- Stream #0:0: Video: rawvideo (BGR[0] / 0x524742), bgr0, 1366x768, 1007124 kb/s, 30 tbr, 1000k tbn, 30 tbc
- [alsa @ 0x65f330] Estimating duration from bitrate, this may be inaccurate
- Guessed Channel Layout for Input Stream #1.0 : stereo
- Input #1, alsa, from 'hw:0':
- Duration: N/A, start: 1379104131.529847, bitrate: 1536 kb/s
- Stream #1:0: Audio: pcm_s16le, 48000 Hz, stereo, s16, 1536 kb/s
- [libx264 @ 0x671a80] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
- [libx264 @ 0x671a80] profile High, level 3.2
- [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
- [flv @ 0x671540] FLV does not support sample rate 48000, choose from (44100, 22050, 11025)
- Output #0, flv, to 'rtmp://live.twitch.tv/app/live_23437190_Iuggkx8qT25kRVJxpfPgAOH87gxZ48':
- Metadata:
- encoder : Lavf54.63.104
- Stream #0:0: Video: h264 ([7][0][0][0] / 0x0007), yuv420p, 1366x768, q=-1--1, 1k tbn, 30 tbc
- Stream #0:1: Audio: mp3 ([2][0][0][0] / 0x0002), 48000 Hz, stereo, s16p, 512 kb/s
- Stream mapping:
- Stream #0:0 -> #0:0 (rawvideo -> libx264)
- Stream #1:0 -> #0:1 (pcm_s16le -> libmp3lame)
- 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