Converting files to be viewed on other 3D devices? - RED Hydrogen One Questions & Answers

I just bought one because I want to take 3D pics again like my old Evo3D and, well, RHOs are dirt cheap.
When I try to get my pics off the device there's nothing but 2D jpeg files. Is there any application that will natively let me view these as layers or in some sort of SBS manner?
I've read that the other "panels" of the image are stored in the jpeg metadata. Does anyone know if that's true? (I'll peek later when I've got time) If so, and if there's no existing application, I'd love to write one for Windows at least for myself.

Small update, I have a very preliminary application which inspects the files but I'm just not finding the right data for the alternate images. I can see the main image's jpeg data and a 2nd set of Jpeg tags in some of the files, but so far they've all been thumbnails. (I'm sure EVERYONE is waiting with baited breath for my progress reports, heh.)

I am actually really interested in this. It would be great to be able to put put to a 3d file system that could be used on a projector etc. Since alot of the things in the hydrogen network were not shot on the hydrogen and we're converted ( if you look at the release date you can tell there was no hydrogen in 2007) it seems like somoneware someone knows how to convert normal things to show on the screen going backwards should be easy. ( Should be no idea how to do it myself ) Instagram phariss_design

Hi ... this is a little late and I may not have it down pat... but I have some data. I bought a new RHO cheap...and it has not come yet... but I have been researching things.
I found a post on YouTube...
Michael Johnston
1 year ago
3840x2160 are the largest dimensions. To upload h4v video to YouTube like this you just change the file name from .h4v to .sbs as far as still images go I am not sure if that is possible. The h4v format works with a specific screen made by a company called Leia. It uses nanoparticles somehow and without the screen you don't get the effect. Of course the screen technology is not specific to hydrogen, it seems Leia wants to make it available more widely. The Hydrogen One is just the first device to employ it.
This allows you to upload a side-by-side video. Also, there are 2 video streams that are combined to make the 3D video that results. These videos however are not simply 2 streams... they are basically 4 streams with 2 more streams being interpolated from the existing 2 streams.... this is to support the Leia light filed display and the way it works.
Obviously, a developer somewhere has the software to convert content... but with the RHO being abandonware... both as hardware and software... chances are good that we will never see this software for purchase or release. It is industrial Movie publication type software I am sure... and I would not have any idea where to even get it.
The programs in the RHO... the ones for downloading games and such ... are supposedly still open... at least the game one... but the sharing aspect I hear is kaput! I see that Leia does have ... if you are a developer... a beta software that you can get that transfers between formats into their Lightfield sharing site. I think you have to be a developer...and it will be commercial software as well... in terms of being a development tool. It is called "Lightfield Studio"...
Lightfield Studio - Developer Docs
Bring your videos to life by converting them into Lightfield videos optimized for LitByLeia devices.
docs.leialoft.com
I think it goes both ways.... MP4 to the MP4 H4V variant... and then back to normal video.
Lightfield Studio: Beta Version has three core features:
Orbital Content Conversion
Stereo Content Conversion
2D Content Conversion
Input Filetypes Supported:
3D SBS MP4: A 3D video in an SBS format appended with _2x1.mp4 at the end of the filename.
H4V: A file extension used in the RED ecosystem for 3D video files.
Export Filetype:
Quad Lightfield: Your converted output file will be an MP4 video in the Quad 4V Lightfield format, with _2x2.mp4 appended to the end of the filename.
For pictures and videos that you want to share as H4V check out the beta software "Lightfield Image Tools".
H4V Image tools for RED Hydrogen One
arch Hare Software Ltd. 85-87 Bayham Street Camden Town, London, NW1 0AG, United Kingdom
March Hare Software LLC. 200 Broadhollow Road, Suite 207, Melville, NY 11747, United States
March Hare Software UG. Europadamm 4, 41460 Neuss, Germany
March Hare Pty Ltd. PO Box 139 Narrabeen, NSW 2101, Australia
email [email protected]
It will populate the metadata on your exported H4V clips and will also add a watermark. It will output your 3D pics... as one image with side-by-side.
This is beta software...and runs under MacOS. For now it is command line driven... and it is beta. I don't know if this software will ever come out of beta or not. It would be nice if the author is able to do it. He says he will sell this software to others when it is done.
The magic behind the H4V format is hooked to the RHO screen by Leia. Without the physics of the display... you cannot directly output the file to a projector. If you can convert it to a SBS image then you can process it to the red/blue 3-D glasses and you could probably have some type of 3D presentation. Those types of glasses are available in plastic... and you don't have to have a cheap cardboard pair from a cheesy 1950's movie.
I am not an expert on this subject matter but I still have a first generation Lytro Lightfield camera.... and I still use it. I just wish that there was a way to convert those lotto images to the RHO format. Ah well, the Lytro software will export I think into 3D -Glasses type output...and that Leia software... seems to be able to take the SBS format and put it into the RHO format. Oh, that Leia software... they are developing it for Windows AND MacOS.
Hopefully I have been helpful. If you learn anything about this... hit me up... or for that matter ... IF ANY OF YOU OUT THERE READ THIS... hit me up ;-)

