amiaopensource / ffmpeg-artschool

FFmpeg Artschool: An AMIA Workshop
https://amiaopensource.github.io/ffmpeg-artschool/
GNU General Public License v3.0
53 stars 14 forks source link

ps1 issue 8: lumakey fail #30

Closed bturkus closed 3 years ago

bturkus commented 3 years ago
PS C:\Users\benjaminturkus\Desktop\ffmpeg-artschool-PS1\powershell_scripts> .\lumakey.ps1 -s C:\Users\benjaminturkus\Desktop\mandelbrot.mkv C:\Users\benjaminturkus\Desktop\ffmpeg-artschool-PS1\powershell_scripts\life.mov

Security warning
Run only scripts that you trust. While scripts from the internet can be useful, this script can
potentially harm your computer. If you trust this script, use the Unblock-File cmdlet to allow
the script to run without this warning message. Do you want to run
C:\Users\benjaminturkus\Desktop\ffmpeg-artschool-PS1\powershell_scripts\lumakey.ps1?
[D] Do not run  [R] Run once  [S] Suspend  [?] Help (default is "D"): R
Get-Item : Cannot bind argument to parameter 'Path' because it is null.
At C:\Users\benjaminturkus\Desktop\ffmpeg-artschool-PS1\powershell_scripts\lumakey.ps1:116
char:112
+ ... le:v 3 -filter_complex $filter -map "[v]" "$((Get-Item $video).Basena ...
+                                                            ~~~~~~
    + CategoryInfo          : InvalidData: (:) [Get-Item], ParameterBindingValidationException
    + FullyQualifiedErrorId : ParameterArgumentValidationErrorNullNotAllowed,Microsoft.PowerShe
   ll.Commands.GetItemCommand

-c:v: Protocol not found
Did you mean file:-c:v?
Get-Item : Cannot bind argument to parameter 'Path' because it is null.
At C:\Users\benjaminturkus\Desktop\ffmpeg-artschool-PS1\powershell_scripts\lumakey.ps1:123
char:118
+ ... lter_complex `"$($filter)`" -map `"[v]`" `"$((Get-Item $video).Basena ...
+                                                            ~~~~~~
    + CategoryInfo          : InvalidData: (:) [Get-Item], ParameterBindingValidationException
    + FullyQualifiedErrorId : ParameterArgumentValidationErrorNullNotAllowed,Microsoft.PowerShe
   ll.Commands.GetItemCommand

*******START FFMPEG COMMANDS*******

ffmpeg.exe -hide_banner -i  -c:v prores -profile:v 3 -filter_complex "" -map "[v]" "_lumakey.mov"

********END FFMPEG COMMANDS********
nkrabben commented 3 years ago

caught using template for single video scripts 1a503a3