How To Burn DVDs With Neutral Region Encoding

To change the region encoding byte from your region to region 0 (the all region code), compile this c program, cd to VIDEO_TS, and execute it:

/* compile me: */
/* gcc -o region-zero region-zero.c */
/* set my perms: */
/* chmod 0755 region-zero */
/* move me to someplace useful: */
/* mv region-zero /usr/local/bin */
/* run me in directory VIDEO_TS */

main() {
FILE * fd;
fd = fopen(“VIDEO_TS.IFO”,”r+”);
fseek(fd,0×23,SEEK_SET); /* hex position 0×23 is the region code byte */
putc(0×0,fd); /* write zeros to all the region code bits */
}

Link

You can also run Ifoedit with wine, and set the region free flag.

Comment (1)

  1. TenSigh wrote::

    Is this missing some include statements? Mine won’t compile and it starts off with not liking the ‘FILE’ function.

    Sunday, March 15, 2009 at 9:29 pm #