Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 21

Thread: Hauppauge SoftPVR Wiki page

  1. #11
    Join Date
    Aug 2005
    Location
    Houston
    Posts
    4,697

    old wiki

    thanks...didn't know about the migration issue, now added to wiki...

    hmm,what's the old wiki address? i need to copy some text off the old one..
    Hardware: HDHR Prime, HDPVR 1212, Raspberry pi2, VFD display w/LCDSmartie

  2. #12
    Join Date
    Apr 2013
    Location
    MD, USA
    Posts
    40

  3. #13
    Join Date
    Aug 2005
    Location
    Houston
    Posts
    4,697

    softpvr batch

    here's a copy of the adjusted batch file for installation.. for posterity's sake..
    finally tested on 64bit and win7..had to adjust for vista+'s changes to reg.exe..[spaces are delim vs. tabs for xp]

    Code:
    @ECHO OFF
    @rem Modified by: PBS
    @echo.
    @ECHO ********************************************************
    @ECHO SoftPVR installer for Analog devices. (32 OR 64 bit OS)
    @ECHO ********************************************************
    @echo.
    
    @rem 		Check for admin rights and echo msg and exit if none.....
    net session >nul 2>&1
        if %errorLevel% == 0 (
            @echo Success: Administrative permissions confirmed.
        ) else (
            @echo Failure: Current permissions inadequate. This script needs to be run with Admin priviledges..
    pause
    exit
        )
    cd /d "%~dp0"
    @echo.
    
    
    @rem 	This line detects 32bit or 64bit..
    @IF DEFINED ProgramFiles(x86) (
    set sysdir=Syswow64
    set softnode=SOFTWARE\Wow6432Node
    ) else (
    set sysdir=System32
    set softnode=SOFTWARE
    )
    @echo This machine's system dir is 		"%systemroot%\%sysdir%"
    @echo And it's software registry section is 	HKLM\%softnode%\NPVR
    @echo.
    
    @rem	This line detects actual NPVR dir from registry and puts it in variable %npvrdir%, no matter where it's installed..
    @for /f "skip=2 tokens=1,2,* delims=	 " %%A in ('reg query "HKLM\%softnode%\NPVR" /v InstallDirectory') do set npvrdir=%%C
    @echo NPVR directory is 			"%npvrdir%"
    @ECHO.
    
    @ECHO Creating Temp folders
    @MD "%npvrdir%\SoftPVR\temp1"
    @MD "%npvrdir%\SoftPVR\temp2"
    @ECHO.
    
    @ECHO Extracting WinTV installer
    
    @rem 		This line lists dir for files starting with wintv7_cd_ by date and executes only newest one [regardless of filename ending] with params....
    for /f %%f in ('dir /b /o:-d "wintv7_cd_*.exe"') do (
    "%%~f" /x %npvrdir%\SoftPVR\temp1
     goto :next
    )
    
    @rem 			Missing wintv7_*.exe file error message...
    @if errorlevel 1 (@echo.
    @echo NO WINTV7_cd_*.exe file found!!!
    @echo Download file first and place in %npvrdir%\softpvr\ 
    @echo [create dir if needed]
    @echo.
    pause
    exit)
    :next
    
    @rem 		Executing extracted wintv7setup.exe 
    "%npvrdir%\SoftPVR\temp1\WinTV7Setup.exe" /x %npvrdir%\SoftPVR\temp2
    
    @ECHO.
    @ECHO Copying required files 
    COPY "%npvrdir%\SoftPVR\temp2\hcw_mcl2ae.ax" "%npvrdir%\SoftPVR\"
    COPY "%npvrdir%\SoftPVR\temp2\hcw_mcm2ve.ax" "%npvrdir%\SoftPVR\"
    COPY "%npvrdir%\SoftPVR\temp2\hcw_mcmpeg2mux.ax" "%npvrdir%\SoftPVR\"
    COPY "%npvrdir%\SoftPVR\temp2\hcw_mcmpgaout.dll" "%npvrdir%\SoftPVR\"
    COPY "%npvrdir%\SoftPVR\temp2\hcw_mcmpgvout.004" "%npvrdir%\SoftPVR\"
    COPY "%npvrdir%\SoftPVR\temp2\hcw_mcmpgvout.dll" "%npvrdir%\SoftPVR\"
    @ECHO.
    
    @rem These lines register filters, showing and pausing only if error occurs..
    @ECHO Registering files
    
    %SystemRoot%\%sysdir%\Regsvr32.exe /s "%npvrdir%\SoftPVR\hcw_mcl2ae.ax"
    @if errorlevel 1 (@echo **** "%npvrdir%\SoftPVR\hcw_mcl2ae.ax" was NOT REGISTERED correctly!!!!! ********************&& pause)
    
    %SystemRoot%\%sysdir%\Regsvr32.exe /s "%npvrdir%\SoftPVR\hcw_mcm2ve.ax"
    @if errorlevel 1 (@echo **** "%npvrdir%\SoftPVR\hcw_mcm2ve.ax" was NOT REGISTERED correctly!!!!! ********************&& pause)
    
    %SystemRoot%\%sysdir%\Regsvr32.exe /s "%npvrdir%\SoftPVR\hcw_mcmpeg2mux.ax"
    @if errorlevel 1 (@echo **** "%npvrdir%\SoftPVR\hcw_mcmpeg2mux.ax" was NOT REGISTERED correctly!!!!! ********************&& pause)
    @ECHO.
    
    @ECHO Deleting Temp Folders
    RD "%npvrdir%\SoftPVR\temp1\" /s /q
    RD "%npvrdir%\SoftPVR\temp2\" /s /q
    @ECHO.
    @ECHO       Successful!!
    @ECHO.
    
    pause
    Hardware: HDHR Prime, HDPVR 1212, Raspberry pi2, VFD display w/LCDSmartie

  4. #14
    Join Date
    Nov 2006
    Location
    Sunninghill, UK
    Posts
    2,584
    Thank you pBS,

    this looks really quite brilliant but then I would never have expected less than that from you

    I always had a problem with the SoftPVR page/s. I do hope that this makes it easier for new users.

    Most excellent.

    cheers very much

    steeb
    When you have eliminated the impossible, whatever remains, however improbable, must be the truth.

    NextPVR Documentation (wiki) admin/contributor


  5. #15
    Join Date
    Dec 2012
    Location
    Hicksville USA
    Posts
    581
    Quote Originally Posted by pBS View Post
    has anyone tried my batch on a 64bit machine?
    A recent thread strongly suggests that the batch needs further revision for 64bit systems: http://forums.nextpvr.com/showthread...d-at-this-time

    If the previous download SoftPVR_64bit.zip can be retrieved, it might be helpful for the time being to post it here or there.

  6. #16
    Join Date
    Nov 2006
    Location
    Louisville, KY, USA
    Posts
    7,870
    Quote Originally Posted by Zeb View Post
    A recent thread strongly suggests that the batch needs further revision for 64bit systems: http://forums.nextpvr.com/showthread...d-at-this-time
    The problem with the script on the wiki wasn't due to 64bit, it was due to an issue with UAC I think. On Windows 8, I was not able to get it to work using temp folders in the NPVR program directory. All the temporary extractions had to be performed in c:\temp. Here is the updated script that worked (I used it on Win8.1 x64): http://forums.nextpvr.com/showthread...790#post463790

  7. #17
    Join Date
    Dec 2012
    Location
    Hicksville USA
    Posts
    581
    I'm sure you are correct whurlston. However judging by subsequent posts in that thread, your updated script might not work perfectly with Win7SP1.

    [November 3] Here's a new thread showing batch file failure on Windows 8: http://forums.nextpvr.com/showthread...719#post466719
    Last edited by Zeb; 2013-11-03 at 07:48 PM.

  8. #18
    Join Date
    Nov 2006
    Location
    Louisville, KY, USA
    Posts
    7,870
    Thats possibly true. I dont have an analog tuner installed at the moment to test it.

  9. #19
    Join Date
    Oct 2017
    Location
    USA
    Posts
    3

    Question Adding Composite Fails

    Greetings. I've been using NextPVR 4.0.4 (170820) on Win 10.0.14393 to record ATSC over the air TV. I'd like to now use the analog composite input on the Hauppauge 1250 card.

    I followed the instructions for using softpvr.bat and wintv85setup_35270.exe and got the files registered. The "Hauppauge WinTV 885 Video Capture" analog recorder now appears in Devices:

    Type Device Present Enabled Channels
    ATSC Hauppauge WinTV 885 ATSC Tuner/Demod Yes Yes 26
    Analog Hauppauge WinTV 885 Video Capture Yes Yes 0
    ...

    However, when I go into Device Setup for "Hauppauge WinTV 885 Video Capture" and attempt to add any channel (Composite or other) I get an "Add Channel" dialog stating there was an Unhandled exception in a component in your application. Details:

    Code:
    See the end of this message for details on invoking 
    just-in-time (JIT) debugging instead of this dialog box.
    
    ************** Exception Text **************
    System.NullReferenceException: Object reference not set to an instance of an object.
       at NShared.AddAnalogChannelForm.buttonOK_Click(Object sender, EventArgs e)
       at System.Windows.Forms.Control.OnClick(EventArgs e)
       at System.Windows.Forms.Button.OnClick(EventArgs e)
       at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
       at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
       at System.Windows.Forms.Control.WndProc(Message& m)
       at System.Windows.Forms.ButtonBase.WndProc(Message& m)
       at System.Windows.Forms.Button.WndProc(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
       at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
    
    
    ************** Loaded Assemblies **************
    mscorlib
        Assembly Version: 4.0.0.0
        Win32 Version: 4.7.2110.0 built by: NET47REL1LAST
        CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
    ----------------------------------------
    NextPVR
        Assembly Version: 1.0.0.0
        Win32 Version: 1.0.0.0
        CodeBase: file:///C:/Program%20Files%20(x86)/NPVR/NextPVR.exe
    ----------------------------------------
    NUtility
        Assembly Version: 1.0.0.0
        Win32 Version: 1.0.0.0
        CodeBase: file:///C:/Program%20Files%20(x86)/NPVR/NUtility.DLL
    ----------------------------------------
    System.Windows.Forms
        Assembly Version: 4.0.0.0
        Win32 Version: 4.7.2106.0 built by: NET47REL1LAST
        CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
    ----------------------------------------
    System
        Assembly Version: 4.0.0.0
        Win32 Version: 4.7.2110.0 built by: NET47REL1LAST
        CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
    ----------------------------------------
    System.Drawing
        Assembly Version: 4.0.0.0
        Win32 Version: 4.7.2053.0 built by: NET47REL1
        CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
    ----------------------------------------
    System.Data
        Assembly Version: 4.0.0.0
        Win32 Version: 4.7.2102.0 built by: NET47REL1LAST
        CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_32/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll
    ----------------------------------------
    System.Core
        Assembly Version: 4.0.0.0
        Win32 Version: 4.7.2106.0 built by: NET47REL1LAST
        CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
    ----------------------------------------
    NShared
        Assembly Version: 1.0.0.0
        Win32 Version: 1.0.0.0
        CodeBase: file:///C:/Program%20Files%20(x86)/NPVR/NShared.DLL
    ----------------------------------------
    System.Data.SQLite
        Assembly Version: 1.0.85.0
        Win32 Version: 1.0.85.0
        CodeBase: file:///C:/Program%20Files%20(x86)/NPVR/System.Data.SQLite.DLL
    ----------------------------------------
    System.Data.Entity
        Assembly Version: 4.0.0.0
        Win32 Version: 4.7.2102.0 built by: NET47REL1LAST
        CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Data.Entity/v4.0_4.0.0.0__b77a5c561934e089/System.Data.Entity.dll
    ----------------------------------------
    System.Xml
        Assembly Version: 4.0.0.0
        Win32 Version: 4.7.2102.0 built by: NET47REL1LAST
        CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
    ----------------------------------------
    System.Transactions
        Assembly Version: 4.0.0.0
        Win32 Version: 4.7.2053.0 built by: NET47REL1
        CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_32/System.Transactions/v4.0_4.0.0.0__b77a5c561934e089/System.Transactions.dll
    ----------------------------------------
    System.Configuration
        Assembly Version: 4.0.0.0
        Win32 Version: 4.7.2053.0 built by: NET47REL1
        CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
    ----------------------------------------
    System.EnterpriseServices
        Assembly Version: 4.0.0.0
        Win32 Version: 4.7.2053.0 built by: NET47REL1
        CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_32/System.EnterpriseServices/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.EnterpriseServices.dll
    ----------------------------------------
    Unmanaged
        Assembly Version: 1.0.6426.14303
        Win32 Version: 
        CodeBase: file:///C:/Program%20Files%20(x86)/NPVR/Unmanaged.DLL
    ----------------------------------------
    System.Runtime.Remoting
        Assembly Version: 4.0.0.0
        Win32 Version: 4.7.2114.0 built by: NET47REL1LAST
        CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Remoting/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
    ----------------------------------------
    SlimDX
        Assembly Version: 4.0.13.43
        Win32 Version: 
        CodeBase: file:///C:/Program%20Files%20(x86)/NPVR/SlimDX.DLL
    ----------------------------------------
    taglib-sharp
        Assembly Version: 2.0.4.0
        Win32 Version: 2.0.4.0
        CodeBase: file:///C:/Program%20Files%20(x86)/NPVR/taglib-sharp.DLL
    ----------------------------------------
    ManagedUPnP
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.0.0
        CodeBase: file:///C:/Program%20Files%20(x86)/NPVR/ManagedUPnP.DLL
    ----------------------------------------
    CustomMarshalers
        Assembly Version: 4.0.0.0
        Win32 Version: 4.7.2053.0 built by: NET47REL1
        CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_32/CustomMarshalers/v4.0_4.0.0.0__b03f5f7f11d50a3a/CustomMarshalers.dll
    ----------------------------------------
    System.Management
        Assembly Version: 4.0.0.0
        Win32 Version: 4.7.2102.0 built by: NET47REL1LAST
        CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Management/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Management.dll
    ----------------------------------------
    Accessibility
        Assembly Version: 4.0.0.0
        Win32 Version: 4.7.2053.0 built by: NET47REL1
        CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
    ----------------------------------------
    
    ************** JIT Debugging **************
    To enable just-in-time (JIT) debugging, the .config file for this
    application or computer (machine.config) must have the
    jitDebugging value set in the system.windows.forms section.
    The application must also be compiled with debugging
    enabled.
    
    For example:
    
    <configuration>
        <system.windows.forms jitDebugging="true" />
    </configuration>
    
    When JIT debugging is enabled, any unhandled exception
    will be sent to the JIT debugger registered on the computer
    rather than be handled by this dialog box.
    Ideas?

  10. #20
    Join Date
    Nov 2003
    Location
    NextPVR HQ, Wellington, New Zealand
    Posts
    84,961
    mmidgley, there is an updated NUtilities.dll that fixes this problem with analog devices in the current build:
    https://forums.nextpvr.com/showthrea...716#post517716

Posting Permissions

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