Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6380151
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T02:13:51+00:00 2026-05-25T02:13:51+00:00

When I try and play a 3GP video with VideoView the following error occurs:

  • 0

When I try and play a 3GP video with VideoView the following error occurs:

MediaPlayer(1873): error (1, -2147483648)

My source code is:

@Override
    protected void onCreate(Bundle savedInstanceState) {
        // TODO Auto-generated method stub
        super.onCreate(savedInstanceState);
        setContentView(R.layout.videoplayer);
        mVideoView = (VideoView) findViewById(R.id.surface_view);
        mVideoView.setOnErrorListener(this);
        mVideoView.setOnCompletionListener(this);
        mVideoView.setOnPreparedListener(this);
        mVideoView.requestFocus();

        /*
         * MediaController mc=new MediaController(VideoPlayer.this); mc.show(0);
         * mc.setEnabled(true); mVideoView.setMediaController(mc);
         */

        Intent intent = getIntent();
        if (intent == null) {
            System.out.println("intent is null");
            return;
        }
        Util.showToast(R.string.play_video, VideoPlayer.this);
        String mUri = intent.getStringExtra("path");
        mVideoView.setVideoPath(mUri);
        mVideoView.start();
        System.out.println("path: " + mUri);

    }

The error information is:

    01-01 00:19:04.000: INFO/ActivityManager(1456): Starting: Intent { cmp=com.android.cameradiag/.VideoPlayer (has extras) } from pid 1873
01-01 00:19:04.015: VERBOSE/videocamera(1873): stopVideoRecording
01-01 00:19:04.015: VERBOSE/videocamera(1873): Releasing media recorder.
01-01 00:19:04.015: VERBOSE/videocamera(1873): closeCamera
01-01 00:19:04.015: ERROR/CameraHal(1387): hardware/ti/omap3/camera-omap4/src/BaseCameraAdapter.cpp:248 disableMsgType - Message type 0x200 subscription no supported yet!
01-01 00:19:04.015: ERROR/OMXCameraAdapter(1387): hardware/ti/omap3/camera-omap4/src/OMXCameraAdapter/OMXCameraAdapter.cpp:3458 stopPreview - Average framerate: 25.296116
01-01 00:19:04.023: ERROR/CameraHal(1387): hardware/ti/omap3/camera-omap4/src/BaseCameraAdapter.cpp:248 disableMsgType - Message type 0x200 subscription no supported yet!
01-01 00:19:04.023: INFO/TIOverlay(1456): Destroying overlay/fd=194/obj=45c97000
01-01 00:19:04.023: DEBUG/TIOverlay(1456): mZorderUsage[0] = 0 should be removed
01-01 00:19:04.023: ERROR/CameraHal(1387): hardware/ti/omap3/camera-omap4/src/AppCallbackNotifier.cpp:1473 stop - AppCallbackNotifier already in stopped state
01-01 00:19:04.195: WARN/ASFDummyExtractor(1387): ASF parser is not available
01-01 00:19:04.195: INFO/StagefrightPlayer(1387): setDataSource('/mnt/media/Video/VID_20000101_001843.3gp')
01-01 00:19:04.195: DEBUG/AwesomePlayer(1387): setDataSource_l(/mnt/media/Video/VID_20000101_001843.3gp)
01-01 00:19:04.203: ERROR/MediaPlayer(1873): error (1, -2147483648)
01-01 00:19:04.257: ERROR/MediaPlayer(1873): Error (1,-2147483648)
01-01 00:19:04.257: DEBUG/VideoView(1873): Error: 1,-2147483648
01-01 00:19:04.296: DEBUG/dalvikvm(1873): GC_EXTERNAL_ALLOC freed 852K, 54% free 2894K/6215K, external 1889K/2137K, paused 32ms
01-01 00:19:04.554: INFO/ActivityManager(1456): Displayed com.android.cameradiag/.VideoPlayer: +447ms
01-01 00:19:07.156: ERROR/Omap4ALSA(1387): called drain&close
01-01 00:19:09.429: ERROR/OMXCameraAdapter(1387): hardware/ti/omap3/camera-omap4/src/OMXCameraAdapter/OMXCameraAdapter.cpp:7229 Handler - Exiting command handler

How do I fix this?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T02:13:51+00:00Added an answer on May 25, 2026 at 2:13 am

    I found root cause: there is no permission for my application to access /mnt/media/Video/VID_20000101_001843.3gp.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I try to play a video on the server with this code. I have
Im try to play a video by HTML5 with the follow code on localhost
I want to play video in VideoView . When I try to do that
I'm using the following code to try to play a sound clip with the
When I try to play video from m.youtube.com I get an error: an error
I am using the following code to display a video file in the android
It is a Java question. I try to use Fobs4jmf to play 3gp. I
I want to play a video file in mediaelement repeatedly, but when I try
I use MPMoviePlayerViewController to play a video with format 3gp. some video can played,but
I try play a video in html5 page on Android emulator 0f version 4.0,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.