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: WEBM radio streams not supported? (Read 1649 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

WEBM radio streams not supported?

Using FB2K 1.3.17 on Windows 7SP1:

While .webm wrapped files will play, trying to play this WEBM radio stream fails with the error "Unable to open item for playback (Object is not seekable)":

http://s1.euer.tv/erdehq.webm

Adding the extension to the FFmpeg Decoder Wrapper with a http://*.webm  mask also fails with same error.  The same stream plays fine on Winamp when sending the WEBM extension to the in_ffsox.dll plugin, which uses FFmpeg (codec used shows as vorbis).  Thanks for any insight!

Re: WEBM radio streams not supported?

Reply #1
Maybe it is because foobar2000 does not have priority for decoders. So even when FFmpeg Decoder Wrapper has http://*.webm, internal decoder still takes precedence, and eventually fails with this error.

As alternative, until you have some better approach, you can use foo_youtube. Prepend URL scheme with fy+ in this case (i.e. "fy+http://s1.euer.tv/erdehq.webm"). At least audio plays fine then.

Re: WEBM radio streams not supported?

Reply #2
Alternative using current foo_input_ffmpeg. Could not make it simpler unfortunately.

1. Create dummy file:
ffmpeg -i http://s1.euer.tv/erdehq.webm -to 1 -f webm radio.s1-euer-tv
2. Add this file to playlist - it will represent this radio station
3. Add new config in FFmpeg Decoder Wrapper:
  - Format name: any, e.g. s1.euer.tv
  - File type mask: *.s1-euer-tv
  - Additional args: -i http://s1.euer.tv/erdehq.webm -i %s
4. Play this file!

So it requires one config per station + existing dummy file for this station.

Re: WEBM radio streams not supported?

Reply #3
Thanks so much 3dyd for your suggestions and the amazing config!

I think I will just by-pass the few webm audio streams for now.  Just had wanted to try this in order to see how "hq" it actually was based on the link, and when I found it would not play in Foobar but would in the mentioned Winamp config got curious as to what the reason was.

Thanks again for your effort and for your foo_ youtube plugin.

Re: WEBM radio streams not supported?

Reply #4
This will be addressed in a future update (so .webm streams work out of the box without requiring special config).
Microsoft Windows: We can't script here, this is bat country.

Re: WEBM radio streams not supported?

Reply #5
Here's a temporary workaround for you-
https://foobar2000.org/temp/foo_input_std-1.3.17-fix-2017-12-20.zip
Replace your v1.3.17 foo_input_std.dll with this one.
It does not fix the actual problem of remote matroska/webm files not playing, but prevents the standard Matroska reader from touching remote webm content entirely, so foo_input_ffmpeg can open them without a conflict. Specify http://*.webm in foo_input_ffmpeg format list and you can stop using any other hacks.

The next update (foobar2000 v1.4) will include a proper fix so webm will play out-of-the-box without any extra components needed.
Microsoft Windows: We can't script here, this is bat country.