Video View Fullscreen And On Top On Ouya

RedSun

Member
Licensed User
Longtime User
Is there any way to force the video view to not be fullscreen and on top?

I am creating a program on the Ouya and I want a controls overlay on top of the video playback, but the video always goes fullscreen and forces itself on top of everything else, even toast messages do not appear.

I have tried the videoviewextras, and vvelib libraries. The aspect ratio could be changed, but it still forced its way into fullscreen.

It works if I use vitamob4a library, but I would like for users not to have to download anything extra if possible as I would think that may put a lot of people off.

I am kind of thinking this may be an Ouya specific issue.

New to all this, so I am probably missing something obvious, but any help would be appreciated.

B4X:
vv.MediaControllerEnabled=False
Activity.AddView(Panel3, 0dip, 0dip, Activity.width, Activity.height)
Panel3.AddView(vv, 0dip, 0dip, Panel3.width, Panel3.height)
vv.LoadVideo("http", "videofile location")
vv.Play
Activity.AddView(Panel2, 400dip, 400dip, 60dip, 60dip)
Panel2.AddView(ImageView3, 0dip, 0dip, 60dip, 60dip)
ImageView3.Bitmap = LoadBitmap(File.DirAssets, "ouya_o.png")
ImageView3.Gravity=Gravity.fill
Panel2.BringToFront
ImageView3.BringToFront
 

drgottjr

Expert
Licensed User
Longtime User
My suggestion in post #63 applies to any version of Vitamio - if i can update the library so that you can compile it without the libarm.so file then would that be useful?

Unfortunately i haven't had time to look at the new version yet.

Martin.

no pressure; just wondering if i missed something in the flurry.
for those of us nearing the end of the trail, learning android development with, eg, eclipse at this stage is a non-starter. in addition, it seems to me that the less the user - assuming someone other than the developer ever gets to use the app - has to do to be up and running, the better. that, among others, is the main benefit to version 4: it's all there in the .apk. besides, hard-coded download links don't always work. (for version 3, the link to download the plug-in from vitamio was broken. and google allows what it wants to allow when it wants to allow it.) in any case, thanks for the time you have been able to spare.
-go
 
Upvote 0

elitevenkat

Active Member
Licensed User
Longtime User
Hi,
Just want to know if i could stream the camera video ? I went through the entire thread but i could not find (missed?) the info!
if it is possible kindly let me have any link to it.
venkat
 
Upvote 0

yo3ggx

Active Member
Licensed User
Longtime User
Hi,

I have the following issue with this bundle. As I'm playing with ffmpeg recompilation for other formats support (mainly audio), I'm continuously changing the libarm.so file. If I just replace the one in res/raw folder nothing happen after the first app installation. The original one is kept in the tablet filesystem and the new one is not overwritten. I have to uninstall the app each time in order to load a new libarm.so file.
I'm doing something wrong?

Thank you,
Dan
 
Upvote 0

warwound

Expert
Licensed User
Longtime User
I have the following issue with this bundle. As I'm playing with ffmpeg recompilation for other formats support (mainly audio), I'm continuously changing the libarm.so file. If I just replace the one in res/raw folder nothing happen after the first app installation. The original one is kept in the tablet filesystem and the new one is not overwritten. I have to uninstall the app each time in order to load a new libarm.so file.
I'm doing something wrong?

No that is the default behaviour.
The library checks for the existence of libarm.so, if it is not found then libarm.so is copied from the apk to the android device.
If libarm.so is found on the device then no action is taken.

You can speed up the uninstallation process by using a Command Prompt and adb:

B4X:
adb uninstall my.package.name

Saves the hassle of clicking through the menus on the device.
Once you've executed this command once, keep the Command Prompt window open and when you need to again uninstall press the UP cursor key and you should find the previous command auto-completed to save you re-typing it.

Martin.
 
Upvote 0

yo3ggx

Active Member
Licensed User
Longtime User
Hi Martin,

Thank you for your answer. I have now another issue. I've tried to compile ffmpeg library using the procedure here:
http://www.vitamio.org/en/2013/Tutorial_0509/13.html
It compiles without error.
If I replace libffmpeg.so with the new one, when I'm trying to play a network stream I get the error:
"Fatal Signal 11 (SIGSEGV)"
Looking at the file I've seen that the recompiled one is:
build/ffmpeg/neon/libffmpeg.so: ELF 32-bit LSB shared object, ARM, version 1 (SYSV), dynamically linked, stripped
and the original one from the package is:
71/libffmpeg.so: ELF 32-bit LSB shared object, ARM, version 1 (SYSV), dynamically linked (uses shared libs), stripped

May be the missing "(used shared libs)" the root cause for the error?

I need opus support in libffmpeg which is not available in the included library.

Thank you,
Dan
 
Upvote 0

warwound

Expert
Licensed User
Longtime User
Hi Dan.

I'm afraid that's not something i understand.
I've got next to no experience of compiling C/C++ for use within android.

Martin.
 
Upvote 0

hears

Active Member
Licensed User
Longtime User
ACE STREAM is more better,can you change it to B4A ? ace stream can use P2P VIDEO,it is populer stream video format now
 
Upvote 0

DonManfred

Expert
Licensed User
Longtime User
I told it in the past: ALWAYS create a NEW Thread for each question.
Do NOT post to old threads.
 
Upvote 0
Top