hi. this thing is great. thanxx very much for that.
I only have a problem: streaming don`t work.
can somebody tell me how to configure this ??
i allrady the en/decoders (.exe) but it didn`t work.
when i klick on stream nothing happens.
thanxx for your help.
sorry for my bad english but i'am austrian.
streaming
- wbartels
- netjukebox developer
- Posts: 881
- Joined: Thu Nov 04, 2004 3:12 pm
- Location: Netherlands
- Contact:
Streaming works best with Winamp.
I have tested it with lame.exe 3.96.1 witch you can download from http://mitiok.cjb.net/
Place lame.exe in D:\Console\Codec\lame.exe or change the configuration file netjukebox/include/config.inc.php
For streaming from other formats I have tested it with:
oggdec 1.01 for streaming mp3 from .ogg files
flac.exe 1.1.1 for streaming mp3 form .flac files
mppdec 1.95e for streaming mp3 from .mpc files (when skipping streaming the cmd and mppdec are not closed)
To make it easier I will make a codec pack with the right encoder/decoder versions
I have tested it with lame.exe 3.96.1 witch you can download from http://mitiok.cjb.net/
Place lame.exe in D:\Console\Codec\lame.exe or change the configuration file netjukebox/include/config.inc.php
For streaming from other formats I have tested it with:
oggdec 1.01 for streaming mp3 from .ogg files
flac.exe 1.1.1 for streaming mp3 form .flac files
mppdec 1.95e for streaming mp3 from .mpc files (when skipping streaming the cmd and mppdec are not closed)
To make it easier I will make a codec pack with the right encoder/decoder versions
- wbartels
- netjukebox developer
- Posts: 881
- Joined: Thu Nov 04, 2004 3:12 pm
- Location: Netherlands
- Contact:
Re: streaming
Are you using IIS 6 ?mephistois wrote:hi. this thing is great. thanxx very much for that.
I only have a problem: streaming don`t work.
can somebody tell me how to configure this ??
i allrady the en/decoders (.exe) but it didn`t work.
when i klick on stream nothing happens.
thanxx for your help.
sorry for my bad english but i'am austrian.
By default IIS don't let you execute a file with the PHP commands:
exec() , passthru(), etc...
First try a simple script like this:
Code: Select all
<?php
exec ('D:\Console\Codec\lame.exe --decode "D:\temp\test.mp3" "D:\temp\test.wav"');
?>
- wbartels
- netjukebox developer
- Posts: 881
- Joined: Thu Nov 04, 2004 3:12 pm
- Location: Netherlands
- Contact:
I found this on the internet:
This can be a security risk, but then streaming works:
Give "C:\WINDOS\system32\cmd.exe" read & execute rights for IUSR_xxx
If you found another solution, I'm very interested.
Code: Select all
I am using IIS6 and PHP 4.3.2-RC. Any time I try to use the exec() or
system() functions to run an external program, I get the "Unable to
Fork" error. I have execute rights on the applicaiton I am trying to
run. The problem is PHP prepends "cmd.exe /c" to any exec() or system()
calls. That means I need to give cmd.exe execute rights for the
anonymous web user account. This opens up a HUGE security breach, and I
was wondering if there are any plans to stop PHP from prepending that or
workarounds for the Unable to Fork error. I know many people must run
into this problem, there has to be a way around it!
Give "C:\WINDOS\system32\cmd.exe" read & execute rights for IUSR_xxx
If you found another solution, I'm very interested.
-
- User
- Posts: 19
- Joined: Thu Apr 28, 2005 6:58 pm
- Location: Montreal, QUEBEC
- Contact:
- wbartels
- netjukebox developer
- Posts: 881
- Joined: Thu Nov 04, 2004 3:12 pm
- Location: Netherlands
- Contact:
Yes you can.highmighty wrote:Does this mean that you can't use the stream feature of Netjukebox on a Windows FAT system with IIS6 ?wbartels wrote:This can be a security risk, but then streaming works:
Give "C:\WINDOS\system32\cmd.exe" read & execute rights for IUSR_xxx
If you found another solution, I'm very interested.
But why do you still use the FAT file system?
It is easy to convert to NTFS:
Code: Select all
convert drive_letter: /fs:ntfs
-
- User
- Posts: 19
- Joined: Thu Apr 28, 2005 6:58 pm
- Location: Montreal, QUEBEC
- Contact:
Re: streaming
I tried this little code on my machine running IIS6 with Win2k3, I get a blank page without any errors... but no .WAV file createdwbartels wrote:If this script works without any problems, than streaming should also work.Code: Select all
<?php exec ('D:\Console\Codec\lame.exe --decode "D:\temp\test.mp3" "D:\temp\test.wav"'); ?>
That's too bad...