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

  • SEARCH
  • Home
  • 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 7857505
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T21:03:47+00:00 2026-06-02T21:03:47+00:00

In Android, I created a layout with three surface view side by side, and

  • 0

In Android, I created a layout with three surface view side by side, and I want to play one video file with different media player simultaneously. But one problem I faced that none of three can play that video simultaneously. One or two of them getting stopped the display.
If I used video view instead of Media Player class directly, but the problem remains the same.
Please anybody can help. What the problem is for? It is giving error surface creation failed native error. I tried different combination such as one file in 3 different view, three files in three different view, but the problem is not fixed yet.
Some replies in other web site says that it depends on kernel version.
If it depends on Kernel version, please can you give me any android documentation link on android site that it depends on kernel version. Or it is possible to play, please give me the steps of code. This is error log –

04-10 19:23:37.995: E/ANDROID_DRM_TEST(2573): Client::notify In
04-10 19:23:37.995: V/AudioPolicyManager(2573): startOutput() output 1, stream 3,  session 131
04-10 19:23:37.995: V/AudioPolicyManager(2573): getDeviceForStrategy() from cache strategy 0, device 2
04-10 19:23:37.995: V/AudioPolicyManager(2573): getNewDevice() selected device 2
04-10 19:23:37.995: V/AudioPolicyManager(2573): setOutputDevice() output 1 device 2 delayMs 0
04-10 19:23:37.995: V/AudioPolicyManager(2573): setOutputDevice() setting same device 2 or null device for output 1
04-10 19:23:37.995: I/AudioFlinger(2573): start output streamType (0, 3) for 1
04-10 19:23:37.995: D/AudioHardwareYamaha(2573): AudioStreamOut::setParameters(keyValuePairs="start_output_streamtype=3")
04-10 19:23:38.010: W/SEC_Overlay(2689): overlay_setPosition(0) 0,0,200,397 => 0,0,200,397
04-10 19:23:38.010: I/SEC_Overlay(2689): overlay_setParameter param[4]=4
04-10 19:23:38.010: D/SEC_Overlay(2689): dst width, height have changed [w= 200, h= 397] -> [w=200, h= 397]
04-10 19:23:38.010: I/SEC_Overlay(2689): Nothing to do!
04-10 19:23:38.090: E/VideoMIO(2573): AndroidSurfaceOutput::setParametersSync()  VIDEO ROTATION 0
04-10 19:23:38.090: E/VideoMIO(2573): AndroidSurfaceOutput::setParametersSync()  VIDEO RENDERER 1
04-10 19:23:38.090: D/SEC_Overlay(2689): overlay_createOverlay:IN w=128 h=96 format=48
04-10 19:23:38.090: E/SEC_Overlay(2689): Error - overlays already in use
04-10 19:23:38.090: D/VideoMIO(2573): Overlay create failed - retrying
04-10 19:23:38.195: D/SEC_Overlay(2689): overlay_createOverlay:IN w=128 h=96 format=48
04-10 19:23:38.195: E/SEC_Overlay(2689): Error - overlays already in use
04-10 19:23:38.195: D/VideoMIO(2573): Overlay create failed - retrying
04-10 19:23:38.230: E/VideoMIO(2573): AndroidSurfaceOutput::setParametersSync()  VIDEO ROTATION 0
04-10 19:23:38.230: E/VideoMIO(2573): AndroidSurfaceOutput::setParametersSync()  VIDEO RENDERER 1
04-10 19:23:38.230: D/SEC_Overlay(2689): overlay_createOverlay:IN w=128 h=96 format=48
04-10 19:23:38.230: E/SEC_Overlay(2689): Error - overlays already in use
04-10 19:23:38.230: D/VideoMIO(2573): Overlay create failed - retrying
04-10 19:23:38.295: D/SEC_Overlay(2689): overlay_createOverlay:IN w=128 h=96 format=48
04-10 19:23:38.295: E/SEC_Overlay(2689): Error - overlays already in use
04-10 19:23:38.295: D/VideoMIO(2573): Overlay create failed - retrying
04-10 19:23:38.330: D/SEC_Overlay(2689): overlay_createOverlay:IN w=128 h=96 format=48
04-10 19:23:38.330: E/SEC_Overlay(2689): Error - overlays already in use
04-10 19:23:38.330: D/VideoMIO(2573): Overlay create failed - retrying
04-10 19:23:38.395: D/SEC_Overlay(2689): overlay_createOverlay:IN w=128 h=96 format=48
04-10 19:23:38.395: E/SEC_Overlay(2689): Error - overlays already in use
04-10 19:23:38.395: D/VideoMIO(2573): Overlay create failed - retrying
04-10 19:23:38.435: D/SEC_Overlay(2689): overlay_createOverlay:IN w=128 h=96 format=48
04-10 19:23:38.435: E/SEC_Overlay(2689): Error - overlays already in use
04-10 19:23:38.435: D/VideoMIO(2573): Overlay create failed - retrying
04-10 19:23:38.495: D/SEC_Overlay(2689): overlay_createOverlay:IN w=128 h=96 format=48
04-10 19:23:38.495: E/SEC_Overlay(2689): Error - overlays already in use
04-10 19:23:38.495: D/VideoMIO(2573): Overlay create failed - retrying
04-10 19:23:38.535: D/SEC_Overlay(2689): overlay_createOverlay:IN w=128 h=96 format=48
  • 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-06-02T21:03:52+00:00Added an answer on June 2, 2026 at 9:03 pm

    I’ve found one solution. Just replace /system/build.prop with this following build.prop –

    build.prop

    # begin build properties
    # autogenerated by buildinfo.sh
    ro.build.id=GINGERBREAD
    ro.build.display.id=GINGERBREAD.EG14
    ro.build.version.incremental=EG14
    ro.build.version.sdk=10
    ro.build.version.codename=REL
    ro.build.version.release=2.3.4
    ro.build.date=Thu Jul 14 12:16:01 KST 2011
    ro.build.date.utc=1310613361
    ro.build.type=user
    ro.build.user=se.infra
    ro.build.host=SEI-28
    ro.build.tags=release-keys
    ro.product.model=SHW-M250S
    ro.product.brand=samsung
    ro.product.name=SHW-M250S
    ro.product.device=SHW-M250S
    ro.product.board=SHW-M250S
    ro.product.cpu.abi=armeabi-v7a
    # Samsung Specific Properties
    ro.build.PDA=M250S.EG14.1208
    ro.build.hidden_ver=M250S.EG14.1208
    ro.b uild.changelist=380592
    ro.product.cpu.abi2=armeabi
    ro.product.manufacturer=samsung
    ro.product.locale.language=ko
    ro.product.locale.region=KR
    ro.wifi.channels=
    ro.board.platform=s5pc210
    # ro.build.product is obsolete; use ro.product.device
    ro.build.product=SHW-M250S
    # Do not try to parse ro.build.description or .fingerprint
    ro.build.description=SHW-M250S-user 2.3.4 GINGERBREAD EG14 release-keys
    ro.build.fingerprint=samsung/SHW-M250S/SHW-M250S:2.3.4/GINGERBREAD/EG14:user/release-keys
    # Samsung Specific Properties
    ro.build.PDA=M250S.EG14.1208
    ro.build.hidden_ver=M250S.EG14.1208
    ro.build.changelist=380592
    ro.build.fota_ver=SSNT11GINGEREG14
    ro.tether.denied=false
    ro.flash.resolution=1080
    # end build properties
    #
    # system.prop for asop5000
    #
    
    rild.libpath=/system/lib/libsec-ril.so
    rild.libargs=-d /dev/ttyS0
    ro.sf.lcd_density=240
    dalvik.vm.heapsize=64m
    
    # Samsung USB default mode
    persist.service.usb.setting=2
    
    #
    # ADDITIONAL_BUILD_PROPERTIES
    #
    ro.setupwizard.mode=OPTIONAL
    ro.com.google.gmsversion=2.3_r4
    media.stagefright.enable-player=true
    media.stagefright.enable-meta=true
    media.stagefright.enable-scan=true
    media.stagefright.enable-http=true
    media.stagefright.enable-rtsp=true
    ro.com.google.clientidbase=android-samsung
    ro.com.google.clientidbase.ms=android-skt-kr
    ro.com.google.clientidbase.am=android-skt-kr
    ro.com.google.clientidbase.gmm=android-samsung
    ro.com.google.clientidbase.yt=android-samsung
    ro.url.legal=http://www.google.com/intl/%s/mobile/android/basic/phone-legal.html
    ro.url.legal.android_privacy=http://www.google.com/intl/%s/mobile/android/basic/privacy.html
    ro.com.google.locationfeatures=1
    keyguard.no_require_sim=true
    ro.config.ringtone=Over_the_horizon.ogg
    ro.config.notification_sound=Sherbet.ogg
    ro.config.alarm_alert=Good_Morning.ogg
    ro.config.media_sound=Over_the_horizon.ogg
    ro.opengles.version=131072
    ro.csc.sales_code=MSK
    ro.secdevenc=true
    ro.wtldatapassword=true
    net.bt.name=Android
    dalvik.vm.stack-trace-file=/data/anr/traces.txt
    

    At first connect your Samsung Galaxy s-II with usb and type in command prompt to mount your system –

    cmd:> adb remount
    

    and then replace the file and reboot your device –

    cmd:> adb shell
    #reboot
    

    I’ve noticed that by default this device uses opencore framework instead of libstagefright. And opencore has some problem, that’s why the nave error is throwing. But libstagefright is already implemented in android version 2.3. Have a look at the build.prop file, the stagefright is disable. It is the best solution to enable to libstagefright framework and do support libstagefright framework. You can play MPEG-2TS file also and it supports to play multiple video file simultaneously without having any problem.
    Try it and enjoy.

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

Sidebar

Related Questions

I created layout and layout-land folders, in Manifest i have android:configChanges=keyboardHidden|orientation If i remove
I created a file in \res\layout named contactlist.xml But it is not recognized in
Newbee to Android development. I am developing a application, which have three different tabs.
I am creating a three tabs that contains one fragment each now I want
When I created a button view, Android always create some extra space between this
i have created an application its a music player with just a simple layout
I'm learning android development. I created a simple layout consisting of a button (id:button1).
I have created an ExpandableListView with the following code: <ExpandableListView android:id=@+id/android:list android:layout_width=wrap_content android:layout_height=0dp android:layout_marginTop=5dp
One can create a SeekBar in XML as follows... <SeekBar xmlns:android=http://schemas.android.com/apk/res/android android:id=@+id/bpseekbar android:layout_width=fill_parent android:layout_height=wrap_content
What is the java programmically equivalent to create the following XML file: <LinearLayout android:layout_width=wrap_content

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.