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: foo_youtube (Read 491647 times) previous topic - next topic
0 Members and 3 Guests are viewing this topic.

Re: foo_youtube

Reply #75
This is a fantastic addition to foobar2000, thank you so much for the amazing work! I don't really have any feature requests or bug reports that anyone else hasn't already mentioned, but I just wanted to praise it!

(I wonder if the same kinda thing could be done for Soundcloud...)

Re: foo_youtube

Reply #76
Hi 3dyd.

Using v.0.0.7 -- and really just after some advice.
I listen to a lot of lectures on youtube, like the one below (and they're often very long):
http://www.youtube.com/watch?v=oT7bTr5YEO4

foo_youtube defaults to WebM (OGG):
The issue I'm having is with seeking, none of the formats seem good at seeking on long streams. This one is 1 hour 50 mins. If you jump to 50 mins in ... well, the wait is so long that I've never found out if it eventually gets there.

Any idea what might be the best settings for such streams? I've tried playing around with using foo_youtube to download, FFmpeg to decode etc ... but so far nothing I try seeks well on such long streams, whereas if I jump to 50 mins in on YouTube it's okay (generally).

Any advice much appreciated.

C.
PC = TAK + LossyWAV  ::  Portable = Opus (130)

Re: foo_youtube

Reply #77
am i doing something wrong. or everything is ok here?
It says: 'not loaded, configured for decode: no, analyse: yes'.
How to set this?
I noticed that with this work better, but don't know did i set this right...


Re: foo_youtube

Reply #78
@carpman
Problem noted. I'll check what I can do. What can be done now. As for me, seeking works ok for mp4 and 3gp. It also works ok for webm (and probably ogg (WebM AO), clip haven't it to check) but for those formats - only if use ffmpeg for decode. So as quick solution, you can explicitly disable other formats. If not use ffmpeg, then in 'Formats to ignore' enter 'webm;ogg;flv;m4a'. If use ffmpeg then there should be only 'flv;m4a' and in 'Decode its own' all formats which you want to decode by ffmpeg (for example just enter all Youtube formats 'webm;ogg;mp4;m4a;flv;3gp'). In case of decoding by ffmpeg seems no matter which downloader to use, foobar's internal also works ok without interruptions to they seems depend of decoder. The one difference - if you often seek through file then better use component own downloader - it caches downloaded file so if seek to already listened part, it will not download it again.

@mire777
Seems you use ffmpeg static build (which contains only *.exe files) so component found only ffprobe.exe which used for analysis (i.e. when Playback Start slider is Slow). Check Setup window in 'FFmpeg status'->'Setup'. For decoding it need ffmpeg 32-bit shared build (with *.dll files e.g. avcodec-55.dll). For now I can't suggest the best preferences setup for any cases (and problem noted by @carpman is one more reason but not the only) so setup ffmpeg if you want to listen m4a which has the best quality-filesize ratio and present for every clip. Otherwise there are no strong reasons to use it.

Re: foo_youtube

Reply #79
Excellent! That works really well. Thanks 3dyd.
Very nice component. Looking forward to searching when you get that sorted.

By the way, it works really well (for talks/lectures etc..) when combined with foo_128norm, foo_dsp_xgeq and foo_playlist_attributes. It's cool to be able to bung podcasts and youtube links into one playlist and not have to worry about any volume adjustments.

Thanks again,

C.
PC = TAK + LossyWAV  ::  Portable = Opus (130)

Re: foo_youtube

Reply #80
@mire777
Seems you use ffmpeg static build (which contains only *.exe files) so component found only ffprobe.exe which used for analysis (i.e. when Playback Start slider is Slow). Check Setup window in 'FFmpeg status'->'Setup'. For decoding it need ffmpeg 32-bit shared build (with *.dll files e.g. avcodec-55.dll). For now I can't suggest the best preferences setup for any cases (and problem noted by @carpman is one more reason but not the only) so setup ffmpeg if you want to listen m4a which has the best quality-filesize ratio and present for every clip. Otherwise there are no strong reasons to use it.


