Changes between Version 7 and Version 8 of StreamingGuide


Ignore:
Timestamp:
Jun 18, 2012, 9:41:43 PM (4 years ago)
Author:
rogerdpack
Comment:

attempt cleanup

Legend:

Unmodified
Added
Removed
Modified
  • StreamingGuide

    v7 v8  
    11FFmpeg can basically stream through one of two ways:  It either streams to a some "other server", which restreams for it, or it can stream via UDP directly to some destination host. 
    22Servers which can receive from ffmpeg (to restream) include ffserver (linux only, though cygwin might work), or wowza, or flash media server.  Even VLC can pick up the stream, then redistribute it.  Since ffmpeg is sometimes more efficient than VLC at doing the raw encoding, this can be a useful option compared to doing it all in VLC. 
     3 
     4How to stream with several different simultaneous bitrates is described [http://sonnati.wordpress.com/2011/08/30/ffmpeg-%E2%80%93-the-swiss-army-knife-of-internet-streaming-%E2%80%93-part-iv/ here]. 
     5 
     6NB that when you are testing your streams, you may want to test them with both VLC and ffplay, as ffplay sometimes introduces its own artifacts when it is scaled (it has poor quality scaling).  Don't use ffplay as your baseline for determining quality. 
     7 
     8Also note that encoding it to the x264 "baseline" is basically for older iOS devices or the like, see [http://sonnati.wordpress.com/2011/08/30/ffmpeg-%E2%80%93-the-swiss-army-knife-of-internet-streaming-%E2%80%93-part-iv/ here]. 
     9 
     10The ffmpeg "-re" flag means to "Read input at native frame rate. Mainly used to simulate a grab device." i.e. if you want to play a video file, but at realtime, then use this.  My guess is you typically don't want this flag when streaming from a live device. 
    311 
    412Here's how one guy broadcast a live stream: 
     
    2230}}} 
    2331 
    24 How to stream with several different  is described [http://sonnati.wordpress.com/2011/08/30/ffmpeg-%E2%80%93-the-swiss-army-knife-of-internet-streaming-%E2%80%93-part-iv/ here]. 
    25  
    26 NB that when you are testing your streams, you may want to test them with both VLC and ffplay, as ffplay sometimes introduces its own artifacts when it is scaled (it has poor quality scaling).  Don't use ffplay as your baseline for determining quality. 
    27  
    28 Also note that encoding it to the x264 "baseline" is basically for older iOS devices or the like, see [http://sonnati.wordpress.com/2011/08/30/ffmpeg-%E2%80%93-the-swiss-army-knife-of-internet-streaming-%E2%80%93-part-iv/ here]. 
    29  
    30 Here is what another person did for streaming: 
     32Here is what another person did: 
    3133 
    3234{{{ 
     
    3436-b 900k -f mpegts udp://10.1.0.102:1234 
    3537}}} 
    36  
    3738 
    3839And here is what another person [http://web.archiveorange.com/archive/v/DUtyPSinPqSIxjhedGQd did]: 
     
    4546 
    4647NB that they also had to adjust the rtbufsize in that example. 
    47  
    48 The ffmpeg "-re" flag means to "Read input at native frame rate. Mainly used to simulate a grab device." i.e. if you want to play a video file, but at realtime, then use this.  My guess is you typically don't want this flag when streaming from a live device.