New in version 2
You can now drop multiple files at once instead of one at a time!
About deSEDG
The Samsung X210L MPEG4 Sports Camcorder is a cool little camera that doesn't work on Mac out of the box. For some reason Samsung decided to replace a few crucial characters DIVX with SEDG rendering the file unusable unless you use their software. They also decided not to support the mac, claiming that the format is incompatible.
To convert the movies back into a recognizable DivX format, you have modify the file changing both instances of SEDG to DIVX. Drop all your SEDG files onto this app and it will change them back for you almost instantanous.
Playing back the videos
You will need to have a DivX codec to view the videos. The easiest thing to do is download VLC - a cross-platform player that works with most codecs (including DivX). Alternatively you can download Perian, which allows QuickTime to play many codecs (including DivX).
Not working for you?
If you have any problems, feel free to email me anotherjesse@gmail.com
Geeky Details
The code is a simple C++ snippet to change all instances of SEDG in the first 256 bytes. Converting the console application to a "Mac" application was done using DropScript. Then the resources were tweaked (change the icon, menus, added help).
Complete Source:
#include <fstream>
using namespace std;
int main(int argc, const char *argv[]) {
if (argc<2) return 1;
char t[5];
t[4]=0;
for (int j=1; j<argc; j++) {
fstream daFile(argv[j], ios::in | ios::out | ios::binary);
for (int i=0; i<256; i++) {
daFile.seekg(i);
daFile.read(t, 4);
if (strncmp(t,"SEDG",4)==0) {
daFile.seekp(i);
daFile.write("DIVX", 4);
}
}
daFile.close();
}
}
