![]() |
Batch Fourcc Changer
Does anybody know of a Fourcc changer that would take a file list or folder and change the fourcc of all files?
Thanks |
I have had the same Pb.
Here's the way i change "dvsd" to "CDVC" fourcc, using a tiny patch tool and a unix shell. I know it's not simple, but it works ok and fast. - Step 1 - First you have to create the patcher. go to http://www.ibsensoftware.com/download.html and download aPATCH v0.34 Write the folowing script in a text file (this one is to write the CDVC fourcc) ^FILECL^ ^GOTO^ 70 ^WRITE^ 43 44 56 43 ^GOTO^ BC ^WRITE^ 43 44 56 43 ^PRINT^ "Done!\n" ^END^ Of course, "43 44 56 43" is for "CDVC"; change this if you want another fourcc. Call it "cdvc.aps" for example, then run (from where you unziped apatch34.zip) : apatch cdvc.aps It creates "patch.com". Rename it to "cdvc.com" put this file in your windows directory (winnt). - step 2 - You also need a shell Get "UnxUtils.zip" at http://unxutils.sourceforge.net/ and put the sh.exe in your windows directory (winnt). - step 3 - Write the folowing script in a text file, call it "fcc.txt" for example, and put it in the same directory than your avi files: for i in *.avi do mv "$i" foo cmd /c "cdvc foo" mv foo "$i" done - step 4 - Open a command box, go to where your avi files are, run "sh fcc.txt". Well, that's all... the next time you only have to do step 4. Hope this helps... . |
Thanks!
Just using "patch filename.avi" would work, right? |
Of course. I just wanted to give you a mean to patch several files at a time.
. |
Can't I just use "patch *.avi" ?
|
No you can't, because the patch.com created by apatch.exe doesn't allow multiple files on command line, and also doesn't handle well long filenames (reason of the "mv $i foo").
Also i rename patch.com to cdvc.com to avoid confusion with the unix util called patch comprised in the unixutils package, if you install it all. . |
| All times are GMT +1. The time now is 18:56. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.