PDA

View Full Version : Stream[?].Addcomment.Language


zeiRAM
16th September 2003, 16:40
Hello,

i try to automate vdmod, and have a little problem with setting the right language tag in vdmod. i processed a file as normal and saved the proccesssettings for analyse. there are 2 tags called
VirtualDub.stream[0].AddComment(0x00010085,"","English[eng/en]");
VirtualDub.stream[1].AddComment(0x000100A5,"","German[ger/de]");
but i couldnt find a list of the right language values , only the 2/3 code language identifier. So i checked the vdub/vdmod forum and found a article about mkv and tags.
http://forum.doom9.org/showthread.php?s=&threadid=59063&highlight=AddComment+Language
There u can read something about VirtualDub.stream[?].SetLanguage(string ISO_Code) but i didnt find this command in any docu ;(
so how i can set the language tag ?

Thx for help

Suiryc
16th September 2003, 19:02
Hi

VirtualDub.stream[0].SetLanguage("eng");
VirtualDub.stream[1].SetLanguage("ger");

should do the same than what you got.
(Almost) Each language has a 3-letters code defined in the ISO-639-2 (http://lcweb.loc.gov/standards/iso639-2/englangn.html) specs. That's this 3-letters code you need to give to SetLanguage.