Re: [FFmpeg-user] v360 filter with h_offset option

2022-01-12 Thread Michael Koch
Am 12.01.2022 um 19:00 schrieb Paul B Mahol: On Wed, Jan 12, 2022 at 5:00 PM Michael Koch wrote: Hello, I have a projector with a 180° fisheye lens in a dome. Things are easy if the lens is at the center of the dome. Any input format can be transformed to fisheye output with the v360 filter.

Re: [FFmpeg-user] v360 filter with h_offset option

2022-01-12 Thread Paul B Mahol
On Wed, Jan 12, 2022 at 5:00 PM Michael Koch wrote: > Hello, > > I have a projector with a 180° fisheye lens in a dome. Things are easy > if the lens is at the center of the dome. Any input format can be > transformed to fisheye output with the v360 filter. But things are > getting complicated

[FFmpeg-user] v360 filter with h_offset option

2022-01-12 Thread Michael Koch
Hello, I have a projector with a 180° fisheye lens in a dome. Things are easy if the lens is at the center of the dome. Any input format can be transformed to fisheye output with the v360 filter. But things are getting complicated when the lens isn't at the dome's center. Let's assume the

Re: [FFmpeg-user] V360 filter

2020-01-24 Thread Paul B Mahol
On 1/24/20, Michael Koch wrote: > Paul, > >> Single-fisheye is done as output only currently, user need to set both >> h_fov and v_fov. > > I'm just testing the new single fisheye options and as far as I have > tested, everything looks good. > Would it be possible to add an option for filling the

Re: [FFmpeg-user] V360 filter

2020-01-24 Thread Michael Koch
Paul, Single-fisheye is done as output only currently, user need to set both h_fov and v_fov. I'm just testing the new single fisheye options and as far as I have tested, everything looks good. Would it be possible to add an option for filling the unused area with a user-defined color,

Re: [FFmpeg-user] V360 filter

2020-01-17 Thread Paul B Mahol
On 9/20/19, Michael Koch wrote: > Paul, > >> I'm working on dual fisheye output > > I've tested the new "ball" output format and found no problems. It gives > the same output as my workaround with the remap filter. > > The only thing that's still missing is single-fisheye as input and >

Re: [FFmpeg-user] V360 filter

2019-09-20 Thread Michael Koch
Paul, I'm working on dual fisheye output I've tested the new "ball" output format and found no problems. It gives the same output as my workaround with the remap filter. The only thing that's still missing is single-fisheye as input and output format, with a user-defined field of

Re: [FFmpeg-user] V360 filter

2019-09-13 Thread Michael Koch
Am 12.09.2019 um 14:55 schrieb Paul B Mahol: Question: If the input format is stereographic and the output format is equirectangular, what's then the meaning of the h_fov and v_fov parameters? Do they define the field of view of the stereographic input (that would make sense), or do they

Re: [FFmpeg-user] V360 filter

2019-09-13 Thread Michael Koch
Paul, I'm working on dual fisheye output I've tested double-fisheye input and output and found no problems. This can also be used for tilting of 180° single-fisheye images: set "IN=IMG_077.jpg" :: Input image or video set "PITCH=0"    :: Rotation angle around X axis set

Re: [FFmpeg-user] V360 filter

2019-09-12 Thread Paul B Mahol
On 9/12/19, Michael Koch wrote: > Am 12.09.2019 um 14:05 schrieb Paul B Mahol: >> On 9/12/19, Michael Koch wrote: >>> Paul, >>> >> Make this correction: >> >> new_fov = 180 * tan(fov/4) >> >> where fov the the field of view you get from the command line, and >> fov_new is

Re: [FFmpeg-user] V360 filter

2019-09-12 Thread Michael Koch
Am 12.09.2019 um 14:05 schrieb Paul B Mahol: On 9/12/19, Michael Koch wrote: Paul, Make this correction: new_fov = 180 * tan(fov/4) where fov the the field of view you get from the command line, and fov_new is the value that you use for the filter. You must exclude values too close to

Re: [FFmpeg-user] V360 filter

2019-09-12 Thread Paul B Mahol
On 9/12/19, Michael Koch wrote: > Paul, > >> Make this correction: new_fov = 180 * tan(fov/4) where fov the the field of view you get from the command line, and fov_new is the value that you use for the filter. You must exclude values too close to 360°, because

Re: [FFmpeg-user] V360 filter

2019-09-12 Thread Michael Koch
Paul, Make this correction: new_fov = 180 * tan(fov/4) where fov the the field of view you get from the command line, and fov_new is the value that you use for the filter. You must exclude values too close to 360°, because 360° stereographic projection is impossible. P.S. of course fov

Re: [FFmpeg-user] V360 filter

