title: How to use youtube-dl inside ffmpeg
body: <p>I tried to record a live stream video by this code. I add that code inside render.cmd</p>
  
  <p>ffmpeg -i $(youtube-dl -f 95 -g <a href="https://www.youtube.com/watch?v=v2_knJ1RwlQ" rel="nofollow noreferrer">https://www.youtube.com/watch?v=v2_knJ1RwlQ</a>) -c copy render.ts</p>
  
  <p>but i got this error <strong>$(youtube-dl: No such file or directory</strong></p>
  
  <p>anyone help me please</p>