I heard from the developer who is writing the software "H4V Image Tools". Information: H4V Image tools for RED Hydrogen One. He is really nice. I told him that people are desperately looking for something that will convert one format … the H4V format… into some other 3D format and back and that I was looking for something to convert photos from the old Lytro Lightfield camera into a Red Hydrogen One picture format.
An excerpt from his e-mails is below:
----------
Yes, we’re still developing H4VAPP!
It’s a bit of a “side project” so it tends to get the schedule pushed around.
For regular updates, please follow us on Facebook:
H4V Image Tools
H4V Image Tools. 71 likes. H4VAPP is a tool that bulk converts Lightfield images (aka Leia Image Format or H4V images, e.g.: from Hydrogen One). The app may also be used with MPO files and images...
www.facebook.com
But I did update the license and add a requested feature back in November 2020, and I hope to make more progress in February 2021.
Due to the retirement of the RED Hydrogen One and the H4V file type, there is some re-branding also going on, and a new web site coming. Of course the product will be the same, and still support all the old file types.
H4VAPP already does what you describe.
It converts H4V format into Side-by-Side or separate L/R. It’ll also extract MPO’s. If there is a depth map it extracts that too. You can use the same command to convert side-by-side to H4V, though strictly speaking this is not necessary because the hydrogen and Leia hardware all read SBS OK. The Twin cameras on the H1 and LumePad hardware don’t include a ToF sensor, so there is no hardware based depth map. Any depth map from a LumePad or H1 is algorithmically derived from the SBS images. So therefore the depth map can be derived again from the SBS image. i.e.: the SBS image is the basis for everything else.
The very next thing I want to do is create MPO’s (aka Fuji) as an output format, since I think that’s considered a bit of a “standard” in the 3D world.
I guess in theory it should be possible to generate a depth map from a Lytro image and attach it to an image and you could then view that on Hydrogen or Leia hardware. It’s not a substitute for side-by-side. As I described above, without a ‘Right’ image, the H1/LumePad hardware is going to struggle. But with a single image and a depth map (aka iPhone/Google Phone) the Leia desktop software should be able to generate an H4V from it....
I would like to be able to generate iPhone compatible ‘portrait’/3D images from H4V. This would be a pre-requisite to doing anything with the Lytro AFAICT (see above).
----------
I am going to send him some "actual" Lytro Lightfield images taken with my camera. He said that demo images provided by a manufacturer are often slightly different than what the device actually produces. In the meantime, I am going to play around with his beta software and determine what is in the realm of possibility. The best thing is that the developer is working on the software still. The last part is obviously the Mac interface... but he is trying to get the functionality down pat first... the interface is the easy part. LOL.
Anyway... hopefully if you are reading this you will try the software and see if it fits your needs. More good news is that the developer says that "Any depth map from a LumePad or H1 is algorithmically derived from the SBS images. So therefore the depth map can be derived again from the SBS image. i.e.: the SBS image is the basis for everything else". I think I misspoke earlier in the post... I talked about 4 streams ... I think a better description is that you have 2 streams with the 2 other views decoded algorithmically as the file is decoded for play. Sorry for that distinction... but I think that is more correct... as the Red Hydrogen One uses 4V ... V as in views... for the Leia Lightfield display.
Hope this helps. I am going to determine for myself what my experience is with the phone when it arrives.
Any questions about my post, hit me up. ;-)

At the risk of writing a 3rd post in as many days, I wanted to let you know that there are programs out there that will convert "normal" videos into an SBS (Side-By-Side) format (or even "Anaglyph" format.
The SBS format is typically a Virtual Reality Format. The Anaglyph format uses the old red/cyan 3D glasses like the old style 3D movies you would watch years ago. I have a nice pair of Anaglyph plastic glasses I bought on Amazon. They are not expensive. YouTube also has a lot of both VR (SBS) and Anaglyph formatted videos.
So, the Holy Grail of this post... how to get normal movies converted to be able to be seen on the Red Hydrogen One? Most people think that you have to have a video file in the H4v format so that it can be played on the RHO. That is one way. This is where the beta software from H4V Image tools for RED Hydrogen One comes in. You can convert SBS video into H4V video using this program. I know I will buy it when it comes out of Beta.
More simple an easier is to just use the .SBS file. The RHO software can consume .SBS files directly without conversion. If you do convert a .SBS file to an MP4 file, you must append the file name with "_2x1" and us an extension of ".mp4". If you don't append that on the file name then the RHO player won't parse it correctly and recognize it for what it is.
I sent the H4V Image Tools developer a bunch of files... including the "living Image File" for a picture taken with my Lytro camera. he now has those and may be able to work some of those formats into his tool.
As an aside, I found a wonderful program that converts regular images into SBS files and Anaglyph files. The name of the software is "VideoSolo Video Converter Ultimate". I bought it for the Mac but they have a version for Windows. I paid $39.95 for it and I think it performs very well and is worth the money. You can use a NLE like Davinci Resolve or some other program to make SBS files, but this program does a wide range of file types, etc.
Check out the user guide at: User Guide: https://www.videosolo.com/video-converter-ultimate/user-guide.html
Anyway... I think I have pretty much added my two cents worth so to speak. Hopefully you have found my posts on this subject interesting.
Good luck...and keep enjoying your own content, etc. on the Red Hydrogen One. ;-)

