5 Mar 2009 02:26
static when using mpg123 in to lame out
freem hormbleen <freembleen <at> yahoo.com>
2009-03-05 01:26:47 GMT
2009-03-05 01:26:47 GMT
Any idea why this might happen? The input file is this:
http://www.earnityourself.com/input.mp3
when I run
/usr/local/bin/ecasound -i input.mp3 -o static.mp3
i get
http://www.earnityourself.com/static.mp3
it sounds like it's not random data - the beats sort of match the original, but it's full of static and messed up.
and my ecasoundrc file looks like the below
ecasound-version = 2.5.2
midi-device = rawmidi,/dev/midi
default-output = autodetect
default-audio-format = s16_le,2,44100,i
default-to-precise-sample-rates = false
default-to-interactive-mode = false
default-mix-mode = avg
bmode-defaults-nonrt = 1024,false,50,false,100000,true
bmode-defaults-rt = 1024,true,50,true,100000,true
bmode-defaults-rtlowlatency = 256,true,50,true,100000,false
resource-directory = /usr/local/share/ecasound
resource-file-genosc-envelopes = generic_oscillators
resource-file-effect-presets = effect_presets
ladspa-plugin-directory = /usr/local/lib/ladspa
ext-cmd-text-editor = pico
ext-cmd-text-editor-use-getenv = true
ext-cmd-wave-editor = ecawave
ext-cmd-mp3-input = /usr/local/bin/mpg123 -b 0 -q -s %f
#ext-cmd-mp3-input = /home/ernst/mpg123-1.6.2/src/mpg123 --stereo -r %s -b 0 -q -s -k %o %f
ext-cmd-mp3-output = /usr/local/bin/lame -r -b %B -s %S -x - %f
ext-cmd-ogg-input = ogg123 -d raw -o byteorder:%E --file=- %f
ext-cmd-ogg-output = oggenc -b %B --raw --raw-bits=%b --raw-chan=%c --raw-rate=%s --raw-endianness 0 --output=%f -
ext-cmd-mikmod = mikmod -d stdout -o 16s -q -f %s -p 0 --noloops %f
ext-cmd-timidity = timidity -Or1S -id -s %s -o - %f
ext-cmd-flac-input = flac -d -c %f
ext-cmd-flac-output = flac -o %f -f --force-raw-format --channels=%c --bps=%b --sample-rate=%s --sign=%I --endian=%E -
ext-cmd-aac-input = faad -w -b 1 -f 2 -d %f
ext-cmd-aac-output = faac -P -o %f -R %s -B %b -C %c -
http://www.earnityourself.com/input.mp3
when I run
/usr/local/bin/ecasound -i input.mp3 -o static.mp3
i get
http://www.earnityourself.com/static.mp3
it sounds like it's not random data - the beats sort of match the original, but it's full of static and messed up.
and my ecasoundrc file looks like the below
ecasound-version = 2.5.2
midi-device = rawmidi,/dev/midi
default-output = autodetect
default-audio-format = s16_le,2,44100,i
default-to-precise-sample-rates = false
default-to-interactive-mode = false
default-mix-mode = avg
bmode-defaults-nonrt = 1024,false,50,false,100000,true
bmode-defaults-rt = 1024,true,50,true,100000,true
bmode-defaults-rtlowlatency = 256,true,50,true,100000,false
resource-directory = /usr/local/share/ecasound
resource-file-genosc-envelopes = generic_oscillators
resource-file-effect-presets = effect_presets
ladspa-plugin-directory = /usr/local/lib/ladspa
ext-cmd-text-editor = pico
ext-cmd-text-editor-use-getenv = true
ext-cmd-wave-editor = ecawave
ext-cmd-mp3-input = /usr/local/bin/mpg123 -b 0 -q -s %f
#ext-cmd-mp3-input = /home/ernst/mpg123-1.6.2/src/mpg123 --stereo -r %s -b 0 -q -s -k %o %f
ext-cmd-mp3-output = /usr/local/bin/lame -r -b %B -s %S -x - %f
ext-cmd-ogg-input = ogg123 -d raw -o byteorder:%E --file=- %f
ext-cmd-ogg-output = oggenc -b %B --raw --raw-bits=%b --raw-chan=%c --raw-rate=%s --raw-endianness 0 --output=%f -
ext-cmd-mikmod = mikmod -d stdout -o 16s -q -f %s -p 0 --noloops %f
ext-cmd-timidity = timidity -Or1S -id -s %s -o - %f
ext-cmd-flac-input = flac -d -c %f
ext-cmd-flac-output = flac -o %f -f --force-raw-format --channels=%c --bps=%b --sample-rate=%s --sign=%I --endian=%E -
ext-cmd-aac-input = faad -w -b 1 -f 2 -d %f
ext-cmd-aac-output = faac -P -o %f -R %s -B %b -C %c -
------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H
_______________________________________________ Ecasound-list mailing list Ecasound-list <at> lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ecasound-list
Besides that: Yes, your old way you have : ALSA and ecasound
The new way you have: ALSA (invisible) JACK and ecasound.
But ALSA will always be there, because it's your soundcard driver. JACK is
just something to be on top of a driver. It guarantees synchronous audio
(especially important, if you start using other linux audio software with
ecasound), low latency (if you set it to do so) and it has a flexible system
for connecting pieces of software and hardware. My startup command has good
settings for lowlatency. If you want to optimise ecasound's behaviour you
could include these options in a script:
#!/bin/sh
ecasound -B:rtlowlatency -b:64 -r 30 -z:mixmode,sum -c $ <at>
What this does: hand over all these options to ecasound and then there's the
$ <at> , which means after that take all the other option a user gives.
Assume this script is stored in a file called rteca . Then you would do:
tty# rteca -a:1 -i [and so on]
It would start ecasound with your chainsetup and the lowlatency options.
Hope that helps!
Kindest regards
Julien
--------
Music was my first love and it will be my last (John Miles)
======== FIND MY WEB-PROJECT AT: ========
RSS Feed