title: How can we transcode live rtmp stream to live hls stream using ffmpeg?
body: <p>I am trying to convert a live rtmp stream to hls stream on real time.</p>
  
  <p>I got some idea after reading</p>
  
  <p><a href="http://sonnati.wordpress.com/2011/08/30/ffmpeg-%E2%80%93-the-swiss-army-knife-of-internet-streaming-%E2%80%93-part-iv/">http://sonnati.wordpress.com/2011/08/30/ffmpeg-%E2%80%93-the-swiss-army-knife-of-internet-streaming-%E2%80%93-part-iv/</a></p>
  
  <p>i am able to convert the live rtmp stream to hls but not at run time. when i run the command and test for any hsl files (.m3u8 and .ts) i am not able to see but when i interrupt the command and check there i get the hls files as required.</p>
  
  <p>I searched on google for solution but not able to get proper answer.</p>
  
  <p>Can any body help me? </p>
  
  <p>Thanks in Advance...</p>