Open muchosun opened 4 years ago
If you want to convert an EAC format video into a non-EAC one, you can try the script remap.pl. The usage is like:
./remap.pl iv=input.mp4 ov=output.mp4 il=layouts/cube.lt ol=layouts/equirectangular.lt res=1280x1080 ofs=shaders/equirectangular-eac.glsl ovs=shaders/vertex.glsl
Be sure ffmpeg and relevant libraries are installed. I hope this can help!
It say to me No such file or directory at ./remap.pl line 80. (((
Line 80 opens the layout file "layouts/equirectangular.lt". Does that file (and other .lt/.glsl files) exist? Also, post the output would be helpful if it doesn't work.
P.S.: I checked the code again and find that equirectangular-eac.glsl is not used to output an equirectangular video but taking this format as the input. Our artifact at this time cannot support converting an EAC video to an equirectangular video. But I think converting an EAC video to a CUBE video is supported: use the "ol=layouts/cube.lt ofs=shaders/uneqdeg-ecoef.glsl" instead in among the remap.pl's arguments.
Now I make work your script, and get new errors: [AVFilterGraph @ 0x7ffff31a6d80] No such filter: 'project' Error initializing complex filters. Invalid argument
The project filter is our implementation to transfer 360-degree videos from one format to another, which is not a standard component of FFmepg. The following link might be helpful to install and use it:
http://www.cs.binghamton.edu/~yaoliu/publications/mm19-miniview-comp.pdf
Mb I send you a video and you try convert it. If it possible, I will install all of you scripts to my system? Video in. 360 format
How can I convert .360 files using an important script. I realized that GoPro max uses the EAC projection. Is it possible to get advice from you on this issue. Ready to drop the source with GoPro Max. My telegram @muchosun