20 May '13 - 10:14 *
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: BassEnc problem streaming AACplus  (Read 1333 times)
shuttle
Posts: 70


« on: 20 May '08 - 15:09 »
Reply with quoteQuote

Hi people!
Anyone can help me?
I modify the code in a Cast BassEnc sample:

If (.Options(0).value) Then  ' MP3
            com = "lame -r -x -s 44100 -b " & bitrate & " -"
            content = BASS_ENCODE_TYPE_MP3
        Else  ' AAC
            com = "enc_aacplus.exe - - --cbr 128000 --lc --silent --rawpcm  44100 2 16"
            content = BASS_ENCODE_TYPE_AAC
        End If

in this case message me : "Error: The encoder died!"

I have installed winamp and I copied this files in the AppPath:
enc_aacplus.dll, nscrt.dll, enc_aacplus.exe

There is not error in Bass_ErrorGetCode

In a log ShoutcastSever:

<05/20/08@11:49:33> [source] connected from 127.0.0.1
<05/20/08@11:49:33> [source] icy-name:BASSenc test stream ; icy-genre:N/A
<05/20/08@11:49:33> [source] icy-pub:0 ; icy-br:128 ; icy-url:http://www.shoutcast.com
<05/20/08@11:49:33> [source] icy-irc:N/A ; icy-icq:N/A ; icy-aim:N/A
<05/20/08@11:49:33> [source] source dropped connection. disconnecting.

With mp3 option run well.

What I wrong?

Thank you!
 
Logged
(: JOBnik! :)
Posts: 984


« Reply #1 on: 21 May '08 - 10:12 »
Reply with quoteQuote

Hi Grin

I guess it should be like this:
enc_aacplus.exe - --cbr 128000 --lc --silent --rawpcm  44100 2 16

It will anyway create a file "-" in the same directory
« Last Edit: 21 May '08 - 11:16 by (: JOBnik! :) » Logged
shuttle
Posts: 70


« Reply #2 on: 21 May '08 - 14:29 »
Reply with quoteQuote

I solved the problem!

I delete --lc in enc_aacplus.exe - - --cbr 128000 --lc --silent --rawpcm  44100 2 16

And now run!

I think that the --lc option needs other files!!

Any know why?
Logged
radio42
Posts: 4012


« Reply #3 on: 21 May '08 - 15:29 »
Reply with quoteQuote

Just a little googeling revealed, that indeed SHOUtcast only accepts AAC-HE and not AAC-LC streams.
So the "--lc" option should only be used when outputting to files.
I also didn't know this...so THX for the findings.
Logged
Mauricio Castro
Guest
« Reply #4 on: 24 Jul '08 - 23:20 »
Reply with quoteQuote

THANKS... ENCODE AACP ! ON...
Logged
Pages: [1]
  Reply  |  Print  
 
Jump to:  

Powered by SMF 1.1.18 | SMF © 2013, Simple Machines