TheMactrix said:
Hi ... this is a little late and I may not have it down pat... but I have some data. I bought a new RHO cheap...and it has not come yet... but I have been researching things.
I found a post on YouTube...
Michael Johnston
1 year ago
3840x2160 are the largest dimensions. To upload h4v video to YouTube like this you just change the file name from .h4v to .sbs as far as still images go I am not sure if that is possible. The h4v format works with a specific screen made by a company called Leia. It uses nanoparticles somehow and without the screen you don't get the effect. Of course the screen technology is not specific to hydrogen, it seems Leia wants to make it available more widely. The Hydrogen One is just the first device to employ it.
This allows you to upload a side-by-side video. Also, there are 2 video streams that are combined to make the 3D video that results. These videos however are not simply 2 streams... they are basically 4 streams with 2 more streams being interpolated from the existing 2 streams.... this is to support the Leia light filed display and the way it works.
Obviously, a developer somewhere has the software to convert content... but with the RHO being abandonware... both as hardware and software... chances are good that we will never see this software for purchase or release. It is industrial Movie publication type software I am sure... and I would not have any idea where to even get it.
The programs in the RHO... the ones for downloading games and such ... are supposedly still open... at least the game one... but the sharing aspect I hear is kaput! I see that Leia does have ... if you are a developer... a beta software that you can get that transfers between formats into their Lightfield sharing site. I think you have to be a developer...and it will be commercial software as well... in terms of being a development tool. It is called "Lightfield Studio"...
Lightfield Studio - Developer Docs
Bring your videos to life by converting them into Lightfield videos optimized for LitByLeia devices.
docs.leialoft.com
I think it goes both ways.... MP4 to the MP4 H4V variant... and then back to normal video.
Lightfield Studio: Beta Version has three core features:
Orbital Content Conversion
Stereo Content Conversion
2D Content Conversion
Input Filetypes Supported:
3D SBS MP4: A 3D video in an SBS format appended with _2x1.mp4 at the end of the filename.
H4V: A file extension used in the RED ecosystem for 3D video files.
Export Filetype:
Quad Lightfield: Your converted output file will be an MP4 video in the Quad 4V Lightfield format, with _2x2.mp4 appended to the end of the filename.
For pictures and videos that you want to share as H4V check out the beta software "Lightfield Image Tools".
H4V Image tools for RED Hydrogen One
arch Hare Software Ltd. 85-87 Bayham Street Camden Town, London, NW1 0AG, United Kingdom
March Hare Software LLC. 200 Broadhollow Road, Suite 207, Melville, NY 11747, United States
March Hare Software UG. Europadamm 4, 41460 Neuss, Germany
March Hare Pty Ltd. PO Box 139 Narrabeen, NSW 2101, Australia
email [email protected]
It will populate the metadata on your exported H4V clips and will also add a watermark. It will output your 3D pics... as one image with side-by-side.
This is beta software...and runs under MacOS. For now it is command line driven... and it is beta. I don't know if this software will ever come out of beta or not. It would be nice if the author is able to do it. He says he will sell this software to others when it is done.
The magic behind the H4V format is hooked to the RHO screen by Leia. Without the physics of the display... you cannot directly output the file to a projector. If you can convert it to a SBS image then you can process it to the red/blue 3-D glasses and you could probably have some type of 3D presentation. Those types of glasses are available in plastic... and you don't have to have a cheap cardboard pair from a cheesy 1950's movie.
I am not an expert on this subject matter but I still have a first generation Lytro Lightfield camera.... and I still use it. I just wish that there was a way to convert those lotto images to the RHO format. Ah well, the Lytro software will export I think into 3D -Glasses type output...and that Leia software... seems to be able to take the SBS format and put it into the RHO format. Oh, that Leia software... they are developing it for Windows AND MacOS.
Hopefully I have been helpful. If you learn anything about this... hit me up... or for that matter ... IF ANY OF YOU OUT THERE READ THIS... hit me up ;-)
Click to expand...
Click to collapse
You don't need to be a developer to use the lightfield studio Software. It is Beta software though, but the folks over at H4Vuser.net the Hydrogen (H4V) Content - Free Platform ... that has technical folks who worked on the hardware... as well as people like you and me.... indicate that this software was the software that was used to convert 2D content into 3D content for RHO consumption. If you have questions about the RHO, I suggest you go to this link and see what answers are there for you. Better yet, you could join the site.

we have the best online destination for converting your 2D and 3D images. also, 3d movie conversion and 3d movies are all gets high demand. but don't good application for converting 2d to 3d movies perfectly. The creation of stereoscopic images from monocular photographs do it difficult. my friend all are doing manually 3d movie conversion. i asked to many people about the 3d movie conversion app. but did not get useful answers.so I ask you all who know the best 3d movie conversion app? suggest here

Related

Kinoma Play on TG01 (touchflo3D killer)

