Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
14th October 2010, 17:49 | #1 | Link |
Registered User
Join Date: Sep 2010
Posts: 46
|
Concatenating 2 passes in FFmpeg : OS dependency
Hi !
Just a quick question because at the moment I don't have the material to test it out myself... I learned that it is possible, in FFmpeg, to run many encodings in a single command line. Example taken from this site : ffmpeg -i fluid8.mov -y out1.mp4 && ffmpeg -i fluid8.mov -y out2.avi && ffmpeg -i fluid8.mov -y out3.flv && ffmpeg -i fluid8.mov -y out4.mov So the "&&" separator does that. Now my question is : will it work the same on any OS, or is it a Windows-only syntax ? Regards. |
14th October 2010, 18:12 | #2 | Link |
Registered User
Join Date: Mar 2005
Location: Finland
Posts: 2,641
|
"&&" is the same on Unix/Linux. The following command is only run when the previous command ends successfully (returns a zero exit code). If you want all the commands to run one after another regardless of their exit status, use "&" with cmd.exe and ";" on Unix/Linux (where "&" would make the previous command run in background).
|
14th October 2010, 20:57 | #4 | Link | |
Registered User
Join Date: Jun 2005
Posts: 278
|
Quote:
|
|
Tags |
ffmpeg, linux, windows |
Thread Tools | Search this Thread |
Display Modes | |
|
|