Thanks 3dyd, yes this is ffmpeg static, and use only ff.probe.exe. In setup it can't find anything else. I will download other version and see to set this.
It works well without this but i was think to listen m4a also...

Re: foo_youtube

Reply #81
I managed to set up everything, and works as expected.If you set that ffmpeg decode all formats: ''webm;ogg;mp4;m4a;flv;3gp'' seeking work incredibly fast for: ''ogg;mp4'' ,not tested but i think for ''flv'' and ''3gp'' also. The only thing i noticed, not so important is that: bitrate in kbs for ''webm;ogg;mp4'' or ''flv;3gp''(maybe) not displayed in playlist if ffmpeg decodes that format..
Other things is perfect, i'v set that priority formats for me is: ogg;m4a. Webm is disabled for now because i think it always contains 128kbs, but filesize is larger than these 2..
Maybe this will help others in the settings..

Re: foo_youtube

Reply #82
The only thing i noticed, not so important is that: bitrate in kbs for ''webm;ogg;mp4'' or ''flv;3gp''(maybe) not displayed in playlist if ffmpeg decodes that format..

Bitrate shows only if ffmpeg reported it after file opening. Some formats seems need more deep file analysis to get it which will reduce playing start speed. Bitrate is not so important thing to do this. There is also known some expected bitrate value after page analysis but as for me - better do not report it at all than report some estimated values which was not retrieved explicitly from the file by decoder.

Re: foo_youtube

Reply #83
New version:
foo_youtube_0.0.8.zip

Changes:
- Search feature. Currently as one more tab in component main window
- check for update. Can be accessed through Help menu (this can be removed using prefs). Checks for new component version and shows textual message with download link if new version is available. That is all what depends of me
- specific settings moved to Advanced preferences (Preferences -> Advanced -> Tools -> Youtube Source)

Changed opinion on default component settings. By default it should show best it can. So default options changed regarding to this (use album art, clip title parsing rule and others).

Re: foo_youtube

Reply #84
This is great! Thanks for search option! . Is it possible to set that: (add to current playlist and play) be default behaviour on double click in search.
If i want to have one video below other saved in playlist, then i must right click and select second option from menu.
Would like to be able to set my default double click behaviour from that menu. Thanks alot for your work..

Re: foo_youtube

Reply #85
Like the new version 3dyd!

Don't know if this is practical options wise, but what I'd like is to be able to specify a particular playlist to add search results to (and play). If multiple are selected then play the top one first: Add to Playlist X and play.

Since the options panel is getting rather busy, perhaps such nuanced options could be set in File > Preferences > Advanced?

Thanks again, the search feature is very nice.

C.
PC = TAK + LossyWAV  ::  Portable = Opus (130)

Re: foo_youtube

Reply #86
New 0.0.8 is perfect. Thank you for this

I really think that this is too perfect to stay on this now, i think that there should be last.fm integration, at least as experimental option.
With new tab, where you type artist and component use last.fm as recomendation service to find clips on youtube, open first found video and play in playlist, one by one..
It should work as youtube radio.

I make thread about this here(this is possible): http://www.hydrogenaudio.org/forums/index....howtopic=104818
However take a look...
Thanks...

Re: foo_youtube

Reply #87
@neons
Ok, default double click behaviour setup will be added in next version.

@carpman
In this context menu can be added popup menu 'Add to specific playlist and play' with all playlists inside - this don't need any options and will not bother users who don't need it. But is it really more convenient and faster than just activate particular playlist and use 'Add to current playlist and play'? Because as for me, I even don't know how my playlists are named. There are just active playlist, playing playlist (which most times equals to active) and other playlists. And instead of reading and finding some playlist in popup menu I'd better just activate it and use 'Add to current...'

 

Re: foo_youtube

Reply #88
3dyd, I may not have been clear. I want to define "default double click behaviour", so that it always adds to a pre-specified playlist.  Alternatively, being able to click and drag search results to a playlist would be even better.

Anyway, your component is already doing a great job. I'm just saying what would make it better (but perhaps better only for me). 

C.
PC = TAK + LossyWAV  ::  Portable = Opus (130)

