IVaN_000
17th January 2009, 22:24
What am I doing wrong? I have a subpicture.sup file, generated with txt2sup, which I need to extract its contents to graphically edit a subtitle line. This works fine:
DVDSupDecode.exe -bitmap -ntsc subpicture.sup
The result is:
subpicture.txt
subpicture_00000001.bmp
subpicture_00000002.bmp
etc.
So far so good. Every bmp is perfectly readable, and the .txt has the right frame numbers. Now, this doesn't work fine:
DVDSupEncode.exe -ntsc subpicture.txt
The resulting subpicture.sup looks like random pixels when muxed with Muxman or when viewed with DVDSubEdit. And looks like empty subtitles when viewed with SupViewer, with Position (0,0) and size (1,1). The original .sup looked fine when muxed, or when viewed with DVDSubEdit or SupViewer.
But... If I run:
DVDSupDecode.exe -bitmap -ntsc subpicture.sup
to the apparently corrupted .sup, it extracts successfully all the .bmps. So they actually were in there.
This happens even if I don't edit the .bmps. And it happens with every subtitle I tried. Any ideas?
DVDSupDecode.exe -bitmap -ntsc subpicture.sup
The result is:
subpicture.txt
subpicture_00000001.bmp
subpicture_00000002.bmp
etc.
So far so good. Every bmp is perfectly readable, and the .txt has the right frame numbers. Now, this doesn't work fine:
DVDSupEncode.exe -ntsc subpicture.txt
The resulting subpicture.sup looks like random pixels when muxed with Muxman or when viewed with DVDSubEdit. And looks like empty subtitles when viewed with SupViewer, with Position (0,0) and size (1,1). The original .sup looked fine when muxed, or when viewed with DVDSubEdit or SupViewer.
But... If I run:
DVDSupDecode.exe -bitmap -ntsc subpicture.sup
to the apparently corrupted .sup, it extracts successfully all the .bmps. So they actually were in there.
This happens even if I don't edit the .bmps. And it happens with every subtitle I tried. Any ideas?