Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

DVD Video Programming

Name: Anonymous 2009-08-17 4:55

I'm interested in creating programs that would run on a DVD movie, but I can't find anything remotely useful.

I found DVDAuthor, but I don't think it really suits my purposes. I need more functionality than just setting subtitles and creating menus. I want to run actual programs... like using functions, setting variables, and all that jazz. Is this feasible? It seems like it should be, since interactive games like Scene It exist, but who am I to say. I can't find a god damn bit of information on this.

If anybody knows of any tutorials or libraries on how to do more extensive programming, it would be greatly appreciated if you would share. :)

I'm always open to learning new languages.

Name: Anonymous 2009-08-17 5:05

DVD is not Touring-complete.

Name: Anonymous 2009-08-17 13:58

>>1
You write in assembly.  You get a tiny register set, no RAM, and you're only output is what video you jump to.  No more will exist no matter how much you whine.

I can't find a god damn bit of information on this.
try Google.

Name: Anonymous 2009-08-17 17:22

>>2
Actually it might just be, as long as you don't expect your tape to be infinite (if you do, nothing is).

Name: Anonymous 2009-08-17 17:40

Dude, DVD is what has been. All the hip cats be programmin' Bluray nows.

Name: Anonymous 2009-08-19 3:01

>>4
Actually it might just be, as long as you don't expect your disc to be infinite (if you do, nothing is).
Fixed.

Name: DVD Touring-complete. 2009-08-19 3:22



    DVD is Touring-complete.

Name: Anonymous 2009-08-19 3:26

even if it was somehow touring complete, due to memory limitations, it's impossible to write many practical programs on it.

Name: Anonymous 2009-08-19 4:33

>>8
even if you somehow had a clue what sage mean, due to memory limitations, you seem to have failed to put that knowledge into practice

Name: Anonymous 2009-08-19 4:47

>>9
Fuck you, dipshit.

Name: Anonymous 2009-08-19 17:03

OP here. I don't need to be able to do anything too complicated. I would only be doing small calculations and storing the results in the registers (I only need 2). Then, play a specific video depending on the results.

Problem is, how do I get the program to boot before the player goes to the VIDEO_TS folder?
Also, what type of processor is used and do the IRQ values vary by brand/model? I have so many questions about this and nobody seems to know anything.

Inb4 Google

I have. If you somehow manage to prove me wrong, you could give me the keywords to search and show me up. Everything I get is software downloads and player troubleshooting. Absolutely worthless.


To guy saying not touring complete, do you know this for a fact? Can you cite something saying this? All I could find was one dude saying in theory it should be touring complete, but that doesn't get me very far.

Name: Anonymous 2009-08-19 17:28

>>11
I would be shocked if it isn't.

Name: Anonymous 2009-08-19 17:33

>>12
YOUはSHOCK

Name: Anonymous 2009-08-19 18:34

>>11
RTFM of your DVD authoring program. dvdauthor is fine.

>>12
NO MEMORY
REGISTERS ONLY

Name: Anonymous 2009-08-19 18:39

>>14
Registers ARE memory, except they're usually so little memory that you can't do any real programming in them.
You're forgetting that the DVD instruction set was made for making DVD menus, not actual programs.

Name: Anonymous 2009-08-19 18:50

Jesus Fucking Christ shut up already, nobody here on /prog/ is going to help you, since this place is a trolling shithole and I don't think FrozenShit knows anything about programming DVDs.

To answer your question, there are 16 general purpose registers. For the instruction set, see http://www.dvd-replica.com/DVD/vmcmdset.php and http://dvd.sourceforge.net/dvdinfo/index.html ("Virtual Machine coding" section.)

Good luck finding a decent piece of software that allows you to play with that though. I think I used DVDStyler sometime and I saw traces of programmability ("before menu action", "click action", "after play action" and shit like that with some pseudocode), but I can't remember. Heck, maybe it wasn't even DVDStyler. It was free software for sure, try them all, there aren't many of them.

Also these programs are really GUIs for serious CLI tools which actually generate the DVD files, I guess said tools can do it all. For example DVDAuthor, see http://dvdauthor.sourceforge.net/doc/dvdauthor.html (specially the "XML Description" and "Language Description" sections I guess).

