| Author |
Message |
|
magestik
Two Eyed Hopeful
Joined: Tue Dec 22, 2009 11:48 am Posts: 79
|
Hello,
I'm working on S-3D apps for Linux. I wan't to include MPO viewing or converting. But I can't find MPO files. Can you help me please ?
Thank you,
Magestik.
PS: Sorry for my bad english ... I'm french.
|
| Fri Feb 05, 2010 10:00 am |
|
 |
|
cybereality
3D Angel Eyes (Moderator)
Joined: Sat Apr 12, 2008 8:18 pm Posts: 10041
|
There are some MPO files in this post: viewtopic.php?p=32306#p32306
_________________
|
| Fri Feb 05, 2010 7:00 pm |
|
 |
|
quizpalme
One Eyed Hopeful
Joined: Wed Aug 25, 2010 2:11 pm Posts: 2
|
I have found the link to this page in the program from here: http://3dvision-blog.com/tag/mpo2jps/I like that program, but I needed to convert all files of a directory. I have modifed the BAT-file to convert all MPO-files of a directory to JPS-files: FOR /F %%i IN ('dir /b /s *.mpo') DO ( "%~dp0\MPO2Stereo.exe" "%%i" "%~dp0\jpg2jps.exe" "%%i" -delete ) Maybe this is helpfull for other people too...
|
| Wed Aug 25, 2010 2:23 pm |
|
 |
|
cybereality
3D Angel Eyes (Moderator)
Joined: Sat Apr 12, 2008 8:18 pm Posts: 10041
|
You can also simply drag a number of files over the EXE and it will convert them all at once.
_________________
|
| Wed Aug 25, 2010 8:40 pm |
|
 |
|
quizpalme
One Eyed Hopeful
Joined: Wed Aug 25, 2010 2:11 pm Posts: 2
|
Yes, I like your program and I can drag a number of files over the EXE, but that does not work with the batch-file, which creates a JPS-file too. You find it when you click on the link I have submitted before. I have now found a way to resize the new JPGs too. Maybe this is a more interesting feature for other users (because you can now create easily jps- and jpg-files for your website which your custom resolution): Code: @echo off set linksa=_L.JPG set rechtsa=_R.JPG
if %1.==loop1. goto loop1
FOR /F %%i IN ('dir /b /s *.mpo') DO call %0 loop1 %%i goto ende
:loop1 "%~dp0\MPO2Stereo.exe" "%2" set alt=%2 set neu=%alt:~0,-4% "c:\Program Files (x86)\IrfanView\i_view32.exe" "%neu%%linksa%" /resize_long=800 /aspectratio /resample /convert="%neu%%linksa%" "c:\Program Files (x86)\IrfanView\i_view32.exe" "%neu%%rechtsa%" /resize_long=800 /aspectratio /resample /convert="%neu%%rechtsa%" "%~dp0\jpg2jps.exe" "%2" -delete goto ende
|
| Fri Aug 27, 2010 3:27 pm |
|
 |
|
cybereality
3D Angel Eyes (Moderator)
Joined: Sat Apr 12, 2008 8:18 pm Posts: 10041
|
You may also want to take a look at my other utility, MPO2JPS, which converts directly to JPS: viewtopic.php?f=3&t=4419
_________________
|
| Sat Aug 28, 2010 2:24 pm |
|
 |
|
zbr
One Eyed Hopeful
Joined: Tue Sep 14, 2010 3:32 am Posts: 4
|
thanks for writing MPO2Stereo, cybereality thanks for writing SplitMPOv2, scrameta
they make the W1 usable ; P
|
| Tue Sep 14, 2010 3:44 am |
|
 |
|
cybereality
3D Angel Eyes (Moderator)
Joined: Sat Apr 12, 2008 8:18 pm Posts: 10041
|
No problem. Anything I can do to help.
_________________
|
| Thu Sep 16, 2010 8:07 pm |
|
 |
|
ALeeSVI
One Eyed Hopeful
Joined: Thu Jan 20, 2011 1:06 pm Posts: 1 Location: Toronto, ON Canada
|
Great program, but I was unable to use the MPO to JPG converter to convert by dragging from windows. It will run the converter, but the physical files are never created. I had to do it one by one from the dos promt.
|
| Thu Jan 20, 2011 1:38 pm |
|
 |
|
cybereality
3D Angel Eyes (Moderator)
Joined: Sat Apr 12, 2008 8:18 pm Posts: 10041
|
Yeah, there was a problem with the file paths. I know on Vista 32-bit it works perfectly and you can drag and drop files on the exe. Other OSes may not not work the same, but the files should still be created. Its just that the folder is wrong. I don't remember where the JPEGs went, but they're on your computer somewhere. You could try searching for the filename and see if it comes up (for example: myImage.mpo would become myImage_L.jpg and myImage_R.jpg so search for that).
_________________
|
| Thu Jan 20, 2011 8:07 pm |
|
 |
