PDA

View Full Version : Ogg Vorbis issue & BBC Radio question



Alan Parkyn
2005-03-22, 14:52
Hi there,

Ogg Vorbis problem:
I'm a Squeezebox newbie running 5.4.1 on a 250GB Buffalo LinkStation
(thanks SO much to Marc D. Field for his project notes
http://fieldnetworks.com/slim/linkstation.html and plenty of
post-project help, nice chap and patient!) but I have one problem - I
can't play my Ogg Vorbis files.

When I try from the Squeezebox/SoftSqueeze it starts saying it will play
the file and then comes back with a message saying 'Can't Open File'.

When running SlimServer software direct from the LinkStation via HTML on
my Windows XP PC and I try and select the Ogg Vorbis options (Server
Settings/File Types)I get the following error:

"File Format Conversions 10:

Setting was changed.
File Format Conversions 11:

Setting was changed.
Required binary was not found: [oggdec] -Q -o - -R $FILE$ | [lame]
-- resample 44100 -q $QUALITY$ --silent -b $BITRATE$ -r -x - -
Required binary was not found: [oggdec] -Q -o - -R $FILE$"

This happens whatever version of SlimServer I download (5.4.1, 5.4.x or
any of v6.0) although it was never a problem when I originally installed
SlimmServer & ran it from my PC can someone help please?

I've scanned as much as I can and I think it has something to do with
the convert.conf file but where do I find this and how do I edit it?
(I'd appreciate a real idiots guide (keystrokes file locations etc. as
I'm a novice - even though I've installed new LinkStation Perl versions
and created files and utilities in 'vi'!!)

All my music is in Ogg Vorbis so this is really important to me.

BBC Radio
Is there any way I can stream BBC radio (specifically 5 Live) to my
Squeezebox through my LinkStation? I read that creating an m3u file
would do the trick but a) I don't know if I've created the file
correctly and b) I don't know where to install it to test it - anyone
tried this?

Thanks for any help with the two issues.

Kind regards,
Alan.

kdf
2005-03-22, 15:06
Quoting Alan Parkyn <alan.parkyn (AT) ntlworld (DOT) com>:

> Hi there,
>
> Ogg Vorbis problem:
> I'm a Squeezebox newbie running 5.4.1 on a 250GB Buffalo LinkStation
> (thanks SO much to Marc D. Field for his project notes
> http://fieldnetworks.com/slim/linkstation.html and plenty of
> post-project help, nice chap and patient!) but I have one problem - I
> can't play my Ogg Vorbis files.
>
> When I try from the Squeezebox/SoftSqueeze it starts saying it will play
> the file and then comes back with a message saying 'Can't Open File'.
>
> When running SlimServer software direct from the LinkStation via HTML on
> my Windows XP PC and I try and select the Ogg Vorbis options (Server
> Settings/File Types)I get the following error:
>
> "File Format Conversions 10:
>
> Setting was changed.
> File Format Conversions 11:
>
> Setting was changed.
> Required binary was not found: [oggdec] -Q -o - -R $FILE$ | [lame]
> -- resample 44100 -q $QUALITY$ --silent -b $BITRATE$ -r -x - -
> Required binary was not found: [oggdec] -Q -o - -R $FILE$"
>
> This happens whatever version of SlimServer I download (5.4.1, 5.4.x or
> any of v6.0) although it was never a problem when I originally installed
> SlimmServer & ran it from my PC can someone help please?

what this is telling you is that required binaries are missing. In this case,
you are either missing oggdec or LAME. oggdec is included with the server for
a s many cases as possible, but LAME has to be downloaded/compiled by the end
user due to licensing issues. Look in player settings->audio. Under bitrate
limiting, you will see in the description whether LAME has been detected or not
in your system.

-kdf

Jules Taplin
2005-03-22, 16:59
Hi Alan.

If you want to stream BBC radio, then you'll need a copy of AlienBBC.
It's available from: http://www.mrtickle.org/alienbbc.html

