[FFmpeg-trac] #9376(avfilter:reopened): Wrong conversion from flat to equirectangular

FFmpeg trac at avcodec.org
Mon Aug 16 17:33:08 EEST 2021


#9376: Wrong conversion from flat to equirectangular
----------------------------------+------------------------------------
             Reporter:  jumpjack  |                    Owner:  (none)
                 Type:  defect    |                   Status:  reopened
             Priority:  normal    |                Component:  avfilter
              Version:  4.3.2     |               Resolution:
             Keywords:            |               Blocked By:
             Blocking:            |  Reproduced by developer:  0
Analyzed by developer:  0         |
----------------------------------+------------------------------------
Changes (by jumpjack):

 * status:  closed => reopened
 * resolution:  fixed =>

Comment:

 Ok try this sequence:

 {{{
 ffmpeg -hide_banner   -i .\test.png                         -vf
 v360=fisheye:e                      -y .\test_equi-test.png
 ffmpeg -hide_banner   -i .\test_equi-test.png               -vf
 v360=e:e:yaw=10:pitch=10          -y .\test_equi_rotated-test.png
 ffmpeg -hide_banner   -i .\test_equi_rotated-test.png       -vf
 v360=e:flat                         -y .\test_crop_flat-test.png
 ffmpeg -hide_banner   -i .\test_crop_flat-test.png          -vf
 v360=flat:e,colorkey=0xFFFFFF:0.1   -y .\test_crop_equi-test.png
 @set /p=Hit ENTER to continue...
 ffmpeg -hide_banner   -i .\test_equi_rotated-test.png -i
 .\test_crop_equi-test.png -filter_complex overlay -y .\test_merge_rotated-
 test.png
 ffmpeg -hide_banner   -i .\test_merge_rotated-test.png      -vf
 v360=e:e:yaw=-10:pitch=-10            -y .\test_merge-test.png
 }}}

 I added the pause because the colorkey is not working as I want, for each
 image the fill-in color is chosen randomly and I don't know how to
 determine it, so I manually re-save the png overlay with the right
 transparent color.

 I attached the initial equirectangular image and final result.
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/9376#comment:4>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list