Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: Enable Foobar2000 To Stream Audio From Youtube (Read 21917 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Enable Foobar2000 To Stream Audio From Youtube

I spend some time trying to find some plugin, which would enable foobar2000 to stream audio from youtube videos. There are foo_flv.dll, but this plugin cant do this.

I think that we don't need to watch video in foobar, but just listen. And to have some preview with images in Playlist. And search option also. Something like last.fm radio plugin that previously existed.

This is not dificult to implement in foobar, at all.. , i try this script on my browser:

<script src="http://www.yvoschaap.com/ytpage/ytembed.js" type="text/javascript"></script>
<div id="ytThumbs"></div>

<script type="text/javascript">
ytEmbed.init({'block':'ytThumbs','q':'madonna','type':'search','results':10,'order':'most_relevance','player':'embed','layout':'full'});
</script>

-(save this as ''html'' and run)
-It gives you image preview, and when you click on same, it plays video.


Or try to type this adress in browser(this is a small youtube player):
http://1nltui3li1cdki8kde21baj1igs7ekjc.ig...l&hl=en-GB#


This shows how work html. But now we have youtube API, and all necessary to run video in aplication.

*We want to have only audio, and images preview, with search option, and possibility to save playlist..
All this can be added in foobar with some WSH script or similar...
Problem is sound, maybe foo_flv can be modified to support online stream, and sound....

But no one is interested for this, some developer?
I wonder why?

*If you want this plugin, or have some solution.. write here...

Enable Foobar2000 To Stream Audio From Youtube

Reply #1
what's wrong with using a browser? what benefit is there to streaming audio from youtube through foobar? 



Enable Foobar2000 To Stream Audio From Youtube

Reply #2
Pre-emptive giggle on the expected answer: sound quality....From youtube, riiight.

Enable Foobar2000 To Stream Audio From Youtube

Reply #3
what's wrong with using a browser? what benefit is there to streaming audio from youtube through foobar? 
The ability to use playlists, though it's probably easier to write/find a browser extension which mimics playlist behaviour.
It's only audiophile if it's inconvenient.

Enable Foobar2000 To Stream Audio From Youtube

Reply #4
what's wrong with using a browser? what benefit is there to streaming audio from youtube through foobar? 


I don't want to use browser for that, primarily because it takes too much space on desktop. Also i feel comfortable while I'm in foobar, i love foobar's interface.
I have all information in one place, about artist,albums, lyrics. etc..
Youtube recommendation for a similar song is not that good, as this could be make with API.
Also youtube has a lot of music that you can not get elsewhere. The sound quality is ok if you listen exemple VEVO.
Also when you listen video in foobar it sound much better then listening it in browser..

Benefit for this is: you don't have to leaving foobar, and go to browser(It's frustrating). You can have playlist with recomendation in foobar, you can save playlists and listen later, you can have genre, you can maybe even download video or mp3 in foobar with ''convert''. You can search for video, and probably you will have a better sound...

The possibilities are many..


Enable Foobar2000 To Stream Audio From Youtube

Reply #6
On a technical note: YouTube has been switching to H.264/M-PEG4 AVC. If you're lucky (HD 720p/1080p videos) you get AAC 192kbps, otherwise (360p, which it defaults to in non-fullscreen) you're getting AAC@ 96kbps.
You used to be able to force a certain quality (itag) by using an URL parameter (fmt), I think this no longer works. I'm afraid you're then stuck with the 96kbps audio.

https://en.wikipedia.org/wiki/YouTube#Quality_and_codecs

Enable Foobar2000 To Stream Audio From Youtube

Reply #7
Also when you listen video in foobar it sound much better then listening it in browser..
Just as predicted . . . The only plausible reason I can think of for this is based upon my own experience of YouTube amplifying audio to clipping levels. If you account for this by sorting the volume, level-matching, and performing a double-blind test, I suspect you would not be so confident to make such bold claims. In any case, they violate TOS #8 until supported by objective evidence. So, stop making them.

Enable Foobar2000 To Stream Audio From Youtube

Reply #8
Ok, when i say it sound much better, i think with equalizer on my comp. I don't need any tehnical analizes, i now what i hear..
It's known that youtube sound quality is low, but with foobar it have different color of sound, and this  is what im talking about..
I've tried many players, and without equalizer they all sound the same, but with eq, some of them have different color of sound.
All this probably depends on the sound card and drivers,but I'm talking about my machine..
Maybe you dont use eq at all, but I use...
You may call this placebo effect, or something, it's all subjective, and i would not go into such discussion..

*Anyway, sound is not reason why i want this plugin.. I said why it would be good to have this component in previous post...
There are many other reasons...

Enable Foobar2000 To Stream Audio From Youtube

Reply #9
If you have an EQ in foobar2000, we can reasonably assume that your perception is due to that and therefore that your blanket claim is false. If you want, we can leave it at that.

