[FFmpeg-trac] #8459(avfilter:open): V360 + BLEND
FFmpeg
trac at avcodec.org
Wed Mar 4 14:27:22 EET 2020
#8459: V360 + BLEND
-------------------------------------+------------------------------------
Reporter: villmer | Owner: villmer
Type: enhancement | Status: open
Priority: wish | Component: avfilter
Version: git-master | Resolution:
Keywords: v360 | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+------------------------------------
Comment (by villmer):
I'm not highly familiar with FFMPEG so please forgive my lack of expertise
on this.
First, I'm running MacOS and I've been unable to run the script as it is.
Not sure why.
So, I've been removing the variables from the script and creating single
command lines like so:
'''ffmpeg -f lavfi -i nullsrc=size=640x640 -vf
"format=gray8,geq='clip(128-128/11.5*(180-191.5/(640/2)*hypot(X-640/2,Y-640/2)),0,255)',v360=input=fisheye:output=e:ih_fov=191.5:iv_fov=191.5,format=rgb24"
-frames 1 -y mergemap.png'''
'''ffmpeg -i in.mp4 -i mergemap.png -lavfi
"[0]format=rgb24,split[a][b];[a]crop=ih:iw/2:0:0,v360=input=fisheye:output=e:ih_fov=191.5:iv_fov=191.5[c];[b]crop=ih:iw/2:iw/2:0,v360=input=fisheye:output=e:yaw=180:ih_fov=191.5:iv_fov=191.5[d];[c][d]
[1]maskedmerge,format=rgb24" -t 10 -y out.mp4'''
However, running the first command above gives me this error:
'''ffmpeg version git-2020-01-04-3c8da7b Copyright (c) 2000-2020 the
FFmpeg developers
built with Apple clang version 11.0.0 (clang-1100.0.33.16)
configuration: --prefix=/usr/local/Cellar/ffmpeg/HEAD-3c8da7b --enable-
shared --enable-pthreads --enable-version3 --enable-avresample --cc=clang
--host-
cflags='-I/System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/
-fno-stack-check' --host-ldflags= --enable-ffplay --enable-gnutls
--enable-gpl --enable-libaom --enable-libbluray --enable-libmp3lame
--enable-libopus --enable-librubberband --enable-libsnappy --enable-
libtesseract --enable-libtheora --enable-libvidstab --enable-libvorbis
--enable-libvpx --enable-libx264 --enable-libx265 --enable-libxvid
--enable-lzma --enable-libfontconfig --enable-libfreetype --enable-frei0r
--enable-libass --enable-libopencore-amrnb --enable-libopencore-amrwb
--enable-libopenjpeg --enable-librtmp --enable-libspeex --enable-libsoxr
--enable-videotoolbox --disable-libjack --disable-indev=jack
libavutil 56. 38.100 / 56. 38.100
libavcodec 58. 65.102 / 58. 65.102
libavformat 58. 35.101 / 58. 35.101
libavdevice 58. 9.103 / 58. 9.103
libavfilter 7. 70.101 / 7. 70.101
libavresample 4. 0. 0 / 4. 0. 0
libswscale 5. 6.100 / 5. 6.100
libswresample 3. 6.100 / 3. 6.100
libpostproc 55. 6.100 / 55. 6.100
Input #0, lavfi, from 'nullsrc=size=640x640':
Duration: N/A, start: 0.000000, bitrate: N/A
Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 640x640
[SAR 1:1 DAR 1:1], 25 tbr, 25 tbn, 25 tbc
Stream mapping:
Stream #0:0 -> #0:0 (rawvideo (native) -> png (native))
Press [q] to stop, [?] for help
[v360 @ 0x7fd41dc0c000] [Eval @ 0x7ffeeed800a0] Undefined constant or
missing '(' in 'fisheye'
[v360 @ 0x7fd41dc0c000] Unable to parse option value "fisheye"
[Parsed_v360_2 @ 0x7fd41dc0bf40] Option 'ih_fov' not found
[AVFilterGraph @ 0x7fd41de02840] Error initializing filter 'v360' with
args 'input=fisheye:output=e:ih_fov=191.5:iv_fov=191.5'
Error reinitializing filters!
Failed to inject frame into filter network: Option not found
Error while processing the decoded data for stream #0:0
Conversion failed!'''
--
Ticket URL: <https://trac.ffmpeg.org/ticket/8459#comment:24>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list