Page 1 of 1
"Invalid data found when processing input"

Posted:
Thu Oct 04, 2012 5:14 am
by houdini2930
I have used the iOS app iSub for a long time but recently (maybe since Subsonic 4.7?) I've been having issues. However, I'm having trouble pinpointing the issue. I can stream fine from my server using a different iOS app called Z-Subonic. So I don't think my server is the issue. But then I try iSub with someone else's server (same version of Subsonic) and it works fine. So it seems to be a problem with this particular app and this particular server. When I try to play a song, the server will most often throw the following error:
"Invalid data found when processing input"
What does this mean and how can I solve it? I can verify the file I'm testing works fine. It's a 320kbps MP3 file. It plays fine in iTunes and VLC.
NOTE: I should note that I have a copy of ffmpeg installed on my system via MacPorts. Might this be conflicting with the ffmpeg install that Subsonic uses (/Library/Application Support/Subsonic/transcode/ffmpeg)?
Re: "Invalid data found when processing input"

Posted:
Thu Oct 04, 2012 5:23 am
by GJ51
You can always try downloading the latest ffmpeg build directly from ffmpeg.com and putting it in the transcode subdirectory to see if that fixes the issue. Just save your current version in another directory while you test or rename it "Oldffmpeg" until you've finished testing the new version.
Re: "Invalid data found when processing input"

Posted:
Thu Oct 04, 2012 4:11 pm
by houdini2930
I tried installing the latest version of FFMPEG but I'm still having issues.
In addition to the "invalid data found" error, I'm getting an "End of File" error a lot as well:
- Code: Select all
[10/4/12 9:36:52 AM CDT] INFO PlayQueueInputStream admin listening to "Answer That and Stay Fashionable (1997)/02 Half-Empty Bottle.mp3"
[10/4/12 9:36:52 AM CDT] DEBUG TranscodeInputStream Starting transcoder: [/Library/Application Support/Subsonic/transcode/ffmpeg] [-i] [/Users/Dust/Audio/Music/AFI/Answer That and Stay Fashionable (1997)/02 Half-Empty Bottle.mp3] [-ab] [64k] [-v] [0] [-f] [mp3] [-]
[10/4/12 9:37:19 AM CDT] WARN RESTFilter Error in REST API: Closed
[10/4/12 9:45:33 AM CDT] WARN RESTFilter Error in REST API: EofException
What is that all about? Any ideas how I can fix this? Is this a problem on the server side or the client side or things??
Re: "Invalid data found when processing input"

Posted:
Thu Oct 04, 2012 4:40 pm
by GJ51
What's your transcode string in Settings/Transcoding?
It should be:
ffmpeg -i %s -ab %bk -v 0 -f mp3 -
Does this file play on your desktop?
Re: "Invalid data found when processing input"

Posted:
Thu Oct 04, 2012 6:41 pm
by houdini2930
Yes, all of these files play fine on the desktop, and I've used Subsonic for a year or so without bumping into this issue.
ffmpeg -i %s -ab %bk -v 0 -f mp3 -
That is exactly what the transcoding command is set to. It's bizarre. It even plays fine through the Web interface. It has to be the iSub app, but then I wonder why the iSub app works fine with other servers that I test...
Re: "Invalid data found when processing input"

Posted:
Thu Oct 04, 2012 7:24 pm
by GJ51
Yeah, that is strange. I sent you a pm to my server if you want to test on there. It's the Madsonic mod.
You should probably report this to the iSub developer. I've seen other reports of iSub problems by a user who then resolved his problem by switching to ZSub which is another iPhone app.
I'm a bit dissapointed that at this late date it still seems that almost any minor change causes problems for the apps. The Android app needs to be updated everytime there's another Android release. Is Android that bad at maintaining backward compatibility or are the Android apps written so poorly that they aren't conforming to Android program guidelines?
It is agrannoying to say the least.
I'm also gravitating more and more toward the Madsonic mod as my everyday site. It is fast, stable, looks great, and is frequently updated. MadEvil is doing a fantastic job with this and I hope more users support his efforts. Visit the site link I sent you from your destop to see what I mean. If your phone works on my site you might want to consider the mod.
Re: "Invalid data found when processing input"

Posted:
Thu Oct 04, 2012 7:44 pm
by houdini2930
I am indeed in talks with the iSub developer and he's been very helpful. I hadn't heard of Madsonic but I'll definitely check it out. Thanks!
EDIT: I'm on OSX server so it looks like I can't try that build.
Re: "Invalid data found when processing input"

Posted:
Tue Oct 16, 2012 9:23 pm
by erokani
Hello,
I'm having a issue which looks like yours

I'm also using iSub and also having the closed API pb. Did you solve it??
Re: "Invalid data found when processing input"

Posted:
Mon Jan 06, 2014 7:22 pm
by apratsunrthd
I'm having this same issue. Any updates?
Re: "Invalid data found when processing input"

Posted:
Fri Jan 10, 2014 7:35 pm
by apratsunrthd
Anyone?
Re: "Invalid data found when processing input"

Posted:
Mon Jan 13, 2014 7:49 pm
by apratsunrthd
Bumparoosky
Re: "Invalid data found when processing input"

Posted:
Mon Jan 13, 2014 9:30 pm
by daneren2005
Contact the iSub developer. I highly doubt bumping this every once in a while for the rest of your life will do any good unless the iSub developer happens to look here

Re: "Invalid data found when processing input"

Posted:
Fri Jan 17, 2014 7:03 pm
by apratsunrthd
daneren2005 wrote:Contact the iSub developer. I highly doubt bumping this every once in a while for the rest of your life will do any good unless the iSub developer happens to look here

I guess I should also learn to read. For me, this isn't an iSub issue. It's happening in the actual subsonic application.
Re: "Invalid data found when processing input"

Posted:
Fri Jan 17, 2014 7:34 pm
by daneren2005
apratsunrthd wrote:daneren2005 wrote:Contact the iSub developer. I highly doubt bumping this every once in a while for the rest of your life will do any good unless the iSub developer happens to look here

I guess I should also learn to read. For me, this isn't an iSub issue. It's happening in the actual subsonic application.
Ah yes, the original poster explicitely stated that is was fine with other apps, and only happened in iSub. I see you made a separate thread that is more approriate to your problem.