PDA

View Full Version : [all variants] ffmpeg streaming to justin.tv - fps goes down



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.

FakeOutdoorsman
May 1st, 2012, 07:12 PM
Please provide a plain, unscripted ffmpeg command and the complete console output.

Halbblutplins
May 8th, 2012, 08:55 PM
I want to do, but I don't know what it means " .... provide a plain, unscripted ffmpeg ..." (I'm German and 14).

Look forward to your reply!