Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Audio only option #3

Closed
lightonflux opened this issue Sep 10, 2015 · 11 comments
Closed

Audio only option #3

lightonflux opened this issue Sep 10, 2015 · 11 comments

Comments

@lightonflux
Copy link

With DASH you have separate audio and videos streams. So if a user only wants to listen to something the app could save bandwidth by providing only the audio stream.

@theScrabi
Copy link
Member

Yes i'd like that to, and I know that the youtube website offers a hidden url of an audio only stream. So far i couldn't find that url.

@ZatsuneNoMokou
Copy link

Youtube Center (source on github) seems to be able to put a download link for mp3, it help? I know Youtube Center isn't related to mobile or android app, but just trying.
And I'm curious, as you don't use Youtube API, you're not concerned to these terms of serice? ( https://developers.google.com/youtube/terms?csw=1 )

@epitron
Copy link
Contributor

epitron commented Sep 18, 2015

@theScrabi The audio is just another youtube stream format that you can request.

youtube-dl has a good list of them: https://github.com/rg3/youtube-dl/blob/master/youtube_dl/extractor/youtube.py#L265

@theScrabi
Copy link
Member

Ok good. Thanks. But that was the easy part. I have to rework the whole player to enable playing music. That will take a wile.

@epitron
Copy link
Contributor

epitron commented Sep 18, 2015

Hmmm... How about just using an external player?

My use case for audio is downloading the audio to a file so I can listen to lectures on the subway. If downloading works, and open works, that would cover 90% of the use cases I think.

@theScrabi
Copy link
Member

Right. Didn't think about that.

@lightonflux
Copy link
Author

If audio only streaming would be ext. player only that would be just as good. Most people will use this feature for long talks other other kind of material with less appealing visuals. And those are mostly 20mins long and more. So it wouldn't disrupt the workflow too much. Advanced players like VLC also have some nice features like playback speed and sleep timer. I don't think the work needed to implement those features are justified at the moment. Other features are more important like visual papercuts in the UI, inline playing etc.

Am 18. September 2015 10:49:05 MESZ, schrieb Christian Schabesberger notifications@github.com:

Right. Didn't think about that.


Reply to this email directly or view it on GitHub:
#3 (comment)

Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesendet.

theScrabi pushed a commit that referenced this issue Sep 20, 2015
Add Spanish translation
@theScrabi
Copy link
Member

Done. But it wasn't quiet that easy. Even if there are itags for m4a, no video offers audio streams along with the video streams. So we need to parse something called dash manifest. How ever it's now possible to listen to youtube videos via a audio streaming player like VLC. Sadly the audio quality with VLC is petty bad, witch meas I might have to implement a NP build in audio player. However for now I recommend downloading the Audiostream.

@dalb8
Copy link

dalb8 commented Oct 4, 2015

I get 'no streaming reader detected' and then asks me to download org.videolan.vlc, which I already have. Nexus S with CM11

@epitron
Copy link
Contributor

epitron commented Oct 5, 2015

Heh. I'm getting that now too. Except, after I downloaded VLC, it launches MXPlayer.

¯\_(ツ)_/¯

@theScrabi
Copy link
Member

Ow yes i have the same problem. I guess something went wrong with the last commit, so i didn't notice. @dalb8 could you please open an issue about that :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants