VideoHelp Forum
+ Reply to Thread
Results 1 to 10 of 10
Thread
  1. Hi

    I was looking for a program that I can modify hex values of an .avi file from mjpg to MJPG because my NLE IS cAse SenSitiVe and use the internal mjpeg reader only when recognize the MJPG string, and not mjpg (if found "mjpg" use external VFW or directshow codec).

    Click image for larger version

Name:	VD5.JPG
Views:	1010
Size:	158.2 KB
ID:	24725

    I need to build a batch file so it automatically modify (from mjpg to MJPG) the file o:\temp.avi, is exist a program than can do this?

    e.g. I launch c:\cat.bat, press the return, and it automatically change o:\temp.avi without doing anything else

    This because files generate in virtualdub have alwais the word of fourcc tag in lowercase

    thanks
    Quote Quote  
  2. There are scripts if you do a search on the web that will do it if those hex values are in same place on all files. Those are easy script. Much harder to do if location of hex value changes in each file but it can be done. Search 'batch file to change hex values' in google for program that does it. One is found on Softpedia but it is not free.
    Extraordinary claims require extraordinary evidence -Carl Sagan
    Quote Quote  
  3. VirtualDub has a built in hex editor. Tools -> Hex Editor...
    Quote Quote  
  4. You can also use AVI FourCC Changer.
    Quote Quote  
  5. Originally Posted by poisondeathray View Post
    yes but doesn't work with large file :

    D:\>gpatch d:\virtualdubok.avi /i0112 /s"MJPG"
    GPATCH 2.1 - File Patching Utility
    Copyright (C) 2002-2010 by Greg Wittmeyer - All Rights Reserved

    Failed to open file "d:\virtualdubOK.avi": The file is too large to load into
    memory.


    D:\>

    I have write and email to the author of virtualdub but I don't have answer
    Quote Quote  
  6. Originally Posted by marcorocchini View Post
    I have write and email to the author of virtualdub but I don't have answer
    About what?
    Quote Quote  
  7. Originally Posted by marcorocchini View Post

    yes but doesn't work with large file :

    D:\>gpatch d:\virtualdubok.avi /i0112 /s"MJPG"
    GPATCH 2.1 - File Patching Utility
    Copyright (C) 2002-2010 by Greg Wittmeyer - All Rights Reserved

    Failed to open file "d:\virtualdubOK.avi": The file is too large to load into
    memory.
    That's not a vdub error, that's a gpatch memory error

    Another option is to batch ffmpeg -vtag "MJPG" with -c:v copy -c:a copy, but ffmpeg does not allow in place editing (slower because it has to stream copy audio/video)
    Quote Quote  
Visit our sponsor! Try DVDFab and backup Blu-rays!