"Invalid data found when processing input"

Need help? Post your questions here.

Moderator: moderators

"Invalid data found when processing input"

Postby houdini2930 » Thu Oct 04, 2012 5:14 am

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)?
houdini2930
 
Posts: 15
Joined: Wed Jan 11, 2012 7:45 pm

Re: "Invalid data found when processing input"

Postby GJ51 » Thu Oct 04, 2012 5:23 am

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.
Last edited by GJ51 on Thu Oct 04, 2012 4:38 pm, edited 1 time in total.
Gary J

http://bios-mods.com
http://www.maplegrovepartners.com
http://theaverageguy.tv/category/tagpodcasts/cyberfrontiers/
User avatar
GJ51
 
Posts: 3492
Joined: Wed Oct 20, 2010 11:58 pm
Location: Western New York

Re: "Invalid data found when processing input"

Postby houdini2930 » Thu Oct 04, 2012 4:11 pm

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??
houdini2930
 
Posts: 15
Joined: Wed Jan 11, 2012 7:45 pm

Re: "Invalid data found when processing input"

Postby GJ51 » Thu Oct 04, 2012 4:40 pm

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?
Gary J

http://bios-mods.com
http://www.maplegrovepartners.com
http://theaverageguy.tv/category/tagpodcasts/cyberfrontiers/
User avatar
GJ51
 
Posts: 3492
Joined: Wed Oct 20, 2010 11:58 pm
Location: Western New York

Re: "Invalid data found when processing input"

Postby houdini2930 » Thu Oct 04, 2012 6:41 pm

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...
houdini2930
 
Posts: 15
Joined: Wed Jan 11, 2012 7:45 pm

Re: "Invalid data found when processing input"

Postby GJ51 » Thu Oct 04, 2012 7:24 pm

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.
Gary J

http://bios-mods.com
http://www.maplegrovepartners.com
http://theaverageguy.tv/category/tagpodcasts/cyberfrontiers/
User avatar
GJ51
 
Posts: 3492
Joined: Wed Oct 20, 2010 11:58 pm
Location: Western New York

Re: "Invalid data found when processing input"

Postby houdini2930 » Thu Oct 04, 2012 7:44 pm

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.
houdini2930
 
Posts: 15
Joined: Wed Jan 11, 2012 7:45 pm

Re: "Invalid data found when processing input"

Postby erokani » Tue Oct 16, 2012 9:23 pm

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??
erokani
 
Posts: 4
Joined: Wed Jul 18, 2012 8:28 pm

Re: "Invalid data found when processing input"

Postby apratsunrthd » Mon Jan 06, 2014 7:22 pm

I'm having this same issue. Any updates?
apratsunrthd
 
Posts: 7
Joined: Mon Jan 06, 2014 7:20 pm

Re: "Invalid data found when processing input"

Postby apratsunrthd » Fri Jan 10, 2014 7:35 pm

Anyone?
apratsunrthd
 
Posts: 7
Joined: Mon Jan 06, 2014 7:20 pm

Re: "Invalid data found when processing input"

Postby apratsunrthd » Mon Jan 13, 2014 7:49 pm

Bumparoosky
apratsunrthd
 
Posts: 7
Joined: Mon Jan 06, 2014 7:20 pm

Re: "Invalid data found when processing input"

Postby daneren2005 » Mon Jan 13, 2014 9:30 pm

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 ;)
Developer of DSub for Android
daneren2005
 
Posts: 1709
Joined: Fri Jul 06, 2012 7:52 pm

Re: "Invalid data found when processing input"

Postby apratsunrthd » Fri Jan 17, 2014 7:03 pm

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.
apratsunrthd
 
Posts: 7
Joined: Mon Jan 06, 2014 7:20 pm

Re: "Invalid data found when processing input"

Postby daneren2005 » Fri Jan 17, 2014 7:34 pm

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.
Developer of DSub for Android
daneren2005
 
Posts: 1709
Joined: Fri Jul 06, 2012 7:52 pm


Return to Help

Who is online

Users browsing this forum: No registered users and 61 guests