Closed ggnkua closed 6 years ago
Hi,
the problems above seemed to have been mostly path problems - changing the configuration file seems to have fixed those. However now the program seems to hang after running ffmpeg. I turned logging on and this is what I get:
<?xml version="1.0" encoding="windows-1253" standalone="no"?>
<!DOCTYPE log SYSTEM "logger.dtd">
<log>
<record>
<date>2018-04-13T10:31:20</date>
<millis>1523604680401</millis>
<sequence>0</sequence>
<logger>be.tarsos.dsp.io.PipeDecoder</logger>
<level>INFO</level>
<class>be.tarsos.dsp.io.PipeDecoder</class>
<method><init></method>
<thread>1</thread>
<message>found ffmpeg on the path (<snip>). Will use ffmpeg for decoding media files.</message>
</record>
<record>
<date>2018-04-13T10:31:20</date>
<millis>1523604680705</millis>
<sequence>1</sequence>
<logger>be.panako.cli.Panako</logger>
<level>INFO</level>
<class>be.panako.cli.Panako</class>
<method>actuallyReallyStartApplication</method>
<thread>1</thread>
<message>Starting Panako application query with 1 arguments</message>
</record>
<record>
<date>2018-04-13T10:31:20</date>
<millis>1523604680708</millis>
<sequence>2</sequence>
<logger>be.tarsos.dsp.io.PipeDecoder</logger>
<level>INFO</level>
<class>be.tarsos.dsp.io.PipeDecoder</class>
<method>getDecodedStream</method>
<thread>13</thread>
<message>Starting piped decoding process for <snip>sos-30.wav</message>
</record>
<record>
<date>2018-04-13T10:31:20</date>
<millis>1523604680708</millis>
<sequence>3</sequence>
<logger>be.tarsos.dsp.io.PipeDecoder</logger>
<level>INFO</level>
<class>be.tarsos.dsp.io.PipeDecoder</class>
<method>getDecodedStream</method>
<thread>13</thread>
<message> with command: ffmpeg -ss 0.0 -i "<snip>sos-30.wav" -vn -ar 8000 -ac 1 -sample_fmt s16 -f s16le pipe:1</message>
</record>
<record>
<date>2018-04-13T10:31:20</date>
<millis>1523604680719</millis>
<sequence>4</sequence>
<logger>be.tarsos.dsp.AudioDispatcher</logger>
<level>FINE</level>
<class>be.tarsos.dsp.AudioDispatcher</class>
<method>addAudioProcessor</method>
<thread>13</thread>
<message>Added an audioprocessor to the list of processors: be.panako.strategy.nfft.NFFTEventPointProcessor@222e9105</message>
</record>
Any help appreciated!
It seems I had to add /c to DECODER_PIPE_ENVIRONMENT_ARG in the config file. All seems to work ok now - closing ticket
Hi,
First of all my java knowledge is non-existent so apologies for any blatant mistakes!
I am trying to use Panako on a Windows machine as the subject says. Because I don't have a java setup on Windows I thought I'd compile it on a linux vm (ubuntu based) and then send the .jar file over to Windows and try it there. Also I have populated a db from the linux vm and brought that over as well.
When I try to run the jar file on Windows I get the following output:
My java version on windows is "1.8.0_102" and on linux "1.8.0_162". Also for the record this runs fine on linux. Because I found some multi-platform support in the source code and libraries I thought it might work
Any ideas?
Thanks, George