timvideos / streaming-system

Tim Video's - Live Streaming for user groups and other events.
https://code.timvideos.us/
Apache License 2.0
131 stars 52 forks source link

Create a Justin TV Flumotion component #13

Open mithro opened 12 years ago

mithro commented 12 years ago

We have a justintv component using the pipeline using. rtmpsink location=rtmp://live.justin.tv/app/%(justintv_key)s

According the following page http://apiwiki.justin.tv/mediawiki/index.php/VLC_Broadcasting_API enc=x264{keyint=60,idrint=2},vcodec=h264,vb=300,acodec=mp4a,ab=32,channels=2,samplerate=2205

mithro commented 12 years ago

Can get a config file from http://www.justin.tv/broadcast/fmle3_config

    <audio>
      <device></device>
      <crossbar_input>0</crossbar_input>
      <sample_rate>44100</sample_rate>
      <channels>1</channels>
      <input_volume>90</input_volume>
    </audio>

  <encode>
    <video>
      <format>H.264</format>
      <datarate>350;</datarate>
      <outputsize>320x240;</outputsize>
      <advanced>
        <profle>Baseline</profle>
        <level>3.1</level>
        <keyframe_frequency>2 seconds</keyframe_frequency>
      </advanced>
      <autoadjust>
        <enable>false</enable>
        <maxbuffersize>1</maxbuffersize>
        <dropframes>
          <enable>false</enable>
        </dropframes>
        <degradequality>
          <enable>false</enable>
          <minvideobitrate></minvideobitrate>
          <preservepfq>false</preservepfq>
        </degradequality>
      </autoadjust>
    </video>
    <audio>
      <format>MP3</format>
      <datarate>64</datarate>
    </audio>
  </encode>