NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support Linux v
« Previous 1 … 24 25 26 27 28 … 34 Next »
Hauppauge HD-PVR2

 
  • 0 Vote(s) - 0 Average
Hauppauge HD-PVR2
christheman
Offline

Member

Posts: 104
Threads: 14
Joined: Apr 2014
#1
2020-07-08, 09:10 PM
This section puts a smile on my face.  Thanks to all involved for making this happen with Linux!

I have been using Linux Mint now for about 4 or 5 years and basically use it for all my internet-facing computers, so this is very interesting to me.

There is a situation I have wondered about, though in typical fashion for me, I am probably the only one who ever thought of it.  Could it be practical for one to compile and load the "test" application in Linux for the Hauppauge HD-PVR2 on this platform? 
https://hauppauge.com/pages/support/supp...tml#hdpvr2

I do have a couple of these and use one connected to a sat tuner box on a regular basis, though using Windows XP and a much-outdated version of NextPVR on a HP DC7900 USDT with an E8400 Duocore processor.

I intend to upgrade to a more recent computer in that rack (an HP 8300 USDT with 4 core i5-3470s processor - Linux Mint seems to like these so I have a couple extra), so this might be a path I could go down, otherwise I am probably looking at loading it with Windows 7.

Thanks
Chris
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,828
Threads: 954
Joined: May 2006
#2
2020-07-08, 09:20 PM
I use the original HDPVR 1212 with Debian daily using firewire tuning and the only issue I have is I lose AC3 every once in a while. I could not get the built in IR blaster on mine working though but I also have an iguana works blaster (I have 3 STBs) and that is very reliable.

You don't need to compile anything if you have a supported HDPVR2 they should just show up as v4l devices. Once you see the vl4 device I can help you with creating an extra device.

Martin
christheman
Offline

Member

Posts: 104
Threads: 14
Joined: Apr 2014
#3
2020-07-08, 09:42 PM
Hi Martin

Sounds good. I'll post back when I get to that point.

Thanks
Chris
shspvr
Offline

Senior Member

Posts: 419
Threads: 32
Joined: Jan 2004
#4
2020-07-09, 01:13 AM
(2020-07-08, 09:20 PM)mvallevand Wrote: I use the original HDPVR 1212 with Debian daily using firewire  tuning and the only issue I have is I lose AC3 every once in a while.  I could not get the built in IR blaster on mine working though but I also have an iguana works blaster (I have 3 STBs) and that is very reliable.

You don't need to compile anything if you have a supported HDPVR2 they should just show up as v4l devices.  Once you see the vl4 device I can help you with creating an extra device.

Martin

That funny only original HD-PVR show up as v4l devices as far I know of not the HD-PVR 2 nor Colossus 2 as the driver that from Hauppauge are in forum of user mode application when did sub support it ?.
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,828
Threads: 954
Joined: May 2006
#5
2020-07-09, 01:38 AM
Ok after more checking maybe didn't help enable v4l support for these devices. I see there is a command line tool that might work as a command line extra if it supports stdout and can graciously shutdown

Martin
christheman
Offline

Member

Posts: 104
Threads: 14
Joined: Apr 2014
#6
2020-07-16, 09:13 PM
Well I've been busy this week but I did get a chance to load the Linux version of NextPVR and got to the point where the device could be added.  In addition I compiled the small program linked above in the thread, in case I might need it.  It causes the HD-PVR2 lights to change.  Have there been any further thoughts on adding the HD-PVR2 since the two of you last posted?  Basically this is going to replace the Windows device driver that ships with the unit, except I may need to connect the dots yet somewhere?

Chris
shspvr
Offline

Senior Member

Posts: 419
Threads: 32
Joined: Jan 2004
#7
2020-07-17, 11:28 AM (This post was last modified: 2020-07-17, 05:02 PM by shspvr.)
(2020-07-16, 09:13 PM)christheman Wrote: Well I've been busy this week but I did get a chance to load the Linux version of NextPVR and got to the point where the device could be added.  In addition I compiled the small program linked above in the thread, in case I might need it.  It causes the HD-PVR2 lights to change.  Have there been any further thoughts on adding the HD-PVR2 since the two of you last posted?  Basically this is going to replace the Windows device driver that ships with the unit, except I may need to connect the dots yet somewhere?