However... I do have to confess - we've never tried running AlienBBC on
a linkstation... and I'm not totally sure it will be easy.

The only main piece you'll need (in addition to thinks like 'lame'
potentially working), is 'mplayer' working. Again, this is something that
we don't package... and I've absolutely no idea if anybody has ever even
TRIED to make that work.

Sorry if that's not the most helpful answer in the world. I do wish you
the very best of luck, though... and if you do make it work - I'd
love to hear from you!


-- Jules


Alan Parkyn wrote:

> Hi there,
>
> Ogg Vorbis problem:
>
> Iím a Squeezebox newbie running 5.4.1 on a 250GB Buffalo LinkStation
> (thanks SO much to Marc D. Field for his project notes
> http://fieldnetworks.com/slim/linkstation.html and plenty of
> post-project help, nice chap and patient!) but I have one problem Ė I
> canít play my Ogg Vorbis files.
>
> When I try from the Squeezebox/SoftSqueeze it starts saying it will
> play the file and then comes back with a message saying ĎCanít Open Fileí.
>
> When running SlimServer software direct from the LinkStation via HTML
> on my Windows XP PC and I try and select the Ogg Vorbis options
> (Server Settings/File Types)I get the following error:
>
> "File Format Conversions 10:
>
> Setting was changed.
>
> File Format Conversions 11:
>
> Setting was changed.
>
> Required binary was not found: [oggdec] -Q -o - -R $FILE$ | [lame] --
> resample 44100 -q $QUALITY$ --silent -b $BITRATE$ -r -x - -
>
> Required binary was not found: [oggdec] -Q -o - -R $FILE$"
>
> This happens whatever version of SlimServer I download (5.4.1, 5.4.x
> or any of v6.0) although it was never a problem when I originally
> installed SlimmServer & ran it from my PC can someone help please?
>
> Iíve scanned as much as I can and I think it has something to do with
> the convert.conf file but where do I find this and how do I edit it?
> (Iíd appreciate a real idiots guide (keystrokes file locations etc. as
> Iím a novice - even though Iíve installed new LinkStation Perl
> versions and created files and utilities in Ďvií!!)
>
> All my music is in Ogg Vorbis so this is really important to me.
>
> BBC Radio
>
> Is there any way I can stream BBC radio (specifically 5 Live) to my
> Squeezebox through my LinkStation? I read that creating an m3u file
> would do the trick but a) I donít know if Iíve created the file
> correctly and b) I donít know where to install it to test it Ė anyone
> tried this?
>
> Thanks for any help with the two issues.
>
> Kind regards,
>
> Alan.
>
>------------------------------------------------------------------------
>
>

Yan Tran
2005-03-24, 19:25
convert.conf should be in the directory where all the other slimserver
files are. I had a problem playing ogg with 5.4.1 and resolved it by
removing the -R option where it reads [oggdec] -Q -o - -R $FILE$". I
still can't play ogg files with 6.0 beta though.

Yan


