NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support v
« Previous 1 … 14 15 16 17 18 … 43 Next »
Cannot get extras to work

 
  • 0 Vote(s) - 0 Average
Cannot get extras to work
MiF
Offline

Junior Member

US
Posts: 2
Threads: 1
Joined: Mar 2022
#1
2022-03-29, 09:38 PM
I've been trying to get extras to work and have completely failed. First I tried to get build my own xml file and store it in the NPVR-Data directory.

I named the file extras-cam.xml

Code:
<extras>
    <channel name="Camera 1">
        <command>ffmpeg.exe</command>
        <args>-re -v panic -f lavfi -i anullsrc=r=48000 -rtsp_trasnport tcp -i "rtsp://0.0.0.0:554/user=admin&password=&channel=1&stream=0.sdp?" -vcodec copy -acodec aac -f mpegts -
        </args>
    </channel>
</extras>


The device never shows up in the devices list after multiple reboots and multiple tries clicking on refresh devices.

Then I tried adding the PlutoTV extra defined here https://github.com/sub3/NextPVR/wiki/Extra-PlutoTV

No luck getting that to work either.

My NextPVR version is 5.2.6.220206
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,838
Threads: 954
Joined: May 2006
#2
2022-03-29, 09:58 PM
Certainly that extra won't work since you camera's ip won't be 0.0.0.0 Also that you can't use the single & in xml they would be &amp; I won't help further then that.

As for Pluto the biggest issue users have would be not following the instructions on how to load python and streamink, including ensuring you have the right version.

Those are two separate topics and you should have opened two thread in the Extras forum.

Martin
MiF
Offline

Junior Member

US
Posts: 2
Threads: 1
Joined: Mar 2022
#3
2022-03-29, 10:41 PM
I just set the local ip to 0.0.0.0 in the example because it was irrelevant information. The &amp thing is noted, but the device should have still appeared even if the stream was not going to work correct?

I followed the instructions for Pluto exactly. I already have Python installed on my server and just simply used the streamlink installer with the bundled ffmeg.
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,838
Threads: 954
Joined: May 2006
#4
2022-03-29, 10:46 PM
Not correct, it is not a valid xml file.

Feel free to create a proper new thread on Pluto in the Extras forum with logs.

Martin
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,661
Threads: 767
Joined: Nov 2003
#5
2022-03-30, 12:11 AM
(2022-03-29, 10:41 PM)MiF Wrote: I just set the local ip to 0.0.0.0 in the example because it was irrelevant information. The &amp thing is noted, but the device should have still appeared even if the stream was not going to work correct?
If you want to post logs, I can check for any errors loading your extra.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,661
Threads: 767
Joined: Nov 2003
#6
2022-03-30, 12:13 AM
FYI, here is your corrected xml, and I've confirmed the device appears on my Settings->Devices screen:

Code:
<extras>
    <channel name="Camera 1">
        <command>ffmpeg.exe</command>
        <args>-re -v panic -f lavfi -i anullsrc=r=48000 -rtsp_trasnport tcp -i "rtsp://0.0.0.0:554/user=admin&amp;password=&amp;channel=1&amp;stream=0.sdp?" -vcodec copy -acodec aac -f mpegts - </args>
    </channel>
</extras>

I added the escaping for the '&' character to make it valid xml, and changed the end of the args to make sure it ended with ' - ' with spaces each side as ffmpeg requires.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
Question extras.xml | channel management D3iver 3 359 2025-01-12, 09:05 PM
Last Post: mvallevand
  Can NextPVR work well under docker on oldish hardware? ramiroelliot 1 329 2024-10-29, 11:36 PM
Last Post: sub
  Extras.xml | restart ffmpeg when it closes? D3iver 5 598 2024-09-27, 03:35 PM
Last Post: mvallevand
  Adding new channels - extras hdpvr-doug8796 20 1,853 2024-09-20, 05:26 PM
Last Post: sub
  BBC News HD - Embed M3U8 playlist as extras device cbconrad92 12 8,115 2022-08-05, 07:25 PM
Last Post: cbconrad92
  Web app does not work in Chrome, works in Firefox buckeyestargazer 3 981 2022-05-28, 02:34 AM
Last Post: sub
  Extras and IR Blasters TheCompWiz 11 2,241 2022-02-23, 04:58 PM
Last Post: sub
Tongue Run extras tuner batch file every time recording starts dlfergrd 7 1,962 2020-12-18, 11:47 PM
Last Post: dlfergrd
  Will UncleJohnsBand WebAdmin Searches work in v5 the same as in v4? jksmurf 28 7,748 2020-04-01, 01:53 PM
Last Post: mvallevand
  How does the Minutes Configuration Next to Live TV Buffer Directory work? aderlopas 8 2,682 2020-01-17, 04:47 PM
Last Post: aderlopas

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

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

Linear Mode
Threaded Mode