22 May '13 - 02:40
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home
Help
Search
Login
Register
Un4seen Developments Forum
>
Developments
>
BASS
> Topic:
BASS_ERROR_FILEFORM
Pages: [
1
]
« previous
|
next »
Reply
|
Print
Author
Topic: BASS_ERROR_FILEFORM (Read 811 times)
BulleTTime
Posts: 28
BASS_ERROR_FILEFORM
«
on:
24 Feb '12 - 12:41 »
Quote
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: 1374
Re: BASS_ERROR_FILEFORM
«
Reply #1 on:
24 Feb '12 - 13:00 »
Quote
Loading BASS_DSHOW addon will solve the problem
Logged
Ian @ un4seen
Administrator
Posts: 15259
Re: BASS_ERROR_FILEFORM
«
Reply #2 on:
24 Feb '12 - 15:39 »
Quote
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
Re: BASS_ERROR_FILEFORM
«
Reply #3 on:
24 Feb '12 - 17:03 »
Quote
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: 15259
Re: BASS_ERROR_FILEFORM
«
Reply #4 on:
27 Feb '12 - 16:58 »
Quote
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
Re: BASS_ERROR_FILEFORM
«
Reply #5 on:
28 Feb '12 - 11:48 »
Quote
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: 15259
Re: BASS_ERROR_FILEFORM
«
Reply #6 on:
28 Feb '12 - 14:51 »
Quote
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
Re: BASS_ERROR_FILEFORM
«
Reply #7 on:
1 Mar '12 - 13:39 »
Quote
I have changed that but still i cant open the .pls files from skyfm i posted in the first post
Logged
Ian @ un4seen
Administrator
Posts: 15259
Re: BASS_ERROR_FILEFORM
«
Reply #8 on:
1 Mar '12 - 16:01 »
Quote
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
Re: BASS_ERROR_FILEFORM
«
Reply #9 on:
2 Mar '12 - 12:52 »
Quote
It seems to be working now.
I think it was because i called BASS_Init every time i started a stream.
Thanks anyhow
Logged
Pages: [
1
]
Reply
|
Print
Un4seen Developments Forum
>
Developments
>
BASS
> Topic:
BASS_ERROR_FILEFORM
« previous
|
next »
Jump to:
Please select a destination:
-----------------------------
Developments
-----------------------------
=> BASS
=> XMPlay
=> MO3
-----------------------------
Off Topic
-----------------------------
=> General Discussion
Loading...