gusrc / darkice-svn

Automatically exported from code.google.com/p/darkice
0 stars 0 forks source link

Streaming AAC (LIBFAAC) does not work as expected, glitches, beeps, hickups #44

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. stream using AAC
2. listen to the stream with VLC (glitch/beep etc) or Audacious or winamp on XP 
(does not even start decoding)
3.

What is the expected output? What do you see instead?
Valid AAC stream created with FAAC library

What version of the product are you using? On what operating system?
HEAD, Linux Ubuntu 10.04 (LTS)

Please provide any additional information below.
https://bugs.launchpad.net/ubuntu/+source/faad2/+bug/575798
The problem relates to the AAC profile, which is MAIN and other streamer like 
EdCast use LOW which works as expected

[general]
duration        = 0
bufferSecs      =   20
reconnect       =   no    # reconnect to the server(s) if disconnected
realtime        = yes       
rtprio          = 3         

# this section describes the audio input that will be streamed
[input]
device=/dev/dsp # jack_auto
sampleRate = 48000
bitsPerSample   = 16        # bits per sample. try 16
channel         = 2         # channels. 1 = mono, 2 = stereo
jackClientName  = stream0 # name for jack

[icecast2-0]
bitrateMode     = abr 
channel         = 2      
format          = aac
bitrate         = 48      # bitrate of the stream sent to the server
server          = s1.vergng-gest.nl # host name of the server
port            = 8000      # port of the IceCast2 server, usually 8000
password        = oe    # source password to the IceCast2 server
mountPoint      = live  
name            = DarkIce trial
description     = This is only a trial
url             = http://www.yourserver.com
genre           = my own    
public          = yes    

Original issue reported on code.google.com by oetelaar.automatisering on 17 Feb 2011 at 5:55

GoogleCodeExporter commented 9 years ago
I have the same issue with debian 6 and faac/darkice from debian multimedia 
repository.

Can you help?

Original comment by owl...@gmail.com on 25 Apr 2011 at 4:36

GoogleCodeExporter commented 9 years ago
in src/FaacEncoder.cpp

about line 94

The aacObjecttype should be LOW not MAIN

faacConfig->aacObjectType = LOW; //MAIN;

Hope that helps.
Edwin

Original comment by oetelaar.automatisering on 25 Apr 2011 at 4:49

GoogleCodeExporter commented 9 years ago
It works! Thanks you a lot :) 

Original comment by owl...@gmail.com on 25 Apr 2011 at 6:39

GoogleCodeExporter commented 9 years ago
faac stream (44.1 kHz, 16 bit, stereo, 128kbit/s) works fine for me using 
mplayer2, audacious and vlc.

Original comment by daniel.e...@gmail.com on 19 May 2013 at 5:15

GoogleCodeExporter commented 9 years ago
Is there a reason it's still set to MAIN in the code? I have the same issues 
with VLC, and it seems like LC is now the standard for high bitrate AAC streams.

Original comment by supersat on 22 Dec 2013 at 9:56