The problem's
get_highest_resolution() will look for videos that have the codec for audio, not the highest quality video
example 720p 480p 360p 140p
if you use the get_highest_resolution function, and only 360p and 140p are available (for audio codecs) .. then 360p is selected.
According to my observations, downloadable videos with video + audio are just under 480p
the rest will be forced to use video compress like ffmpeg
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
The problem's
get_highest_resolution() will look for videos that have the codec for audio, not the highest quality video
example
720p
480p
360p
140p
if you use the get_highest_resolution function, and only 360p and 140p are available (for audio codecs) .. then 360p is selected.
According to my observations, downloadable videos with video + audio are just under 480p
the rest will be forced to use video compress like ffmpeg