hello all
kinoma Play looks really impressive in this video. http://www.wmexperts.com/next-release-kinoma-play-features-its-own-home-screens
are there any toshiba tg01 rom dumps floating around?
i hope people here are interested in porting this thing to our ''htc devices
This is just the next update ok Kinoma Play, which can be dowloaded on ur HTC.
Just wait few weeks for the update.
It's a good soft indeed.
wow this is very good!
the thing feels like its running on a 3GHZ machine with a geforce 8800
too damn impressive on the tg01
As this software comes bundle with TG01, Toshiba might shared the API for hardware acceleration to Kinoma Team. Remember this is a entire new processor platform (named Snapdragon). This software would never perform like this in ours old MSX7200 processors.
truly impressive
twice as smooth as the iphone with 2.5x the number of pixels so that makes it 5x as immpressive
its hard to tell where the constant 60FPS is comming from. is it from the cool coding tricks or from the CPU specs of the TG01. looks like both
I just love the Toshiba TG01
And Kinoma doesn't seem to be so bad either
Sascha
greatttttttt
I've tried this program, but there are a few hangups that really keep me from using it.
The first one is that it will only "intelligently" scan your device and storage card. There is no option to setup what folders to scan or leave out of a scan. They're only response as a "fix" to this is to put any directory you don't want scanned in the Program Files folder on your device/card. This means I have to redo my entire storage structure to work around their smart scan.
Also, they don't support .avi video files. They say "It's not used for legitimate content distribution" and that "it was always a poorly-defined format with many undocumented mutations that make it a mess to implement and support".
Well, one can argue the legitimacy of certain files, but that's not up to the video player to decide IMO. I have purchased several legitimate programs that convert my DVDs into avi files for mobile playback.
And as far as a mess to implement and support, hell, my very first Casio Cassiopeia supported avi playback with TCPMP. So that's just a cop out as far as I'm concerned.
Yes, the program looks great and has many awesome features, but it just falls short in trying to think too much for me. If I wanted to be a "dumb" user and have a "smart" media player, I'd buy an iPhone.
the new version was just released maybe these issues were sorted out. how about you upgrade and let us know
zarxic said:
The first one is that it will only "intelligently" scan your device and storage card. There is no option to setup what folders to scan or leave out of a scan. They're only response as a "fix" to this is to put any directory you don't want scanned in the Program Files folder on your device/card. This means I have to redo my entire storage structure to work around their smart scan.
Click to expand...
Click to collapse
New version has an advanced option add on that allows you select folders to be scanned. I haven't messed with it as my battery is dead but it sounds like it would help you.
how do i activate the free version of kinoma im getting invalid email man.. how do i do this guys?
Found this in another thread.
fesar said:
Hi,
Please find the link. I have uploaded the DUMP here. Please tell me how to proceed further and changing this DUMP from French to English.
http://rapidshare.com/files/253526287/Utils.rar
Regards,
Francis.
Click to expand...
Click to collapse
hey guys was just wondering what is the latest version of Kinoma Play thats out right now?

QMG files and Quram Slideshow?

Anybody know what QuramSlideshow.apk does? I've noticed it in /system/app while de-bloating a few Vibrants. I'm kind of wondering if it's the player for the mysterious .qmg file formats (the boot-up animations).
There is even a Quram Software in Korea, whose "about" page has this interesting comment:
we have studied and developed new technologies for digital image compression/edition, binary code, resource (font, wave, movie and so on) and data compression, and simultaneously have deployed embedded software related business while co-working with several leading companies in mobile area.
Click to expand...
Click to collapse
http://quramsoft.com/company/overview.asp
Are there decompilers for apk files? Or can they be analyzed as raw bytecode?
MV10 said:
Anybody know what QuramSlideshow.apk does? I've noticed it in /system/app while de-bloating a few Vibrants. I'm kind of wondering if it's the player for the mysterious .qmg file formats (the boot-up animations).
There is even a Quram Software in Korea, whose "about" page has this interesting comment:
http://quramsoft.com/company/overview.asp
Are there decompilers for apk files? Or can they be analyzed as raw bytecode?
Click to expand...
Click to collapse
http://www.cs.cornell.edu/home/vavasis/qmg-home.html possibly, but I am assuming this is the project. If someone wants to compile the software it looks like we could edit it.
nbs11 said:
http://www.cs.cornell.edu/home/vavasis/qmg-home.html possibly, but I am assuming this is the project. If someone wants to compile the software it looks like we could edit it.
Click to expand...
Click to collapse
No, that's an engineering analysis utility. Just a coincidence, but it's all you'll find if you only hit up Google with QMG.
QuramSlideshow.apk is the slide show app, for some reason the slide show feature of the gallery app is built as a different app all together. A simple rename of QuramSlideshow.apk made cause the slide show viewer not to pop up in the gallery app.
So anyone knows how to produce\edit\view .QMG video files like the "bootanimation.qmg" ??
Thanks
Not so far. Quram's Qmage codec (see URL below) is the codec for reading and writing QMG files but so far nobody has laid their hands on a copy to see what makes it tick.
http://quramsoft.com/solution_e/qmage.asp
MV10 said:
Not so far. Quram's Qmage codec (see URL below) is the codec for reading and writing QMG files but so far nobody has laid their hands on a copy to see what makes it tick.
http://quramsoft.com/solution_e/qmage.asp
Click to expand...
Click to collapse
They may be good at producing a codec but not so great at proof reading!
"Recently mobile manufacturer trends to employee more images to support fashionable UI and multi-functions, which results in increasing costs of memory and degrading user’s experience in UI performance. "
employ maybe?
cappysw10 said:
They may be good at producing a codec but not so great at proof reading!
"Recently mobile manufacturer trends to employee more images to support fashionable UI and multi-functions, which results in increasing costs of memory and degrading user’s experience in UI performance. "
employ maybe?
Click to expand...
Click to collapse
lol
btw, any news on the case? anyone knows where i ican get a copy of the encryption software or something like that?
Thanks,
Interesting, this one. Quram claim 80%-90% lossless compression. Really?
I did find some interesting StackOverflow posts that seem to centre around an image editing tool:
http://stackoverflow.com/questions/5607318/intptr-causing-memory-leak
http://stackoverflow.com/questions/5610294/opencv-memory-leak-issue
but we don't get any glimpse of compression, sadly. Whether this is related to the Qmage codec/toolset or not is anyone's guess.
I'm going to pull the QMGs off my Galaxy Tab and have a poke around with a hex editor, it COULD be really simple. There are a number of schemes you could use to get a variety of quick wins with low CPU compression. The key to working out the file format is to find the bits that couldn't be compressed first - they're likely to be a raw bitmap.
That's not a promise that anything can be done, though.
madkat said:
Interesting, this one. Quram claim 80%-90% lossless compression. Really?
I did find some interesting StackOverflow posts that seem to centre around an image editing tool:
http://stackoverflow.com/questions/5607318/intptr-causing-memory-leak
http://stackoverflow.com/questions/5610294/opencv-memory-leak-issue
but we don't get any glimpse of compression, sadly. Whether this is related to the Qmage codec/toolset or not is anyone's guess.
I'm going to pull the QMGs off my Galaxy Tab and have a poke around with a hex editor, it COULD be really simple. There are a number of schemes you could use to get a variety of quick wins with low CPU compression. The key to working out the file format is to find the bits that couldn't be compressed first - they're likely to be a raw bitmap.
That's not a promise that anything can be done, though.
Click to expand...
Click to collapse
Any update?

