Log in

View Full Version : Pipe youtube-dl into FFMPEG, alternative to $() for CMD


stranno
12th October 2019, 22:04
I want to do that but I only find scripts for PowerShell $() function.

Since I'm working in Windows 7, can anyone find an alternative for CMD? I guess a FOR+DO would work but I cant imagine how :o

This is the script for PowerShell.

ffmpeg -i $(yt -f bestvideo -g 'https://www.youtube.com/watch?v=ID') GIF.gif

Than you guys!

stax76
12th October 2019, 22:45
Migrate everything to powershell. :)

stranno
12th October 2019, 22:57
Migrate everything to powershell. :)
Imagemagick doesnt work in PowerShell, unfortunately (you can call CMD tho).

I really want to find a working CMD script if possible.

stax76
12th October 2019, 23:20
Unfortunately I cannot help with cmd because I don't know cmd well because I always felt it's a bad thing, cryptic and limited.

I was able to greatly improve my powershell knowledge last week though, is there is an official statement that Imagemagick is incompatible with powershell or is it your experience, maybe you are doing it the wrong way.