Gnump3d a Downsampling

Sekcia: Konfigurácia 28.03.2008 | 19:12
M4rtin   Návštevník
Zdravim,

Riesim nasledovny problem a neviem si s nim rady. Pouzivam gnump3d na streamovanie hudby a vsetko slape ok az na downsapling.

Tu je vypis z gnump3d.conf
cat gnump3d.conf |grep downsample_
downsample_enabled = 1
downsample_clients = ALL
# no_downsample_clients = 192.168.0.0/24
# NOTE: 'no_downsample_clients' takes precedence over 'downsample_clients'.
# downsample_clients = ALL
# no_downsample_clients = NONE
# downsample_clients = ALL
# no_downsample_clients = 192.168.0.0/24
# downsample_clients = ALL
# no_downsample_clients = 192.168.0.162; 192.168.0.33
# downsample_clients = 192.168.0.99
# no_downsample_clients = 192.168.0.0/24
# downsample_"level"_"file suffix" = command args
downsample_high_mp3 = /usr/bin/lame --mp3input -b 32 $FILENAME -
downsample_medium_mp3 = /usr/bin/lame --mp3input -b 32 $FILENAME -
downsample_low_mp3 = /usr/bin/lame --mp3input -b 32 $FILENAME -
#downsample_high_ogg = /usr/bin/sox -t ogg $FILENAME -t raw - | oggenc --raw --downmix -b 96 -
#downsample_medium_ogg = /usr/bin/sox -t ogg $FILENAME -t raw - | oggenc --raw --downmix -b 64 -
#downsample_low_ogg = /usr/bin/sox -t ogg $FILENAME -t raw - | oggenc --raw --downmix --resample 22050 -b 32 -




aj som skusal manualne prestavit bitrate pre mp3 a to ide



/usr/bin/lame --mp3input -b 32 test.mp3
LAME 3.97 32bits (http://www.mp3dev.org/)
CPU features: MMX (ASM used)
Resampling: input 44.1 kHz output 16 kHz
Using polyphase lowpass filter, transition band: 5484 Hz - 5677 Hz
Encoding test.mp3 to test.mp3.mp3
Encoding as 16 kHz 32 kbps j-stereo MPEG-2 Layer III (16x) qval=3
Frame | CPU time/estim | REAL time/estim | play/CPU | ETA
6650/6650 (100%)| 1:11/ 1:11| 1:11/ 1:11| 3.3497x| 0:00
--------------------------------------------------------------------------------------------------------------------------------------------
kbps LR MS % long switch short %
32.0 0.0 100.0 68.0 18.6 13.5
ReplayGain: -6.1dB


Proste ked cez web rozhranie nastavim downsampling na trebars kvality LOW tak sa to neulozi a mp3 sa streamuje v plnom bitrate.

Ak mal niekto podobny problem alebo by vedel kde moze byt chyba nech da vediet.

Este nejake parametre na zaver


uname -r
2.6.18-6-686


gnump3d --version
gnump3d v2.9.9.1 [CVS Info: gnump3d2 1.151 (2006/09/10)] on Perl v5.008008


Debian Etch 4.3
    • Re: Gnump3d a Downsampling 22.04.2008 | 23:49
      M4rtin   Návštevník
      Ahojte,

      tak si podlhsej dobe odpoviem sam ;)

      v gnump3d.conf musia byt povolene tieto dve options, toto je moje nastavenie, lebo chcem pouzit
      downsampling pre vsetkych.

      downsample_clients = ALL
      no_downsample_clients = NONE

      predtym som to mal takto

      downsample_clients = ALL
      #no_downsample_clients = NONE

      myslel som ze staci ked mam povolene downsample_clients = ALL a ono treba mat nastavene obe moznosti. ;)

      takze ak by mal niekto podobny problem, nech to skusi, cafte