in

andy vt's tools & blog

automating lazy

Need help converting for Windows Phone 7

Last post 12-05-2010 2:35 PM by robteaboy. 0 replies.
Page 1 of 1 (1 items)
Sort Posts: Previous Next
  • 12-05-2010 2:35 PM

    • robteaboy
    • Not Ranked
    • Joined on 05-13-2009
    • Downers Grove, IL

    Need help converting for Windows Phone 7

    Please help.  I am trying to convert a show from a WTV file for Windows Phone 7 and Zune.  I started from the "convert for Zune (no commercials)" profile. Normally I get nothing, but sometimes I get ~ 20 minute conversion from a 1 hour long show with the wrong aspect ratio. (Maybe I only get a conversion after a reboot? I haven't tested this theory).

    In short, here are the results

    No changes to "convert for Zune (no commercials)" - ~20 minute 640x480 file from an hour long 1280x720 show. (results logged below)

    in the cbrzune.prx file, changed the instances of 640 to 800 and 480 to 450.  - results, no output (logged below)

    Changed to the wmvhd.prx profile - results, no output (not logged below)

    changed back to the original crbzune.prx file and configured the output for 800x450, results  ~20 minute 640x480 file from an hour long 1280x720 show. (results logged below)

    I originally tried saving this in a word file with screenshots, but they didn't copy over.

     

    Thanks in advance

    -------------------------------------------------------

     

    Goal: have DVRMSToolbox and ShowAnalyzer scan each show for commercials.  For a few select shows, cut commercials and create a WMV (with WMA audio) for Zune/WP7.

    Step 1: Set up commercial scan using the Ben Drawbaugh guide in Engadget HD:

    Step 2: Install AC3Filter

    Step 3: set up process condition for your show in question

     

    Test 1

     

    Partial success

    19 Min (should be ~45 min file)

    144MB

    640X480 (loss of aspect ratio should be 16x9 not 4x3)

    WMVfile

     

    log below-----

     

    Finished Commercial Detectection

    Duration = 01:14:55.7803293

    Add extra data to context

    Config: <root><data name="PrxPath" value="cbrZune.prx"/></root>

    Duration = 00:00:00.0050007

    Convert a Video File

    ValidateOutputPath

    OutputFile = C:\Users\Public\DvrmsToolbox\Output\Red Eye_FNCHD_2010_12_02_01_58_00fileprocess.wmv

    Begin conversion of C:\Users\Public\Recorded TV\Red Eye_FNCHD_2010_12_02_01_58_00.wtv to C:\Users\Public\DvrmsToolbox\Output\Red Eye_FNCHD_2010_12_02_01_58_00fileprocess.wmv

    VideoFormat: WMV AudioFormat: WMA TargetContainer: WMV Resize: False CL: 0 CR: 0 CT: 0 CB: 0 W: 320 H: 240

    Load preferred filters

    Added MPC - Audio Decoder Filter (babgvant) to the graph

    SBE Source file

    Found Video Pin

    WTV file, add PBDA Decrypt

    Add MS Video Decoder

    Wire up Null Render to decoder

    Run the graph to get the correct frame size

    Use stock stream map

    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\DvrmsToolbox\Output\Red Eye_FNCHD_2010_12_02_01_58_00fileprocess.wmv

    Added DSCutter filter

    Configure DSCutter: mt = 73646976-0000-0010-8000-00aa00389b71 st = 00000000-0000-0000-0000-000000000000 ucs = False

    Add Interval: 1182880 - 649580650

    Add Interval: 12175052910 - 12775623420

    Add Interval: 16676910250 - 18376552060

    Add Interval: 34279147100 - 36078402920

    First pin on the muxer didn't accept video, try the second

    Finish Video Render

    Found Audio Pin

    WTV file, add PBDA Decrypt

    Try connect MPC - Audio Decoder Filter (babgvant)

    Found an unconnected pin

    Connected pin

    Added DSCutter filter

    Configure DSCutter: mt = 73647561-0000-0010-8000-00aa00389b71 st = 00000000-0000-0000-0000-000000000000 ucs = False

    Add Interval: 1182880 - 649580650

    Add Interval: 12175052910 - 12775623420

    Add Interval: 16676910250 - 18376552060

    Add Interval: 34279147100 - 36078402920

    Add Sink Called

    Handle Audio

    Finish Audio

    WTV file, add PBDA Decrypt

    0%

    %

    %

    ----SKIP---

    29.55%

    29.57%

    29.58%

    Stalled

    29.58%

    ---skip---

    Stalled

    29.58%

    100%

    Video file conversion complete

    Duration = 00:30:44.4951171

    Total Duration = 01:45:40.2954480

     

    ------------TRY 2------------------------------

    I looked at the crbzune.prx file and I found where the 640x480 resolution is hard coded

    I changed everywhere I saw 640 to 800 and 480 to 450.

    Renamed the file "cbrZunerobwp7.prx"

    Edited the profile for "Convert for Zune (no commercials)"

    Configured the "Add extra data to context"

    Changed the Prx Path to my "cbrZunerobwp7.prx" file

     

    -------------------RESULTS----------------

    Video Conversion Failed.  Log file below

    Finished Commercial Detectection

    Duration = 00:59:41.7184050

    Add extra data to context

    Config: <root><data name="PrxPath" value="cbrZune.prx"/></root>

    Duration = 00:00:00.0510030

    Convert a Video File

    ValidateOutputPath

    OutputFile = C:\Users\Public\DvrmsToolbox\Output\Red Eye_FNCHD_2010_11_30_01_58_00fileprocess.wmv

    Begin conversion of C:\Users\Public\Recorded TV\Red Eye_FNCHD_2010_11_30_01_58_00.wtv to C:\Users\Public\DvrmsToolbox\Output\Red Eye_FNCHD_2010_11_30_01_58_00fileprocess.wmv

    VideoFormat: WMV AudioFormat: WMA TargetContainer: WMV Resize: False CL: 0 CR: 0 CT: 0 CB: 0 W: 320 H: 240

    Load preferred filters

    Added MPC - Audio Decoder Filter (babgvant) to the graph

    SBE Source file

    Found Video Pin

    WTV file, add PBDA Decrypt

    Add MS Video Decoder

    Wire up Null Render to decoder

    Run the graph to get the correct frame size

    Use stock stream map

    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

    Exception has been thrown by the target of an invocation.

    Action did not complete successfully

    Total Duration = 00:59:46.0856569

    --------------comments--------------------

    Also tried it with prx file WMVHD.prx file with no luck and similar "Execption has been thrown by the target of an invocation" error

    ------try 3-----------------------------

    Going back to my the standard "convert for zune (no commercials)" file

    Selecting "resize" in the Convert a Video File

    Width = 800

    Height = 450

     

     

    Convert latest Red Eye to dvrms to give DVRMSTOOLBOX a new file

    -----results-----

    same as last time... a truncated file with the wrong aspect ratio

    LOG BELOW

    Finished Commercial Detectection

    Duration = 01:50:12.9442388

    Add extra data to context

    Config: <root><data name="PrxPath" value="cbrZune.prx"/></root>

    Duration = 00:00:00.0700040

    Convert a Video File

    ValidateOutputPath

    OutputFile = C:\Users\Public\DvrmsToolbox\Output\Red Eye_FNCHD_2010_12_05_02_00_08 - DVRMSfileprocess.wmv

    Begin conversion of C:\Users\Public\Recorded TV\Red Eye_FNCHD_2010_12_05_02_00_08 - DVRMS.dvr-ms to C:\Users\Public\DvrmsToolbox\Output\Red Eye_FNCHD_2010_12_05_02_00_08 - DVRMSfileprocess.wmv

    VideoFormat: WMV AudioFormat: WMA TargetContainer: WMV Resize: True CL: 0 CR: 0 CT: 0 CB: 0 W: 800 H: 450

    Load preferred filters

    Added MPC - Audio Decoder Filter (babgvant) to the graph

    SBE Source file

    Found Video Pin

    DVR-MS file, add BDA Decrypt

    Add MS Video Decoder

    Wire up Null Render to decoder

    Run the graph to get the correct frame size

    Use stock stream map

    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\DvrmsToolbox\Output\Red Eye_FNCHD_2010_12_05_02_00_08 - DVRMSfileprocess.wmv

    Added DSCutter filter

    Configure DSCutter: mt = 73646976-0000-0010-8000-00aa00389b71 st = 00000000-0000-0000-0000-000000000000 ucs = False

    Add Interval: 4946191250 - 6446439970

    Resize is handled by the Asf Writer, ignoring setting

    First pin on the muxer didn't accept video, try the second

    Finish Video Render

    Found Audio Pin

    DVR-MS file, add BDA Decrypt

    Try connect MPC - Audio Decoder Filter (babgvant)

    Found an unconnected pin

    Connected pin

    Added DSCutter filter

    Configure DSCutter: mt = 73647561-0000-0010-8000-00aa00389b71 st = 00000000-0000-0000-0000-000000000000 ucs = False

    Add Interval: 4946191250 - 6446439970

    Add Sink Called

    Handle Audio

    Finish Audio

    Exception has been thrown by the target of an invocation.

    Action did not complete successfully

    Total Duration = 01:50:16.9134658

     

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