2019-09-11 Thread Paul B Mahol
On 9/11/19, Michael Koch wrote: > Am 11.09.2019 um 14:23 schrieb Michael Koch: >> Am 11.09.2019 um 13:13 schrieb Michael Koch: >>> Paul, >>> > I think the field of view isn't correct in the stereographic output. > > Here is a script for making really nice test images, for measuring

Re: [FFmpeg-user] V360 filter

2019-09-11 Thread Michael Koch
Am 11.09.2019 um 14:23 schrieb Michael Koch: Am 11.09.2019 um 13:13 schrieb Michael Koch: Paul, I think the field of view isn't correct in the stereographic output. Here is a script for making really nice test images, for measuring field of view: Well spotted, thanks, should be fixed.

Re: [FFmpeg-user] V360 filter

2019-09-11 Thread Michael Koch
Am 11.09.2019 um 13:13 schrieb Michael Koch: Paul, I think the field of view isn't correct in the stereographic output. Here is a script for making really nice test images, for measuring field of view: Well spotted, thanks, should be fixed. The field of view of the stereographic output

Re: [FFmpeg-user] V360 filter

2019-09-11 Thread Michael Koch
Paul, I think the field of view isn't correct in the stereographic output. Here is a script for making really nice test images, for measuring field of view: Well spotted, thanks, should be fixed. The field of view of the stereographic output isn't correct. Here are a few examples: set in

Re: [FFmpeg-user] V360 filter

2019-09-10 Thread Paul B Mahol
On 9/10/19, Michael Koch wrote: > Paul, > >> >>> v_fov is limited to 90°, that's not enough for little planet. >> I increased it. > > ok, I will test it as soon as it's available at Zeranoe. > > I think the field of view isn't correct in the stereographic output. > > Here is a script for making

Re: [FFmpeg-user] V360 filter

2019-09-10 Thread Michael Koch
ffmpeg -i %IN% -i %IN% -lavfi "[0]transpose=1[left];[1]transpose=2,geq=r='255-r(X,Y)':g='255-g(X,Y)':b='255-b(X,Y)'[right];[left][right]hstack" -y %OUT% Cant you use here negate filter instead of geq? oops, yes that would be better. I did search for "invert" and didn't find it... Michael

Re: [FFmpeg-user] V360 filter

2019-09-10 Thread Paul B Mahol
On 9/10/19, Michael Koch wrote: > Paul, > >> >>> v_fov is limited to 90°, that's not enough for little planet. >> I increased it. > > ok, I will test it as soon as it's available at Zeranoe. > > I think the field of view isn't correct in the stereographic output. > > Here is a script for making

Re: [FFmpeg-user] V360 filter

2019-09-10 Thread Michael Koch
Paul, v_fov is limited to 90°, that's not enough for little planet. I increased it. ok, I will test it as soon as it's available at Zeranoe. I think the field of view isn't correct in the stereographic output. Here is a script for making really nice test images, for measuring field of

Re: [FFmpeg-user] V360 filter

2019-09-10 Thread Paul B Mahol
On 9/10/19, Michael Koch wrote: > Paul, > >> Stereographic projection aka little planet added as both input and output. >> Single fisheye is little different. > > v_fov is limited to 90°, that's not enough for little planet. I increased it. > >> >>> -- I think the d_flip parameter needs some

Re: [FFmpeg-user] V360 filter

2019-09-10 Thread Michael Koch
Paul, Stereographic projection aka little planet added as both input and output. Single fisheye is little different. v_fov is limited to 90°, that's not enough for little planet. -- I think the d_flip parameter needs some more documentation. What's an "in-depth" flip? It swaps back with

Re: [FFmpeg-user] V360 filter

2019-09-10 Thread Paul B Mahol
On 9/6/19, Michael Koch wrote: > Hi all, > > I see the progress on the V360 filter... that's very good! > A few suggestions for improvement: > -- (Single-)Fisheye as input and output format, with a selectable field > of view up to 360° (little planet). Stereographic projection aka little planet

Re: [FFmpeg-user] V360 filter

2019-09-10 Thread Michael Koch
Am 06.09.2019 um 15:14 schrieb Michael Koch: Hi all, I see the progress on the V360 filter... that's very good! A few suggestions for improvement: -- (Single-)Fisheye as input and output format, with a selectable field of view up to 360° (little planet). -- A "color" option for filling those

[FFmpeg-user] V360 filter

2019-09-06 Thread Michael Koch
Hi all, I see the progress on the V360 filter... that's very good! A few suggestions for improvement: -- (Single-)Fisheye as input and output format, with a selectable field of view up to 360° (little planet). -- A "color" option for filling those areas that have got no data from the input. --