Skip to main content
Topic: foo_youtube (Read 218679 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

foo_youtube

Reply #201
This time not much updates. Actually only one :)

New version:
foo_youtube_0.0.17.zip

Changelog:
- video playback

It should be explicitly enabled through Features tab. Without it anything related to video is disabled so component works as usual.
Playback tested with LAV filters and limited to be used only with them.
After enabling in View -> Visualizations menu appears 'Youtube Video' item. Video playing can be started only manually by using this item.

foo_youtube

Reply #202
As usually I did not understand how it works :-(
I downloaded a zip file LAVFilters 0.61.2-x64 with inside many .dll files (do I have to bring them in foobar components ?)
and .ax files (?)
I clicked on install.bat (audio, splitter and video).

I checked "enable video".
After that I clicked on a song, went to view > visualisation > Youtube video.
Once I had message
Quote
Can't start playback
Creating LAV splitter: Classe non enregistrée


For following tests, nothing happened.

I think I made all wrong

foo_youtube

Reply #203
You did everything almost right. But need to use x86 filters, not x64. More info here, had no time to update it yesterday.


foo_youtube

Reply #204
This time not much updates. Actually only one

New version:
foo_youtube_0.0.17.zip

Changelog:
- video playback

It should be explicitly enabled through Features tab. Without it anything related to video is disabled so component works as usual.
Playback tested with LAV filters and limited to be used only with them.
After enabling in View -> Visualizations menu appears 'Youtube Video' item. Video playing can be started only manually by using this item.


Wow, video works!
I didn't have to install anything.

Edit:
On some videos there are problem:

Console:

Code: [Select]
Opening track for playback: "3dydfy://www.youtube.com/watch?fb2k_title=Something%20Deep%20Inside&3dydfy_alt_length=217&fb2k_artist=Billie%20Piper&v=ADfEf3BlWuY"
3dydfy, opening m4a: download - foobar2000, decode - foobar2000
Unable to open item for playback (Unsupported format or corrupted file (array access out of range)):
"3dydfy://www.youtube.com/watch?fb2k_title=Something%20Deep%20Inside&3dydfy_alt_length=217&fb2k_artist=Billie%20Piper&v=ADfEf3BlWuY"

foo_youtube

Reply #205
You did everything almost right. But need to use x86 filters, not x64. More info here, had no time to update it yesterday.

Yesss! It works  Thanks 3dyd.
I have a windows with the video
Before I installed x64 files because I have Windows 7 x64!
Now I have to find how to with my other foobar portable mod, where there is not "View..." I suppose I have to create a shortcut.

foo_youtube

Reply #206
wow! Thank you for this feature, it works perfectly here! Are you planning to be able to use this as a panel (on columns_ui at least I don't see a way to add it)?

foo_youtube

Reply #207
In comparing with current variant, implementing video playback as UI element has several conceptual differences, each of which needs additional work and may produce additional problems. So don't know, maybe (at least as new challenge), but for now need check the current variant and try to fix potential problems before adding new stuff.
On other hand, as for me, foobar is for audio listening. Sometimes it interesting to see video of the playing audio, but waste of bandwidth and cpu resources to play video for _any_ Youtube audio (which would be so in case of UI element) is absolutely unnecessary.

foo_youtube

Reply #208
On some videos there are problem:

Console:

[code]
3dydfy, opening m4a: download - foobar2000, decode - foobar2000
Unable to open item for playback (Unsupported format or corrupted file (array access out of range)):

Here

Now I have to find how to with my other foobar portable mod, where there is not "View..." I suppose I have to create a shortcut.

(somewhat offtopic) As for me shortcuts are better in any case. In my case they are Ctrl+Y for 'View -> Youtube Source', Ctrl+Shift+Y for 'File -> Add Youtube URL(s)...' and Ctrl+Alt+Y for 'View -> Visualizations -> Youtube Video'.

foo_youtube

Reply #209
Thanks for the useful offtopic

foo_youtube

Reply #210
On some videos there are problem:

Here



I think i have ffmpeg properly configured:

Playback Start: fast.
Prefer a media file: with best available audio.
Formats to ignore: None.
Priority of formats: None.
Prefer audio-only media files regardless of their quality: checked.

Processing:

Media downloading: foobar 2000
Decode its own: all formats(mp4;m4a;webm;ogg;3gp;flv)

libavformat - yes
libavcodec - yes
libavutil - yes
libswresample - yes

I didn't have problem with this settings in previous version.
When i turn off video in features, i have same error again.
When i back to previous version, there are no problems..

Don't know which settings to use?
Maybe in Features>Video formats to ignore to enter: m4a?


*If i can suggest that: video window -always remains open, when you click play, to show next video?

foo_youtube

Reply #211
Found the problem (thanks @mire777 for helping), will be fixed in next version. For now, if somebody has the same problem, swith to FFmpeg version not newer than 2.2.2.

*If i can suggest that: video window -always remains open, when you click play, to show next video?

Something like this will be, but I can't say how soon.

foo_youtube

Reply #212
I found that some resized videos, like this: http://www.youtube.com/watch?&v=D_mw5cdF4WM  ,cant be played.
Can this be fixed?

Console:

Code: [Select]
Opening track for playback: "3dydfy://www.youtube.com/watch?&v=D_mw5cdF4WM"
3dydfy, opening ogg: download - foobar2000, decode - ffmpeg
Unable to open item for playback (Internal Server Error (500)):
"3dydfy://www.youtube.com/watch?&v=D_mw5cdF4WM"

 

foo_youtube

Reply #214
Sorry, my mistake, some ''resized'' youtube videos work, but some don't...
It seems that all videos on youtube is now in that format.

foo_youtube

Reply #215
What do you mean by "resize" ? A new/different audio format or size in pixels ?

foo_youtube

Reply #216
What do you mean by "resize" ? A new/different audio format or size in pixels ?


Window for video on youtube site, has different size, it is larger now..
Or it is only for me, don't know?

foo_youtube

Reply #217
I don't know how it is in Youtube, because I wath them in Foobar
My setting in Youtube source is 360p

foo_youtube

Reply #218
I found that some resized videos, like this: http://www.youtube.com/watch?&v=D_mw5cdF4WM  ,cant be played.
Can this be fixed?

Console:

Code: [Select]
Opening track for playback: "3dydfy://www.youtube.com/watch?&v=D_mw5cdF4WM"
3dydfy, opening ogg: download - foobar2000, decode - ffmpeg
Unable to open item for playback (Internal Server Error (500)):
"3dydfy://www.youtube.com/watch?&v=D_mw5cdF4WM"


This condole output relates to audio playback i.e. it does not matter if you watch video at this time or not. According to the meaning of HTTP error 500 this error is not on your side. You can disable OGG format through settings if problem relates only to it (I've seen same problem, maybe it is temporary or there can be some experiments like it was recently at switching from VP8 to VP9 codec for webm video).

Window for video on youtube site, has different size, it is larger now..
Or it is only for me, don't know?

Video size on Youtube and in component are independent.
Also playing audio and playing video by the component are independent by each other i.e. they are in most cases from different sources/files.

foo_youtube

Reply #219
This condole output relates to audio playback i.e. it does not matter if you watch video at this time or not. According to the meaning of HTTP error 500 this error is not on your side. You can disable OGG format through settings if problem relates only to it (I've seen same problem, maybe it is temporary or there can be some experiments like it was recently at switching from VP8 to VP9 codec for webm video).


Video size on Youtube and in component are independent.
Also playing audio and playing video by the component are independent by each other i.e. they are in most cases from different sources/files.


Thanks for the explanation. Error 500 is very rare.
About video window size, this is probably because of my settings on site, or because browser.

foo_youtube

Reply #220
Unfortunately the "Unable to open item for playback (Forbidden (403)" issue has just come back for me big time. This affects the majority of tracks (>80% of tracks won't play).  I am using v0.0.17.

Up until ~ 2 days ago all tracks would play just fine, so I hope this issue can be fixed. Thanks for all your efforts on this plug-in.

foo_youtube

Reply #221
Ok, noted. I'll check what can be done

foo_youtube

Reply #222
Yep, same here. It started yesterday so I guess Youtube did an update.

foo_youtube

Reply #223
For now can be used this build (thanks @WilB for helping): foo_youtube_0.0.18_dev1.zip
403 error there seems fixed. But this build is without video, complete build will be in the coming days.

foo_youtube

Reply #224
I don't have these errors.
Can somebody give me a link, so I could try?

 
SimplePortal 1.0.0 RC1 © 2008-2019