Changes between Version 16 and Version 17 of StreamingGuide


Ignore:
Timestamp:
Jul 16, 2012, 11:15:06 AM (4 years ago)
Author:
rogerdpack
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • StreamingGuide

    v16 v17  
    6363== Streaming a simple RTP audio stream from ffmpeg == 
    6464 
    65 FFmpeg can stream a single stream using the RTP protocol. In order to avoid buffering problems on the other hand, the streaming should be done through the -re option, which means that the stream will be streamed in real-time. 
     65FFmpeg can stream a single stream using the RTP protocol. In order to avoid buffering problems on the other hand, the streaming should be done through the -re option, which means that the stream will be streamed in real-time (i.e. it slows it down to simulate a live streaming [http://ffmpeg.org/ffmpeg.html source]. 
    6666 
    6767For example the following command will generate a signal, and will stream it to the port 1234 on localhost: 
     
    7474ffplay rtp://127.0.0.1:1234 
    7575}}} 
     76 
     77== Codecs == 
     78 
     79The most popular streaming codec is probably libx264, though if you're streaming to a device which requires a "crippled" baseline h264 implementation, some have argued that the mp4 video codec is [http://forums.macrumors.com/showthread.php?t=398016 better].  You can also use mpeg2video, or really any other video codec you want, typically, as long as your receiver can decode it, and it suits your needs. 
     80 
     81== Outputting files == 
     82 
     83Ffmpeg supports splitting files (using "-f segment" for the output) into time based chunks, useful for "http live streaming" style file output.