Halbblutplins
May 1st, 2012, 10:30 AM
I want to stream my desktopsession to justin.tv. Therefore I use ffmpeg:
#!/bin/bash
API_KEY="live_*****************"
FPS="30"
INRES='1920x1080'
OUTRES='720x480'
ffmpeg -f x11grab -s "$INRES" -r "$FPS" -i :0.0 \
-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"
exitbut after a while I have only ca. 9fps.
Hope someone will be able to help me.
#!/bin/bash
API_KEY="live_*****************"
FPS="30"
INRES='1920x1080'
OUTRES='720x480'
ffmpeg -f x11grab -s "$INRES" -r "$FPS" -i :0.0 \
-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"
exitbut after a while I have only ca. 9fps.
Hope someone will be able to help me.