On Tue, 22 Mar 2005 21:52:28 -0000, Alan Parkyn
<alan.parkyn (AT) ntlworld (DOT) com> wrote:
>
>
>
> Hi there,
>
>
>
> Ogg Vorbis problem:
>
> I'm a Squeezebox newbie running 5.4.1 on a 250GB Buffalo LinkStation (thanks
> SO much to Marc D. Field for his project notes
> http://fieldnetworks.com/slim/linkstation.html and plenty of post-project
> help, nice chap and patient!) but I have one problem Ė I can't play my Ogg
> Vorbis files.
>
>
>
> When I try from the Squeezebox/SoftSqueeze it starts saying it will play the
> file and then comes back with a message saying 'Can't Open File'.
>
>
>
> When running SlimServer software direct from the LinkStation via HTML on my
> Windows XP PC and I try and select the Ogg Vorbis options (Server
> Settings/File Types)I get the following error:
>
>
>
> "File Format Conversions 10:
>
>
>
> Setting was changed.
>
> File Format Conversions 11:
>
>
>
> Setting was changed.
>
> Required binary was not found: [oggdec] -Q -o - -R $FILE$ | [lame] --
> resample 44100 -q $QUALITY$ --silent -b $BITRATE$ -r -x - -
>
> Required binary was not found: [oggdec] -Q -o - -R $FILE$"
>
>
>
> This happens whatever version of SlimServer I download (5.4.1, 5.4.x or any
> of v6.0) although it was never a problem when I originally installed
> SlimmServer & ran it from my PC can someone help please?
>
>
>
> I've scanned as much as I can and I think it has something to do with the
> convert.conf file but where do I find this and how do I edit it? (I'd
> appreciate a real idiots guide (keystrokes file locations etc. as I'm a
> novice - even though I've installed new LinkStation Perl versions and
> created files and utilities in 'vi'!!)
>
>
>
> All my music is in Ogg Vorbis so this is really important to me.
>
>
>
> BBC Radio
>
> Is there any way I can stream BBC radio (specifically 5 Live) to my
> Squeezebox through my LinkStation? I read that creating an m3u file would
> do the trick but a) I don't know if I've created the file correctly and b) I
> don't know where to install it to test it Ė anyone tried this?
>
>
>
> Thanks for any help with the two issues.
>
>
>
> Kind regards,
>
> Alan.
>

Jess Askey
2005-03-29, 01:17
Mandrake 9.1
Perl 5.8
Slimserver 6.0.0 installed via RPM

Music Library is about 15,000 files. End of log is below but I only have
'scan' and 'os' flags turned on. Any suggestions on others that may give
better debugging? Should I be looking at my tags for a cause or
filenames? Nothing looks odd in the Jean Luc folder.

thank you

jess



