19 May '13 - 22:15 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
 
   Home   Help Search Login Register  
Pages: [1]
  Reply  |  Print  
Author Topic: BASS_ERROR_FILEFORM  (Read 801 times)
BulleTTime
Posts: 28


« on: 24 Feb '12 - 12:41 »
Reply with quoteQuote

Manny radio's return the FileForm error. Anyone knows why?

Like these links:

http://frozenshinigami.wordpress.com/2011/03/25/online-radio-streaming-via-sky-fm/

note that i tried following configs, and also note that some .pls do work.

Bass.BASS_SetConfig(BASSConfig.BASS_CONFIG_NET_PLAYLIST,1);
Bass.BASS_SetConfig(BASSConfig.BASS_CONFIG_NET_PLAYLIST,2);
Bass.BASS_SetConfig(BASSConfig.BASS_CONFIG_NET_PLAYLIST,21);


Anyone knows how to get these sky.fm works?
« Last Edit: 24 Feb '12 - 12:51 by BulleTTime » Logged
Ionut Cristea
Posts: 1372


« Reply #1 on: 24 Feb '12 - 13:00 »
Reply with quoteQuote

Loading BASS_DSHOW addon will solve the problem Wink
Logged
Ian @ un4seen
Administrator
Posts: 15244


« Reply #2 on: 24 Feb '12 - 15:39 »
Reply with quoteQuote

I believe Sky.fm uses the AAC format in its streams. If you're not using Win7 (or updated Vista), you will need the BASS_AAC add-on to play them. Once placed in your app's folder, it can be loaded like this...

BASS_PluginLoad("bass_aac.dll", 0);
Logged
BulleTTime
Posts: 28


« Reply #3 on: 24 Feb '12 - 17:03 »
Reply with quoteQuote

I cant find any information about the usage of acc. Indeed sky.fm uses aac plus.

I still cant use the .pls, but when i open the .pls i see a url, and that works..

How do i use the .pls?



Thanks
« Last Edit: 24 Feb '12 - 18:39 by BulleTTime » Logged
Ian @ un4seen
Administrator
Posts: 15244


« Reply #4 on: 27 Feb '12 - 16:58 »
Reply with quoteQuote

If the BASS_CONFIG_NET_PLAYLIST option is enabled and BASS_AAC is loaded, then AAC streams will be supported in PLS playlists. But note that you need to be using the plugin system for the playlist processing, ie. BASS_PluginLoad and BASS_StreamCreateURL rather than BASS_AAC_StreamCreateURL.
Logged
BulleTTime
Posts: 28


« Reply #5 on: 28 Feb '12 - 11:48 »
Reply with quoteQuote

This is the code i use:

BASS_PluginLoad("bass_aac.dll", 0);
BASS_SetConfig(configs.BASS_CONFIG_NET_PLAYLIST,1);
stream = BASS_StreamCreateURL(url, 0, flags.BASS_SAMPLE_3D & flags.BASS_SAMPLE_MONO, 0, 0);

I quess that should be ok?
Logged
Ian @ un4seen
Administrator
Posts: 15244


« Reply #6 on: 28 Feb '12 - 14:51 »
Reply with quoteQuote

Yes, those BASS_PluginLoad and BASS_SetConfig calls look good. The BASS_StreamCreateURL call doesn't look quite right though; to combine flags you need to use the "or" operator rather than "and", ie. "|" instead of "&".
Logged
BulleTTime
Posts: 28


« Reply #7 on: 1 Mar '12 - 13:39 »
Reply with quoteQuote

I have changed that but still i cant open the .pls files from skyfm i posted in the first post  Huh
Logged
Ian @ un4seen
Administrator
Posts: 15244


« Reply #8 on: 1 Mar '12 - 16:01 »
Reply with quoteQuote

I tried the first 3, using the NETRADIO example with a BASS_PluginLoad call added to load BASS_AAC, and they seem to be working fine. To narrow down the problem you're having, is it only happening with AAC streams, eg. are you able to play MP3 streams in PLS files?
Logged
BulleTTime
Posts: 28


« Reply #9 on: 2 Mar '12 - 12:52 »
Reply with quoteQuote

It seems to be working now.

I think it was because i called BASS_Init every time i started a stream.

Thanks anyhow Grin
Logged
Pages: [1]
  Reply  |  Print  
 
Jump to:  

Powered by SMF 1.1.18 | SMF © 2013, Simple Machines