title: is that possible to use ffmpeg convert .mp4 to .ts when get a http request
body: <p>I search some article that tell me should convert the mp4 first,then wait the request and send the ts and m3u8.</p>
  
  <p>But i looking for a way , that is when the request comes , then i will start to convert the video , and send the m3u8 immediately when the Conversion is not finish. </p>
  
  <p>If the request come , but the ts file not ready ,then wait still the file ready and send it  immediately .</p>
  
  <p>Is that possible to do something like this? or can use another way to have the same effect?</p>