Infoseite // AVI Frame Rate of change of the command line



Frage von Martin.Schneider:


Hello together,

I regularly run many AVI files with the wrong frame rate.

With AVIfrate can of course change this simple - but always only one file is named: I have to click through my way through 500 files and 500 times to set the correct frame rate.

Is there a tool that makes the of the command line?

Important: The tool should really change the frame rate, not data copy into a new file with the correct frame rate, because the AVIs are very large and the disk space is usually not enough.

Since then I have the files in TMPGEnc Xpress transmuted into MPEGs, it would be synonymous okay if someone could tell me a trick with which I can say TMPG: Interpret the AVIs as films with x frames, he can not.

AVIsynth can indeed, but has the disadvantage of having to write a script for each source file ...

Thanks for your tips!

Best regards,
Martin

Space


Antwort von tommyb:

If you had to recode Avisynth mandatory.

For your plan would among others, in conjunction with a suitable ffmpeg batch file (*. bat) and the "copy" argument for video and audio.

The better and easier to use alternative, however, is the latest version of VirtualDub.

Upload an AVI file into the program and put video and audio to Direct Stream copy ". Then go to Frame Rate and change them according to your wishes.

Now go to File -> Batch Queue Operation -> Batch Wizard and select all AVI files you want to change.

Space


Antwort von Martin.Schneider:

Hello, and thank you for your response only once.

But ... Not that we talk past each other ...

Quote:
Important: The tool should really change the frame rate, not data copy into a new file with the correct frame rate, because the AVIs are very large and the disk space is usually not enough.


If I understand your post correctly, we are back to the copying ...?

Regards,
Martin

Space


Antwort von carstenkurz:

If this is done via the command line, you can delete it after each copying the original.


Otherwise, the approach is indeed on AVIfrate s.besten already. You might try it once with a macro recorder, and similar tools, such as AutoIt to synonymous au Français a GUI program.

http://www.autoitscript.com/autoit3/index.shtml

- Carsten

Space


Antwort von tommyb:

"Martin.Schneider" wrote: But ... Not that we talk past each other ...

[...]

Yes that's right. In this case, a group would create new files.

The net effect would then only have the help of automation using Autoit (as proposed), or actually a batch script like this one:

First file, for example aufruf.bat
[Code: 1:66 e133763c] @ echo off
START / B / WAIT changefps.bat "video files \ 0001.avi"
START / B / WAIT changefps.bat "video files \ 0002.avi"
START / B / WAIT changefps.bat "video files \ 0003.avi"
START / B / WAIT changefps.bat "video files \ 0004.avi" [/ code: 1:66 e133763c]

Second File: changefps.bat
[Code: 1:66 e133763c] @ echo off
set FullFileName =% ~ dpn1
set filename =% ~ n1
set extension =% ~ x1

IF NOT EXIST%% FullFileName goto END

ffmpeg BLABLABLA "FullFileName%%% extension%" BLABLABLA "% FullFileName _temp%% extension%"

del "%%% extension% FullFileName"
ren "%% FullFileName _temp% extension%" "% filename%% extension%"

: END
[/ Code: 1:66 e133763c]



And as a bonus, here's a script that files with a certain extension in a text file, writes:

[Code: 1:66 e133763c] @ echo off
DIR *. mkv / B / S / A>> "dateiliste.txt" code [/: 1:66 e133763c]

The first two scripts are quick & dirty, the last sparks on each case. Note, however, that no umlauts s.besten in batch files should look.

Space





slashCAM nutzt Cookies zur Optimierung des Angebots, auch Cookies Dritter. Die Speicherung von Cookies kann in den Browsereinstellungen unterbunden werden. Mehr Informationen erhalten Sie in unserer Datenschutzerklärung. Mehr Infos Verstanden!
RSS Suche YouTube Facebook Twitter slashCAM-Slash