Hi,
I have just found some time for retesting...
1)
When trying to apply the length parameter (is it called duration?), I failed.
Could you please give me a hint how to set this parameter?
liquidsoap -h WAV
*** One entry in audio file formats (duration):
(no doc)
*** One entry in file decoding:
Decode as WAV any file with a correct header.
*** One entry in stream decoding:
Decode a WAV stream with an appropriate MIME type.
*** One entry in stream encoding formats:
(no doc)
liquidsoap 'output.file( %wav(stereo=true,duration=60s), "./test_%M.wav",
reopen_when={0s-59s}, mksafe(noise()) )'
Error in encoding format at line 1, char 40-42:
complex expressions are forbidden in encoding formats.
liquidsoap 'output.file( %wav(stereo=true,duration=60), "./test_%M.wav",
reopen_when={0s-59s}, mksafe(noise()) )'
Error in encoding format at line 1, char 40-41:
unknown parameter name or invalid parameter value.
liquidsoap 'output.file( %wav(stereo=true,duration="60"), "./test_%M.wav",
reopen_when={0s-59s}, mksafe(noise()) )'
Error in encoding format at line 1, char 40-43:
unknown parameter name or invalid parameter value.
liquidsoap 'output.file( %wav(stereo=true,duration="60s"), "./test_%M.wav",
reopen_when={0s-59s}, mksafe(noise()) )'
Error in encoding format at line 1, char 40-44:
unknown parameter name or invalid parameter value.
liquidsoap 'output.file( %wav(stereo=true), duration=60s, "./test_%M.wav",
reopen_when={0s-59s}, mksafe(noise()) )'
At line 1, char 42-44: cannot apply that parameter because the function
(at line 1, char 12) has no argument labeled "duration"!
liquidsoap --version
Liquidsoap 1.0.0-beta2.1+svn (@0e82e11244e1:20110805:163810)
Copyright (c) 2003-2011 Savonet team
Liquidsoap is open-source software, released under GNU General Public License.
See <http://savonet.sf.net> for more information.
2)
All tests without setting any additional parameter worked the same way as
before:
a)
liquidsoap 'output.file( %wav(stereo=true), "./test_%M.wav",
reopen_when={0-59s}, mksafe(noise()) )'
At line 1, char 65-67:
this value has type
bool
but it should be a subtype of
int (infered at line 1, char 63)
b)
liquidsoap 'output.file( %wav(stereo=true), "./test_%M.wav",
reopen_when={0s-59s}, mksafe(noise()) )'
same behaviour like {0s} -> it reopens all x minutes, but this is not important
to me -> still found it at testing.
qwavheaderdump shows errors:
wavheaderdump test_51.wav
test_51.wav (21182156 bytes):
riff: 'RIFF'
riff length: -268435457
riff length field should be 21182148
wave: 'WAVE'
fmt: 'fmt '
fmt length: 16
format: 1
channels: 2
sample rate: 44100
bytes/second: 176400
bytes/sample: 4
bits/sample: 16
data: 'data'
data length: -268435493
data length field should be 21182112
qwavheaderdump test_53.wav
test_53.wav (21175100 bytes):
riff: 'RIFF'
riff length: -268435457
riff length field should be 21175092
wave: 'WAVE'
fmt: 'fmt '
fmt length: 16
format: 1
channels: 2
sample rate: 44100
bytes/second: 176400
bytes/sample: 4
bits/sample: 16
data: 'data'
data length: -268435493
data length field should be 21175056
c)
tests with {0s}
as before qwavheaderdump shows errors:
tests with {0s}_
qwavheaderdump test_44.wav
test_44.wav (27652508 bytes):
riff: 'RIFF'
riff length: -268435457
riff length field should be 27652500
wave: 'WAVE'
fmt: 'fmt '
fmt length: 16
format: 1
channels: 2
sample rate: 44100
bytes/second: 176400
bytes/sample: 4
bits/sample: 16
data: 'data'
data length: -268435493
data length field should be 27652464
qwavheaderdump test_47.wav
test_47.wav (21175100 bytes):
riff: 'RIFF'
riff length: -268435457
riff length field should be 21175092
wave: 'WAVE'
fmt: 'fmt '
fmt length: 16
format: 1
channels: 2
sample rate: 44100
bytes/second: 176400
bytes/sample: 4
bits/sample: 16
data: 'data'
data length: -268435493
data length field should be 21175056
------------------------------------------------------------------------------
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts.
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users