Playing DVDs in Rev?

Andre Garzia soapdog at mac.com
Sat Jul 9 23:49:05 EDT 2005


Richard,

the usual format is to have a folder called VIDEO_TS that contains  
one or more VOB objects. VOB are nothing but a fancy packing for the  
dvd media files. The standard encoding for DVD is MPEG-2 video, the  
Audio I think is AAC or something... but both are pretty standard,  
like, Rev Player will be able to play them. The trick thing is to  
unpack the VIDEO_TS VOB files. I think you could opt for some ways:

     (1) Use some F/OSS project to unpack the VOB files on the  
background in your app and then load them on a player object. There  
are many projects on sourceforge to deal with VOBs. Don't really know  
how much time it takes to do that, but it should not be long since  
you can't really do much number crunching with MPEG2 files and expect  
that consumer DVD players will be computing-wise enough to deal with  
it. I even expect VOBs just to be some concatenation of the files  
with  a TOC but I really don't know.
     (2) Use some F/OSS project to spawn a player window and play the  
thing. That's the approach taken by many players on VersionTracker,  
the popular MPlayer OS X does just that, and it works. But I think  
you might have some trouble bundling GPL apps with commercialware,  
look for a BSD licensed one and be happy.
     (3) Do you know in advance what DVDs you'll have to play? is  
this like training material with a rich client? if so, please for the  
love of consistency, just convert the DVDs back to MPEG2, burn new  
DVD-ROM, load it in a player with no fuss. (but that may not be an  
option...)
     (4) AppleScript to the rescue!!! use applescript + Apple DVD  
Player, just drive apples player!!! that's a hack, but we love hacks  
don't we?

Cheers
andre


On Jul 10, 2005, at 12:35 AM, Mark Wieder wrote:

> Richard-
>
> Saturday, July 9, 2005, 4:12:01 PM, you wrote:
>
> RG> I have a customer who would like to play a video DVD (true  
> video DVD,
> RG> not a video file on DVD-ROM) in one of our Rev-based products.   
> I'm not
> RG> familiar with any way to get a player to play a DVD -- is there?
>
> Have you looked at vlc?
>
> -- 
> -Mark Wieder
>  mwieder at ahsoftware.net
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your  
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>




More information about the use-livecode mailing list