in

andy vt's tools & blog

Automating lazy

ATSC WTV files with AC3 Audio convert to Zune?

Last post 11-25-2009 10:33 AM by babgvant. 11 replies.
Page 1 of 1 (12 items)
Sort Posts: Previous Next
  • 10-10-2009 2:26 PM

    ATSC WTV files with AC3 Audio convert to Zune?

    I have a bunch of WTV files recorded on Windows 7 in the WTV format.  The Zune software can't handle them since they have AC3 audio.  These were recorded in HD over clear QAM.

     I'm looking for a simple, automated process that will convert all non-protected WTV files to a WMV format with a profile that Zune is happy with. 

    Can DTB convert directly from WTV to WMV (or does it need to go to DVR-MS first)?

    Can DTB skip over protected shows (recorded with my CableCARD) and only process the ones I want?

     I plan to schedule this script (found elsewhere on this site) to run daily to delete any converted WMV files when I've deleted the WTV file from Media Center.

     For %%X in ("c:\ConvertedVideo\*") do (IF not exist "c:\RecordedTV\%%~nX.dvr-ms" del "%%X")

     I know people have done this; but the WTV format adds a new twist for me.

    Thanks

     

    Filed under: , , ,
  • 10-14-2009 10:54 AM In reply to

    Re: ATSC WTV files with AC3 Audio convert to Zune?

    1.2.1.9 includes a profile for zune conversion, should support wtv.
  • 10-17-2009 7:50 PM In reply to

    Re: ATSC WTV files with AC3 Audio convert to Zune?

    Thanks.  I just tried with R6 and WTV is supported on R6 but I am having some issues with the "Convert For Zune (no commercials)" profile.

    I can't get commercial skip to work (and am not concerned about commercial skip for now anyway) so I've removed that "Find Commercials in File" line from the profile.  It throws an error unless I also remove "Add extra data to context."

    WTV files convert just fine to WMV except they always come in at 640x480.  The original files are widescreen and even if I check the "Resize" box under "Convert a video file" and specify the size of 320x180 the files still come in square.

    Can anybody help me with a DTB profile for Zune that doesn't worry about commercials, copies over all the correct Metadata (so the Zune software actually recognizes it as a television show and not just a video) and allows me to control the width and height of the converted file?

    Thanks

  • 10-18-2009 5:57 AM In reply to

    Re: ATSC WTV files with AC3 Audio convert to Zune?

     "Add extra data to context." is required for that profile.  WMV conversion works differently because reszing by the prx (specified by "Add extra data to context."), if you want to change the target size that's where you would do it and leave the actions explict resizing alone.

    post the log and I'll have a look

  • 10-18-2009 10:18 AM In reply to

    Re: ATSC WTV files with AC3 Audio convert to Zune?

    Thanks.  So here is what I've done:

    1.  Create a new profile from "Convert For Zune (no commercials)"
    2.  Named the new profile "Zune with Commercials"
    3.  Removed the second line of "Find Commercials in file" from the new profile
    4.  Converted a file.  Below is the result.

     The results are the same if I uncheck the box "Skip Commercials" on the "Convert a Video File" option.

    Here is the result:

    InputFile=\\mce\readonlytv\CSI- Crime Scene Investigation_WUSADT_2009_10_08_20_58_00.wtv
    Processing actions, this may take some time!!
    Current Affinity: 15 System Mask: 15
    Run Profile = Zune with Commercials
    ProcessId = 5968
    DvrmsToolbox Version: 1.2.1.9
    Throttle DVRMStoMPEG
    FWThrottle: \\mce\readonlytv\CSI- Crime Scene Investigation_WUSADT_2009_10_08_20_58_00.wtv
    WaitTime: 5 PollTime
    Waiting to process file
    Queue file
    Duration = 00:00:01.0296018
    Waiting for available worker: 10/18/2009 1:15 PM
    Worker allocated: 10/18/2009 1:15 PM
    Add extra data to context
    Error: Object reference not set to an instance of an object.
    Action did not complete successfully
    Total Duration = 00:00:01.0296018

     

  • 10-18-2009 3:16 PM In reply to

    Re: ATSC WTV files with AC3 Audio convert to Zune?

    I added some more logging to the attached version.  Drop it in the install dir, make sure that you save a copy of the original first though.
  • 10-18-2009 3:30 PM In reply to

    Re: ATSC WTV files with AC3 Audio convert to Zune?

    That may have done it!  Thanks.  Here's the log (it is running now).

     I'll check for metadata etc when it finishes.  Thanks for the quick assist.

    InputFile=\\mce\readonlytv\CSI- Crime Scene Investigation_WUSADT_2009_10_15_21_00_02.wtv
    Processing actions, this may take some time!!
    Current Affinity: 15 System Mask: 15
    Run Profile = Zune with Commercials
    ProcessId = 4068
    DvrmsToolbox Version: 1.2.1.9
    Throttle DVRMStoMPEG
    FWThrottle: \\mce\readonlytv\CSI- Crime Scene Investigation_WUSADT_2009_10_15_21_00_02.wtv
    WaitTime: 5 PollTime
    Waiting to process file
    Queue file
    Duration = 00:00:01.0130580
    Waiting for available worker: 10/18/2009 6:25 PM
    Worker allocated: 10/18/2009 6:25 PM
    Add extra data to context
    Config: <root><data name="PrxPath" value="cbrZune.prx"/></root>
    type attribute is null
    Duration = 00:00:00.0210012
    Convert a Video File
    Begin conversion of \\mce\readonlytv\CSI- Crime Scene Investigation_WUSADT_2009_10_15_21_00_02.wtv to f:\shows\csi.wmv
    AudioFormat: WMA TargetContainer: WMV Resize: False CL: 0 CR: 0 CT: 0 CB: 0 W: 320 H: 240
    Added MPC - Audio Decoder Filter (babgvant) to the graph
    SBE Source file
    Found Video Pin
    File needs decrypt filters
    WTV file, add PBDA Decrypt
    Add MS Video Decoder
    Wire up Null Render to decoder
    Run the graph to get the correct frame size
    Remove Null Render
    Add Sink Called
    Sink is null, we need to add one
    Add WMV
    Configure WMV writer with C:\Program Files (x86)\DVRMSToolbox\\prx\cbrZune.prx
    Set output path to f:\shows\csi.wmv
    First pin on the muxer didn't accept video, try the second
    Finish Video Render
    Try connect MPC - Audio Decoder Filter (babgvant)
    Found an unconnected pin
    Connected pin
    Add Sink Called
    Handle Audio
    Finish Audio
    0%
    .04%
    .05%
    .05%

  • 10-18-2009 3:39 PM In reply to

    Re: ATSC WTV files with AC3 Audio convert to Zune?

    Ok that change allowed it to begin converting the file.

    I cancelled and restarted and passed in a modified profile that changes the resoluton from 640x480 to 320x180 with a slightly lower bit rate.  That's being ignored and it is still converting at 640x480.  The profile I want it to use is attached (and in the log of the restarted job it shows it using the new profile).

  • 10-20-2009 8:03 PM In reply to

    Re: ATSC WTV files with AC3 Audio convert to Zune?

    Try this http://babgvant.com/files/folders/eadt/entry13947.aspx

  • 11-17-2009 5:15 AM In reply to

    Re: ATSC WTV files with AC3 Audio convert to Zune?

    Hi,

     I am having exactly the same problems but i am trying to convert .wtv standard files (not hd) I have downloaded the files from this post & been trying for hours to make this work, I have ticked the continue on error box in the commercial skip section of the profile as I cannot get comskip to work, but I am also not bothered about that for the moment.  here is a copy of my logfile, there is no processor activity even though it spends a couple of minutes at either 0% or 11% & the file produced is a few bytes.

    I would really appreciate some help with this....

    InputFile=J:\Recorded Tv\Meg and Mog_Tiny Pop_2009_11_17_11_29_00.wtv
    Processing actions, this may take some time!!
    Current Affinity: 3 System Mask: 3
    Run Profile = Zune
    ProcessId = 2516
    DvrmsToolbox Version: 1.2.1.9
    Throttle DVRMStoMPEG
    FWThrottle: J:\Recorded Tv\Meg and Mog_Tiny Pop_2009_11_17_11_29_00.wtv
    WaitTime: 1 PollTime
    Waiting to process file
    Queue file
    Duration = 00:00:01.0139220
    Waiting for available worker: 17/11/2009 13:03
    Worker allocated: 17/11/2009 13:03
    Find Commercials in file
    ShowAnalyzerSuite is not installed properly try ShowAnalyzer
    System.Runtime.InteropServices.COMException (0x80040154): Retrieving the COM class factory for component with CLSID {671A7D0D-39FA-48C5-8932-22E65A3364D3} failed due to the following error: 80040154.
       at Durrant.Plugins.CommercialAnalyzer..ctor(String FileToAnalyze, AnalyzerPreference ap)
    Using trial version of ShowAnalyzer.  There are 14 left in the evaluation.  Go to www.dragonglobal.org to purchase the full version.
    Finished Commercial Detectection
    No commercials found
    Duration = 00:00:00.1403892
    Add extra data to context
    Config: <root><data name="PrxPath" value="cbrZune.prx"/></root>
    type attribute is null
    Duration = 00:00:00
    Convert a Video File
    Begin conversion of J:\Recorded Tv\Meg and Mog_Tiny Pop_2009_11_17_11_29_00.wtv to C:\Users\Public\Recorded TV\temp.wmv
    AudioFormat: WMA TargetContainer: WMV Resize: False CL: 0 CR: 0 CT: 0 CB: 0 W: 320 H: 240
    Added MPC - Audio Decoder Filter (babgvant) to the graph
    SBE Source file
    Found Video Pin
    File needs decrypt filters
    WTV file, add PBDA Decrypt
    Add MS Video Decoder
    Wire up Null Render to decoder
    Run the graph to get the correct frame size
    Remove Null Render
    Add Sink Called
    Sink is null, we need to add one
    Add WMV
    Configure WMV writer with C:\Program Files (x86)\DVRMSToolbox\\prx\cbrZune.prx
    Set output path to C:\Users\Public\Recorded TV\temp.wmv
    First pin on the muxer didn't accept video, try the second
    Finish Video Render
    Try connect MPC - Audio Decoder Filter (babgvant)
    Found an unconnected pin
    Connected pin
    Add Sink Called
    Handle Audio
    Finish Audio
    0%
    .11%
    .11%
    .11%
    .11%
    .11%
    .11%
    .11%
    .11%
    .11%
    .11%
    .11%
    .11%
    .11%
    .11%
    .11%
    .11%
    .11%
    .11%
    .11%
    .11%
    .11%
    .11%
    .11%
    .11%
    .11%
    .11%
    .11%
    .11%
    .11%
    .11%
    .11%
    .11%
    .11%
    .11%
    .11%
    .11%
    .11%
    .11%
    .11%
    .11%
    .11%
    .11%
    .11%
    .11%
    .11%
    .11%
    .11%
    .11%
    .11%
    .11%
    .11%
    .11%
    .11%
    .11%
    .11%
    .11%
    .11%
    .11%
    .11%
    .11%
    .11%
    .11%
    .11%
    .11%
    .11%
    .11%
    .11%
    .11%
    .11%
    .11%
    .11%
    .11%
    .11%
    .11%
    .11%
    .11%
    .11%
    .11%
    .11%
    .11%
    .11%
    .11%
    .11%
    .11%
    .11%
    .11%
    .11%
    .11%
    .11%
    .11%
    .11%
    100%

    Video file conversion complete
    Duration = 00:02:53.2981856
    Total Duration = 00:02:54.4524968

     

  • 11-19-2009 3:14 AM In reply to

    Re: ATSC WTV files with AC3 Audio convert to Zune?

     Does Anyone post on here anymore?

  • 11-25-2009 10:33 AM In reply to

    Re: ATSC WTV files with AC3 Audio convert to Zune?

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