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?
gdogg371
Offline

Member

Posts: 149
Threads: 23
Joined: May 2018
#1
2019-07-07, 06:30 PM
Hi,

I've been scratching around trying to find an answer to this, but with no luck. Basically I have got a capture card to play a device connected to it with VLC by using the following dshow commands:

vlc dshow:// :dshow-vdev="Video (00 Pro Capture HDMI 4K+)" :dshow-adev="Audio (00 Pro Capture HDMI 4K+)" :dshow-aspect-ratio=16\:9 :dshow-chroma=RV32 :dshow-vcodec=libx265 :dshow-fps=60 :dshow-acodec=mp4a :dshow-ab=96 :dshow-channels=2 :dshow-samplerate=48000 :no-dshow-config :no-dshow-tuner :live-caching=100 --sout-keep

...using either dshow or ffmpeg, can I do the same with NPVR? I know you can with TVHeadEnd, but I'm finding Ubuntu in a virtual machine so unreliable, I'd rather do it all via NPVR if possible.

Thanks
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,626
Threads: 767
Joined: Nov 2003
#2
2019-07-07, 06:43 PM
This is a analog device, in the sense the video arrives as raw frames, and needs to be encoded/muxed using software. Unfortunately NextPVR doesn't contain the components required to do this encoding and muxing for you, so this device isn't support natively.

The other HDMI capture devices that NextPVR does support natively, encode the video to H.264/AAC/AC3 in hardware, then deliver the content as a transport stream (much like you get from digital TV broadcasts).

You could possibly have ffmpeg or vlc do this encoding, like you're doing above, to produce a transport stream, sending it to udp, and configure NextPVR to use IPTV to access the channel via udp.
gdogg371
Offline

Member

Posts: 149
Threads: 23
Joined: May 2018
#3
2019-07-07, 08:20 PM
sub Wrote:This is a analog device, in the sense the video arrives as raw frames, and needs to be encoded/muxed using software. Unfortunately NextPVR doesn't contain the components required to do this encoding and muxing for you, so this device isn't support natively.

The other HDMI capture devices that NextPVR does support natively, encode the video to H.264/AAC/AC3 in hardware, then deliver the content as a transport stream (much like you get from digital TV broadcasts).

You could possibly have ffmpeg or vlc do this encoding, like you're doing above, to produce a transport stream, sending it to udp, and configure NextPVR to use IPTV to access the channel via udp.

Hi, thanks for replying...just so I am clear then:

1) Redirect my current dshow command to an ip address/port of some sort.
2) Point NPVR to that as an IPTV server.

Is that correct? Also, can NPVR support multiple IPTV sources simultaneously?
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,770
Threads: 954
Joined: May 2006
#4
2019-07-07, 09:20 PM
With v4 I suggest the network recorder add with sgraphrecorder might be easier.

Still hoping for v4l2 support in future Linux builds to help with a variety of devices

Martin
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,626
Threads: 767
Joined: Nov 2003
#5
2019-07-07, 09:39 PM
gdogg371 Wrote:Hi, thanks for replying...just so I am clear then:

1) Redirect my current dshow command to an ip address/port of some sort.
2) Point NPVR to that as an IPTV server.

Is that correct?
Yes, that is what I was suggesting.

Quote:Also, can NPVR support multiple IPTV sources simultaneously?
Yes.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,626
Threads: 767
Joined: Nov 2003
#6
2019-07-07, 09:40 PM
mvallevand Wrote:Still hoping for v4l2 support in future Linux builds to help with a variety of devices
I am intending to add support for this. Just got a few other things to get done before then.
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,770
Threads: 954
Joined: May 2006
#7
2019-07-07, 10:04 PM
sub Wrote:I am intending to add support for this. Just got a few other things to get done before then.

Sorry I wan't meaning to sound like I was pushing you. Today I was watching FIFA Women's final from my N2 and on one monitor I had HDPVR output via v4l2 and another 1080i ATSC served by NextPVR and the v4l2 was using around 1-2% CPU

Unfortunately I can't get UDP output to remux in realtime for the HDPVR.

Martin
gdogg371
Offline

Member

Posts: 149
Threads: 23
Joined: May 2018
#8
2019-07-07, 10:11 PM
sub Wrote:Yes, that is what I was suggesting.

Yes.

I've almost got my VLC server up and running now...does NPVR need a UDP server/stream, or can it accept rtsp, http etc?
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,626
Threads: 767
Joined: Nov 2003
#9
2019-07-08, 01:13 AM
It'll probably have to be udp.

NextPVR could also do http, but ffmpeg would need to accept incoming requests, and I'm not sure they support that.
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,770
Threads: 954
Joined: May 2006
#10
2019-07-08, 01:21 AM
How would you control a blaster with IPTV?

Martin
« Next Oldest | Next Newest »

Users browsing this thread: 2 Guest(s)

Pages (9): 1 2 3 4 5 … 9 Next »
Jump to page 


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