Welcome to the Invelos forums. Please read the forum rules before posting.

Read access to our public forums is open to everyone. To post messages, a free registration is required.

If you have an Invelos account, sign in to post.

    Invelos Forums->DVD Profiler: Plugins Page: 1 2 3 ...9  Previous   Next
New Plugin: Profile Contribution Assistant (DVDPca)
Author Message
DVD Profiler Desktop and Mobile Registrantmediadogg
Aim high. Ride the wind.
Registered: March 18, 2007
Reputation: Highest Rating
United States Posts: 5,078
Posted:
PM this userVisit this user's homepageEdit postDirect link to this postReply with quote
Version 1.19 Available here.

The purpose of this tool is to assist contributors in collecting metadata about a DVD or BD. The metadata is collected by the tool by directly reading from the disc. It primarily consists of exact title, video and audio track information, aspect ratio, running time, subtitles, disc label, various features, and in some cases genre and limited cast and crew information.

The methods employed to collect the metadata include (1) reading from industry standard structures created during the DVD/BD build process, (2) intelligent deductions made from scanning the various files and folders on the disc, and (3) manually added information that can be best entered by a human, such as the UPC and Locality of the DVD.

This tool has been compiled to run in two modes: standalone and as a plugin withing DVD Profiler. When running as a plugin, the tool will quickly create a skeleton profile within DVD Profiler, which serves as the basis for further editing and ultimately a contibution to the Online Database.

Other useful features of the tool include:
- automatic determination of discID (except for BD in standalone mode - not possible)
- automatic determination of the most likely main title
- manual override of main title selection
- automatic summing of run times of selected titles
- video preview of the movie with the ability to jump to titles and chaoters
- ability to measure the exact aspect ratio of the video using a rubber-banding technique
- ability to save an XML version of the created profile tenplate
- ability to capture and save scene snapshots for later addition to the DVDP ScenePhotos folder

Package Includes:

Plugin Installer - DVDPCaInstallV1.0.exe
Standalone tool - DVDPcaV1.0.exe
Mapping Document - DVDPca Mapping.pdf

Other files are required to be in the same folder as the standalone.

The standalone and plugin versions are the same code except for things that require DVD Profiler, such as creation of a profile.

This tool was proposed and discussed in some detail in the Contributions Forum, in this thread. Now that the plugin is available, we should continue to discuss here in the Plugins Forum.

Usage Notes - Brief Step by Step Guide
- Insert a disc and click "Run IFO Scan V2".  (The V1 scan is an older version that will soon be removed from the tool).
- Confirm that the main title has been correctly selected and adjust as necessary. Recompute running time.
- Manually add the UPC and Locality.
- Manually adjust any other fields as necesssary, based on your own verification of the data.
- If running in plugin mode, click DVD Profiler create profile and continue to edit the profile in DVDP, add cover scans, etc. and contribute when appropriate.

Usage Notes - Editing existing profiles when running in plugin mode
- When DVDPca is first loaded, the UPC and Locality of the currently displayed DVD are loaded into the manual entry boxes. That means you can run Edit Profile immediately after a scan, and manually update any desired metadata gleaned from the scan. The scanned running time has been loaded into the Clipboard.

Usage Notes - Editing Box Set profiles when running in plugin mode
- To aid in making updates to a box set, the DVDPca "DVD Profiler" menu automatically changes "Edit Profile" to a dropdown menu that includes the Parent and all Child profiles in the box set. So it is possible to perform a cycle of: Scan Child disc, Edit Profile - Child, Scan another Child disc, Edit Profile - Child, etc.
This is possible because the parent profile ID remains in the manual entry fields across all the scans, in order to keep the dropdown working until you are done.

Usage Notes - DVD Metadata
- I have yet to see an actual "Side B" encoded. Has anyone else?

Usage Notes - Blu-Ray Metadata
- Audio track / subtitle data should be very accurate due to BD encoding standards
- Movie data (such as Cast, Crew, Genre, MPAA Rating, etc.) is generally not encoded on the BD disc
- Blu-Ray discID is available only in Plugin mode, and is Invelos proprietary.
- As far as I can tell, there is no "Side" information encoded on a Blu-Ray disc.

Usage Notes - Aspect Ratio
After the movie starts playing, put the movie in "pause" and then you can stretch a "rubber band" between opposite corners of the movie. The aspect ratio dropdown will "snap" to the closest match when the mouse is lifted. For the WMP player, this also works in fullscreen mode, and is thereby more accurate.

Usage Notes - Scene Capture
While the movie is paused at the desired frame, click the Scene Photo button. The movie will jump into fullscreen mode. Then you must manually execute a "Print Screen" operation (modern PCs have a way to do it that does not send a key code to the application). Once DVDPca notices something in the clipboard, you will be presented with a dialogue for saving the screen capture as either .bmp, .jpg, or .png.

Usage Notes - Running Time
- For DVDs, DVDPca takes the longest running time as the first guess for running time.
- For BDs, DVDPca takes running time of the playlist found in the largest .m2ts file in the Stream folder.
- In either case, you can override this choice by selecting the checkboxes for your desired set of main title content. Then you can click "Compute Running Time" and the times will be added for you automatically. The metadata regarding tracks and subtitles is also updated to reflect the metadata scanned from the selected DVD titles / BD playlists.

Usage Notes - Players
The players have been added as a handy frill, but there are a number of limitations. For example, the .NET player will not handle a BD .m2ts file - that's why you can't use the .NET player in BD mode. Even the WMP player will have varying success with BD content, based on your system configuration, installed codecs, etc. The worst that has happened to me on this was the need to end the  DVDPca process using Task Manager. I would recommend trying the standalone version first, because the plugin code is identical. If the standalone works, then you will be less likely to cause DVD Profiler to hang when using the plugin.

Acknowledgements
I have borrowed heavily from the DVDInfo and BDInfo projects available on the web, plus various other sample projects and code snippets, notably the Microsoft Directshow sample project.

Explicit acknowledgements have been retained in my source code, as well as within the "About" button in the tool.
Thanks for your support.
Free Plugins available here.
Advanced plugins available here.
 Last edited: by mediadogg
DVD Profiler Unlimited RegistrantBlair
Resistance is Futile!
Registered: October 30, 2008
United States Posts: 1,249
Posted:
PM this userEdit postDirect link to this postReply with quote
Wow.

Very cool! 


Audio does not play for me in the preview player (video is fine,) but that could possibly be because I don't have the main WMP software set up on my system while using VLC Player as my default video program and Winamp for general audio.


Where does the "File -> Save Disc Info as XML" file get stored?  (Or is it an error that no modal dialog box appears?)
If at first you don't succeed, skydiving isn't for you.

He who MUST get the last word in on a pointless, endless argument doesn't win. It makes him the bigger jerk.
 Last edited: by Blair
DVD Profiler Unlimited RegistrantRobAGD
Registered: June 3, 2007
United States Posts: 706
Posted:
PM this userView this user's DVD collectionEdit postDirect link to this postReply with quote
Not needed anymore
 Last edited: by RobAGD
DVD Profiler Unlimited RegistrantStar ContributorF1Database
Registered: April 7, 2007
Germany Posts: 264
Posted:
PM this userEmail this userVisit this user's homepageView this user's DVD collectionEdit postDirect link to this postReply with quote
You renamed the downloadfile to which name?

I cant download it.
DVD Profiler Unlimited RegistrantRobAGD
Registered: June 3, 2007
United States Posts: 706
Posted:
PM this userView this user's DVD collectionEdit postDirect link to this postReply with quote
Not needed anymore
 Last edited: by RobAGD
DVD Profiler Desktop and Mobile Registrantmediadogg
Aim high. Ride the wind.
Registered: March 18, 2007
Reputation: Highest Rating
United States Posts: 5,078
Posted:
PM this userVisit this user's homepageEdit postDirect link to this postReply with quote
Yawwwn ... woke up early. I think I fixed the filenames.

@Blair - I took a shortcut, so you can only save XML after creating the profile - not very useful. I plan to add XML export to the standalone. When I do that, it will automatically be available in the plugin to create XML even before you save the profile in DVDP. Give me a couple of days - working on my taxes right now.

Did you try switching to the other player (.NET player)? That works pretty well, even allowing you to go directly to a title after the main title starts.

Back to bed. I'll check in later after breakfast today.
Thanks for your support.
Free Plugins available here.
Advanced plugins available here.
DVD Profiler Unlimited RegistrantStar Contributormlr
HearAnyGoodStoriesLately?
Registered: March 14, 2007
South Africa Posts: 173
Posted:
PM this userView this user's DVD collectionEdit postDirect link to this postReply with quote
Nice Tool, thank you 

When I click on 'Go' in the Raw Data from Disc section the PCA Plugin changes Windows 7 Aero Display Theme to Standard, is there something I need to change or add to stop this?

&

How does PCA display Dual Mono Audio Tracks?

