Play .mov on mediaplayer

All your problems with Audio, Video and Images.

Play .mov on mediaplayer

Postby Gabric » Sun Oct 20, 2013 12:07 pm

Hi! On my code, i've to play a .mov file on mediaplayer i tried with

Code: Select all
setContentView(R.layout.activity_main);
videoHolder = (VideoView) findViewById(R.id.videoview);
    videoHolder.setMediaController(new MediaController(this));
    Uri video = Uri.parse("android.resource://" + getPackageName() + "/"
    + R.raw.semeiotica);

    videoHolder.setVideoURI(video);
    videoHolder.start();

but it show me a pop up that say "impossible to play the video" and the log cat have this error

Code: Select all
10-20 12:58:38.120: D/MediaPlayer(5396): Couldn't open file on client side, trying server side 10-20 12:58:38.120: E/MediaPlayer(5396): error (1, -2147483648) 10-20 12:58:38.210: E/MediaPlayer(5396): Error (1,-2147483648) 10-20 12:58:38.210: D/VideoView(5396): Error: 1,-2147483648


some idea to how to play this video? I can't convert all, because are a lot
Gabric
Freshman
Freshman
 
Posts: 8
Joined: Fri Jul 26, 2013 3:22 pm

Top

Return to Multimedia Problems

Who is online

Users browsing this forum: No registered users and 23 guests