Issue playing audio/video from REMOTE URL(HTTP/RTSP)

All your problems with Audio, Video and Images.

Issue playing audio/video from REMOTE URL(HTTP/RTSP)

Postby dileepkumarmanduva » Thu Nov 05, 2009 7:59 am

Hi Friends,

Did anyone try playing audio/video through http/rtsp. I am having a problem with either of the approach....
I am getting an error Command PLAYER_INIT completed with PVMFError
I some cases I got
Command PLAYER_INIT completed with PVMFErrorContentInvalidForProgressiveDownoload.

Can some one explain what is the problem.
The code snippet I am using is given below...

-----------------------
--------------
VideoView mVideoView = (VideoView) findViewById(---------);
mVideoView.setVideoPath("http://192.168.1.143:8080/3.3gp");
mVideoView.setMediaController(new MediaController(this));
mVideoView.requestFocus();
mVideoView.start();


The code works fine when I say
mVideoView.setVideoPath("/sdcard/vv.3gp");
but not able to play if I give a rtsp/http urls

In case of http it says PVMFErrorContentInvalid for progressive download....

Can some body tell me what is the problem.
Can you please post the code if someone has been successful in playing audio/video through http/rtsp.....

Thanks & Regards
DileepKumar
mail: dileepkumar.renintech@gmail.com
Regards
Dileep Kumar
dileepkumarmanduva
Freshman
Freshman
 
Posts: 3
Joined: Thu Nov 05, 2009 7:10 am
Location: Hyderabad, India

Top

Postby dileepkumarmanduva » Thu Nov 05, 2009 11:00 am

If some one has been successful playing video from an http source.... with out saving the file to local file system.....
can you please give me the source code.....
Regards
Dileep Kumar
dileepkumarmanduva
Freshman
Freshman
 
Posts: 3
Joined: Thu Nov 05, 2009 7:10 am
Location: Hyderabad, India

Postby nithin11 » Thu Nov 05, 2009 11:01 am

HI..

See this below link... That may help you

viewtopic.php?p=24963#24963
Nithin
nithin11
Developer
Developer
 
Posts: 36
Joined: Mon Mar 09, 2009 5:14 am
Location: India

Postby dileepkumarmanduva » Thu Nov 05, 2009 11:04 am

Hi,
I have already gone through that topic previously but of no use...

Whenever I try to play a file by giving an http url refering to mp4 or 3gp file the emulator gives me an alert "sorry this video is not valid for streaming to this device"... please help its very much urgent...
Regards
Dileep Kumar
dileepkumarmanduva
Freshman
Freshman
 
Posts: 3
Joined: Thu Nov 05, 2009 7:10 am
Location: Hyderabad, India

Top

Return to Multimedia Problems

Who is online

Users browsing this forum: No registered users and 6 guests