Thanks
DVD Profiler Desktop and Mobile Registrantmediadogg
Aim high. Ride the wind.
Registered: March 18, 2007
Reputation: Highest Rating
United States Posts: 5,078
Posted:
PM this userVisit this user's homepageEdit postDirect link to this postReply with quote
Quoting mlr:
Quote:
Nice Tool, thank you 

When I click on 'Go' in the Raw Data from Disc section the PCA Plugin changes Windows 7 Aero Display Theme to Standard, is there something I need to change or add to stop this?

&

How does PCA display Dual Mono Audio Tracks?

Thanks

You're welcome. I don't know about the display artifact. It was not intentional. I will look into it. (It probably has something to do with the DirectShow functions I am using. This might not be something that I can accomplish soon, since there are features that I still haven't completed. I hope you can live with it for awhile.)

I don't have any discs with dual mono, so you have to tell me. Remember, I am mapping to DVDP Profiler. If the tool is not mapping the raw data correctly to DVDP, you need to tell me (1) what does the raw data look like, and (2) What it should look like in a DVDP profile - is there a "dual mono" in the dropdown?. No theoretical questions. We have to handle the issues as they arise, based on what we can see.
Thanks for your support.
Free Plugins available here.
Advanced plugins available here.
 Last edited: by mediadogg
DVD Profiler Unlimited RegistrantBlair
Resistance is Futile!
Registered: October 30, 2008
United States Posts: 1,249
Posted:
PM this userEdit postDirect link to this postReply with quote
Quoting mediadogg:
Quote:
Yawwwn ... woke up early. I think I fixed the filenames.

@Blair - Did you try switching to the other player (.NET player)? That works pretty well, even allowing you to go directly to a title after the main title starts.

.NET Player shows nothing. Empty object within the mini-viewer, and a non-functional black window when pulled back from full screen.

My .NET framework(s) are up-to-date. Again, it could all be a result of how I have VLC set up, though I doubt it.


My computer decided that you had it too easy and wanted to throw you a puzzle-bone   On my part, don't worry about it; I won't be using that player anyway.
If at first you don't succeed, skydiving isn't for you.

He who MUST get the last word in on a pointless, endless argument doesn't win. It makes him the bigger jerk.
 Last edited: by Blair
DVD Profiler Desktop and Mobile Registrantmediadogg
Aim high. Ride the wind.
Registered: March 18, 2007
Reputation: Highest Rating
United States Posts: 5,078
Posted:
PM this userVisit this user's homepageEdit postDirect link to this postReply with quote
Quoting Blair:
Quote:
.NET Player shows nothing. Empty object within the mini-viewer, and a non-functional black window when pulled back from full screen.

Well indeed it is blank until you click "Play" - I assume that was the case, right?

Does the metadata extraction work? (Titles tree, etc.)

Are there any error messages in the Log?
Thanks for your support.
Free Plugins available here.
Advanced plugins available here.
DVD Profiler Unlimited RegistrantStar ContributorWigram
Don't blink!
Registered: June 6, 2007
Reputation: High Rating
Canada Posts: 881
Posted:
PM this userEmail this userView this user's DVD collectionEdit postDirect link to this postReply with quote
DVDPca 0.7 works fine for me; no problem with either player 
A funny thing though: here is what it extracts from Nights in Rodanthe US profile UPC=883929066131



Quite a few useful things come up but the menu displayed is in french!! Upon playing in powerDVD, the menu is in english, as expected for this US release. Where is this hidden french menu located in the disc and how did DVDPca find it?
DVD Profiler Unlimited RegistrantStar ContributorMithi
Sushi Annihilator
Registered: March 13, 2007
Reputation: Great Rating
Germany Posts: 2,122
Posted:
PM this userEmail this userVisit this user's homepageView this user's DVD collectionEdit postDirect link to this postReply with quote
Quoting Wigram:
Quote:
Where is this hidden french menu located in the disc and how did DVDPca find it?

A DVD can have multiple menus triggered by the language setting of the DVD Player. So if you change your DVD-Player to "french" you would see the same.
Now a wild guess: Pca just got the first of the multiple menus not caring for language. It worked so far because on all the other DVDs there is either no other menu or it is on the second place.

cya, Mithi
Mithi's little XSLT tinkering - the power of XML
DVD Profiler Desktop and Mobile Registrantmediadogg
Aim high. Ride the wind.
Registered: March 18, 2007
Reputation: Highest Rating
United States Posts: 5,078
Posted:
PM this userVisit this user's homepageEdit postDirect link to this postReply with quote
Thanks guys. We are learning more about the structure of DVDs. I hope you agree with me that there is not much value in me trying to code for stuff like that - as long as you are getting accurate data for quickly creating a profile - that's the key. Rest is gravy, so I probably won't try to tie up all the loose ends. But I will keep a list of "someday" items. The DirectShow API gives enough control that I could probably select a specific menu by language.
Thanks for your support.
Free Plugins available here.
Advanced plugins available here.
 Last edited: by mediadogg
DVD Profiler Unlimited RegistrantBlair
Resistance is Futile!
Registered: October 30, 2008
United States Posts: 1,249
Posted:
PM this userEdit postDirect link to this postReply with quote
Quoting mediadogg:
Quote:
Well indeed it is blank until you click "Play" - I assume that was the case, right?

Oops, yea. I'm just an idiot. I was expecting the Play button to be embedded just like it was in WMP. I overlooked the "Play / Title / Chapter" as merely text labels.

I still have no sound, though. And no, no logged messages.  I'd probably be better to just PM me if you want to work on this further. Again, it's not of consequence to me.






On a different note, I inserted a disc for Terminator 2: Extreme DVD (UPC: 012236146285, DISCID: I424B4100ED61BB30) and the resulting profile displayed through DVDPca contains a couple of audio track inconsistencies:

As seen through DVD Profiler using Disc ID:
- English: Dolby Digital EX: 5.1 (Matrixed 6.1)
- English: Dolby Digital: 2-Channel Stereo
- Commentary: Dolby Digital: 2-Channel Stereo

As seen through DVDPca with same disc inserted:
- English: Dolby Digital 5.1
- English: Dolby Digital: 2-Channel Stereo
- none: Dolby Digital: 2-Channel Stereo
- none: Dolby Digital 5.1
- none: Dolby Digital: Mono
If at first you don't succeed, skydiving isn't for you.

He who MUST get the last word in on a pointless, endless argument doesn't win. It makes him the bigger jerk.
 Last edited: by Blair
DVD Profiler Desktop and Mobile Registrantmediadogg
Aim high. Ride the wind.
Registered: March 18, 2007
Reputation: Highest Rating
United States Posts: 5,078
Posted:
PM this userVisit this user's homepageEdit postDirect link to this postReply with quote
Quoting Blair:
Quote:

As seen through DVD Profiler using Disc ID:
- English: Dolby Digital EX: 5.1 (Matrixed 6.1)
- English: Dolby Digital: 2-Channel Stereo
- Commentary: Dolby Digital: 2-Channel Stereo

As seen through DVDPca with same disc inserted:
- English: Dolby Digital 5.1
- English: Dolby Digital: 2-Channel Stereo
- none: Dolby Digital: 2-Channel Stereo
- none: Dolby Digital 5.1
- none: Dolby Digital: Mono

I'm not sure whether you are showing me the raw data or the mapping. Please let me know. The only stuff that counts is what gets mapped to the RHS.

  • What is in DVDP is what a Person Has Contributed - wherever he got the information.

  • What you see on the LHS (raw data) of DVDPca is what is Encoded on the Disc (no interpretation)

  • What you see on the RHS (Mapping) is mediadogg's best attempt at interpreting the raw data in DVDP terms. In other words, trying to do automatically what is normally done manually, which is impossible, because the contibutor is using other information. For example, if the disc encoding says "none", there is no way for me to know that the disc encoder was lazy and did not encode a language extension. I can't begin to know that is is actually commentary.


  • I still want to see the reports, because that will help me improve the automation.
    Thanks for your support.
    Free Plugins available here.
    Advanced plugins available here.
     Last edited: by mediadogg
    DVD Profiler Unlimited RegistrantStar ContributorWigram
    Don't blink!
    Registered: June 6, 2007
    Reputation: High Rating
    Canada Posts: 881
    Posted:
    PM this userEmail this userView this user's DVD collectionEdit postDirect link to this postReply with quote
    Quoting Mithi:
    Quote:

    A DVD can have multiple menus triggered by the language setting of the DVD Player. So if you change your DVD-Player to "french" you would see the same.
    Now a wild guess: Pca just got the first of the multiple menus not caring for language. It worked so far because on all the other DVDs there is either no other menu or it is on the second place.i


    Thanks. Learning about DVds is what makes profiling so much fun.
        Invelos Forums->DVD Profiler: Plugins Page: 1 2 3 ...9  Previous   Next