Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Transformations’ #8

Open
qmphobby opened this issue Sep 8, 2016 · 16 comments
Open

Transformations’ #8

qmphobby opened this issue Sep 8, 2016 · 16 comments

Comments

@qmphobby
Copy link

qmphobby commented Sep 8, 2016

Hi ,It's difficult for me to understand every transformation programs,so do you have a detail introduction of these transformations.such like code document,or some papers about the transformations.thank you

@qmphobby qmphobby closed this as completed Sep 8, 2016
@qmphobby qmphobby reopened this Sep 8, 2016
@qmphobby qmphobby closed this as completed Sep 8, 2016
@qmphobby qmphobby reopened this Sep 8, 2016
@yx-engineering
Copy link

Same question +1

@xmar
Copy link
Owner

xmar commented Sep 22, 2016

Sorry for the moment we don't have any other documentation that what is already inside the git. You can find some configuration information here: https://github.com/xmar/360Transformations/tree/master/transformation

@BraveRichard
Copy link

Hi.What is the role of this RotMat, the return value of GetRotMatrice in the program of projection? Could you please give me some relevant information , a paper is better.Thank you.

@xmar
Copy link
Owner

xmar commented Sep 29, 2016

The RotMat is the rotation matrix deduced from the Tait–Bryan angles: https://en.wikipedia.org/wiki/Rotation_matrix#In_three_dimensions
To generate the rotation matrice we used the Z_X_Y multiplication: https://en.wikipedia.org/wiki/Euler_angles#Rotation_matrix

@BraveRichard
Copy link

Thank you!

@truongthinh074
Copy link

Hi. I run trans software with 1 flow (layoutFlow= [["../test.mp4", "Equirectangular", "CubeMap", "FlatFixed"]]), but it stops at the very first step (no usage of cpu), the command lines where it stop are:

Output #0, mp4, to '../out1FlatFixed.mp4':
Stream #0:0: Video: hevc (libx265), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 30 tbn, 30 tbc
Read image 0
Flow 0: Equirectangular -> CubeMap -> FlatFixed
init done
opengl support available

Could you please give me more instruction on this problem. Thank you

@xmar
Copy link
Owner

xmar commented Oct 14, 2016

Hi. Could you provide me the configuration file and the video you used so that I can try on my side and check what went wrong?

@truongthinh074
Copy link

In the link below I sent a compressed file including config and test video
files. Thank you for your support


sample_config.tar.gz
https://drive.google.com/file/d/0B3bilyOKCl40WFpnNFhRR0xCQmM/view?usp=drive_web

On Sat, Oct 15, 2016 at 2:57 AM, Xavier Corbillon [email protected]
wrote:

Hi. Could you provide me the configuration file and the video you used so
that I can try on my side and check what went wrong?


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#8 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ARGh0goDWvwTZwCCfBC5t8-WLVtBDy9_ks5qz97GgaJpZM4J3qv8
.

*Đặng Trường Thịnh *

*Electrical and Electronic Engineering - K58 *

Hanoi University of Science and Technology

Phone:* +84 166 3 564 561*

_E-mail: [email protected] [email protected]

@xmar
Copy link
Owner

xmar commented Oct 16, 2016

Hi !!
On my side the current version of the code works perfectly on my linux machine with your config file + your mp4 video. You may find the output here: https://drive.google.com/file/d/0B-iqfpMd7gbGdElqN2ZxRzN4UUE/view?usp=sharing

You probably have some missing ffmpeg libraries.

@qmphobby
Copy link
Author

Hi,I am confused about the 'canomicTopPlan' and 'the circumscribed sphere' in Pyramid transform.Could you give some more information about Pyramid?Thank you!

@truongthinh074
Copy link

truongthinh074 commented Oct 29, 2016

Hi. I have 2 questions on using this software.
1/ Could i generate output video in layout form like cubemap (not only FoV output). I tried to change the config file but i cant get the proper output video. Here are my config file and input video:
https://drive.google.com/file/d/0B3bilyOKCl40R21RWEJKSGJMeUk/view?usp=sharing

2/ I want to have Cubemap layout arranged in 2x3, not like plus sign as the software generates. For example:
a.Cubemap layout arranged in 2x3
14881182_939165379561342_750146074_o
b.Cubemap layout as in your software generates:
cube
Could u show me the part that configures the positions of each side in cubemap layout?

Thank you!

@xmar
Copy link
Owner

xmar commented Nov 2, 2016

Hi,

You can use the layout "type=cubeMap" instead of "type=cubeMap2". You will get a 2x3 Cube map projection. For the moment it is not possible to change the face position with the configuration file.

@tatbocmui
Copy link

Hi xmar, I want to transform from cubemap layout to equirectangular layout. But when I put the video which has cube layout (I transformed it by facebook tool). But it has a problem: the last line is Segmentation fault (core dumped), roll up I see other line: Unsupported number of stream for CubeMap input video: 1 instead of 6. How to fix this?

@xmar
Copy link
Owner

xmar commented Nov 3, 2016

Hi tatbocmui, if you are using the last version on the git, you can set the "useTile" to false in the configuration of your input CubeMap. It will indicate that only one video track is used (i.e. all faces are in the same picture).

@tatbocmui
Copy link

I also set useTile=false, but also have the same issue. I try to project my equirectangular video to cube layout video but when I see the output, it only has 1 face of cube (not 6 cube in 1 picture). I have attached my videos (equi and cube) and my config: https://drive.google.com/open?id=0B14_PI_W1oA0ZzVuYl9PeGNrZnc . Can you check my config for me because I set almost like what you said

@dangtapta
Copy link

Hello Xmar,
I want to use your tool to compare the different of PSNR between cubemap layout, and equirectangular layout. Can I ask you some questions?
+) your tool can accept input video which layout is cube? (I do not mean transform from equi to cube like in your comment in config file, I mean use cube layout for input)
+) When I extract FOV from your tool, I set output frame is 1920x1080 but when I save it, or use my mouse to see the ordinate it only show 1200x675. What's wrong with it? I show my picture in below
screenshot from 2016-11-11 15-32-30

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants