PDA

View Full Version : DVDSpy patch to return more DVD info in Disc.Insert event


sshumate
October 13th, 2002, 03:55 PM
I have written a patch to DVDSpy 1.31 (DVDSpy.dll) that adds addtional payloads to the Disc.Insert event. The payloads are the DVD's aspect ratio, display format, and TV standard. These are returned in payloads 3-5. Payloads 1-2 are as they exist in the standard DVDSpy.

The payload values are:
Aspect Ratio (pld3): "16:9", "4:3", or "none"
Display Mode (pld4): "neither", "pan-scan", "letterbox", or "both"
Video Standard (pld5): "NTSC" or "PAL"

This patch works by reading the main title's IFO file to extract the appropriate flags. I did this strictly for myself so I can change resolutions depending on the aspect ratio before launching my DVD player. I thought others might find it useful.

The patch can be found at:
http://home.austin.rr.com/shumate/files/DVDSpyPatch.zip

Comments welcome. It would be nice to see something like this incoporated in the next version of DVDSpy. :D

Cheers,
Scott

MMcM
October 13th, 2002, 03:55 PM
I merged your changes in (thanks for including the context diffs and making it easy) and sent Ron the updated version.

rickd
October 13th, 2002, 03:55 PM
:D awsome just what I have been waiting for aspect ratio and pal ntsc for resolution selection to powerstrip great work.

rick

Phat Phreddy
October 13th, 2002, 03:55 PM
OK this brings a nice touch of an idea up...

When a DVD changes 'titles' inside a single DVD disk does each section have a specific AR assigned or only the disc as a whole...

I find it is not uncommon for a disk to have a 4:3 intro followed by a 16:9 menu follewed bya 4:3 FBI warning followed by a 16:9 main feature (I am overemphasizing but you cath my drift)... This confuses TheaterTek and some or all of this gets displayed in a incorrect AR... The feature is usually right but the rest is often wrong...

I would like a way of detecting (if it is even flagged) the AR of the parts of a stream and applying AR control to it via TT...

Am I making sense ??
Is this possible ??

If so what do I need to read up on ??

Thanks

Promixis
June 14th, 2003, 09:56 PM
Are all the insert events in DVD Spy drive specific?

ie. Since I do use a DVD drive and DAEMon tools, I would prefer a generic DVD insert event where the pld contained the drive letter. Would make writing rountines for starting programs etc easier.

Mike