xmar / 360Transformations

67 stars 16 forks source link

Transformations’ #8

Open qmphobby opened 8 years ago

qmphobby commented 8 years ago

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

yx-engineering commented 8 years ago

Same question +1

xmar commented 7 years ago

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 commented 7 years ago

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 commented 7 years ago

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 commented 7 years ago

Thank you!

truongthinh074 commented 7 years ago

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 commented 7 years ago

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 commented 7 years ago

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 notifications@github.com 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 https://github.com/xmar/360Transformations/issues/8#issuecomment-253904564, 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: _truongthinh074@gmail.com truongthinh074@gmail.com

xmar commented 7 years ago

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 commented 7 years ago

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 commented 7 years ago

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 commented 7 years ago

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 commented 7 years ago

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 commented 7 years ago

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 commented 7 years ago

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 commented 7 years ago

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