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 2 3 4 5 34 Next »
Colossus 2 and nextpvr

 
  • 0 Vote(s) - 0 Average
Colossus 2 and nextpvr
Iriman
Offline

Junior Member

USA
Posts: 35
Threads: 3
Joined: Jan 2022
#1
2024-04-20, 11:48 PM
Hi! 
very familiar with arch. have pretty much everything working as far as the card goes. 

Two issues though, 
No audio when streaming to .ts
and cant seem to get it running in nextpvr. 

I just want to list the input as a single channel that will open/start when i select it and close when i stop it. recording is also something id like to do, as i have some old gaming consoles i'd like to record footage from, while viewing the content.

Thanks in advance!
Iriman
Offline

Junior Member

USA
Posts: 35
Threads: 3
Joined: Jan 2022
#2
2024-04-21, 12:04 AM
to elaborate a bit further, ive got to the point of being able to add it as an extra device and get guide info for my stb. my struggle is getting it to see the adapter and use the stream
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,814
Threads: 954
Joined: May 2006
#3
2024-04-21, 12:23 AM
For the Colossus and the HDVPR 2 did you use this https://github.com/jpoet/HauppaugeUSB and can you run it from the command line? If so I had to patch it to close but here is what my extra calls (I am using AC3 in)

/opt/Hauppauge/bin/hauppauge2 -a 1 -d 2 -s E515-00-00AE3EB8 | ffmpeg -v panic -i pipe: -codec copy -f mpegts - &


Martin
Iriman
Offline

Junior Member

USA
Posts: 35
Threads: 3
Joined: Jan 2022
#4
2024-04-21, 12:37 AM
(2024-04-21, 12:23 AM)mvallevand Wrote: For the Colossus and the HDVPR 2 did you use this https://github.com/jpoet/HauppaugeUSB and can you run it from the command line?  If so I had to patch it to close but here is what my extra calls (I am using AC3 in)

/opt/Hauppauge/bin/hauppauge2 -a 1 -d 2 -s E515-00-00AE3EB8 | ffmpeg -v panic -i pipe: -codec copy -f mpegts - &


Martin

Yes fully followed that guide and am able to output to a file, but no audio in the stream. i'll try your extra calls and see if they help. what did you have to do to patch it to close?
Thanks kindly!
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,814
Threads: 954
Joined: May 2006
#5
2024-04-21, 12:50 AM (This post was last modified: 2024-04-28, 10:53 PM by mvallevand.)
Are you trying to get AC-3? Make sure that aac works before trying it there are a few gotchas.

The patch is in the Hauppauge patch that is not on GitHub in src/Hauppauge/hauppauge_hdpvr2_157321_patched_2016-09-26/Common/AVOutput.h

I added an error check in the write function since it appears that any signal from NextPVR to close the script isn't working it leaving hauppauge2 running. My script might be wrong too.

Code:
void write(void *data, size_t len) {
                if(m_use_cb) m_cb(data, len);
                if(m_fd < 0) return;
                int rc = ::write(m_fd, data, len);
                if (rc == -1 || fcntl(m_fd, F_GETFD) == -1)
                        exit(-1);
        }

My plan is to modify the code so that a mythtv-like process works for NextPVR too and hauppauge2 doesn't have to get loaded every call.

Martin
Iriman
Offline

Junior Member

USA
Posts: 35
Threads: 3
Joined: Jan 2022
#6
2024-04-21, 01:03 AM
(2024-04-21, 12:50 AM)mvallevand Wrote: My plan is to modify the code so that a  mythtv-like  process works for NextPVR too and hauppauge2 doesn't have to get loaded every call.

Martin

I would be so onboard with this! I'll keep my eyes open for any updates. 

So, I have your call modified with my device info and output to pipe, but what im having trouble with is finding the pipe.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,814
Threads: 954
Joined: May 2006
#7
2024-04-21, 01:07 AM (This post was last modified: 2024-04-21, 01:08 AM by mvallevand.)
If you want to test the extra on the command line (it is not a named pipe)

if you have UI

collossus.sh | ffplay -i pipe:

if not

collossus.sh | ffprobe -i pipe:

Martin
Iriman
Offline

Junior Member

USA
Posts: 35
Threads: 3
Joined: Jan 2022
#8
2024-04-21, 01:24 AM
(2024-04-21, 01:07 AM)mvallevand Wrote: If you want to test the extra on the command line (it is not a named pipe)

if you have UI

collossus.sh | ffplay -i pipe:

if not

collossus.sh | ffprobe -i pipe:

what and where should i be making the colossus.sh file? i feel close!
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,814
Threads: 954
Joined: May 2006
#9
2024-04-21, 01:30 AM
My extra calls the sh file much easier to change

Martin
Iriman
Offline

Junior Member

USA
Posts: 35
Threads: 3
Joined: Jan 2022
#10
2024-04-21, 01:38 AM
(2024-04-21, 01:30 AM)mvallevand Wrote: My extra calls the sh file much easier to change

Martin

Whats in your sh file? i followed the directions to get extra added into the guide stuff, but i get command not found.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (6): 1 2 3 4 5 6 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  NextPVR can't open RAI (Italian main TV channels) links f2fg 17 2,934 2025-03-29, 10:15 AM
Last Post: alice_anto
  Guide data issue using NextPVR in a Proxmox LXC njc 10 800 2025-03-23, 01:40 PM
Last Post: njc
  NextPVR oddly limited to 7 tuners DaVinylSmith 4 427 2025-02-12, 02:49 PM
Last Post: DaVinylSmith
  NextPVR webserver not starting, prevents client from starting homemaisonbaile 28 1,210 2025-02-04, 05:23 PM
Last Post: mvallevand
  NextPVR 7 looses recordings after post processing ballfam 15 825 2024-12-20, 03:23 AM
Last Post: ballfam
  NextPVR user1232 1 288 2024-11-09, 11:21 AM
Last Post: mvallevand
  How does NextPVR separate TV from VOD ? FrankBKK 8 768 2024-10-30, 06:17 AM
Last Post: sub
  NextPVR i.mjh.nz [Failed: Recording interrupted] Nzbaxterman 6 678 2024-10-29, 11:44 PM
Last Post: sub
  NextPVR server on LibreElec jcjefferies 45 3,841 2024-09-16, 04:38 PM
Last Post: mvallevand
  NextPVR doesn't record retrofan 5 537 2024-09-15, 05:15 PM
Last Post: mvallevand

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

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

Linear Mode
Threaded Mode