6

360 度動画を正距円筒図法から立方投影図法に変換したいと考えています。どうすればffmpegでこれを行うことができますか? 他に効率的なオープンソースのアプローチは何ですか?

4

3 に答える 3

4

You can try out by compiling with the transform filter, developed by Facebook

Transform

Transform is a video filter that transforms 360 video in equirectangular projection into a cubemap projection

Build Instructions:

Transform is implemented as an ffmpeg video filter. To build Transform, follow these steps:

Checkout the source for ffmpeg

Copy vf_transform.c to the libavfilter subdirectory in ffmpeg source

Edit libavfilter/allfilters.c and register the filter by adding the line: REGISTER_FILTER(TRANSFORM, transform, vf); in the video filter registration section

Edit libavfilter/Makefile and add the filter to adding the line: OBJS-$(CONFIG_TRANSFORM_FILTER) += vf_transform.o in the filter section

Configure and build ffmpeg as usual

于 2016-02-01T07:14:33.200 に答える