[Q] Android help video in game apps - Android Apps and Games

hello everyone
i need help one issue regarding Video playing into a games andriod apps but we are about to finish a new game engine android everything is working good sound link to images back and forth navigation etc but the videos.... and we are block to move forward for having a little to integrate videos and go back to the surface view
ANY HELP please due date coming really soon (
I uploaded a test app to show you what I’m having trouble with. The way I make apps is I usually go into a surface view mode which is the “TheGameLoopView.java” file. From there I make the app. The problem I’m having is I don’t know how to play a video file like an .mp4 file from there.
public class TheGameLoop extends SurfaceView implements SurfaceHolder.Callback, OnGestureListener
That’s how I get there. When there its just like any action video game refreshes 60 times a sec. But I’m really not sure how to get back to say “gameloop.java” and that would help as I may of found some code to help me put a video in there.
The best thing that would help me is if there is a way to play a video while in the surfaceview but I’m not really sure how you could pause it refreshing constantly and have it play a video.
ryan

Related

Music making software

I am new to this forum so please forgive me if i make any mistakes.
My main interest is in music and am therefore looking for recording and music-making software.
I have looked at Syntrax, Griff, Mixtikl and Meteor but so far am not impressed with any of them so was wondering if anyone was in the process of developing something new. I am not a programmer myself but do have a few ideas which as far as I can tell, have not yet been implemented in any windows mobile 6 apps.
One idea is for a low latency multi-track recorder that can use either bluetooth or wifi as an audio input, thereby enabling your phone to become a true multi-track recording device. The idea doesn't stop there, so if anyone is interested in hearing what else I have to say, feel free to contact me and we can discuss what is possible. I can't code such things, so would be very willing to collaborate with someone who can.
Anyway, that's it for now.
Hope to hear a reply soon!
If your interrested
Peace this Meezzofficial! I make music myself, and I'm currently on my 6 song. But as far as music software goes....I would suggest Fruity Loop. Music Maker. and Accoustica. To Meezz personally these are heavy hitters. But Fruity Loops first and hi me back!
Meezz!!
I think i've gone beyond the programmes you've suggested by quite a long margin which is why I would like to see something a bit more serious for windows mobile.
Hello everybody.
I'm a musician too and I'm thinking about some kind of musical notepad using piano roll view so you can tap any of keys on the edge of the screen to hear the notes which will be helpfull to develop the melody by ear, and then put blocks on piano roll to be able to set rhythm values and play whole thing.
Maybe I could try to write something like it but I am not serious programmer so it might take me a lot od time and effort
I think that multi-track recording on PDA is not reliable idea because it need good cpu and some serious audio card with high signal-to-noise ratio.

Attempt at a "Play Most Anything" media player

I admit I've been out of the loop on everything now for at least half a year, but I attempted to write a video player for Android utilizing libavcodec/avformat/etc. and get it to an at least workable state a while back and figured it might be of some fun or use to others. It has no real controls (you select a video, it plays, no pause/seek/etc.) but does allow you to do a multi-touch zoom on the video while it's playing - and that's worth something, right?
Although this should run on any modern Android handset, I'm pretty sure I hard coded the screen resolution for the Evo in there somewhere.
There were slight alterations to avcodec to get everything up and running, and obviously I've linked directly to a good bit of code - so if you'd like a copy of the source for the entire program, just ask. For now I'm putting the upload off since it's quite a large amount to upload
You can find the apk for it here: http://cjmovie.net/MediaPlayerX.apk
It starts out with the directory listing of /sdcard. Use the .. at the top to navigate to a parent directory, not the back button. You can pan the video around by using two fingers and not moving your fingers relative to each other. Scale similarly, although if you don't move your fingers apart fast enough it'll assume you don't want scaling and you'll have to try again.
Also opens still-frames (so jpg, png, etc.) and lets you multi-touch zoom around on them.
It's very crash happy, but I've never had it cause any problems other than needing to re-open the app. YMMV
VPLAYER
Thanks for all the hard work your putting into an app as development is essential to this community. I do believe though that there is an app on the market that is similar to what your working towards/looking for. It's called VPLAYER and it's free on the MarketPlace and i've yet to find a file type that it will not play. I use AndTorrent a lot and it has been able to play every download i've ever had. Anyways, hope this is what your looking for and if not sorry for wasting space on your post. PEACE
would like to see this in a finish product.
like someone else said above, vplayer in the market already plays most any file type (admittedly without the panning or zooming features). I don't know if it's possible, but what would really make your app stand out is if you could get it to see and play media files on a shared drive over a home network. Just a thought.
Kudos though - it must have been a pita to develop.
And subtitles in an MKV file for us anime nerds.
subcypher said:
And subtitles in an MKV file for us anime nerds.
Click to expand...
Click to collapse
+1 on this.
I was hyped for Rockplayer and then realized it wouldn't do subs for the anime I watch.

[Q] screencast not working properly (black screen/no movement) (rooted phone)

i tried to find the answer to this one but i couldn't so here is my question
today i rooted by brand new galaxy note 10.1 for the purpose of using the app called screencast to record games i bought screencast and tried to record with it in gta 3 it wen't by with absolutely no lag in the game
when i go to check the video all i see is going from the screencast app to the menu which is frozen then it goes black
it did not recording anything at all just one picture of the menu rest black with sound
i have tried different recording resolutions normal and high
different fps 10 30 and 40
still completely black
i tried to record just going through the menu (swiping back and forth in those transparent windows) which recording
and it litterally is just frozen i tried the benchmark and it shows 34 fps at highest possible recording settings
this video shows amazing recording with this program but i can't use it at all it just records the menu screen frozen then changes to a black screen with the bar in the bottom as i start a application
/watch?v=APcx6DVsOAw
i am running jellybean 4.1.1
edit it now records the menus properly after i used the screencast gadget but it still goes to black when starting gta 3
JB could be the problem, it might not be JB compatible yet. Best bet would be to contact the developer and leave feedback...
ultramag69 said:
JB could be the problem, it might not be JB compatible yet. Best bet would be to contact the developer and leave feedback...
Click to expand...
Click to collapse
can i easily revert back to the former operating system? and then re root? i backed it all up through the clockwork recovery menu
are my apps synced to my account or will i lose them if i wipe the tablet?
Go into screencast in the android market and look in the app description you will see a link for app support. They should be able to tell you if the problem is jelly bean or a bug in the app. Best to look there before you go reverting back to ics.
Sent from my EVO LTE
Robert542 said:
Go into screencast in the android market and look in the app description you will see a link for app support. They should be able to tell you if the problem is jelly bean or a bug in the app. Best to look there before you go reverting back to ics.
Sent from my EVO LTE
Click to expand...
Click to collapse
thankyou i have sent him an email now
so far no response on that email i am starting to get worried
also sorry for double post
Might take a little while to get back or may just update app, programmers can be quirky....
ultramag69 said:
Might take a little while to get back or may just update app, programmers can be quirky....
Click to expand...
Click to collapse
sadly time is not something i have i bought this for one purpose to record vice city gameplay on android try to be first
i am a youtube partner so i wanted to try something new
the game releases in 6 days
and i think i failed
i asked someone on youtube he said this
on my sgn 10.1 This program works with the same errors can it is because of the screen size. because this program works fine on jb samsung galaxy note 2
so yeah perhaps this program won't work at all with a tablet which means well :crying:
i could have bought the note 2 for the same money i would get a nice light phone to record i even need a phone always wanted a smartphone but no instead i had to pick a tablet something i have absolutely no use for other then what i had planned i don't know what to do right now the tablet is good but the screen is too low res for me it is too heavy and too bulky i have absolutely no use for it the blacklevel on the screen is simply bad makes for watching movies not a great experience so yeah if i can't record a video as planned then i will have no use for it i like how strong it is i tried recording with screencast and there was no lag in the game at all absolutely lag free wheather it was actually recording or not is unknown too me but if it was then it's a very strong tablet
and i don't think i can properly sell it either it has been rooted and tons of information is on it and i don't think you can delete that information to 100% before selling it atleast i have not peeled off the back protection layer this is really awful
edit tried it with a new recorder called asc https://play.google.com/store/apps/details?id=com.benzul.asc
same thing black in both video playback and games
well i have tried everything to get this working NOTHING works i tried every method imaginable even tried emulating to play it on my pc which i then found out would cause alot of lag
i tried EVERYTHING to get this working
screencast ends up with a black screen in video playback and games (the recorded video shows black)
z recorder records videos in 0 kb does not work at all
now comes the funny thing
i tried an app called display recorder on my dads iphone worked perfectly first try i could record sadly the iphone 4s cannot handle gta 3 and recording i get noticable lag
so if i got an ipad i would be able to make the video i planned to now it's too late to get one only 3 days left sadly i failed
so much money spent on this
i also got a response on youtube from someone with a note 10.1 about recording this is what he said
No does not work. Gameplay does not record.
so i guess it is impossible this is making me very frustrated i spent days trying to get this to work and i failed
sorry for doublepost again
PLEASE SOMEONE HELP ME
Same Issue
zzcool said:
well i have tried everything to get this working NOTHING works i tried every method imaginable even tried emulating to play it on my pc which i then found out would cause alot of lag
i tried EVERYTHING to get this working
screencast ends up with a black screen in video playback and games (the recorded video shows black)
z recorder records videos in 0 kb does not work at all
now comes the funny thing
i tried an app called display recorder on my dads iphone worked perfectly first try i could record sadly the iphone 4s cannot handle gta 3 and recording i get noticable lag
so if i got an ipad i would be able to make the video i planned to now it's too late to get one only 3 days left sadly i failed
so much money spent on this
i also got a response on youtube from someone with a note 10.1 about recording this is what he said
No does not work. Gameplay does not record.
so i guess it is impossible this is making me very frustrated i spent days trying to get this to work and i failed
sorry for doublepost again
PLEASE SOMEONE HELP ME
Click to expand...
Click to collapse
I am having the same issue with my Samsung Galaxy Tab GT-N8000.
There is a workaround which might help you with what you are planning to do.
You can try using Bluestacks in full screen mode on your computer and you can run GTA 3 android game there. To record the gameplay, you can use Camtasia which works perfectly fine on laptop and desktop computers and is far efficient than Screencast. This is just a workaround to make the things happen. . Hope this would help you.
I don't know if you post a reply here I would get a notification in my mailbot, but I would really love to assist you in sorting out this issue with you if you are interested. You can email me anytime you want. (Hope I am not violating any rules by asking someone to contact me directly. I am new here.)
Here's my issue with Screencast.
I tried using Screencast to record a gameplay which it didn't.
At first I thought there might be some issue with the game itself.
Then I bought Remote Desktop Client app from Google Play, started Screencast to capture the screen, 'remote-desktoped' my Windows 7 computer from my N8000 through Wi-Fi on the Local Area Network.
Screencast only captured the movements till the Windows 7 console appeared. After that the recording continued but movements were not captured. Screencast started capturing the movements once again after I closed the console of Windows 7.
When I played the recorded file, the screen freezed right after the console of Windows 7 appeared and the movie continued to play. The activity was seen in the movie after the Windows 7 console was closed.
Looking for some solutions but no luck yet.
And the funny thing is that when I rotated the Tab, and the screen layout changed from landscape to portrait or portrait to landscape, that rotation was recorded without any issues and was seen in the move. A big LOL.

[Q] Any possible way to disable the "TV Queue" (YouTube)?

(skip to second paragraph if you're not interested in a mild rant)
In one of the recent updates for the YouTube app while streaming to the Chromecast it'll automatically add every video you've watched to the TV queue. That's fine as I don't mind having a list of the recent videos I've watched, but the part that bothers me (enough to create a thread, which I can't remember the last time I started one) is that the video is added to the top of the queue. This makes every video that you just F***ING watched play all over again! Again, I'd be fine with this if there was any type of preferences within the YouTube app to disable such an asinine "feature" that I'm pretty sure was solely created to boost the number of views of their videos (as I see no other purpose). It really feels like Google is going the way of taking away many options within their apps and it's bugging the s**t outta me to no end. The Chrome browser within Android use to have a plethora of options such as choosing user agents and things of that sort but that option is no longer available either. [/rant]
Is there any way to disable the autoplay "feature" of the TV queue while using the Chromecast, or the TV queue altogether if needed? My current version of the YouTube app is 5.7.41 and I'm not sure when this bug was introduced exactly.
Let me know if there's more information needed, I've been out of the modding scene for awhile (I'm actually pleased with stock Android on my Nexus devices).
Thank you for any assistance that can be provided, even if it's the version number that I can roll back to before the TV queue.
Just to say that i also think its fu..in anoying! I was searching for some kind of solution and found this thread. Only thing left is to hope that youtube will change that in the upcoming update...
Well, I appreciate seeing that I'm not the only one being bothered by this. I had forgot about this thread do to the (seemingly) lack of interest and I was reading comments on my tablet while a video played on my Chromecast, when the video ended it changed to the next video on my tablet and gave no ****s as to what I was doing. Android/Google used to be the king in my book as they gave options for everything, but they seem to be following in the same footsteps as Apple nowadays and it is sorely disappointing.
Ok, this has got to be affecting more people now. I thought my newest mishap was just a glitch, but even after reboots the bug (feature) exists now anytime I stream anything from my laptop as well! The goddamn problem is also WORSE than the tablet issue because at least the tablet takes you to the video it is streaming so you can stop it an remove it from the queue. Apparently that wasn't a big enough F*** UP(!) for Google so now if you play a youtube video from a laptop that is part of a playlist, then play a different video that's not within that isn't within a playlist, when the non-playlist video is over the previous playlist will start playing again. ARE YOU ****TING ME!?!?! Now I have a playlist playing on my Chromecast that the ONLY ****ing way I can get it to stop is to start playing another video and then stop it!. Please inform me that the lead developer/designer setting the path for Chromecast has autism or some other disorder they have a legitimate reason for being this ****ing stupid.
I totally agree with you guys, it doesn't make any sense why it behave that way!!
bumping this, as i'm bothered by this as well
wonder why it doesn't affect more people though... it's probably not a widely used feature
I am also very pissed off with this! Every now and then, in the middle of the video, it pops up.
It stays there for hours (at the minimum) and it lowers that brightness and has the annoying symbol for it covering the content of the video!!!
This is extremely disappointing!
Bothered by the same thing. The problem was fixed a while ago, but now it seems it's back. As soon as I want to play/cast a video, the TV queue is populated with all other videos in that playlist. I would like it to play THAT video, then stop. :/ I can removed one and one video, but that sucks when it's maybe 60 videoes in that list.

Make MX Player Pro halt/pause at the end of each video.

Even as an 5+ years' MX Player Pro user, I still struggle with the limited options available for the end of video behaviour, which are:
(a) return to the media list, or
(b) run into the next unrelated video(*).
They go well along with media junky habits. However, both options feel awkward if you want a smooth, immersive, zero distraction experience, watching nothing but this one deeply moving masterpeace, today.
There definitely should be an option that
(c) simply halts playback at the end, showing a still image of the last frame
- just as you see a still image of the first frame at the beginning, i. e. before starting playback.
I'm stunned that apparently, this natural preference is neither considered nor discussed (publicly). I would greatly appreciate if it was implented!
Thank you!
(*) with or without having to anwer a popup question
(note: I've made a similar post to the FAQ thread, it didn't get blessed with an answer.)
It's a trip no one has responded to this. I have exactly this same wish. Every other video player I've used has an option to simply stop the video at the end or repeat it. MX Play has neither option. Don't
know why.
MikeO89 said:
It's a trip no one has responded to this. I have exactly this same wish. Every other video player I've used has an option to simply stop the video at the end or repeat it. MX Play has neither option. Don't
know why.
Click to expand...
Click to collapse
Thanks for your valuable comments. We would like to let you know that MX Player already has the option to loop the current file. Request you to enable the loop one function from the quick shortcuts on the screen or from the play menu.
With regards to stopping it on the last frame, we regret to inform you that it is not prioritised as we found it useless in most of the common use cases and will unnecessarily keep the decoder component active. However, you can enable the "back to list option" to close the player and return to file list on completion of the playback.
Trying to get used to this app and just can't do it. As far as I can tell this app wants you to do everything within the app like start a movie for example. It doesn't work as well when starting a video from outside the app. For example clicking on a movie from say the Gallery app. After playing a video, I want it to return to the app I came from but mxplayer wants to return to it's own videos list. I have tried to get a refund but the option is no longer there in the Google Play Store. I have uninstalled this app. Can I get a refund?
Edit: Never mind, got a refund. I'm good.

Categories

Resources