NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support Docker amd64 v
« Previous 1 … 5 6 7 8 9 Next »
Extras Tuner support for unicast/multicast streams

 
  • 0 Vote(s) - 0 Average
Extras Tuner support for unicast/multicast streams
ChrisHammond56
Offline

Junior Member

Posts: 39
Threads: 5
Joined: Mar 2015
#1
2020-07-28, 04:02 PM
Hi, I have been using an Extras tuner for some time, to get my TBS2603 stream into NextPVR, and using a script to change the channel and then get stream via CURL (works great).

I have recently been given 2x AGPteK LKV373A (both TX and RX). By ditching the RX unit and connecting the TX to my router, I can view the unicast stream (can be configured to multicast also) with VLC by entering udp://@239.255.42.42:5004.

Is there a way that I can add a new Extras Tuner so that I can add a further TV source (with scripting for channel change as with the TBS unit)?

Thanks
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,837
Threads: 954
Joined: May 2006
#2
2020-07-28, 04:28 PM (This post was last modified: 2020-07-28, 04:31 PM by mvallevand.)
You should be able to create the extra if you open the udp port and use host instead of bridged mode. Something like this

ffmpeg -i udp://239.255.42.42:5004 -vcodec h264 -acodec aac -f mpegts -

if your PC has the horsepower. If your docker has vaapi even better.

Martin
ChrisHammond56
Offline

Junior Member

Posts: 39
Threads: 5
Joined: Mar 2015
#3
2020-07-28, 07:42 PM
That looks promising. I can give it a go.

I am running docker on Synology DS918+ so its got HW transcoding. However, I was hoping to just replicate what I was playing with earlier with VLC (vlc.exe -R -vvv udp://@239.255.42.42:5004 Confusedout=#http{mux=ts,dst=:9080/channel} Confusedout-all Confusedout-keep). Is that possible with ffmpeg options, so that its actually just changing the transport instead of transcoding?

Sorry, not an export on ffmpeg and vlc.
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,837
Threads: 954
Joined: May 2006
#4
2020-07-28, 08:08 PM (This post was last modified: 2020-07-28, 08:08 PM by mvallevand.)
It depend on your goal. Your file is likely mjpeg not h264 and probably pcm so that would not be possible in a ts container. You will have huge files and probably limited clients that could play it back. Also NextPVR won't work with non-ts files.

You can also use vlc to create whatever stdout your want if you are more comfortable with it making sure you use -I dummy

Martin
ChrisHammond56
Offline

Junior Member

Posts: 39
Threads: 5
Joined: Mar 2015
#5
2020-07-28, 09:59 PM
Thanks again for the feedback. The info from VLC says that the video is Codec: H264 - MPEG-4 AVC (part 10) (h264) and audio is Codec: MPEG Audio layer 1/2 (mpga)

I suppose I should elaborate on my goal. With Windows I can use VLC to 'restream' the incoming source from UDP://@ to HTTP and then add this as a tuner in NextPVR v5 using the Extras xml. I can get that to use CURL in a script and it works. However, I want to remove the middle-man as it were, by adding the UDP as a direct tuner in NextPVR v5

NextPVR v4 had the capability to add an IPTV source such as RTSP/RTMP?UDP if I recall?
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,837
Threads: 954
Joined: May 2006
#6
2020-07-28, 10:18 PM (This post was last modified: 2020-07-28, 10:19 PM by mvallevand.)
Ok then you don't need to transcode. I was going by the web site so you can just replay h264 with copy. V 5.0.7 has a a new format for an extra that outputs the url after tuning but I tried with my multicast box and it looks like sub might not have implemented UDP yet. If you don't need a blaster you can still use UDP as IPTV in v5

Martin
ChrisHammond56
Offline

Junior Member

Posts: 39
Threads: 5
Joined: Mar 2015
#7
2020-07-28, 10:33 PM
Excuse my ignorance, how can I add the unicast source UDP://@239.255.42.42:5004 in the IPTV source. I see M3U and XC(??)
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,837
Threads: 954
Joined: May 2006
#8
2020-07-28, 11:06 PM (This post was last modified: 2020-07-28, 11:06 PM by mvallevand.)
Just use udp://239.255.42.42:5004 as the URL in an m3u file remembering my comment to use host mode on docker.

Martin
ChrisHammond56
Offline

Junior Member

Posts: 39
Threads: 5
Joined: Mar 2015
#9
2020-07-29, 12:12 AM
That didn't work, sorry. I entered the URL and clicked on 'import' and config screen did nothing.

I have setup the container using the host interface, so 8866 is mapped to the host (and hence, unicast should be accepted)

Thanks
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,837
Threads: 954
Joined: May 2006
#10
2020-07-29, 12:13 AM
Did you allow udp/5004 too?

Martin
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  HDHomeRun tuner / TV guide issues. Atanoman 4 452 2024-12-10, 02:13 AM
Last Post: Atanoman
  Tuner availability issue Atanoman 4 928 2023-11-13, 11:44 PM
Last Post: Atanoman
  Updating Extras-Tuner BASH arguments in DB ChrisHammond56 6 1,317 2022-06-20, 10:47 PM
Last Post: sub
  No tuner grimevil 30 7,201 2020-08-30, 07:19 PM
Last Post: mvallevand
  Tuner devices not available after upgrade to 5.0.0.190826 vintdiesel 9 3,144 2019-08-27, 07:26 AM
Last Post: sub
  sat > ip tuner gromgsxr 7 3,432 2019-06-26, 09:05 PM
Last Post: gromgsxr

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

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

Linear Mode
Threaded Mode