хочу из дебиана 6,0 запустить трансляцию на твичь (заставку текст из файла и по возможности музыку)
пытаюсь освоить такой скрипт но не чего не получается
Код: Выделить всё
#!/bin/bash
API_KEY="live_42563417_byVLHlfrUCBpZFwrLU1TSKqRa"
FPS="15"
INRES='1024x768'
OUTRES='1024x768'
ffmpeg -f x11grab -s "$INRES" -r "$FPS" -i :0.0+1280 \
-f alsa -i pulse -vcodec libx264 -s "$OUTRES" \
-acodec libmp3lame -ab 64k -ar 22050 -threads 0 \
-f flv "rtmp://live.justin.tv/app/$API_KEY"на что мне отвечает
Код: Выделить всё
viktor@debian:~/twitch$ ./streaming.sh
FFmpeg version SVN-r0.5.10-4:0.5.10-1, Copyright (c) 2000-2009 Fabrice Bellard, et al.
configuration: --extra-version=4:0.5.10-1 --prefix=/usr --enable-avfilter --enable-avfilter-lavf --enable-vdpau --enable-bzlib --enable-libdirac --enable-libgsm --enable-libopenjpeg --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-pthreads --enable-zlib --disable-stripping --disable-vhook --enable-runtime-cpudetect --enable-gpl --enable-postproc --enable-swscale --enable-x11grab --enable-libfaad --enable-libdc1394 --enable-shared --disable-static
libavutil 49.15. 0 / 49.15. 0
libavcodec 52.20. 1 / 52.20. 1
libavformat 52.31. 0 / 52.31. 0
libavdevice 52. 1. 0 / 52. 1. 0
libavfilter 0. 4. 0 / 0. 4. 0
libswscale 0. 7. 1 / 0. 7. 1
libpostproc 51. 2. 0 / 51. 2. 0
built on Feb 16 2013 09:22:58, gcc: 4.4.5
[x11grab @ 0x168e480]device: :0.0+1280 -> display: :0.0 x: 1280 y: 0 width: 1024 height: 768
[x11grab @ 0x168e480]shared memory extension found
X Error of failed request: BadMatch (invalid parameter attributes)
Major opcode of failed request: 145 (MIT-SHM)
Minor opcode of failed request: 4 (X_ShmGetImage)
Serial number of failed request: 11
Current serial number in output stream: 11
viktor@debian:~/twitch$незнаю куда копать объясните нубу