Re: [ecasound] problem with long command line parsing?

From: Joel Roth <joelz@email-addr-hidden>
Date: Tue Apr 28 2009 - 10:15:47 EEST

On Mon, Apr 27, 2009 at 03:43:06PM -0500, Jason Galyon wrote:
> Jason Galyon wrote:
> > Veronica Merryfield wrote:
> >
> >> Any idea what the default command line buffer size is? Your long
> >> command is 508 characters. The shorter one is 467 characters. I
> >> thought the size was 512 but I guess it isn't hence the tail of your
> >> command is getting lost.
> >>
> > I am checking on that now. I forgot to mention that I am on Mac OSX 10.5.
> > However, I just checked and found that this problem is sporadic and my
> > last run yielded a command line of:
> > /opt/local/bin/ecasound -a:0
> > -i:resample,auto,playat,0,select,0,16,/Users/jayson/tmp/pymgen_tmp/jZ_61L/audio-iYx0ke.aac
> > -a:1
> > -i:resample,auto,playat,15,select,0,35,/Users/jayson/tmp/pymgen_tmp/PETCAk/audio-mihBCE.aac
> > -a:2
> > -i:resample,auto,playat,16,select,0,22,/Users/jayson/tmp/pymgen_tmp/zn0Ckp/audio-F24Za9.aac
> > -a:3
> > -i:resample,auto,playat,38,select,0,12,/Users/jayson/tmp/pymgen_tmp/aRz17d/audio-vldijA.aac
> > -a:0,1,2,3 -o /Users/jayson/tmp/pymgen_tmp/a7GsNo/audio-baCVQK.aac
> >
> > It produced the audio with no problems that I can tell.
> >
> >> On 20-Apr-09, at 9:04 AM, Jason Galyon wrote:
> >>
> >>
> >>> I have an interesting problem where if I use this line:
> >>> /opt/local/bin/ecasound -a:0
> >>> -i:resample,auto,playat,0,select,0,16,/Users/jayson/tmp/pymgen_tmp/OBvNu1/audio-0rWuTu.aac
> >>>
> >>> -a:1
> >>> -i:resample,auto,playat,15,select,0,35,/Users/jayson/tmp/pymgen_tmp/1Fsxus/audio-jtyFWx.aac
> >>>
> >>> -a:2
> >>> -i:resample,auto,playat,16,select,0,22,/Users/jayson/tmp/pymgen_tmp/sqNNM1/audio-jNyIrs.aac
> >>>
> >>> -a:3
> >>> -i:resample,auto,playat,38,select,0,12,/Users/jayson/tmp/pymgen_tmp/5M5iqT/audio-IuKZkB.aac
> >>>
> >>> -a:0,1,2,3 -o /Users/jayson/tmp/pymgen_tmp/GZC24e/audio-Et9gws.aac
> >>>
> >>> I receive the following error:
> >>> ecasound: ERROR: [ECA-SESSION] : "Audio object '-o' does not match any
> >>> of the known audio device types or file formats. You can check the list
> >>> of supported audio object types by issuing the command 'aio-register' in
> >>> ecasound's interactive mode."
> >>>
> >>> However, if I shorten the last bit (the -o output) to something like
> >>> '/Users/jayson/tmp/foo.aac' it works great.
> >>>
> >>> I am looking at more verbose output but so far do not see anything.
> >>>
> >
> ok, this is irritating... I get this error about 5 - 10% of the time and
> can't figure out a pattern yet? It doesn't seem to be size but I can't
> figure out the pattern.
>
> Does anyone have any ideas on what I can do?

1. Don't get irritated. :-)

2. Add as part of your script:

   cd /Users/jayson/tmp/pymgen_tmp/

3. Try using -o:filename instead of -o filename

4. Write your chain setup as an .ecs file instead of a command line

--
Joel Roth
------------------------------------------------------------------------------
Crystal Reports &#45; New Free Runtime and 30 Day Trial
Check out the new simplified licensign option that enables unlimited
royalty&#45;free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Ecasound-list mailing list
Ecasound-list@email-addr-hidden
https://lists.sourceforge.net/lists/listinfo/ecasound-list
Received on Tue Apr 28 04:15:01 2009

This archive was generated by hypermail 2.1.8 : Tue Apr 28 2009 - 04:15:02 EEST