[Q] Gingerbread changed 3GP container format

I have a backend streaming 3GP server which accepts http streams from iOS or Android (up until gbread anyways) clients.
For Android I am using MediaRecorder with setOutputFile configured for a remote socket. For iOS I am reading a locally produced file on the fly.
There was no difference between iOS fixup and Android pre-gingerbread. Merely have server prepend header and do fixup of mdat atom after stream is done and you can find the moov atom.
Since gingerbread I am seeing that (for local files) moov is now before mdata (to aid in onTheFly streaming), which is fine.
However my server is unable to either do old-style fixup (video looks crappy) or trying a new technique where upon completion of stream I now try to move moov before mdata (and do fixups). With this latest technique I get perfect video but audio is missing. I got same results manually using HexEdit (for mac osx).
I have examined inside moov atom a bit and am seeing all child atom fixups done perfectly. I am also seeing sound related atom names.
Based on my read of 3gp spec I s/be able to remove 'free' atoms but when I do this video turns stuttery. I should also be free to have mdat before moov and vice-versa.
I am unable to do fixup anymore and am unsure why....clues?
I would've posted this in dev sections but am not worthy yet!
Its good you couldn't post it there... because its a question... it belongs here... or in the question section.
So development forums only contain statements?
I am also seeing things <not> I believe per spec in the unfixed-up output from MediaRecorder on server.
For one the file doesn't appear valid per 3gp spec. I see that ftyp atom length is 0 which is fine however there are several free atoms (2) and they are supposed to be removable per-spec. When I do this file won't play.
After ftyp it goes: free, mdat, free, moov.
The first 'free' atom has a length which is fubar. It should lead me to mdat atom I think.
I guess I will examine g'bread source.
mklein34 said:
So development forums only contain statements?
I am also seeing things <not> I believe per spec in the unfixed-up output from MediaRecorder on server.
For one the file doesn't appear valid per 3gp spec. I see that ftyp atom length is 0 which is fine however there are several free atoms (2) and they are supposed to be removable per-spec. When I do this file won't play.
After ftyp it goes: free, mdat, free, moov.
The first 'free' atom has a length which is fubar. It should lead me to mdat atom I think.
I guess I will examine g'bread source.
Click to expand...
Click to collapse
Whether or not it is a question is a pretty good litmus test for if it belongs in the development section. However, if you were to reword it to say you are working on a fix and would like help then it's a different story and no one can really say anything against it. Maybe lol
I'm not that familiar with 3gp or streaming but have you tried it on an AOSP ROM along with the stock one? Netflix for example will work on CM7, that is 2.3.4, but not on any of HTC's GB ROMs.
I don't believe it to be a problem in the android source (just yet) and am merely working to get a private application back up and running.
This is a somewhat 'undocumented' part of API so I can't complain too much about 'breakage' in gbread.
The 3gp spec specifies that following are singleton top level elems in 3gp container:
ftyp
mdat
moov
And each 'atom' or 'box' (which describes ftyp, etc.) consists of 4byte len followed by 4byte atom name....with minimum atom size being 8 bytes. ftype should come first and mdat/moov can be in either order with only caveat being that for live streaming you want moov first as it contains master metadata for everything else.
So fixup shouldn't be very hard with 3 toplevel atoms in file. Am examining diffs now between froyo and gbread versions of MediaRecorder sources.
I was happy to see gbread MediaRecorder support high quality AAC along with H.263/etc....now I can get quality samples for biometric analysis.