2005-03-29 01:06:31.1890 numitems: 4179
2005-03-29 01:06:31.1904 index: 0
2005-03-29 01:06:31.1953 itempath: Jean-Luc Ponty - Imaginary Voyage -
01 - New Country.mp3 and
file:///mnt/biggie/music/local/Jean-Luc%20Ponty/Imaginary%20Voyage made
file:///mnt/biggie/music/local/Jean-Luc%20Ponty/Imaginary%20Voyage/Jean-Luc%20Ponty%20-%20Imaginary%20Voyage%20-%2001%20-%20New%20Country.mp3
2005-03-29 01:06:31.2060
isList(file:///mnt/biggie/music/local/Jean-Luc%20Ponty/Imaginary%20Voyage/Jean-Luc%20Ponty%20-%20Imaginary%20Voyage%20-%2001%20-%20New%20Country.mp3)
==
2005-03-29 01:06:31.2079 not a list:
file:///mnt/biggie/music/local/Jean-Luc%20Ponty/Imaginary%20Voyage/Jean-Luc%20Ponty%20-%20Imaginary%20Voyage%20-%2001%20-%20New%20Country.mp3
2005-03-29 01:06:31.2100 adding single item:
file:///mnt/biggie/music/local/Jean-Luc%20Ponty/Imaginary%20Voyage/Jean-Luc%20Ponty%20-%20Imaginary%20Voyage%20-%2001%20-%20New%20Country.mp3,
type mp3
2005-03-29 01:06:31.5306 numitems: 4180
2005-03-29 01:06:31.5320 index: 1
2005-03-29 01:06:31.5368 itempath: Jean-Luc Ponty - Imaginary Voyage -
02 - The Gardens of Babylon.mp3 and
file:///mnt/biggie/music/local/Jean-Luc%20Ponty/Imaginary%20Voyage made
file:///mnt/biggie/music/local/Jean-Luc%20Ponty/Imaginary%20Voyage/Jean-Luc%20Ponty%20-%20Imaginary%20Voyage%20-%2002%20-%20The%20Gardens%20of%20Babylon.mp3
2005-03-29 01:06:31.5460
isList(file:///mnt/biggie/music/local/Jean-Luc%20Ponty/Imaginary%20Voyage/Jean-Luc%20Ponty%20-%20Imaginary%20Voyage%20-%2002%20-%20The%20Gardens%20of%20Babylon.mp3)
==
2005-03-29 01:06:31.5479 not a list:
file:///mnt/biggie/music/local/Jean-Luc%20Ponty/Imaginary%20Voyage/Jean-Luc%20Ponty%20-%20Imaginary%20Voyage%20-%2002%20-%20The%20Gardens%20of%20Babylon.mp3
2005-03-29 01:06:31.5501 adding single item:
file:///mnt/biggie/music/local/Jean-Luc%20Ponty/Imaginary%20Voyage/Jean-Luc%20Ponty%20-%20Imaginary%20Voyage%20-%2002%20-%20The%20Gardens%20of%20Babylon.mp3,
type mp3

Dan Sully
2005-03-29, 09:25
* Jess Askey shaped the electrons to say...

>Mandrake 9.1
>Perl 5.8
>Slimserver 6.0.0 installed via RPM
>
>Music Library is about 15,000 files. End of log is below but I only have
>'scan' and 'os' flags turned on. Any suggestions on others that may give
>better debugging? Should I be looking at my tags for a cause or
>filenames? Nothing looks odd in the Jean Luc folder.

Jess - is there an actual crash message?

-D
--
<ZangTT> berkeley db - it's mostly about the hash()

Jess Askey
2005-03-29, 21:41
Looks like I have this in /var/log/messages... it was previously failing
without effecting the machine but just last time took the whole thing
down. This happens about 3 minutes into a rescan.

Mar 29 18:26:48 rex kernel: kernel BUG at page_alloc.c:97!
Mar 29 18:26:48 rex kernel: invalid operand: 0000
Mar 29 18:26:48 rex kernel: CPU: 0
Mar 29 18:26:48 rex kernel: EIP: 0010:[__free_pages_ok+85/864] Not
tainted
Mar 29 18:26:48 rex kernel: EIP: 0010:[<c013bed5>] Not tainted
Mar 29 18:26:48 rex kernel: EFLAGS: 00010286
Mar 29 18:26:48 rex kernel: eax: c7f7e314 ebx: c129f85c ecx:
c129f85c edx: 00000000
Mar 29 18:26:48 rex kernel: esi: c7f7e314 edi: 00000000 ebp:
c1999f00 esp: c1999ecc
Mar 29 18:26:48 rex kernel: ds: 0018 es: 0018 ss: 0018
Mar 29 18:26:48 rex kernel: Process slimserver.pl (pid: 3517,
stackpage=c1999000)
Mar 29 18:26:48 rex kernel: Stack: c1998000 00008001 c1999f74 c1999eec
d881aa42 c7f7e260 0000001f 00000000
Mar 29 18:26:48 rex kernel: 00000000 000001ce c129f85c c7f7e314
00000000 c1999f50 c01343d3 c1999f7c
Mar 29 18:26:48 rex su(pam_unix)[3516]: session closed for user slimserver
Mar 29 18:26:48 rex kernel: c129f85c 00000000 00000e32 00000e32
00000e32 c150470c 00000001 00000000
Mar 29 18:26:48 rex kernel: Call Trace:
[af_packet:__insmod_af_packet_O/lib/modules/2.4.19-16mdksecure/kernel/+-161214/96]
[do_generic_file_read+563/1120] [file_read_actor+0/160]
[generic_file_read+128/320] [file_read_actor+0/160]
Mar 29 18:26:48 rex kernel: Call Trace: [<d881aa42>] [<c01343d3>]
[<c0134820>] [<c0134940>] [<c0134820>]
Mar 29 18:26:48 rex kernel: [generic_file_llseek+0/192]
[vfs_llseek+76/144] [sys_read+136/288] [system_call+51/64]
Mar 29 18:26:48 rex kernel: [<c0143fd0>] [<c014416c>] [<c0144358>]
[<c01092f3>]
Mar 29 18:26:48 rex kernel:
Mar 29 18:26:48 rex kernel: Code: 0f 0b 61 00 60 26 26 c0 89 d8 8b 35 f0
43 32 c0 29 f0 c1 f8



Dan Sully wrote:

> * Jess Askey shaped the electrons to say...
>
>> Mandrake 9.1
>> Perl 5.8
>> Slimserver 6.0.0 installed via RPM
>>
>> Music Library is about 15,000 files. End of log is below but I only
>> have 'scan' and 'os' flags turned on. Any suggestions on others that
>> may give better debugging? Should I be looking at my tags for a cause
>> or filenames? Nothing looks odd in the Jean Luc folder.
>
>
> Jess - is there an actual crash message?
>
> -D

Jess Askey
2005-03-29, 22:33
slimserver runs at about 85% cpu and 36Meg of memory on the machine
until it crashes. It seems to crash in different places everytime too so
Im wondering if the problem is something with my CPU overheating or
something. The machine is a P-II 366 overclocked to a 533 but it has
always run fine doing Apache, Postgresql and Bind. Apache isn't running
on it anymore. I did used to have problems with my .shn to .mp3
conversion script (PERL) in that it would consistently crash this
machine as well. So, I guess I will try dropping the CPU speed down to
normal and see what happens.

Jess Askey wrote:

> Looks like I have this in /var/log/messages... it was previously
> failing without effecting the machine but just last time took the
> whole thing down. This happens about 3 minutes into a rescan.
>
> Mar 29 18:26:48 rex kernel: kernel BUG at page_alloc.c:97!
> Mar 29 18:26:48 rex kernel: invalid operand: 0000
> Mar 29 18:26:48 rex kernel: CPU: 0
> Mar 29 18:26:48 rex kernel: EIP: 0010:[__free_pages_ok+85/864]
> Not tainted
> Mar 29 18:26:48 rex kernel: EIP: 0010:[<c013bed5>] Not tainted
> Mar 29 18:26:48 rex kernel: EFLAGS: 00010286
> Mar 29 18:26:48 rex kernel: eax: c7f7e314 ebx: c129f85c ecx:
> c129f85c edx: 00000000
> Mar 29 18:26:48 rex kernel: esi: c7f7e314 edi: 00000000 ebp:
> c1999f00 esp: c1999ecc
> Mar 29 18:26:48 rex kernel: ds: 0018 es: 0018 ss: 0018
> Mar 29 18:26:48 rex kernel: Process slimserver.pl (pid: 3517,
> stackpage=c1999000)
> Mar 29 18:26:48 rex kernel: Stack: c1998000 00008001 c1999f74 c1999eec
> d881aa42 c7f7e260 0000001f 00000000
> Mar 29 18:26:48 rex kernel: 00000000 000001ce c129f85c c7f7e314
> 00000000 c1999f50 c01343d3 c1999f7c
> Mar 29 18:26:48 rex su(pam_unix)[3516]: session closed for user
> slimserver
> Mar 29 18:26:48 rex kernel: c129f85c 00000000 00000e32 00000e32
> 00000e32 c150470c 00000001 00000000
> Mar 29 18:26:48 rex kernel: Call Trace:
> [af_packet:__insmod_af_packet_O/lib/modules/2.4.19-16mdksecure/kernel/+-161214/96]
> [do_generic_file_read+563/1120] [file_read_actor+0/160]
> [generic_file_read+128/320] [file_read_actor+0/160]
> Mar 29 18:26:48 rex kernel: Call Trace: [<d881aa42>] [<c01343d3>]
> [<c0134820>] [<c0134940>] [<c0134820>]
> Mar 29 18:26:48 rex kernel: [generic_file_llseek+0/192]
> [vfs_llseek+76/144] [sys_read+136/288] [system_call+51/64]
> Mar 29 18:26:48 rex kernel: [<c0143fd0>] [<c014416c>] [<c0144358>]
> [<c01092f3>]
> Mar 29 18:26:48 rex kernel:
> Mar 29 18:26:48 rex kernel: Code: 0f 0b 61 00 60 26 26 c0 89 d8 8b 35
> f0 43 32 c0 29 f0 c1 f8
>
>
>
> Dan Sully wrote:
>
>> * Jess Askey shaped the electrons to say...
>>
>>> Mandrake 9.1
>>> Perl 5.8
>>> Slimserver 6.0.0 installed via RPM
>>>
>>> Music Library is about 15,000 files. End of log is below but I only
>>> have 'scan' and 'os' flags turned on. Any suggestions on others that
>>> may give better debugging? Should I be looking at my tags for a
>>> cause or filenames? Nothing looks odd in the Jean Luc folder.
>>
>>
>>
>> Jess - is there an actual crash message?
>>
>> -D
>
>
>
>
>

Dan Sully
2005-03-29, 23:11
* Jess Askey shaped the electrons to say...

>slimserver runs at about 85% cpu and 36Meg of memory on the machine
>until it crashes. It seems to crash in different places everytime too so
>Im wondering if the problem is something with my CPU overheating or
>something. The machine is a P-II 366 overclocked to a 533 but it has
>always run fine doing Apache, Postgresql and Bind. Apache isn't running
>on it anymore. I did used to have problems with my .shn to .mp3
>conversion script (PERL) in that it would consistently crash this
>machine as well. So, I guess I will try dropping the CPU speed down to
>normal and see what happens.

Jess - you have kernel Ooopses, which are beyond our control.

SlimServer certainly might exercise your machine more, which exposes hardware issues.

The kernel trace you sent points in either a memory issue (which could be CPU
related) or a disk one (the llseek).

-D
--
"They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety." - Benjamin Franklin

Jess Askey
2005-03-30, 21:52
Okay, looks like my box is much happier now that the clock is back to
366Mhz. Slimserver used to crash after about 5 minutes. Now onto a
slightly different problem... with the same box.

On a library of 12,000 songs the first scan ended up taking 76M of
memory at about 2 hours into the scan. Is this normal? After that 2
hours of scanning slimserver.pl exited and I had an entry in
/emp/slimserver.log that said...

'Insane number of Timers 8857'

Any suggestions??

Mandrake 9.1
RPM Install
Perl 5.8.0
P-II 366
384M RAM

jess



Dan Sully wrote:

> * Jess Askey shaped the electrons to say...
>
>> slimserver runs at about 85% cpu and 36Meg of memory on the machine
>> until it crashes. It seems to crash in different places everytime too
>> so Im wondering if the problem is something with my CPU overheating
>> or something. The machine is a P-II 366 overclocked to a 533 but it
>> has always run fine doing Apache, Postgresql and Bind. Apache isn't
>> running on it anymore. I did used to have problems with my .shn to
>> .mp3 conversion script (PERL) in that it would consistently crash
>> this machine as well. So, I guess I will try dropping the CPU speed
>> down to normal and see what happens.
>
>
> Jess - you have kernel Ooopses, which are beyond our control.
>
> SlimServer certainly might exercise your machine more, which exposes
> hardware issues.
>
> The kernel trace you sent points in either a memory issue (which could
> be CPU
> related) or a disk one (the llseek).
>
> -D

Siduhe
2005-06-04, 13:36
Alan,

Just to say that if you do have a breakthrough with getting AlienBBC on the Linkstation, I'd love to hear from you.

I can get AlienBBC on to the Linkstation no problems, but I can't unpack MPlayer and get it running, because the GCC compiler on the Linkstation isn't up to it. I'm toying with the idea of upgrading to 4.0 but I'm not exactly sure which front end I need to install and I'm getting to the limit of my abilities.

Other than that, there are some ways to track down the BBC streams manually. It's not quite as nice and neat as AlienBBC is, but it does work - try searching for "url bbc stream".