Page 1 of 8 123 ... LastLast
Results 1 to 10 of 74

Thread: vidImport utility support

  1. #1
    Join Date
    Dec 2006
    Posts
    819

    vidImport utility support

    http://gbpvr.com/pmwiki/pmwiki.php/Utility/VidImport

    is a tool that:

    VidImport recurses a directory searching for video files (.mpeg, .mpg, .avi. .mpv, .ts, .mp4) and creates an xml file that gbpvr can import (on the config/plugin tab). It recurses all the way to the lowest level so nested directories are acceptable. It tries to intelligently use the directory name and any filename similarities to create the titles and subtitles so files are grouped in a useful manner by GBPVR/PVRx2. It also recognizes if an episode # of the syntax .SxxEyy. is built in the file name and uses that as subtitle if possible.

    It will rebuild your recordings directory info (sans description) if you have lost or corrupted your database.

    Post any support questions here.
    Last edited by carpeVideo; 2008-06-11 at 02:17 PM.

  2. #2
    Join Date
    Oct 2006
    Location
    Hamilton New Zealand
    Posts
    4,442
    does it extract the meta data ?

  3. #3
    Join Date
    Dec 2006
    Posts
    819
    Quote Originally Posted by carpeVideo View Post
    http://gbpvr.com/pmwiki/pmwiki.php/Utility/VidImport

    is a tool that:

    VidImport recurses a directory searching for video files (.mpeg, .mpg, .avi. .mpv, .ts, .mp4) and creates an xml file that gbpvr can import (on the config/plugin tab)..

    Quote Originally Posted by stustunz View Post
    does it extract the meta data ?
    No - I suppose I could give that a try. Do you know where I can find code examples extracting metadata using c#?

    Today I released v.6 adding the capability to do IMDB lookups to grabs a plot description if available.
    Last edited by carpeVideo; 2008-06-11 at 10:35 PM.

  4. #4
    Join Date
    Oct 2006
    Location
    Hamilton New Zealand
    Posts
    4,442
    you should get hold of the source code for mpeg import he offered it on a post a week so back (it can get the meta data so you could have a look how)
    be good if someone (you lol) would take that and combine it with yours
    pretty much does the same thing
    im sure the writer of the program wouldnt mind as he offered the source code and he now uses media portal as it suits his needs better
    sorry i have no idea about programming i can write a few batch files and im even useless at that

    also could you add dvr-ms
    Last edited by stustunz; 2008-06-12 at 12:00 AM.

  5. #5
    Join Date
    Dec 2006
    Location
    Modesto, CA. USA
    Posts
    2,133
    Quote Originally Posted by carpeVideo View Post
    No - I suppose I could give that a try. Do you know where I can find code examples extracting metadata using c#?

    Today I released v.6 adding the capability to do IMDB lookups to grabs a plot description if available.
    Attached are snippets of code from MovieWiz.

    1. recordings class, provides the methods for converting entry into GBPVR format xml suitable for import from config program.

    2. SaveAllEntriesAsMetaData. Routine that exports ALL MovieWiz entries into xml file

    3. SaveEntryAsMetaData. Routine that exports a SINGLE entry into it's OWN xml file.

    To create a file suitable for import into GBPVR, you could create logic similar to SaveAllEntriesAsMetaData, iterate thru your filelist instead of the MovieWiz entries, populate a recording object and call OutputMetaDataAsString...

    Note, several of the properties/fields in the recording object only make sense to moviewiz, the code identies which ones are moviewiz specific.
    NPVR Server: Win8 / AMD Phenom II X4 965 / 8gRAM / ATI Radeon 7700 Series / Hauppauge 2250
    Misc: Multiple Wired-Wireless clients, XMBC Clients, rPI OpenElec client

  6. #6
    Join Date
    Dec 2006
    Posts
    819
    stustunz do you mean the metadata embedded within the actual video file or a separate .xml metadata file. A separate file with the same name but .xml extension would be simple if you have a few examples.

  7. #7
    Join Date
    Oct 2006
    Location
    Hamilton New Zealand
    Posts
    4,442
    mpeg import gets the meta data from within the file
    sorry im not much help

  8. #8
    Join Date
    Dec 2006
    Posts
    819
    stustunz - what data is it that you want from the metadata - as far as I can tell you can only get audio type, resolution and length. And then which field do you want the data to reside in. Subtitle, Description?

    CV

  9. #9
    Join Date
    Jan 2005
    Location
    London
    Posts
    2,798
    According to the wiki, mpegimport gets it's metadata from the (hidden NTFS file) metadata.xml
    Silverstone LC17 Case,
    ASUS P5Q, Intel E7200, 4GB RAM
    Blackgold DVB-T2, ATI 7750, Windows 7 64-bit
    SAF codec pack,Sony 40" Z5500

  10. #10
    Join Date
    Dec 2006
    Posts
    819
    Figured out the metadata issue. I'll have a new release soon. Makes me think we need a utility that copies the metadata when transcodes are done.

    Sub - if your reading when using the native transcode does gbpvr copy the metadata to the new file?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •