v.2.4.6.1 works on Laptop but fails on PC

View: New views
5 Messages — Rating Filter:   Alert me  

v.2.4.6.1 works on Laptop but fails on PC

by Fritz Neumann :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,
I'm using ecasound for a while to record stereo sessions on my laptop (Intel
Pentium M, 2.6.22-gentoo-r9; ecasound v2.4.6.1) and it works fine with the
following chain setup:
-z:db -r -b:1024 -z:intbuf \
-f:16,1,44100 \
-a:1 -i jack_auto,INPUT:monitor_1 -pn:Hard_compressor \
-a:2 -i jack_auto,INPUT:monitor_2 -pn:Hard_compressor \
-a:1 -o loop,1 \
-a:2 -o loop,2 \
-a:3,5 -i loop,1 \
-a:3 -f:16,1,44100 -o jack_auto,MONITOR:meter_1 \
-a:5 -f:16,1,44100 -o "channel01.mp3" \
-a:4,6 -i loop,2 \
-a:4 -f:16,1,44100 -o jack_auto,MONITOR:meter_2 \
-a:6 -f:16,1,44100 -o "channel02.mp3"

On my PC (Two Xeon Dual, 64bit system, 2.6.22-sabayon, ecasound v2.4.6.1) the
same script does not work. Though Ecasound creates the mp3 files there is no
audio and MONITOR:meter also doesn't show any movement.
Stopping ecasound via "s" works, "q" freezes ecasound.

any hints are welcome.
fritz
--
mailto: Fritz Neumann - nx01307-listen@...

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Register now and save $200. Hurry, offer ends at 11:59 p.m.,
Monday, April 7! Use priority code J8TLD2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Ecasound-list mailing list
Ecasound-list@...
https://lists.sourceforge.net/lists/listinfo/ecasound-list

Re: v.2.4.6.1 works on Laptop but fails on PC

by Kai Vehmanen :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

On Sat, 5 Apr 2008, Fritz Neumann wrote:

> I'm using ecasound for a while to record stereo sessions on my laptop (Intel
> Pentium M, 2.6.22-gentoo-r9; ecasound v2.4.6.1) and it works fine with the
> following chain setup:
[...]
> On my PC (Two Xeon Dual, 64bit system, 2.6.22-sabayon, ecasound v2.4.6.1) the
> same script does not work. Though Ecasound creates the mp3 files there is no

this sounds a lot like a problem with the JACK setup (either with the
version of JACK used, or the used ALSA driver). Showing the debug output
of ecasound (run with -ddd), might give some hints on what goes wrong.

--


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Ecasound-list mailing list
Ecasound-list@...
https://lists.sourceforge.net/lists/listinfo/ecasound-list

Re: v.2.4.6.1 works on Laptop but fails on PC

by Fritz Neumann :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,
sorry for the delay.
Am Donnerstag, 10. April 2008 21:47:04 schrieb Kai Vehmanen:

> Hi,
>
> On Sat, 5 Apr 2008, Fritz Neumann wrote:
> > I'm using ecasound for a while to record stereo sessions on my laptop
> > (Intel Pentium M, 2.6.22-gentoo-r9; ecasound v2.4.6.1) and it works fine
> > with the following chain setup:
>
> [...]
>
> > On my PC (Two Xeon Dual, 64bit system, 2.6.22-sabayon, ecasound v2.4.6.1)
> > the same script does not work. Though Ecasound creates the mp3 files
> > there is no
>
> this sounds a lot like a problem with the JACK setup (either with the
> version of JACK used, or the used ALSA driver). Showing the debug output
> of ecasound (run with -ddd), might give some hints on what goes wrong.
Below's the output with -ddd.
$jackd --version
jackd version 0.109.2 tmpdir /dev/shm protocol 22
alsa-driver-1.0.15 as ext. module

jackd is started like this:
jackd -R -P70 -dalsa -r44100 -p1024 -n5 -D -Chw:0 -Phw:0 -s -i2 -o2 -zs

In a setup with only one mp3 file to write ecasound did the job.

$ecasound -c -ddd -G:jack,eca,notransport -s:posted.ecs
(eca-control) command: t
- [ Controller/Processing
started ] --------------------------------------------
(eca-engine) ECA_ENGINE constructor
(samplebuffer) Buffer created, channels: 0, length-samples: 1024.
(eca-engine) Prefill loops: 7 (blocksize 1024).
(samplebuffer) Increasing channel-count (1).
(samplebuffer) Buffer created, channels: 2, length-samples: 1024.
(samplebuffer) Buffer created, channels: 2, length-samples: 1024.
(samplebuffer) Buffer created, channels: 2, length-samples: 1024.
(samplebuffer) Buffer created, channels: 2, length-samples: 1024.
(samplebuffer) Buffer created, channels: 2, length-samples: 1024.
(samplebuffer) Buffer created, channels: 2, length-samples: 1024.
(eca-chain) Initialized chain 1 with 0 chainops and 0 gcontrollers. Sbuf
points to
... 10716784.
(eca-chain) Initialized chain 2 with 0 chainops and 0 gcontrollers. Sbuf
points to
... 10735776.
(eca-chain) Initialized chain 3 with 0 chainops and 0 gcontrollers. Sbuf
points to
... 10744848.
(eca-chain) Initialized chain 5 with 0 chainops and 0 gcontrollers. Sbuf
points to
... 10753328.
(eca-chain) Initialized chain 4 with 0 chainops and 0 gcontrollers. Sbuf
points to
... 10761792.
(eca-chain) Initialized chain 6 with 0 chainops and 0 gcontrollers. Sbuf
points to
... 10753248.
(eca-engine) Input latency for 'JACK interface' is 0.
(eca-engine) Input latency for 'JACK interface' is 0.
(eca-engine) Output latency for 'JACK interface' is 0.
(eca-engine) Output latency for 'JACK interface' is 0.
(eca-engine) recording offset is 0 samples.
ecasound ('h' for help)> (eca-control-base) Engine-thread pid: 17893
- [ Engine init - Driver
start ] -----------------------------------------------
(audioio_jack_manager) driver exec
(audioio-db-server) start
(audioio-db-server) starting processing(audioio-db-server)
(eca-engine) prefilling i/o buffers.
Hey, in the I/O loop!
(audioio-db-server) Using idle timeout of 225000000 nsecs.
(audioio-db-server) wait_for_client_activity failed
(eca-engine) i/o buffers prefilled.
(audioio_jack) prepare / jack_auto
(audioio_jack) prepare / jack_auto
(audioio_jack) prepare / jack_auto
(audioio_jack) prepare / jack_auto
(eca-engine) Using realtime-scheduling (SCHED_FIFO:50).
(audioio_jack_manager) jack_activate()
(audioio_jack_manager) jack_port_connect()
(audioio_jack_manager) Total latency for port 'ecasound:in_1' is 0.
(audioio_jack_manager) jack_port_connect()
(audioio_jack_manager) Total latency for port 'ecasound:in_2' is 0.
(audioio_jack_manager) jack_port_connect()
(audioio_jack_manager) Total latency for port 'ecasound:out_1' is 0.
(audioio_jack_manager) jack_port_connect()
(audioio_jack_manager) Total latency for port 'ecasound:out_2' is 0.
(eca-engine) Input latency for 'JACK interface' is 0.
(eca-engine) Input latency for 'JACK interface' is 0.
(eca-engine) Output latency for 'JACK interface' is 0.
(eca-engine) Output latency for 'JACK interface' is 0.
(eca-engine) recording offset is 0 samples.
(eca-engine) Request start
(audioio_jack_manager) driver start
(eca-engine) starting engine operation!
(audioio_jack) start / jack_auto
(audioio_jack) start / jack_auto
(audioio_jack) start / jack_auto
(audioio_jack) start / jack_auto
(eca-engine) conditional stop
(eca-engine) stopping engine operation!
(audioio_jack) stop / jack_auto
(audioio_jack) stop / jack_auto
(audioio_jack) stop / jack_auto
(audioio_jack) stop / jack_auto
(audioio-db-server) stop
(audioio-db-server) wait_for_client_activity failed
(eca-engine) Changed back to non-realtime scheduling SCHED_OTHER.
(eca-engine) Signaling stop
(eca-chainsetup) seek position, chainsetup
... '/home/collia/Audio/audioconf/postedbymail.ecs' to pos in sec 7250.
(audioio-db-client) seek channel01.mp3 to pos 7249.55.
(audioio-db-client) seek channel02.mp3 to pos 7249.55.
(eca-chain) seek position, to pos 7250.
(eca-chain) seek position, to pos 7250.
(eca-chain) seek position, to pos 7250.
(eca-chain) seek position, to pos 7250.
(eca-chain) seek position, to pos 7250.
(eca-chain) seek position, to pos 7250.
(audioio-db-server) start
(audioio-db-server) starting processing
(eca-engine) prefilling i/o buffers.
(eca-engine) i/o buffers prefilled.
(audioio_jack) prepare / jack_auto
(audioio_jack) prepare / jack_auto
(audioio_jack) prepare / jack_auto
(audioio_jack) prepare / jack_auto
(eca-engine) Using realtime-scheduling (SCHED_FIFO:50).
(eca-engine) starting engine operation!
(audioio_jack) start / jack_auto
(audioio_jack) start / jack_auto
(audioio_jack) start / jack_auto
(audioio_jack) start / jack_auto
(samplebuffer) Increasing channel-count (1).
(samplebuffer) Increasing channel-count (1).
(audioio-mp3) Starting to encode channel01.mp3 with lame.
(audioio-forked-stream) Fork child-for-write: 'lame -cbr -mm --lowpass 19.5 -a
... -b 128 -s 44.10 -x -S - %f'
(audioio-mp3) Starting to encode channel02.mp3 with lame.
(audioio-forked-stream) Fork child-for-write: 'lame -cbr -mm --lowpass 19.5 -a
... -b 128 -s 44.10 -x -S - %f'
(eca-chainsetup) seek position, chainsetup
... '/home/collia/Audio/audioconf/postedbymail.ecs' to pos in sec 7250.
(audioio-db-client) seek channel01.mp3 to pos 7249.66.
(audioio-db-server) stop
(audioio-db-server) wait_for_client_activity failed
(audioio-mp3) Cleaning child process pid=17900.