Goddamn, I just did for you what you should have done yourself: five fucking minutes of Google. I hope you feelkindofbadaboutit:(

Name: Anonymous 2009-08-19 18:54

>>15
>except they're usually so little memory that you can't do any real programming in them
Well, 16 GPGs are plenty for DVDs, specially considering you can't really output anything, just play different stuff that is already in the DVD (be it images or video).

So unless you wanted to do some kind of movie makes / editor, you should be fine.

Name: Anonymous 2009-08-19 18:56

What CPU do dvd players use?

Name: Anonymous 2009-08-19 18:58

>>18
CPU
Did you mean DSP? Or maybe ASIC? In any case that question smells of trolling, it's like asking "What CPU do computers use?"

Name: Anonymous 2009-08-19 19:11

>>16
Fullwidth space is 0x2003.

Name: Anonymous 2009-08-19 19:52

>>20
Thanks, but I'm using an FULLY AUTOMATED TURNKEY ENTERPRISE WEB 2.0 BASED Fullwidth CONVERTER that kind of sucks and can't be updated. It generates '＀' for spaces. I'll try to remeber ' ', but why is it so far apart from the other fullwidth characters? No wonder the autoconverter fails. Jesus Fucking Christ, Unicode is such a mess.

Name: Anonymous 2009-08-19 19:59

>>20

U+0020    SPACE       
U+00A0    NO-BREAK SPACE        
U+1680    OGHAM SPACE MARK        
U+180E    MONGOLIAN VOWEL SEPARATOR    ᠎   
U+2000    EN QUAD        
U+2001    EM QUAD        
U+2002    EN SPACE        
U+2003    EM SPACE        
U+2004    THREE-PER-EM SPACE        
U+2005    FOUR-PER-EM SPACE        
U+2006    SIX-PER-EM SPACE        
U+2007    FIGURE SPACE        
U+2008    PUNCTUATION SPACE        
U+2009    THIN SPACE        
U+200A    HAIR SPACE        
U+202F    NARROW NO-BREAK SPACE        
U+205F    MEDIUM MATHEMATICAL SPACE        
U+3000    IDEOGRAPHIC SPACE     


I cried.

Name: Anonymous 2009-08-19 20:10

>>21
#define __STDC_ISO_10646__  200104L
#define _GNU_SOURCE

#include <stdio.h>
#include <stdlib.h>
#include <wchar.h>
#include <locale.h>

int main(int argc, char **argv)
{
    char *buffa = NULL;
    unsigned int n;

    if (setlocale(LC_CTYPE, "") == NULL) {
        fprintf(stderr, "Locale not specified. Fix this.\n");
        return 1;
    }

    while (getline(&buffa, &n, stdin) != -1) {
        char *c = buffa;

        while (*c) {
            if ('!' <= *c && *c <= '~')
                printf("%lc", *c + 0xfee0);
            else if (*c == ' ')
                printf("%lc", 0x2003);
            else
                printf("%c", *c);

            ++c;
        }

        free(buffa);
    }

    return 0;
}

Name: Anonymous 2009-08-19 21:46

>>23
... defining _GNU_SOURCE...
For the love of all that is holy, and some that is not, don't do that.

Name: Anonymous 2009-08-19 21:49

>>23

char *buffa = NULL;
unsigned int n;
getline(&buffa, &n, stdin);

I don't think so. NULL is a pretty bad place to write a string to.

Name: Anonymous 2009-08-19 21:59

>>24
I think GNU is a pretty cool guy. Eh is zombie and doesn't afraid of anything.

Name: Anonymous 2009-08-19 22:00

>>24-25
getline is a GNU extension to stdio.h. It allocates memory on its own when the first argument is NULL. That's why I defined _GNU_SOURCE, and that's why there's a free(buffa) there too.

If you don't like it, you can always replace it with getchar. Depending on how you use it it may not even change the behavior of the program.

Name: Anonymous 2009-08-19 22:01

>>25
lrn2c kthx

Name: Anonymous 2009-08-19 22:03

>>25
getline

Name: Anonymous 2009-08-19 22:38

I WANT TO PROGRAM DVDS

Name: I WANT TO PROGRAM DVDS 2009-08-19 23:15



    I WANT TO PROGRAM DVDS

Name: Anonymous 2009-08-19 23:35

I can almost smell a possible meme here

Name: Anonymous 2009-08-20 1:06

DVD Video Device

Name: Anonymous 2009-08-20 1:25

hay /prog/ halp
I WANT TO PROGRAM DVDS

Don't change these.
Name: Email:
Entire Thread Thread List