Changes between Version 51 and Version 52 of StreamingGuide


Ignore:
Timestamp:
Nov 12, 2012, 8:36:17 PM (4 years ago)
Author:
Mattias
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • StreamingGuide

    v51 v52  
    5454You can see a description of what some of these means, (for example bufsize, bitrate settings) in the [x264EncodingGuide]. 
    5555 
     56Here is how you stream to twitch.tv or similar services (rtmp protocol), using ffmpeg 1.0 or ffmpeg-git (tested on 2012-11-12), this is also for pulseaudio users: 
     57Example 1, no sound: 
     58{{{ 
     59ffmpeg -f x11grab -s 1920x1200 -r 15 -i :0.0 -c:v libx264 -preset fast -pix_fmt yuv420p -s 1280x800 -threads 0 -f flv "rtmp://live.twitch.tv/app/live_********_******************************" 
     60}}} 
     61Example 2, first screen (on dual screen setup, or if on a single screen): 
     62{{{ 
     63ffmpeg -f x11grab -s 1920x1200 -r 15 -i :0.0 -f pulse -ac 2 -i default -c:v libx264 -preset fast -pix_fmt yuv420p -s 1280x800 -c:a libmp3lame -ab 96k -ar 22050 -threads 0 -f flv "rtmp://live.twitch.tv/app/live_********_******************************" 
     64}}} 
     65Example 3, second screen (on dual screen setup): 
     66{{{ 
     67ffmpeg -f x11grab -s 1920x1200 -r 15 -i :0.0+1920,0 -f pulse -ac 2 -i default -c:v libx264 -preset fast -pix_fmt yuv420p -s 1280x800 -c:a libmp3lame -ab 96k -ar 22050 -threads 0 -f flv "rtmp://live.twitch.tv/app/live_********_******************************" 
     68}}} 
     69 
    5670== Latency == 
    5771