Best Video Quality And Stream - Printable Version +- Python Forum (https://python-forum.io) +-- Forum: Python Coding (https://python-forum.io/forum-7.html) +--- Forum: General Coding Help (https://python-forum.io/forum-8.html) +--- Thread: Best Video Quality And Stream (/thread-29122.html) |
Best Video Quality And Stream - Harshil - Aug-19-2020 Hey! Friends I Am Working For a py File I Want To Get Best Video Quality And Best Audio Stream Using pafy Any Thoughts? Here is the code i worked Far import time import vlc import pafy url = "https://www.youtube.com/watch?v=8JnfIa84TnU&list=RD8JnfIa84TnU&start_radio=1" video = pafy.new(url) best = video.getbest() playurl = best.url instance = vlc.Instance() player = instance.media_player_new() media = instance.media_new(playurl) media.get_mrl() player.set_media(media) player.play() time.sleep(70) RE: Best Video Quality And Stream - buran - Aug-19-2020 so, what is your question? what problem do you have and try to resolve? RE: Best Video Quality And Stream - Harshil - Aug-19-2020 (Aug-19-2020, 07:54 AM)buran Wrote: so, what is your question? what problem do you have and try to resolve? I Want TO COmbine Video And Audio Stream Together at their best resolution such as 1920x1080 |