[FFmpeg-user] use question

Adi Marvillo adi5 at gmx.at
Thu Mar 8 15:45:19 EET 2018



Am 2018-03-08 um 14:33 schrieb Vuerstaek, Maarten (EC):
> Hi everyone,
>
> I'm trying to do something simple that I can't find the documentation for.  I want to get all the video-files from a folder and cut them all into frames, all together in 1 folder.
> I am opening ffmpeg in powershell and using this command
> .\ffmpeg.exe -i C:\Users\VuerstaekM\Desktop\ffmpeg-20180307-5ab0ecf-win64-static\03072018\video.mp4 C:\Users\VuerstaekM\Desktop\ffmpeg-20180307-5ab0ecf-win64-static\pics2\frame%d.png
>
> Which works fine for a single video, but I have about a 100 a day, so I need a better solution.
>
> Thanks in advance guys!
> Maarten Vuerstaek
> IT Support
> [cid:image002.png at 01D2F4AB.E232CA10]
> Avnet Logistics
> Limesweg 4
> 3700 Tongeren
> BELGIUM
> +32 12 242 888
> IT-ISO-Tongeren at avnet.eu<mailto:IT-ISO-Tongeren at avnet.eu>
>
>
>
>
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".
I do not exactly understand what you want to do, but echo-ing or
performing a operation with all files in a directory runs like this in
linux shell == powershell:

>>> find . -name "*.mp4" -exec echo {} \;        # "." after "find "
means the actual directory
>>> find . -name "*.mp4" -exec ffmpeg  -i{} blabla \;

Cheers


More information about the ffmpeg-user mailing list