Re: foo_youtube

Reply #89
Problem with 'Forbidden (403)' error on playback start (for some clips and depending of user) still exist and not solved.


Is there any chance this might be fixed at some point?

Re: foo_youtube

Reply #90
Alternatively, being able to click and drag search results to a playlist would be even better.

Yep, drag&drop definitely should be there and it will be.

Problem with 'Forbidden (403)' error on playback start (for some clips and depending of user) still exist and not solved.

Is there any chance this might be fixed at some point?

I found where is the problem - there are a kind of protection for some clips. If they have region-aware video ads then this protection appears only for this region. Probably there are also other cases when it appears. Currently I have no solution for this.

Re: foo_youtube

Reply #91
a request:

3dyd, could you use the default ui fonts for the history tab. Now it looks like some geeky stuff from windows 98 era.


a hint:

There is an interesting modern app for Windows 8(.1) called "Youtube Fm". This app is indeed able - as you can see in the screenshots - to give back for any search term three lists (for title, album and artist) whereas the items of the lists lead to further entities (like album to its titles). However it works, maybe it is interestin also for this component. As far as i know "Youtube FM" i would say that it would be fantastic to have such a functionality for fb2k.

Re: foo_youtube

Reply #92
a request:

3dyd, could you use the default ui fonts for the history tab. Now it looks like some geeky stuff from windows 98 era.


a hint:

There is an interesting modern app for Windows 8(.1) called "Youtube Fm". This app is indeed able - as you can see in the screenshots - to give back for any search term three lists (for title, album and artist) whereas the items of the lists lead to further entities (like album to its titles). However it works, maybe it is interestin also for this component. As far as i know "Youtube FM" i would say that it would be fantastic to have such a functionality for fb2k.


This is also good to aply in search, but you always recieve only one artist you type..
I was talk about similar thing, but this is i called: ''youtube radio'' , based on last.fm(radio) recomendation, it would be bether than this. Also with this metod you always recieve clips in format %artist% - %title% , and you have biography and lyrics for every clip.
You type artist in search tab, and it filled your playlist with clips (based on similarity) on every finished clip it trigger new..
This isn't hard to do, if you know html> http://www.hydrogenaudio.org/forums/index....howtopic=104818

It would be good to add this(or something similar), when everything else be done ..

Re: foo_youtube

Reply #93
a request:

3dyd, could you use the default ui fonts for the history tab. Now it looks like some geeky stuff from windows 98 era.

This is monospaced font and it used to accommodate the equivalent quality parts on the same column for ease of their comparing. You can switch to default UI font by clicking on the link at top right corner and selecting Trim item.

Re: foo_youtube

Reply #94
For anyone who has a constant error 'Forbidden (403)' with some clips, check this build: foo_youtube_0.0.9_dev1.zip. It may fix a problem (thanks to @MaCs). However it may fix the problem with not all clips and not for a long time - to determine this need more stats and time, that's why it's a beta.

Re: foo_youtube

Reply #95
How could i miss this great plugin?Found it today.Works exelent.
I would like only to be able to right click in playlist on some artist, and then open this artist in search, to check new songs if possible. I noticed if type artist name in search ,it find about 500 songs. This is great..
Thank you for make this plugin, i needed this all time..
Thanks.

Re: foo_youtube

Reply #96
For me they are almost all of them 403 (Phoenix, Arizona). Eminem for example, I can't play a single one. Pink Floyd almost all of them. No idea why and hope this helps. Please tell me what test I can try to help.


Re: foo_youtube

Reply #98
For me they are almost all of them 403 (Phoenix, Arizona). Eminem for example, I can't play a single one. Pink Floyd almost all of them. No idea why and hope this helps. Please tell me what test I can try to help.


Did you try foo_youtube_0.0.9_dev1?

Re: foo_youtube

Reply #99
@eahm
Yes, I see now. Well, as supposed, solution works not for all cases. At least, this will give more info to make more complex solution.

@ytd
Yes, seems current limit for search results is 500 items.

@Porcus
As covered by this post, this is out of scope of this component.