Multiple files with one ffmpeg command?
-
- Posts: 33
- Joined: 03 Dec 2016, 16:03
- Location: Houston, TX
Re: Multiple files with one ffmpeg command?
I'm typing this into Windows Powershell. The single-file command works fine, but I don't know what's happening with the multi-file command.
Re: Multiple files with one ffmpeg command?
It's for cmd.exe, not powershell.
Steam • GitHub • Stack Overflow
The views and opinions expressed in my posts are my own and do not necessarily reflect the official policy or position of Blur Busters.
The views and opinions expressed in my posts are my own and do not necessarily reflect the official policy or position of Blur Busters.
-
- Posts: 33
- Joined: 03 Dec 2016, 16:03
- Location: Houston, TX
Re: Multiple files with one ffmpeg command?
I'm still quite new when it comes to CLIs and "advanced"/"deep" computer stuff.
Unfortunately with the Creator's Update, I'm no longer able to access cmd.exe from the right-click context menu, and I don't trust myself putting it back.
Conversely, when I search for the Powershell "equivalent" to the given command, all I see is a hodgepodge of Lovecraftian chaos.
Unless someone can dumb-down this "chaos" to a form I can comprehend, or if I'm given the exact command to enter, it seems as if I'm limited to entering the "basic" command 109 times.
Unfortunately with the Creator's Update, I'm no longer able to access cmd.exe from the right-click context menu, and I don't trust myself putting it back.
Conversely, when I search for the Powershell "equivalent" to the given command, all I see is a hodgepodge of Lovecraftian chaos.
Unless someone can dumb-down this "chaos" to a form I can comprehend, or if I'm given the exact command to enter, it seems as if I'm limited to entering the "basic" command 109 times.
Re: Multiple files with one ffmpeg command?
You press Winkey+R the "run" dialog pops up. You enter "cmd.exe" and hit enter. This gives you a cmd console.
Put your 1-78 videos in C:\videos. Then type:
Then you can run the command I gave you:
Wait it to finish. This will produce the resulting b*.mov files in C:\videos. Then, put your 79-109 videos in C:\videos and run this command:
Wait for it to finish and again you'll find the resulting b*.mov files in C:\videos.
Put your 1-78 videos in C:\videos. Then type:
Code: Select all
cd c:\videos
Code: Select all
for /l %x in (1, 1, 78) do ffmpeg -i a%x.mov -r 120 -vf "setpts=(1/5)*PTS" -an b%x.mov
Code: Select all
for /l %x in (79, 1, 109) do ffmpeg -i a%x.mov -r 120 -vf "setpts=(1/5)*PTS" -an b%x.mov
Steam • GitHub • Stack Overflow
The views and opinions expressed in my posts are my own and do not necessarily reflect the official policy or position of Blur Busters.
The views and opinions expressed in my posts are my own and do not necessarily reflect the official policy or position of Blur Busters.
-
- Posts: 33
- Joined: 03 Dec 2016, 16:03
- Location: Houston, TX
Re: Multiple files with one ffmpeg command?
Do press enter when I type cd c:\videos? Because it says it can't find the path.
Re: Multiple files with one ffmpeg command?
Did you create the C:\videos folder? You obviously need to create it.
Steam • GitHub • Stack Overflow
The views and opinions expressed in my posts are my own and do not necessarily reflect the official policy or position of Blur Busters.
The views and opinions expressed in my posts are my own and do not necessarily reflect the official policy or position of Blur Busters.
-
- Posts: 33
- Joined: 03 Dec 2016, 16:03
- Location: Houston, TX
Re: Multiple files with one ffmpeg command?
I'm using the one already there. Do I need to create a new one? If so in which location?
Re: Multiple files with one ffmpeg command?
It's just a temporary directory. It can be c:\bazagazabooba if you want to. Just a place to put your videos and convert them.
Steam • GitHub • Stack Overflow
The views and opinions expressed in my posts are my own and do not necessarily reflect the official policy or position of Blur Busters.
The views and opinions expressed in my posts are my own and do not necessarily reflect the official policy or position of Blur Busters.
-
- Posts: 33
- Joined: 03 Dec 2016, 16:03
- Location: Houston, TX
Re: Multiple files with one ffmpeg command?
When I open the command prompt it displays:
Microsoft Windows [Version 10.0.15063]
(c) 2017 Microsoft Corporation. All rights reserved.
C:\Users\jacob>
Microsoft Windows [Version 10.0.15063]
(c) 2017 Microsoft Corporation. All rights reserved.
C:\Users\jacob>
Re: Multiple files with one ffmpeg command?
Change to the directory first to the directory you've put your videos in. The "cd" command is used for that. So if you create a C:\videos folder, change to that with "cd c:\videos" (yes, press enter to enter commands.) Then you can run the previous commands I posted.
Steam • GitHub • Stack Overflow
The views and opinions expressed in my posts are my own and do not necessarily reflect the official policy or position of Blur Busters.
The views and opinions expressed in my posts are my own and do not necessarily reflect the official policy or position of Blur Busters.