tworaz / sailfish-ytplayer

YouTube client for Sailfish OS
Other
32 stars 27 forks source link

Option to choose all possible video resolutions #26

Open BegoneRaven opened 9 years ago

BegoneRaven commented 9 years ago

Version:0.4.3-c8d2db8 As of now only 360p & 720p are exposed in the GUI. It would be good to have all the choices.. particulary the lower ones so that we can at least listen to the audio track in connections are too slow to handle even 360p

tworaz commented 9 years ago

The problem with lower resolution is that they're only available as flv files, which Qt MediaPlayer can't play. Even if I could somehow extract only audio and video streams from flv files I'm afraid Sailfish couldn't decode them in hardware, leaving us only with slow and power hungry sw decoding. So far only 360p and 720p streams seem to work reliably.

Exposing an option to play only audio streams is doable.The current code can already find URLs to standalone audio strams. This is mostly a matter of handling them on UI side.