But for future reference, things like the following are not sufficient to evade TOS #8:
I don't need any tehnical analizes, i now what i hear..
Quote
You may call this placebo effect, or something, it's all subjective, and i would not go into such discussion..
In fact, these statements contradict our ethos quite squarely: properly analysing things instead of blindly believing what people claim to hear is a cornerstone of this site, and the fact that your impressions might well be subjective is precisely why such claims are not welcome unless backed by evidence. So yes, ensure that, unless you have good evidence, you do not start such discussions.

Enable Foobar2000 To Stream Audio From Youtube

Reply #10
If you have an EQ in foobar2000, we can reasonably assume that your perception is due to that and therefore that your blanket claim is false. If you want, we can leave it at that.

But for future reference, things like the following are not sufficient to evade TOS #8:
I don't need any tehnical analizes, i now what i hear..
Quote
You may call this placebo effect, or something, it's all subjective, and i would not go into such discussion..
In fact, these statements contradict our ethos quite squarely: properly analysing things instead of blindly believing what people claim to hear is a cornerstone of this site, and the fact that your impressions might well be subjective is precisely why such claims are not welcome unless backed by evidence. So yes, ensure that, unless you have good evidence, you do not start such discussions.


I didn't claim anything, i said: ''and probably you will have a better sound''...
So, I don't see a reason to start such discussions,or prove something..
But if others wants to talk about it, ok..

What I was talking about sound, I think that everyone knows..
Example: I like Bass, but browser don't have equalizer,I'd rather then listen music in foobar with equalizer.. That's all i wan't to say..
There is no need for technical evidence, that sound is changing with eq.
But others can say what they think...

Enable Foobar2000 To Stream Audio From Youtube

Reply #11
You used to be able to force a certain quality (itag) by using an URL parameter (fmt), I think this no longer works.

Apparently now you can add "&hd=1", "&vq=hd720" or "&vq=hd1080" to the URL to have it start in HD or full HD if available. Didn't work for me though...

Enable Foobar2000 To Stream Audio From Youtube

Reply #12
I didn't claim anything, i said: ''and probably you will have a better sound''...
Which is a claim. Words like probably do nothing to negate that fact. You’ve claimed that something is probable.

Quote
So, I don't see a reason to start such discussions,or prove something..
This is a discussion forum. If you say something, people assume it is open for discussion. If you don’t want it to be discussed, don’t say it in the first place.

Look, I’m not saying you meant to break any rule, but you could have been a lot clearer about what you meant to avoid confusion—and in any case, please don’t act as though you know more about this site’s rules than its staff do.

Anyway:
Quote
What I was talking about sound, I think that everyone knows..
Example: I like Bass, but browser don't have equalizer,I'd rather then listen music in foobar with equalizer.. That's all i wan't to say..
There is no need for technical evidence, that sound is changing with eq.
As I said, this is fine. It explains why you prefer the sound: because you’ve EQd it according to your personal tastes. I don’t have a problem with that at all—now that you’ve explained it properly.

Enable Foobar2000 To Stream Audio From Youtube

Reply #13
I didn't claim anything, i said: ''and probably you will have a better sound''...
Which is a claim. Words like probably do nothing to negate that fact. You’ve claimed that something is probable.

Quote
So, I don't see a reason to start such discussions,or prove something..
This is a discussion forum. If you say something, people assume it is open for discussion. If you don’t want it to be discussed, don’t say it in the first place.

Look, I’m not saying you meant to break any rule, but you could have been a lot clearer about what you meant to avoid confusion—and in any case, please don’t act as though you know more about this site’s rules than its staff do.

Anyway:
Quote
What I was talking about sound, I think that everyone knows..
Example: I like Bass, but browser don't have equalizer,I'd rather then listen music in foobar with equalizer.. That's all i wan't to say..
There is no need for technical evidence, that sound is changing with eq.
As I said, this is fine. It explains why you prefer the sound: because you’ve EQd it according to your personal tastes. I don’t have a problem with that at all—now that you’ve explained it properly.


Ok..I apologize because i was not be clearer about that.

Enable Foobar2000 To Stream Audio From Youtube

Reply #14
Marc, i now that you can write a WSH script that would enable as to search youtube videos in foobar, to have playlist, with image preview, and when you click on that image, to open video in browser, as a start?
Later can be completed with full implementation in foobar..

Enable Foobar2000 To Stream Audio From Youtube

Reply #15
why would i waste my time doing that when a browser can do a much better job? i like youtube but i use it for its main purpose - watching videos. i've already made everything i need to make my life easier. i have a script which launches a browser from within foobar using the current artist/title as the search terms.

you can do a similar thing with foo_run. many examples exist in that thread already.

Enable Foobar2000 To Stream Audio From Youtube

Reply #16
why would i waste my time doing that when a browser can do a much better job? i like youtube but i use it for its main purpose - watching videos. i've already made everything i need to make my life easier. i have a script which launches a browser from within foobar using the current artist/title as the search terms.

you can do a similar thing with foo_run. many examples exist in that thread already.


I know that, I made youtube button for myself. But this is not what i want. He opens only a current artist song on youtube. No search field, nothing where you can specify what video to find on youtube..