|
philipkd
One Eyed Hopeful
Joined: Mon Feb 28, 2011 11:25 pm Posts: 9
|
I tried the hex technique that cybereality suggested, and I noticed that the first image isn't always the left image. Here are two MPO files. What's interesting is they both have the same camera make, model, and software. I'm working on parsing the MPO file specification to see how I can determine the difference between the two.
DSCF0006 (chess) has the left-eye content as the first image. DSCF0035 (bench) has the right-eye content as the first image
I have a batch of 25 sample MPO files, and 6 of them has the left-eye first, but 19 of them have the right-eye first. These are taken from Fjufilm's Real 3D W1, W3, and Sony DSC-TX9
Any ideas?
Thanks,
- Phil
You do not have the required permissions to view the files attached to this post.
|
| Tue Mar 01, 2011 6:19 pm |
|
 |
|
cybereality
3D Angel Eyes (Moderator)
Joined: Sat Apr 12, 2008 8:18 pm Posts: 10041
|
Interesting. Not sure what the answer is. All the MPOs I was testing with I believe were Left eye first, and I tried at least a dozen. But its possible there is something else going on. I am planning on picking up the W3 at some point, so that will make it a lot easy for me to test these things and update the program.
_________________
|
| Tue Mar 01, 2011 6:33 pm |
|
 |
|
cybereality
3D Angel Eyes (Moderator)
Joined: Sat Apr 12, 2008 8:18 pm Posts: 10041
|
@philipkd: I just looked at those images you posted and they are fine. Tried them with the DDD photo viewer and they looked good. Then I converted them to JPS using my MPO2JPS utility and the JPS files were rendered correctly. So I assume those images had left image first, just like all the other ones I tried. So I am not sure what they were supposed to prove.
_________________
|
| Tue Mar 01, 2011 7:34 pm |
|
 |
|
philipkd
One Eyed Hopeful
Joined: Mon Feb 28, 2011 11:25 pm Posts: 9
|
Thank you for verifying this. You're right. I made the wrong guesses as to which eyes the images corresponded to. My mistake was not cropping appropriately according to parallax information. I found out how to do it here: http://www.davidglover.org/2010/09/usin ... xunix.html
|
| Tue Mar 01, 2011 7:49 pm |
|
 |
|
philipkd
One Eyed Hopeful
Joined: Mon Feb 28, 2011 11:25 pm Posts: 9
|
I just wanted to let you know I finished my website that'll convert MPO to various formats: http://3dporch.com/I gained a lot from the resources in this thread, so I want to thank you. Have a go at the site, and let me know what you think!
|
| Wed Mar 02, 2011 11:37 am |
|
 |
|
Mich
One Eyed Hopeful
Joined: Sat Mar 26, 2011 12:40 pm Posts: 1
|
Surry guys for stupid question, but I'am beginer on your forum and in 3D technologies also and not in good english speaking performance (Iam ukrainian). In this topic I found lot of useful link and participant of this forum seems very professional. In this case let me ask you, is the any analog of StereoTracer software for mac for making this lovely GIF. I mean not a simple gif animation from MPO file, I mean good mathematic algorithm as in link above. Thank for reply before 
|
| Sat Mar 26, 2011 12:56 pm |
|
 |
|
shortcipher
One Eyed Hopeful
Joined: Thu Jun 16, 2011 1:53 am Posts: 1
|
I used cybereality's idea to get the left and right images in Python using the Python Imaging Library. This example doesn't save the images, as I am using them in a Python app:-
from PIL import Image from StringIO import StringIO file = open(r'F:\My Pictures\FinePix W3 3D\DCIM\100_FUJI\DSCF0007.MPO', 'rb') left = Image.open(file) left.show() file.seek(4) # skip SOI and APP1 markers of 1st image data = file.read() # read both images file.close() offset = data.find('\xFF\xD8\xFF\xE1') # find SOI and APP1 markers of 2nd image file = StringIO(data[offset:]) # make a file containing the 2nd image right = Image.open(file) right.show() file.close()
|
| Fri Jun 17, 2011 9:21 pm |
|
 |
|
cybereality
3D Angel Eyes (Moderator)
Joined: Sat Apr 12, 2008 8:18 pm Posts: 10041
|
Ok cool.
_________________
|
| Sat Jun 18, 2011 8:42 am |
|
 |
|
ozzman2020
One Eyed Hopeful
Joined: Wed Apr 18, 2012 8:48 pm Posts: 2
|
Hey guys, thanks for all the great work. I recently bought a viewsonic 3DPF8 3d Digital frame. I converted my .mpo files to side-by-side .jpg using Mpo2Stereo, but when I view the image on the digital frame, it displays it as 2 2D side-by-side images instead of 1 3D image. Its not the frame, because I tried loading some side-by-side images that I found online and they seem to work great. I also tried the stereo photo maker, but get the same results. Any help is greatly appreciated. Thanks in advance!.
|
| Wed Apr 18, 2012 9:11 pm |
|
 |
|
cybereality
3D Angel Eyes (Moderator)
Joined: Sat Apr 12, 2008 8:18 pm Posts: 10041
|
Can you post one of the images that works so I can see the format? Also, you may want to try MPO2JPS and then renaming the files to JPG. viewtopic.php?f=3&t=4419&p=31457
_________________
|
| Wed Apr 18, 2012 9:29 pm |
|
 |
|
ozzman2020
One Eyed Hopeful
Joined: Wed Apr 18, 2012 8:48 pm Posts: 2
|
Thank you very much cybereality. I tried the MPO2JPS and it seems to work now. Thanks!!!
|
| Fri Apr 20, 2012 10:04 pm |
|
 |
|