Re: libdvdread patch for command mneumonics

H}kan Hjort <[email protected]> Thu, 6 Nov 2003 18:37:41 +0100
Newsgroups gmane.comp.video.ogle.devel
Message-ID <[email protected]>
I'm sorry for not answering your email sooner.

Thu Oct 16 2003, Scott T. Smith wrote:
> Hi, I know you guys know how to decode the DVD VM command set, but it'd
> be really nice if you'd include that in libdvdread, since it can already
> decode everything else.
> 
Thanks, though this has been in the libdvdread cvs for a while now
(since end of June).  The files are called cmd_print.[ch] instead of
vm_print.[ch].  I'm sorry for the duplicated effort.  I really should
have moved that code to libdvdread right from the start.

> Also, it'd be nice to have a utility to dump the VOB NAV packets.
> 
This is also a good addition, anotherone which should have been added
long ago.

> I've included a patch that does both -- note that the vob_dump utility
> is pretty poor since it doesn't use the actual libdvdread routines to
> open and read the VOB file (just to print the output).
> 
Yes that was always the trouble, and finding a nice way to let the user
specify what parts should be 'dumped'.

vob_dump isn't a good name though since there is another util by that
name.  I'll try to come up with something and commit it to CVS.

> Should ifo_dump be removed from ogle, since it's really more of a
> libdvdread type application (and the code is duplicated there anyways?) 
> It would be nice if 'make install' would install ifo_dump and the
> assorted utilites from libdvdread instead of me having to copy them out
> myself.
> 
Well, I'm not to sure I'd want, a libdvdread.rpm say, to install user
programs (binaries).  Though I agree that they perhaps don't belong in
Ogle either.   Creating yet another package also seems wasteful.
Suggestions people?

-- 
HÃ¥kan Hjort