--
mailto: Fritz Neumann - nx01307-listen@...

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Ecasound-list mailing list
Ecasound-list@...
https://lists.sourceforge.net/lists/listinfo/ecasound-list

Re: v.2.4.6.1 works on Laptop but fails on PC

by Fritz Neumann :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I've found out that writing a stream to a .wav file works! Also when i send
the stream to another jack client.

Codecs i've tested are flac (works), ogg mp3 (does not work).
I've checked ext-cmd-mp3-output configuration - on command line it worked
after i'd deleted the -x option.
Why does lame need byte swapping from inside ecasound? My default-audio-format
= s16_le,2,44100,i

By the way i did all tests with this script:

-a:1,2 -i jack_auto,xine \
-a:1 -f:16,1,44100 -o /home/collia/Desktop/Aufnahme/01.mp3 \
-a:2 -f:16,1,44100 -o /home/collia/Desktop/Aufnahme/02.mp3 -chcopy:2,1

coding of only one file always works:
-a:1,2 -i jack_auto,xine \
-a:1 -f:16,1,44100 -o jack_auto,system:playback_1 \
-a:2 -f:16,1,44100 -o /home/collia/Desktop/Aufnahme/02.mp3 -chcopy:2,1

are there really issues with jack version / sound driver? Ardour or Jamin for
example work like they should...

Any ideas?

Am Donnerstag, 10. April 2008 21:47:04 schrieb Kai Vehmanen:

> Hi,
>
> On Sat, 5 Apr 2008, Fritz Neumann wrote:
> > I'm using ecasound for a while to record stereo sessions on my laptop
> > (Intel Pentium M, 2.6.22-gentoo-r9; ecasound v2.4.6.1) and it works fine
> > with the following chain setup:
>
> [...]
>
> > On my PC (Two Xeon Dual, 64bit system, 2.6.22-sabayon, ecasound v2.4.6.1)
> > the same script does not work. Though Ecasound creates the mp3 files
> > there is no
>
> this sounds a lot like a problem with the JACK setup (either with the
> version of JACK used, or the used ALSA driver). Showing the debug output
> of ecasound (run with -ddd), might give some hints on what goes wrong.



--
mailto: Fritz Neumann - nx01307-listen@...

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Ecasound-list mailing list
Ecasound-list@...
https://lists.sourceforge.net/lists/listinfo/ecasound-list

Re: v.2.4.6.1 works on Laptop but fails on PC

by Kai Vehmanen :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

today I had the time to browse through the logs you've sent... comments
inline:

On Tue, 15 Apr 2008, Fritz Neumann wrote:

> $ecasound -c -ddd -G:jack,eca,notransport -s:posted.ecs
[...]

> (eca-chainsetup) seek position, chainsetup
> ... '/home/collia/Audio/audioconf/postedbymail.ecs' to pos in sec 7250.
> (audioio-db-client) seek channel01.mp3 to pos 7249.55.
> (audioio-db-client) seek channel02.mp3 to pos 7249.55.
> (eca-chain) seek position, to pos 7250.
> (eca-chain) seek position, to pos 7250.
> (eca-chain) seek position, to pos 7250.
> (eca-chain) seek position, to pos 7250.
> (eca-chain) seek position, to pos 7250.
> (eca-chain) seek position, to pos 7250.

These look suspicious (a seek to around ~120min before ecasound starts).
As seeking mp3 outputs is not support, this will create bogus rsults.
I think the problem could be the following:

1) some other JACK app is controlling the transport (causing the
    abovementoined seeks)
2) the "-G:jack,eca,notransport" is ignored as '-G' is a chainsetup
    specific param (unlike '-c' and '-ddd' which are global) and
    its value is overriden by loading posted.ecs with '-s'

--


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Ecasound-list mailing list
Ecasound-list@...
https://lists.sourceforge.net/lists/listinfo/ecasound-list
LightInTheBox - Buy quality products at wholesale price