Hello and happy New Year,
When I try to look up mpg or m2v files through AcoustID I usually get IO exception: failed to exec fpcalc: exit code 1
Thanks in advance.
Are mpg files accepted on AcoustID check?
Re: Are mpg files accepted on AcoustID check?
May work, may not work. Depending on the exact file and codecs used.
Re: Are mpg files accepted on AcoustID check?
Understood..
Is it possible to Isolate the exception and continue with the other files??
Is it possible to Isolate the exception and continue with the other files??
Re: Are mpg files accepted on AcoustID check?
Maybe. But I'll need your command and the cmdline output first. 
And possibly one of the files for testing.

And possibly one of the files for testing.
Re: Are mpg files accepted on AcoustID check?
{file.path[0]}:/!VideoClips/{artist} - {t}{'.'+fn.matchAll(/\d+/).last()}.{vc}.{hpi}@{media.overallbitratestring}.({ac}-{af})
here is console output:
WARNING: error decoding audio
[mp2 @ 00000000007FF200] Header missing
WARNING: error decoding audio
[mp2 @ 00000000007FF200] Header missing
WARNING: error decoding audio
[mp2 @ 00000000007FF200] Header missing
WARNING: error decoding audio
[mp2 @ 00000000007FF200] Header missing
WARNING: error decoding audio
[mp2 @ 00000000007FF200] Header missing
WARNING: error decoding audio
Jan 08, 2015 11:36:28 AM net.filebot.ui.rename.RenamePanel$AutoCompleteAction$2
done
WARNING: UnknownHostException: api.acoustid.org
java.util.concurrent.ExecutionException: java.net.UnknownHostException: api.acou
stid.org
at java.util.concurrent.FutureTask.report(Unknown Source)
at java.util.concurrent.FutureTask.get(Unknown Source)
at javax.swing.SwingWorker.get(Unknown Source)
at net.filebot.ui.rename.RenamePanel$AutoCompleteAction$2.done(RenamePan
el.java:693)
at javax.swing.SwingWorker$5.run(Unknown Source)
at javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.run(Unknown Sour
ce)
at sun.swing.AccumulativeRunnable.run(Unknown Source)
at javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.actionPerformed(
Unknown Source)
at javax.swing.Timer.fireActionPerformed(Unknown Source)
at javax.swing.Timer$DoPostEvent.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$400(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Sour
ce)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Caused by: java.net.UnknownHostException: api.acoustid.org
at java.net.AbstractPlainSocketImpl.connect(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at sun.net.NetworkClient.doConnect(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.<init>(Unknown Source)
at sun.net.www.http.HttpClient.New(Unknown Source)
at sun.net.www.http.HttpClient.New(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown
Source)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(Unknown Sou
rce)
at sun.net.www.protocol.http.HttpURLConnection$6.run(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection$6.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessController.doPrivileged(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Sour
ce)
at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getOutputStream0(Unknown
Source)
at sun.net.www.protocol.http.HttpURLConnection.access$100(Unknown Source
)
at sun.net.www.protocol.http.HttpURLConnection$8.run(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection$8.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessController.doPrivileged(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(Unknown S
ource)
at net.filebot.web.WebRequest.post(WebRequest.java:182)
at net.filebot.web.WebRequest.post(WebRequest.java:164)
at net.filebot.web.AcoustIDClient.lookup(AcoustIDClient.java:99)
at net.filebot.web.AcoustIDClient.lookup(AcoustIDClient.java:66)
at net.filebot.ui.rename.AudioFingerprintMatcher.match(AudioFingerprintM
atcher.java:33)
at net.filebot.ui.rename.RenamePanel$AutoCompleteAction$2.doInBackground
(RenamePanel.java:678)
at net.filebot.ui.rename.RenamePanel$AutoCompleteAction$2.doInBackground
(RenamePanel.java:674)
at javax.swing.SwingWorker$1.call(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at javax.swing.SwingWorker.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
and one problematic file..
http://www.mediafire.com/watch/4928g50v ... _Thing.mpg
here is console output:
WARNING: error decoding audio
[mp2 @ 00000000007FF200] Header missing
WARNING: error decoding audio
[mp2 @ 00000000007FF200] Header missing
WARNING: error decoding audio
[mp2 @ 00000000007FF200] Header missing
WARNING: error decoding audio
[mp2 @ 00000000007FF200] Header missing
WARNING: error decoding audio
[mp2 @ 00000000007FF200] Header missing
WARNING: error decoding audio
Jan 08, 2015 11:36:28 AM net.filebot.ui.rename.RenamePanel$AutoCompleteAction$2
done
WARNING: UnknownHostException: api.acoustid.org
java.util.concurrent.ExecutionException: java.net.UnknownHostException: api.acou
stid.org
at java.util.concurrent.FutureTask.report(Unknown Source)
at java.util.concurrent.FutureTask.get(Unknown Source)
at javax.swing.SwingWorker.get(Unknown Source)
at net.filebot.ui.rename.RenamePanel$AutoCompleteAction$2.done(RenamePan
el.java:693)
at javax.swing.SwingWorker$5.run(Unknown Source)
at javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.run(Unknown Sour
ce)
at sun.swing.AccumulativeRunnable.run(Unknown Source)
at javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.actionPerformed(
Unknown Source)
at javax.swing.Timer.fireActionPerformed(Unknown Source)
at javax.swing.Timer$DoPostEvent.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$400(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Sour
ce)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Caused by: java.net.UnknownHostException: api.acoustid.org
at java.net.AbstractPlainSocketImpl.connect(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at sun.net.NetworkClient.doConnect(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.<init>(Unknown Source)
at sun.net.www.http.HttpClient.New(Unknown Source)
at sun.net.www.http.HttpClient.New(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown
Source)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(Unknown Sou
rce)
at sun.net.www.protocol.http.HttpURLConnection$6.run(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection$6.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessController.doPrivileged(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Sour
ce)
at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getOutputStream0(Unknown
Source)
at sun.net.www.protocol.http.HttpURLConnection.access$100(Unknown Source
)
at sun.net.www.protocol.http.HttpURLConnection$8.run(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection$8.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessController.doPrivileged(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(Unknown S
ource)
at net.filebot.web.WebRequest.post(WebRequest.java:182)
at net.filebot.web.WebRequest.post(WebRequest.java:164)
at net.filebot.web.AcoustIDClient.lookup(AcoustIDClient.java:99)
at net.filebot.web.AcoustIDClient.lookup(AcoustIDClient.java:66)
at net.filebot.ui.rename.AudioFingerprintMatcher.match(AudioFingerprintM
atcher.java:33)
at net.filebot.ui.rename.RenamePanel$AutoCompleteAction$2.doInBackground
(RenamePanel.java:678)
at net.filebot.ui.rename.RenamePanel$AutoCompleteAction$2.doInBackground
(RenamePanel.java:674)
at javax.swing.SwingWorker$1.call(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at javax.swing.SwingWorker.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
and one problematic file..
http://www.mediafire.com/watch/4928g50v ... _Thing.mpg
Re: Are mpg files accepted on AcoustID check?
2 separate problems. First the file is badly encoded, second the network was broken at the time.
Music videos are not officially supported but it might work if the fpcalc tool can decode the audio. If fpcalc can't process the file then there's nothing I can do.
Music videos are not officially supported but it might work if the fpcalc tool can decode the audio. If fpcalc can't process the file then there's nothing I can do.

Re: Are mpg files accepted on AcoustID check?
I know about it.. Don't care about the file.
I would be happy if we can trap the exception and continue to the next file
I would be happy if we can trap the exception and continue to the next file

Re: Are mpg files accepted on AcoustID check?
From what I can tell the issues with that file didn't cause a major problem. Just didn't work. But after processing of all the files api.acoustid.org wasn't reachable so it was impossible to retrieve metadata for the audio fingerprints.
Re: Are mpg files accepted on AcoustID check?
When I put a file like this in a group of, lets say ten files, it shows the exception and nothing. It brakes the flow and all the other files are left unproccesed.
Sorry for the trouble btw.
Sorry for the trouble btw.
Re: Are mpg files accepted on AcoustID check?
Maybe the logs didn't show that behaviour. I'll play with it and see if there's a fix.