Chris

I ask brad if has any plan on converting the Linux HD-PVR 2 / Colossus 2 drivers in to a reg package
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,828
Threads: 954
Joined: May 2006
#8
2020-07-17, 04:21 PM (This post was last modified: 2020-07-17, 04:22 PM by mvallevand.)
If the command line pipes to stdout it would be matter of creating an extra that look like

Code:
<extras>
  <channel name="{channel-name}">
    <command>bash</command>
    <args>-c "/var/opt/nextpvr/scripts/hdpvr.sh {channel}"</args>
  </channel>
</extras>

and then hdpvr.sh look like

Code:
blaster.sh $1
hdpv2app parameters | ffmpeg -v panic -i pipe: -vcodec copy - acodec (copy or aac) -

test with

/var/opt/nextpvr/scripts/hdpvr.sh 100 | ffplay -i pipe:

Martin
christheman
Offline

Member

Posts: 104
Threads: 14
Joined: Apr 2014
#9
2020-07-18, 09:03 AM (This post was last modified: 2020-07-18, 09:10 AM by christheman.)
Ok, I got the files created. I created the "extras-hdpvr2.xml" file with "extras" tag into the "/var/opt/nextpvr" directory (along with the main NextPVR config file), as per the Windows version of the wiki help. Then that comes up as an extra device in NextPVR.

I then created the "HDPVR2.sh" file into the "/var/opt/nextpvr/scripts" directory. That file is referenced by the "extras-hdpvr2.xml" file.

I am assuming that the "blaster.sh $1" line is for a remote blaster? If so I can safely comment that out for now.

Also it looks like you are using FFMPEG only to properly form the video file, and nothing else. So is "-v panic" used to indicate file termination? Also I see you are using "-i pipe:" in two different places, so that must be the correct format to form the filenames from Schedules Direct? Finally what does the "100" do in "/var/opt/nextpvr/scripts/hdpvr.sh 100 | ffplay -i pipe:"? Is this command used to play back the video in NextPVR, or just watch live?

P.S, I am still using the NEWA add-on on the Windows XP version of NextPVR. Is that still an add-on, or has it been integrated into the base of the current version of NextPVR? I haven't fully implemented it all quite yet to find out.

Thanks
Chris
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,828
Threads: 954
Joined: May 2006
#10
2020-07-18, 11:56 AM
-v panic is to stop ffmpeg text output from going to stdout

-i pipe is indicating reading stdout, you see it twice only in the test because ffplay is mimicking how NextPVR will read the stdout from the .sh file.

the 100 is a fake channel number, the real one will be passed from NextPVR for your blaster script. Playing a recording will be be from a file created using this script. For testing your can comment out the line yes.

NEWA web browser is gone and replaced by the new browser interface.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (3): 1 2 3 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  Can't Remember How to Install Hauppauge Firmware Mark_S 2 1,077 2023-09-03, 12:18 PM
Last Post: Mark_S
  Raspberry Pi 4 & Hauppauge 950Q - Stuck on Live TV jogeedaklown 2 908 2022-01-06, 04:26 PM
Last Post: jogeedaklown
  Multirec with Hauppauge koijh65 6 1,856 2021-03-09, 04:55 AM
Last Post: koijh65
  Hauppauge 2650 Tuner glb1945 13 2,552 2020-10-17, 01:51 AM
Last Post: mvallevand
  RPi4 crashes or root disk is unmounted while recording on Hauppauge WinTV-dualHD scotrich99 17 3,923 2020-06-09, 02:56 AM
Last Post: mvallevand
  Hauppauge 2650 support glb1945 1 1,070 2020-02-06, 02:47 AM
Last Post: sub

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode