# Using YouTube as Video Input in EdgeAI Studio

# YouTube to Image Output

YouTube ID

  1. Copy the Youtube ID from any YouTube url
  2. Expand the Input category from the menu
  3. Drag the "YouTube" block to the canvas
  4. Paste the Youtube ID to the textbox
  5. Select the desired frames per second as the parameter
  6. Input the time (in second) for the starting and ending time of your input
  7. Expand the Output category from the menu
  8. Drag the "Image Output" block to the canvas
  9. Connect the "YouTube" block to "Image Output" block
  10. Adjust the frames per second as a parameter to control the number of consecutive image frames that are displayed each second
  11. Click the play button to see the result YouTube to Dataset

# YouTube to Dataset

YouTube ID

  1. Copy the Youtube ID from any YouTube url
  2. Expand the Input category from the menu
  3. Drag the "YouTube" block to the canvas
  4. Paste the Youtube ID to the textbox
  5. Select the desired frames per second as the parameter
  6. Input the time (in second) for the starting and ending time of your input
  7. Connect the "YouTube" block to "Dataset" block
  8. Click the play button to start capturing the video as individual image frames for further training YouTube to Dataset