Changes between Version 1 and Version 2 of Ticket #8459, comment 24


Ignore:
Timestamp:
Mar 4, 2020, 12:30:28 PM (7 years ago)
Author:
villmer

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #8459, comment 24

    v1 v2  
    22First, I'm running MacOS and I've been unable to run the script as it is. Not sure why. You should consider adding information in your book on the differences in script development (and execution) between window and other OSs, such as linux and MacOS.
    33In the meantime, I've been removing the variables from the script and creating single command lines like so:
    4 
     4- - - - - - -
    55ffmpeg -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
    66
    77ffmpeg -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
    88
     9- - - - - - -
    910
    1011However, running the first command above gives me this error:
     12- - - - - - -
    1113ffmpeg version git-2020-01-04-3c8da7b Copyright (c) 2000-2020 the FFmpeg developers
    1214  built with Apple clang version 11.0.0 (clang-1100.0.33.16)