Reputation: 575
I'm trying to play my video in Samsung Galaxy S but its not working.. my video is uploaded on a server and when I play it on my emulator it works fine but of course slow, but when I play it on my device it gives me Sorry, this video cannot be played with the following error:
01-06 14:37:41.730: ERROR/PlayerDriver(1284): Command PLAYER_INIT completed with an error or info PVMFFailure
01-06 14:37:41.730: ERROR/MediaPlayer(4585): error (1, -1)
01-06 14:37:41.730: ERROR/MediaPlayer(4585): Error (1,-1)
my link looks like this: http://user---.---.--.--/-------/try.mp4
this link works fine whether in emulator or device: http://www.pocketjourney.com/downloads/pj/video/famous.3gp
I'm sure its not a codec error because I tried playing in from sdcard/try.mp4 and it worked fine
Upvotes: 3
Views: 3141
Reputation: 1816
for the public interest: if your file is delivered through a php file, which runs unter php5 and your headers are not set correctly, php5 automatically sends a 500 http header!! this maybe also the problem (so was at mine)
Upvotes: 0
Reputation: 450
Android doesn't support .mp4 files for streaming.You can play .mp4 from SDCard.
Upvotes: 1