[Python] Cannot display ffprobe information from youtube properly

Discussão em 'Python' iniciado por Stack, Janeiro 31, 2025.

  1. Stack

    Stack Membro Participativo

    I am trying to grab information from youtube streams using ffprobe and python. I could display offline video information properly on python, cannot do the same from youtube live streams.


    os.system("ffprobe -hide_banner -stats -v quiet -pretty -show_entries format=size,duration:stream=filename,index,codec_type,codec_name,profile,bit_rate,width,height -of compact -i https://www.youtube.com/watch?v=QzsfLSP6hkI")


    showing an error


    Argument 'https://www.youtube.com/watch?v=QzsfLSP6hkI' provided as input filename, but 'quiet' was already specified.
    ​

    Continue reading...

Compartilhe esta Página