Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Jan 2001 23:14:44 -0700
From:      "Long, Scott" <scott_long@btc.adaptec.com>
To:        "'Syam Gadde'" <gadde@cs.duke.edu>, freebsd-multimedia@freebsd.org
Subject:   RE: DVD playback
Message-ID:  <E0BFB46945D5D411BB590000D11ABE9203339C@btcexc01.btc.adaptec.com>

next in thread | raw e-mail | index | archive | help
> On some discs I get your error when running with the 
> dvd://t0c0t0 syntax.
> Hence, as I described it, a "semi-functional" IFO parser. :)  Perhaps
> sometimes-functional is more accurate.

I think I figured this one out.  The UDF functions allocate HUGE (60kb in
one case) arrays on the local heap.  Changing these variables to use malloc
fixed it right up.  I'm (theoretically) playing a movie now and auto-chapter
advance is working great, along with the ability to read the TOC when you
start the player.  No more need to specify a specific .VOB anymore!  Look in
xine/input/udf_dvd.c:UDFScanDir() to see the worst example of this (hint:
DVD_VIDEO_LB_LENGTH=2048), other functions in that file are in need of fix
up too.  I'd post patches, but this is all theoretical, of course.  btw, on
my PIII-700MHz, I'm getting anyware from 5% to 40% frame loss when the ac3
sound channel is enabled.

Scott


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-multimedia" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E0BFB46945D5D411BB590000D11ABE9203339C>