NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums General General Discussion v
« Previous 1 … 4 5 6 7 8 … 159 Next »
Using dshow or ffmpeg as an input to NPVR?

 
  • 0 Vote(s) - 0 Average
Using dshow or ffmpeg as an input to NPVR?
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,106
Threads: 957
Joined: May 2006
#71
2020-02-08, 01:08 AM
You want want to consider having multiple extras depending on the channel, or preferably join in my wishlist that sub to moves to a quality based capture model which could gets passed to the extra as a parameter.

Martin
gdogg371
Offline

Member

Posts: 149
Threads: 23
Joined: May 2018
#72
2020-02-08, 01:11 AM
(2020-02-08, 01:08 AM)mvallevand Wrote: You want want to consider having multiple extras depending on the channel, or preferably join in my wishlist that sub to moves to a quality based capture model which could gets passed to the extra as a parameter.

Martin

So you mean have a Live TV extras and a VOD extras that have different batch files and XML files?
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,106
Threads: 957
Joined: May 2006
#73
2020-02-08, 01:21 AM
Potentially yes I'd pass parameters to one batch file myself. The risk is to NextPVR they are two tuners so you can't necessarily trust scheduling. You might be recording VOD and someone watching LiveTV kills the capture.

Martin
gdogg371
Offline

Member

Posts: 149
Threads: 23
Joined: May 2018
#74
2020-02-08, 01:26 AM
(2020-02-08, 01:21 AM)mvallevand Wrote: Potentially yes I'd pass parameters to one batch file myself.  The risk is to NextPVR they are two tuners so you can't necessarily trust scheduling.  You might be recording VOD and someone watching LiveTV kills the capture.

Martin

There is only me at the minute, so that won't happen. However, I am looking at upscaling my setup to benefit family members etc, so will have to think about ways around this potential issue. Based on how my service provider is set up, I think I have a way to prevent different people tripping each other up. The remaining issue would be how to avoid me tripping myself up. Couple of questions then:

1) In your video you have added on ondemand menu to Kodi. I am fine with skinning etc, but how do you point Kodi to NVPR from there when it isnt via the PVR menu?
2) To avoid clashes and allow recording one thing and viewing another simultaneously, can Kodi accept two NVPR instances somehow? One for live and one for VOD?
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,106
Threads: 957
Joined: May 2006
#75
2020-02-08, 01:29 AM
1) That is from the knewc addon. Pretty much all the API is available in the python source I built it for testing more than use.

2) Think that through, the number of instance it won't help the fundamental problem.

Martin
gdogg371
Offline

Member

Posts: 149
Threads: 23
Joined: May 2018
#76
2020-02-08, 01:41 AM
(2020-02-08, 01:29 AM)mvallevand Wrote: 1) That is from the knewc addon.  Pretty much all the API is available in the python source I built it for testing more than use.

2) Think that through, the number of instance it won't help the fundamental problem.

Martin


Re number 1), can you give me some more info. What is the knewc addon? Is this what you have built?
Re number 2), I see your point, however my provider gives you a master box and slave boxes round the house. I could potentially use one for live and one for VOD...
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,106
Threads: 957
Joined: May 2006
#77
2020-02-08, 01:46 AM (This post was last modified: 2020-02-08, 01:47 AM by mvallevand.)
Certainly if you buy a second HDMI encoder you will have two tuners but you could run this both from one NPVR especially if you purchased a traditional device.

You posted in the knewc/x-newa support forum The source code repo is here https://github.com/emveepee/X-NEWA . It is not great code the model pre-dates my involvement it is a mess of code supporting v4 and v5 and now it is really hacked to support python 2 and 3. But I asked you to discuss this in the other forum.

Martin
gdogg371
Offline

Member

Posts: 149
Threads: 23
Joined: May 2018
#78
2020-02-08, 12:17 PM
(2020-02-08, 01:46 AM)mvallevand Wrote: Certainly if you buy a second HDMI encoder you will have two tuners but you could run this both from one NPVR especially if you purchased a traditional device.

You posted in the knewc/x-newa support forum  The source code repo is here https://github.com/emveepee/X-NEWA .  It is not great code the model pre-dates my involvement it is a mess of code supporting v4 and v5 and now it is really hacked to support python 2 and 3.  But I asked you to discuss this in the other forum.

Martin

My apologies. When you said our projects were not related, I took that to mean you meant we were best off reverting to here. I will cross post on the other thread to bring that one up to speed...
gdogg371
Offline

Member

Posts: 149
Threads: 23
Joined: May 2018
#79
2020-02-08, 04:02 PM
Hi - let me know if you would rather I start a new thread for this. However, my next task/problem is to get the blaster element working. I've originally been around this wheel once sort of in this thread: https://forums.nextpvr.com/showthread.ph...t=gdogg371 using my blaster script with an old 1080 DVB-T card. To concisely explain my blaster functionality:

1) It's a command line executable with arguments expected afterwards to make it do anything.
2) It literally mimics the STB remote 100% pretty much. So if you wanted to select channel 401, using NPVR v4 I mapped these as per the above thread to channel arguments 2, 3, 4.

I'm a bit lost though as to how to integrate my blaster with the way we have set things up using extras and v5 in this thread. I get that I need to add my blaster command line statement to my .bat file above my commands to activate a stream through VLC. What exactly should this format look like though? For example (and as a probably incorrect) stab in the dark, would my .bat file perhaps look something like this?

"C:\MyLocation\MyExecutableFile.exe {channel_d2} {channel_d3} {channel_d4}"

"G:\VLC\vlc <my very long vlc command>"

...or is there a (completely) different way of doing this in extras?
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,106
Threads: 957
Joined: May 2006
#80
2020-02-08, 05:06 PM
New thread with good subjects are always good to help out others.

Use substring on $1 to get the digits

Martin
« Next Oldest | Next Newest »

Users browsing this thread: 2 Guest(s)

Pages (9): « Previous 1 … 5 6 7 8 9 Next »
Jump to page 


Possibly Related Threads…
Thread Author Replies Views Last Post
  Merging video with web radio (ffmpeg) NumberFive 1 1,167 2021-05-04, 01:01 PM
Last Post: mvallevand
  NPVR 5 Logs gdogg371 2 2,090 2020-06-02, 08:54 PM
Last Post: gdogg371
  Fun with ffmpeg mvallevand 5 2,629 2020-05-15, 03:01 PM
Last Post: mvallevand
  NPVR Channel Numbers in Kodi... gdogg371 5 3,410 2020-02-24, 02:22 AM
Last Post: mvallevand
  remote NPVR setup suggestions p37307 3 2,464 2020-02-17, 11:54 AM
Last Post: Graham
  Playstation Vue with NPVR Ex Bee MC 14 8,557 2019-03-26, 09:55 AM
Last Post: 2leftfeet
  Thanks NPVR! alannerd614 7 4,514 2018-03-24, 04:14 AM
Last Post: joeijm
  What does NPVR remove when naming recordings p37307 0 1,733 2016-12-24, 10:55 AM
Last Post: p37307
  Little NPVR praise p37307 2 2,471 2016-10-25, 08:07 PM
Last Post: p37307
  Windows 10 Anniversary NPVR fullscreen flicker and freeze fix p37307 1 3,207 2016-08-11, 02:59 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