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 |
|
|
#1 | Link |
|
Registered User
Join Date: Apr 2003
Posts: 19
|
FourCC changer utility for the command line
If anyone has a need for changing the FourCC of their AVIs (e.g. to force use of the Canopus codec) then I knocked up a quick tool that runs from the command line.
It's very simple but quite powerful and it's best use is as a shortcut on the Windows desktop. My shortcut recursively changes all AVIs under my capture directory to 'cdvc' with just a double-click. I'll create a proper page for it in due course but right now it can be found here: http://www.logiqx.com/AVI2CDVC/avi2cdvc.zip Maybe it's of use to a few people. I got bored with changing files one at a time through a GUI so I knocked this together in about an hour. The C source is included for programmers. Logiqx |
|
|
|
|
|
#2 | Link |
|
Registered User
Join Date: Mar 2003
Location: Japan
Posts: 3
|
Logiqx,
Nice work. I was thinking about such tool since switched to use Canopus codec. Going further, it would be perfect to embed this functionality directly into capture program. Good candidate is windv, however Petr hasn't opened the code so far. Don't know whether he's reading this forum, but I dropped him this idea, will see if he will be interested. |
|
|
|
|
|
#3 | Link |
|
In bytes we trust
Join Date: Oct 2002
Location: Torres Beach, Brazil
Posts: 279
|
Thanks for this simple and useful tool, my matrox with dv camera sometimes capture in dvcam fourcc and sometimes dvpro fourcc, or both at same time... your app solve my problem.... change one-by-one is impossible... in 386 clips...
![]() Thanks a lottt! Malow |
|
|
|
|
|
#7 | Link |
|
Registered User
Join Date: Dec 2015
Posts: 1
|
Hello,
more than 12 years later the avi2cdvc tool helped me to solve a problem, so I thought maybe someone will find my post helpful. I enountered a low-end Philips television that was unable to play AVI files with "DX50" fourCC code - I presume the reason is licensing. As I wanted to be able to play a HDD with a mix of AVIs of various formats, I created the follwing command/script. I was lucky enough to have Bash installed on Windows, but I assume it can be rewritten for the Windows command line too. The "script" finds files with "DX50" fourcc and creates a copy of them with the fourCC updated to XVID. Known bugs: if there is the string "DX50" anywhere in the filename, it considers it a DX50 fourcc. The ffprobe.exe is a part of the ffmpeg installer for windows. for foo in *; do ~/Downloads/ffmpeg-20151227-git-baf4c48-win64-static/bin/ffprobe.exe "$foo" 2>&1 | grep -iq dx50; if [ $? == 0 ] ; then echo "$foo"; cp "$foo" "$foo".xvid.avi ; ~/Downloads/avi2cdvc/avi2cdvc.exe -f XVID "$foo".zenekxvid.avi ; fi ; done I hope it helps at least somebody in the next 10 years and thanks for creating the avi2cdvc.
|
|
|
|
![]() |
|
|