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.

Domains: forum.doom9.org / forum.doom9.net / forum.doom9.se

 

Go Back   Doom9's Forum > Capturing and Editing Video > DV
Register FAQ Today's Posts Search

Reply
 
Thread Tools Search this Thread
Old 27th October 2002, 13:08   #1  |  Link
bira
Registered User
 
Join Date: Nov 2001
Posts: 210
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
bira is offline   Reply With Quote
Old 28th October 2002, 12:24   #2  |  Link
taudule
Registered User
 
Join Date: Oct 2001
Location: France
Posts: 47
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...
.

Last edited by taudule; 28th October 2002 at 12:31.
taudule is offline   Reply With Quote
Old 28th October 2002, 14:30   #3  |  Link
bira
Registered User
 
Join Date: Nov 2001
Posts: 210
Thanks!

Just using "patch filename.avi" would work, right?
bira is offline   Reply With Quote
Old 28th October 2002, 14:54   #4  |  Link
taudule
Registered User
 
Join Date: Oct 2001
Location: France
Posts: 47
Of course. I just wanted to give you a mean to patch several files at a time.
.
taudule is offline   Reply With Quote
Old 28th October 2002, 16:07   #5  |  Link
bira
Registered User
 
Join Date: Nov 2001
Posts: 210
Can't I just use "patch *.avi" ?
bira is offline   Reply With Quote
Old 28th October 2002, 16:34   #6  |  Link
taudule
Registered User
 
Join Date: Oct 2001
Location: France
Posts: 47
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.
.
taudule is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 18:56.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.