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 … 21 22 23 24 25 … 34 Next »
Paging Martin --- IP camera as a extras channel

 
  • 0 Vote(s) - 0 Average
Paging Martin --- IP camera as a extras channel
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,132
Threads: 957
Joined: May 2006
#11
2020-04-02, 11:41 PM
If you want this to work, you are going to probably have to remux it and you still will have errors on the input it is the output you want clean

-fflags +genpts -r 30 -i rtsp.... -vcodec h264 -acodec aac

Martin
snagglewest
Offline

Senior Member

VA USA
Posts: 361
Threads: 60
Joined: Jul 2011
#12
2020-04-02, 11:52 PM
Can you help me out, ffmpg is not my fortee.  I tried to incorporate what you said, but obviously I got it all dorked up cuz it don't work Smile

Code:
<args>-re -fflags +genpts -r 30 -i -rtsp_transport tcp -i "rtsp://xxx:xxx@192.168.1.182:554/11" -vcodec h264 -acodec aac -f mpegts -</args>
NextPVR V6.1.5.231022 - Ubuntu 22.04 VM / 4 core / 8Gb memory
HDHR Prime X2 / HDFX-2 /Schedule Direct / 2X Pi4 + & 3X Pi3 LibreELEC Kodi clients
Server - TrueNAS/ SuperMicro MBD-X10SL7-F MB / Xeon E3-1246 / 32Gb Unbuffered ECC / 8 X 4TB RAIDZ2
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,132
Threads: 957
Joined: May 2006
#13
2020-04-02, 11:57 PM (This post was last modified: 2020-04-02, 11:57 PM by mvallevand.)
Try it from the command line first, but it looks like there is an extra -i now before -rtsp_transport

Martin
snagglewest
Offline

Senior Member

VA USA
Posts: 361
Threads: 60
Joined: Jul 2011
#14
2020-04-03, 12:03 AM (This post was last modified: 2020-04-03, 12:03 AM by snagglewest.)
Martin, I've  got a steam with this, but I'm sure it's got some issues in the arguments.  Do you see anything I can do to clean it up?

Code:
<args>-re -v panic -f lavfi -i anullsrc=r=48000  -rtsp_transport tcp -i "rtsp://xxx:xxx@192.168.1.182:554/11" -vcodec h264 -acodec aac -f mpegts -</args>
NextPVR V6.1.5.231022 - Ubuntu 22.04 VM / 4 core / 8Gb memory
HDHR Prime X2 / HDFX-2 /Schedule Direct / 2X Pi4 + & 3X Pi3 LibreELEC Kodi clients
Server - TrueNAS/ SuperMicro MBD-X10SL7-F MB / Xeon E3-1246 / 32Gb Unbuffered ECC / 8 X 4TB RAIDZ2
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,132
Threads: 957
Joined: May 2006
#15
2020-04-03, 12:06 AM
You don't need this anymore -f lavfi -i anullsrc=r=48000 since your camera has audio and you took out the genpts but if it works with the raw transcode that is ok.

Martin
snagglewest
Offline

Senior Member

VA USA
Posts: 361
Threads: 60
Joined: Jul 2011
#16
2020-04-03, 10:53 PM
Just to close the loop; I've got it work with this arg:

Code:
<args>-re -v panic -f lavfi -i anullsrc=r=48000:cl=mono -rtsp_transport tcp -i "rtsp://xxx:xxx@192.168.1.182:554/11" -vcodec h264 -acodec aac -f mpegts -</args>

For some reason when I took out the "lavfi"  and "anullscr" it wouldn't run.  I put it back in and changed it to "lavfi -i anullsrc=r=48000:cl=mono" and it works.   Not sure if "anullsrc=r=48000:cl=mono" is an improvement or not but it seems to allow the stream to start a few seconds sooner or its just my imagination but either way it's working,

Thanks!
NextPVR V6.1.5.231022 - Ubuntu 22.04 VM / 4 core / 8Gb memory
HDHR Prime X2 / HDFX-2 /Schedule Direct / 2X Pi4 + & 3X Pi3 LibreELEC Kodi clients
Server - TrueNAS/ SuperMicro MBD-X10SL7-F MB / Xeon E3-1246 / 32Gb Unbuffered ECC / 8 X 4TB RAIDZ2
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,132
Threads: 957
Joined: May 2006
#17
2020-04-03, 11:07 PM
Do you get sound from your camera in normal use?

Martin
snagglewest
Offline

Senior Member

VA USA
Posts: 361
Threads: 60
Joined: Jul 2011
#18
2020-04-03, 11:22 PM
This camera doesn't have sound and the couple that do I've shut off on the camera as they're all exterior and up fairly high.
NextPVR V6.1.5.231022 - Ubuntu 22.04 VM / 4 core / 8Gb memory
HDHR Prime X2 / HDFX-2 /Schedule Direct / 2X Pi4 + & 3X Pi3 LibreELEC Kodi clients
Server - TrueNAS/ SuperMicro MBD-X10SL7-F MB / Xeon E3-1246 / 32Gb Unbuffered ECC / 8 X 4TB RAIDZ2
snagglewest
Offline

Senior Member

VA USA
Posts: 361
Threads: 60
Joined: Jul 2011
#19
2020-11-16, 06:07 PM
Martin,

Would you please revisit this with me?  If you recall I had made an extras that worked, at least on my main vero4k box and via a web UI.  For some reason the raspberry pi boxes never did like it but at the time it wasn't a big deal.  Well fast forward to now...  The vero died and I replaced it with a Pi4 using libreelec kodi.  

When I select the extras channel (in this case #1936 - Front_Yard) it will only display a black screen.  I can see in the livetv folder on NextPvr that the live TV file is being created and growing so that indicates to me the problem is most likely the Pi.    I'm guessing the problem is the stream format.  The normal tv channel is mpeg2 where the extras one is h264.

Attached are NextPVR & the Kodi log from when I tried to play the channel along with screenshots of the 2 channels.

I'm way outside of my knowledge area so I'm asking for you help me get a extras argument that will play.

Thanks - Snag

Camera can be accessed from VLC with"
Code:
rtsp://[username]:[password]@192.168.1.182:554/11

Extras code:
Code:
<args>-re -v panic -f lavfi -i anullsrc=r=48000:cl=mono -rtsp_transport tcp -i "rtsp://xxx:xxx@192.168.1.182:554/11" -vcodec h264 -acodec aac -f mpegts -</args>


Attached Files Thumbnail(s)
       

.zip   logs.zip (Size: 444.23 KB / Downloads: 1)
NextPVR V6.1.5.231022 - Ubuntu 22.04 VM / 4 core / 8Gb memory
HDHR Prime X2 / HDFX-2 /Schedule Direct / 2X Pi4 + & 3X Pi3 LibreELEC Kodi clients
Server - TrueNAS/ SuperMicro MBD-X10SL7-F MB / Xeon E3-1246 / 32Gb Unbuffered ECC / 8 X 4TB RAIDZ2
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,132
Threads: 957
Joined: May 2006
#20
2020-11-16, 06:20 PM
I don't have a clue what you mean with a normal channel I assume that just is broadcast.

First did you you verify you have a working extra? You can play with the input

Code:
ffmpeg -re -v panic -f lavfi -i anullsrc=r=48000:cl=mono -rtsp_transport tcp -i "rtsp://admin:admin1@192.168.1.182:554/11" -vcodec h264 -acodec aac -f mpegts - | ffplay -i pipe:

I am not an RPi4 fan so not too interested in helping further on the playback. It is a better server than client. In theory h264/aac shouldn't be an issue.

Martin
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (3): « Previous 1 2 3 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  Extras Tuners Not Loading on NextPVR 3.1 Linux Install Siftingice 1 76 2025-07-03, 12:12 AM
Last Post: mvallevand
  Extras Tuners Not Loading on NextPVR 3.1 Linux Install Siftingice 0 47 2025-07-03, 12:02 AM
Last Post: Siftingice
  Extra - {channel} argument not working? blitz2kx 2 672 2024-06-11, 03:54 PM
Last Post: blitz2kx
  BBC Four HD missing from Channel scan - Astra 28.2E Heifer 12 2,456 2024-03-03, 01:49 PM
Last Post: mvallevand
  HDHomerun channel scan not working WagMan 2 818 2023-12-06, 02:38 PM
Last Post: mvallevand
  Different Errors depending on channel (no tuner found/transcoding Error) idefixrc 3 894 2023-11-21, 12:45 PM
Last Post: mvallevand
  Australian IPTV Channel 10 refusing "VLC/2.2.6 LibVLC/2.2.6" header Leigh 1 843 2023-10-23, 11:46 AM
Last Post: mvallevand
  No regions or auto-detect in channel scan Paul_G 1 659 2023-08-04, 02:03 PM
Last Post: mvallevand
Photo Copy Channel Lineup in Linux boukmandutty 11 1,851 2023-06-15, 06:53 PM
Last Post: mvallevand
  New linux setup extras help greatwhitenorth 8 2,300 2023-01-26, 07:11 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