Enable Foobar2000 To Stream Audio From Youtube

Reply #17
I like Bass, but browser don't have equalizer,I'd rather then listen music in foobar with equalizer..

Have you checked if your soundcard's driver comes with an equalizer DSP? Most do. It will certainly solve that problem.

Enable Foobar2000 To Stream Audio From Youtube

Reply #18
I like Bass, but browser don't have equalizer,I'd rather then listen music in foobar with equalizer..

Have you checked if your soundcard's driver comes with an equalizer DSP? Most do. It will certainly solve that problem.


Yes, i have eq on my sound card, also windows equalizer but it sound much better with wasapi, BootEQ vst plugin in foobar.. So it's not very useful for me..

Marc, what can you tell me about this url: http://1nltui3li1cdki8kde21baj1igs7ekjc.ig...l&hl=en-GB#

I was thought to make something with that? But I don't know how long this work?

Enable Foobar2000 To Stream Audio From Youtube

Reply #19
Yes, i have eq on my sound card, also windows equalizer but it sound much better with wasapi, BootEQ vst plugin in foobar.

Does it? Are you sure? (TOS#8 again...)

I don't mean to be rude but here, as you were already told, if you claim something sounds better, worse or just different than something else you have to back it up. ABXing being the preferred way. If you do, those differences you thought you heard may disappear and you could then happily use the windows EQ for everything you play, which of course includes YouTube videos.

Enable Foobar2000 To Stream Audio From Youtube

Reply #20
Yes, i have eq on my sound card, also windows equalizer but it sound much better with wasapi, BootEQ vst plugin in foobar.

Does it? Are you sure? (TOS#8 again...)

I don't mean to be rude but here, as you were already told, if you claim something sounds better, worse or just different than something else you have to back it up. ABXing being the preferred way. If you do, those differences you thought you heard may disappear and you could then happily use the windows EQ for everything you play, which of course includes YouTube videos.


thank you I'll try this  , but the difference is not so much in the sound, as in volume(Perhaps there is no difference in sound at all, only in volume). WASAPI mutes all other sounds, so the sound gets stronger, I don't know why ..
I tried to use windows equalizer but I'm not able to configure it as i want. Not easy for use as foobar eq.
And my opinion is that each EQ changes the sound in their own way, depending on the frequency which use.

Enable Foobar2000 To Stream Audio From Youtube

Reply #21
Quote
what's wrong with using a browser? what benefit is there to streaming audio from youtube through foobar?  blink.gif


The answer is: Why not? Wouldn't you like to have your music system completly unified? So you can switch through songs with the main controller.

If I can browse through my LARGE playlist collection from toobar I would really convinced that foobar is the only music system I need, so screw opening youtube tabs anymore. Theres no best to play the exact song you wanna listen from youtube using a simple playlist in a music software. also you benefit that your playlist will be easily refilled with more music, specially with those who have playlists that gets new songs every day

This is a must, and it's a pity I don't know how to code this.

Ah, btw, I really doubt there is a trouble with the sound quality , I would stick with the worst quality if I could just see all my youtube playlists there in foobar

Enable Foobar2000 To Stream Audio From Youtube

Reply #22
The best reason why you should use a browser is that Google doesn't want developers to do what you requested. While they offer a programming interface for YouTube, they have implemented several technical and legal restrictions:
  • A client software cannot get direct access to the audio and video streams of a YouTube video. They only provide the option to embed their player into an application or a web site.
  • A client software may not display the video content at a size less than a pre-defined minimum size. I think this includes hiding the video.
Sorry, but I think the only feasible way to integrate YouTube functionality into foobar2000 would be to embed a web browser.

Enable Foobar2000 To Stream Audio From Youtube

Reply #23
The best reason why you should use a browser is that Google doesn't want developers to do what you requested. While they offer a programming interface for YouTube, they have implemented several technical and legal restrictions:
  • A client software cannot get direct access to the audio and video streams of a YouTube video. They only provide the option to embed their player into an application or a web site.
  • A client software may not display the video content at a size less than a pre-defined minimum size. I think this includes hiding the video.
Sorry, but I think the only feasible way to integrate YouTube functionality into foobar2000 would be to embed a web browser.


Well, in my previous post i used html to aces youtube video, without limitation's in browser. You have youtube API now, and you can listen audio without limitation i think even in aplication. I was say that i don't want to see video in foobar, only to listen audio, and have images that represent video, in foobar's playlist. I dont now if you hear about footube or fomci? http://www.hydrogenaudio.org/forums/index....showtopic=93278
It integrates another aplication in foobar with WSH script, so i think that in exactly way you can integrate even browser in foobar. So all this is possible..
But i don't now how to code this, maybe some of you can look at this script..

And as Cidwel said:  benefit is that your playlist will be easily refilled with more music, and gets new songs every day..
I dont bother with sound quality, it's ok for me..
Btw why you listen youtube at all in browser, if you don't like how it sounds?