in

andy vt's tools & blog

automating lazy

Transport Streams to DVRMS with TV Metadata

Last post 09-05-2012 5:03 PM by wreuvers. 23 replies.
Page 2 of 2 (24 items) < Previous 1 2
Sort Posts: Previous Next
  • 10-12-2009 9:49 AM In reply to

    • c0bra
    • Top 75 Contributor
    • Joined on 03-16-2009

    Re: Transport Streams to DVRMS with TV Metadata

    .. and its DVB-S2 PAL btw - Swedish :)

  • 10-12-2009 10:57 AM In reply to

    Re: Transport Streams to DVRMS with TV Metadata

    c0bra:

    but still interested about getting the DVB subtitle streams inside the .ts file to be transcoded aswell.

     

    WTV will take pretty much anything, but MC won't play them.  I've asked MS in the past about documenting their captions, but they won't so w/o a lot of reverse engineering it won't work.

  • 10-12-2009 11:02 AM In reply to

    Re: Transport Streams to DVRMS with TV Metadata

    ghostlobster:

    Before getting into the why, quick question regarding the original issue here.  Can you give me an example of the syntax to convert an entire directory of .ts files to .wtv, including metadata? 

     

    create a bat/cmd file with a "for %%f in" that calls todvrms filetoprocess.ts filetoprocess.wtv -wtv

    if a filetoprocess.ts.xml file exists in the folder w/ metadata it will be written to the new file, if you need to specify a different xml file w/ metadata add "-xml pathtometadata.xml" to the args

  • 10-12-2009 11:23 AM In reply to

    Re: Transport Streams to DVRMS with TV Metadata

    ghostlobster:

    With the CableCARD restrictions being eased up, I'm giving serious consideration to moving back to WMC.  This past weekend I spent some time pulling my HD-PVR off of my SageTV rig and putting it onto a decent rig running Win7 using DVBLink.  I put an old Avermedia MCE 1500 in there for analog cable channels and then installed the HDHR on it.  Surprisingly enough, after the install was done, I went downstairs, fired up the 360 as an extender, and everything just plain worked.  Using firewire for channel changing on the HD-PVR it's pretty smooth.

     

    FWIW, I'm exploring what it would take to pull DCT generated content into Sage.  Will be very dependent on where the Ceton tuner is priced though.

  • 10-12-2009 2:35 PM In reply to

    Re: Transport Streams to DVRMS with TV Metadata

    Andy,

    Sorry, I'm still confused.  Let's say I do a list *.ts to generate a listing of .ts files in that directoy.  Now, how do I feed this information into todvrms using a % indicator in a batch file?  I tried using /? and -? after the command for a list of available options, but that does not work with todvrms.  Can you take a moment and give me an example of the batch file, given the following parameters:

    Contents of X:\RecordedTV:
    show1.ts
    show2.ts 

    Contents of TSFILES.TXT:
    show1.ts
    show2.ts

    Desired output:
    c:\users\public\Recorded TV\Show1.wtv
    c:\users\public\Recorded TV\Show2.wtv

    Unfortunately, I don't have any .xml files that contain any metadata.  Within the .properties files, however, there is what appears to be metadata that was generated by the batch metadata tool.  For example:

    #Generator: Batch Metadata Tools (3.0-beta-9); MediaFile: file:/x:/AnthonyBourdainNoReservations-Chicago-4077545-0.ts
    #Sun Aug 16 12:05:01 EDT 2009
    Actor=Anthony Bourdain -- Anthony Bourdain;
    Description=Anthony heads to Chicago where he examines the cuisine and culture which the windy city has to offer.\nUser Rating\: \n
    EpisodeNumber=5
    EpisodeTitle=Chicago
    Genre=Documentary
    MediaProviderDataID=tvdb\:79668
    MediaTitle=Anthony Bourdain\: No Reservations
    MediaType=TV
    OriginalAirDate=2009-02-02
    RunningTime=3600000
    SeasonNumber=6
    Title=Anthony Bourdain\: No Reservations - S06E05 - Chicago
    Year=2009
    x-Fanart-BackgroundUrl=http\://www.thetvdb.com/banners/fanart/original/79668-2.jpg
    x-Fanart-BannerUrl=http\://www.thetvdb.com/banners/graphical/79668-g2.jpg
    x-Fanart-PosterUrl=http\://www.thetvdb.com/banners/posters/79668-1.jpg
    x-MetadataProviderDataUrl=79668;;;;EPISODE_TITLE\=Chicago
    x-MetadataProviderId=tvdb
    x-ser-Cast=0|Anthony Bourdain|Anthony Bourdain|null
    x-ser-Description=Anthony heads to Chicago where he examines the cuisine and culture which the windy city has to offer.
    x-ser-Genres=Documentary;News;Reality

    Would it work by just renaming that file to .xml or specifying .properties at the end of the file rather than .xml, while still using the "-xml x:\xxxx.properties" modifier?

     

  • 10-12-2009 3:48 PM In reply to

    Re: Transport Streams to DVRMS with TV Metadata

     for %%f in ("s:\Recorded TV\*.ts") do ("E:\tools\todvrms.exe" "%%f" "%%f".wtv -wtv)

     

    install http://tools.assembla.com/sageplugins/wiki/SageXmlInfo to dump the xml files

  • 10-12-2009 5:59 PM In reply to

    Re: Transport Streams to DVRMS with TV Metadata

    Nice!  I'll give it a run in a little bit.  Thanks a bunch!

     

  • 10-12-2009 7:56 PM In reply to

    Re: Transport Streams to DVRMS with TV Metadata

    Worked like a charm!  Thanks as always, Andy!

    In case anyone else is looking to do this, here the batch file I'm using with the following assumptions:

    • I installed the XML Generator plugin (yes, the sage web server is installed on my Sage rig)
    • My recorded TV drive on my Sage rig is mapped as x:\ on my Win7 rig
    • todvrms is installed in c:\todvrms on my Win7 rig
    • I place the batch file anywhere on my Win7 rig and edited it as follows:

    x:
    cd\
    for %%f in ("*.ts") do ("c:\todvrms\todvrms.exe" "x:\%%f" "C:\Users\Public\Recorded TV\%%f".wtv -wtv "-xml x:\%%f.xml")

    It reads the .ts files from x:\, converts them to .wtv and places them in c:\users\public\Recorded TV.  Reads the metadata from the filename.xml file in the same directory as the Sage recordings and populates perfectly into 7MC.

     

  • 09-05-2012 5:03 PM In reply to

    Re: Transport Streams to DVRMS with TV Metadata

    We are building a "Now Playing" Android app that looks at a server folder, and displays all the video's it finds, with the ability to play them. We would love to be able to pull the metadata out of .ts files - do you know where we can get this info?

Page 2 of 2 (24 items) < Previous 1 2
@2008 andy vt
Powered by Community Server (Non-Commercial Edition), by Telligent Systems