Split Video with NDK for Android...

Hello,
I have to do a task, that is more specific than a pure android development. I have to create an android application with a core module written in C or C++ language, doesn't matter, to do some video processing stuff. For example, the scenario is as follows:
1. The Android application captures 10sec video clip from the camera of an Android device;
2. Pass the captured file to the core of the android application;
The core should do the following:
3. Waits for the file, gets the file and opens it;
4. Splits the file into frames - for example, if the camera captures 30fps for 10 seconds video - 300 pictures in png or jpg format;
5. Do some calculations - for example it makes a histogram of a single image and stores it somewhere (db or file, doesn't matter);
6. Returns the result to the Android Code/Java/ which will render it on the default output - e.g. Screen, Console, etc...
How can I do this? I have searched how to split the video file into frames on linux, and I found that it could be done with ffmpeg, but I never dealt with ffmpeg and video/image processing... Could you help me somehow? I don't know what to do and where to start from...
Thanks in advance!
Best Regards,
v4o4ev
Possibly OpenCV / JavaCV
i dont know the exact code but i am sure you can get histograms and stuff with it.
try looking here
http://code.google.com/p/javacv/
Pvy.
pvyParts said:
Possibly OpenCV / JavaCV
i dont know the exact code but i am sure you can get histograms and stuff with it.
try looking here
http://code.google.com/p/javacv/
Pvy.
Click to expand...
Click to collapse
Thank you! The problem now is how to split the video into frames... I am searching about ffmpeg compatibilities, but for now I'm just researching... And one thing - I don't need the code, just the help to find some information about how to do it better and so on thank you so much for the reply - I will take a look now
Thanks!
Best Regards
v4o4ev said:
Thank you! The problem now is how to split the video into frames... I am searching about ffmpeg compatibilities, but for now I'm just researching... And one thing - I don't need the code, just the help to find some information about how to do it better and so on thank you so much for the reply - I will take a look now
Thanks!
Best Regards
Click to expand...
Click to collapse
In java I use the highgui classes, createframegrabber or something like that. I grab each frame and process it for item/motion detection. Then save a movie from it. Works well enough.
Sent from my Galaxy Nexus using xda premium

Converting files to be viewed on other 3D devices?

I just bought one because I want to take 3D pics again like my old Evo3D and, well, RHOs are dirt cheap.
When I try to get my pics off the device there's nothing but 2D jpeg files. Is there any application that will natively let me view these as layers or in some sort of SBS manner?
I've read that the other "panels" of the image are stored in the jpeg metadata. Does anyone know if that's true? (I'll peek later when I've got time) If so, and if there's no existing application, I'd love to write one for Windows at least for myself.

Categories

Resources