Android APK first test build

Added by n8fr8 over 5 years ago

I've posted the first Android APK build that includes the current state of implemented functionality of the first dev sprint as outlined here:
https://dev.guardianproject.info/versions/20

You can find the APK file here:
https://dev.guardianproject.info/attachments/download/72/mrapp-dev-0.0.1-alpha-20120712.apk
or via shorturl: http://goo.gl/q57gj
or qr code: http://goo.gl/q57gj.qr

This has been tested on Galaxy Nexus 4.1 and Samsung Galaxy Tab 4.0.3.

The basic features are available via menu options:
- import: add video from gallery
- record: record new video
- save: compile, save, compress video, save to gallery

the other features (settings, play, share) are not quite working

With this app you should be able to record multiple clips or import existing clips, and then save them to a new, compressed video clip. the compressions is 720x480, 1000kbps video, 96kbps audio (i think), mp4 h264 video and aac audio. This is the "standard" android format.

Please report back whether it works at all for you, and if so, then please file bug reports, or update the specific existing feature tickets you can find in the roadmap link above.


Comments

Added by Anonymous over 5 years ago

My device is a HTC desire Z running cm9 with Android 4.0.4.

The install went well and I find a not very clear icon in my menu, one or two persons on a planet?
When I start the programme I find a black screen with left the same icon and right the option import and record
The settings menu gives me Save, Share, Play and Settings

I can indeed import a video and when I do I see a screenshot in the black space in the middle and a message that a video has been added to the queue
The record options brings me to my default video app and I can use that, after making the video I do not return to the Mrapp or if I close the default app I am in the Mrapp again but to get my latest video I have to import again, if I do that I see two video's in my screen.

I press save and see that is doing up till 100 activities , the precentage goes from in different directions, not completely clear what it is doing.At some point it reaches 100% and 100/100 but it still is doing measurements, size is going up, time is going up, not clear til what point and than asks me to finish my action with which application and when I choose video it plays a new video in another format combining the two imported ones.

If I want to play them again, I can not do that from the Mrapp, even an import does not show it. If I go to the gallery and try to play it from there it gives a long load process but does not play a video in the end. If I go ES file explorer I find my files under:
Android -> data -> info.guardianproject.mrapp -> files where I find a lot more files than expected: mp4 and mpg for example:
output-1503611707.mp4 gives an error in the standard video app
output1266760994.mp4 in standard video app
output1266760994.mp4.full.mpg opens in vlc

The mp4 file in the standard video app gives a transparent red rectangle on the bottom of the video, the video resizes perfect together with the rectangle.

So looking at: With this app you should be able to record multiple clips or import existing clips, and then save them to a new, compressed video clip. the compressions is 720x480, 1000kbps video, 96kbps audio (i think), mp4 h264 video and aac audio. This is the "standard" android format.
I think it does except the record function, the record function connects to the default video app but does not include them in the Mrapp, I have to import them afterwards.

Hope this is helpful,
Hapee

Added by n8fr8 over 5 years ago

Very helpful! The fact that you were able to get this far on our first build is very promising.

If there are specific bugs or features to report (such as "Record video option does not return output video to MRApp") please file that using the "New Issue" option: https://dev.guardianproject.info/projects/wrapp/issues/new

Otherwise, this is EXACTLY the kind of report back we want. More below.

The install went well and I find a not very clear icon in my menu, one or two persons on a planet?

Yes it is a small reporter with a camera on a planet. A bad random choice :)

The record options brings me to my default video app and I can use that, after making the video I do not return to the Mrapp or if I close the

Strange. After you record the video, is there a checkbox/confirm option? We have only tested so far on official Android AOSP, not CM7/9 so we will make sure to do that.

I press save and see that is doing up till 100 activities , the precentage goes from in different directions, not completely clear what it is

The percentage output from the media processing engine definitely needs to be tuned. Calculations are a bit off.

Android -> data -> info.guardianproject.mrapp -> files where I find a lot more files than expected: mp4 and mpg for example:

In order to combine video files, we must convert each clip to MPG, and then concat them to together "cat foo1.mpg foo2.mpg > foo.full.mpg". It is that final file we then convert back to a "standard" Android MP4.

output-1503611707.mp4 gives an error in the standard video app
The mp4 file in the standard video app gives a transparent red rectangle on the bottom of the video, the video resizes perfect together with the >rectangle.

I am confused... you say the .mp4 gives an error in the standard video app, but the you report that it works?

The red rectangle is our first test of the "Draw" function of our media engine, and will eventually be used for text and graphics that make sense.

Added by Anonymous over 5 years ago

Ok, good to know that this is helpful and thanks for the feedback.

Two things:
I tried again to record from the Mrapp and indeed when I finish recording and click on the hyphen option I return to the Mrapp, so that is working. No bug to file here.

My explorer gave me a few files of which the camxxx.mp4 is probably the non edited original and than there are a bunch of files with the same name (different extensions) which work and there was one the output-1503611707.mp4 which did not have any other related file which gave the error "cannot play this video" guess something in the processing has gone wrong.

While saving, a random touch on the screen, even by accident, returns a cancelled

And working with videos eats batteries.

So guess no bug to be filed at the moment, good work!

Added by groksteady over 5 years ago

Hey, just wanted to report that this apk installed fine and somewhat worked on a Samsung Galaxy S (i9000), running AOKP Milestone 6 (Android 4.0.4) and Semaphore 1.3.0s kernel. It's also got the 720p patch by F4k for BigMem ROMs, without which I couldn't play or record in HD.

Record and import functions save well. I initially did a five-shot sequence expecting to trim and edit. Trying to put it together, I realized there wouldn't be an edit, and I cancelled out of what was a larger project than I expected. It wasn't epic, but maybe 45sec to 1min in total. After that I exited the app and my phone was incredibly laggy, so I went into recovery mode and wiped cache and Dalvik, just to be sure.

I uninstalled/reinstalle the app and made two short clips and imported them. It recorded fine. It's a bit slow from the point when you stop recording and then have the option to save or delete, and it took me a few seconds to figure out what that page meant. Importing was a little weird; I got the scroll list to "Complete action using" I thought it'd be an in-app file browser with thumbnails. Gallery that the best (only real?) choice here. Then it was weird to see that the files I wanted were available both in my Camera's sdcard folder and guardianproject's Android/data folder. It'd be nice if adding to the queue showed the clips as thumbnails, but I assume that's not a goal with this release. The save function ended with the option to play; I don't have a default player set, so I was given the option of using Gallery or MX Player. I chose MX Player and it played well, except that there was a red rectangle around MX Player's onscreen media button/timeline bar. Then when I exited the app and saw the files in my Gallery, I played it there in Gallery and the red rectangle was still there.

I'll play around more later tonight, but this was fun. Nice work.

BTW -- on the icon, how about a planet with lens aperture blades layered on it?