NextPVR Forums
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Add-ons (3rd party plugins, utilities and skins) Extras v
« Previous 1 2 3 Next »
Custom HDHR Extra

 
  • 0 Vote(s) - 0 Average
Custom HDHR Extra
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 42,987
Threads: 841
Joined: May 2006
#21
2021-01-13, 02:08 AM
"Command not found" is because you don't have --pass as the second parameter.

Martin
VCR58
Offline

Posting Freak

Marion Iowa, USA
Posts: 927
Threads: 115
Joined: Aug 2016
#22
2021-01-13, 07:23 PM (This post was last modified: 2021-01-13, 07:25 PM by VCR58.)
For some reason the extra tuners no longer stream TV. The tuners each have 1 channel assigned to them from SD. When I play the channel I get the Failed to start the requested stream error. Tried deleting the devices and re-scannin, restarted npvr server etc. The regular devices for the hdhr extend work fine.


Attached Files
.zip   logs-20210113-1205.zip (Size: 761.13 KB / Downloads: 1)
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 42,987
Threads: 841
Joined: May 2006
#23
2021-01-13, 07:31 PM
You hdhdrconnect.sh file is not going to be valid.

Martin
VCR58
Offline

Posting Freak

Marion Iowa, USA
Posts: 927
Threads: 115
Joined: Aug 2016
#24
2021-01-13, 09:09 PM
(2021-01-13, 07:31 PM)mvallevand Wrote: You hdhdrconnect.sh file is not going to be valid.

Martin
After re-installing the extra devices with the python script it still didn't work.

I forgot to mark the shell script executable. After fixing that then it worked.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 42,987
Threads: 841
Joined: May 2006
#25
2021-01-13, 09:31 PM
Ok if you delete files yes you would need to do that. If you are interested in seeing how this works with ffmpeg to allow NextPVR web and jellyfin to benefit from the h/w encoding on the extend, let me know and I can tweak this.

Martin
VCR58
Offline

Posting Freak

Marion Iowa, USA
Posts: 927
Threads: 115
Joined: Aug 2016
#26
2021-01-13, 10:25 PM
(2021-01-13, 09:31 PM)mvallevand Wrote: Ok if you delete files yes you would need to do that.  If you are interested in seeing how this works with ffmpeg to allow NextPVR web and jellyfin to benefit from the h/w encoding on the extend, let me know and I can tweak this.

Martin

Sure, I'll give it a go.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 42,987
Threads: 841
Joined: May 2006
#27
2021-01-14, 04:41 PM
Ok here is the changed python file, you will be prompted to use transcoding.  This is the hdhrconnect.sh file chmod +x  You can change heavy to whatever you'd like.    NextPVR web will transcode it the first time but after that it should now it is OK.

Code:
if [ "$2" == "--pass" ]; then
        #Extend devices can add a profile here ?transcode= and an option
        #rem heavy, mobile, internet540, internet480, internet360, internet24
        echo "$1"
elif [ "$2" == "--transcode" ]; then
        ffmpeg -re -v panic -i "$1?transcode=heavy" -vcodec copy -acodec aac -f mpegts -
else
        acffmpeg -re -v panic -i "$1" -vcodec copy -acodec ac3 -f mpegts -
fi

Martin
VCR58
Offline

Posting Freak

Marion Iowa, USA
Posts: 927
Threads: 115
Joined: Aug 2016
#28
2021-01-14, 04:46 PM
I did a test with my Android phone using the EXTRA device. The shell script was set to "mobile" for the transcoding. For the most part it worked ok but I could get no audio using Google Chrome NextPVR web client. Here is a list of clients I tested.

1. NextPVR Android app - audio worked
2. Google Chrome NextPVR web app - no audio
3. Google Chrome Jellyfin (with NextPVR plugin) - audio worked
4. Kodi Android app - audio worked.

When connecting to the regular mpeg2 channel I had no audio issues with any of clients I tried with my phone.

Attached are the logs of this test.


Attached Files
.zip   logs-20210114-0940.zip (Size: 143.93 KB / Downloads: 1)
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 42,987
Threads: 841
Joined: May 2006
#29
2021-01-14, 05:02 PM
The NextPVR Android app needs to be tested with and without direct play

Jellyfin and Emby are smarter about transcoding then NextPVR, their server determines the client capabilities and uses ffprobe to determine custom transcode profiles.

The server should be transcoding audio for the web client. I cant explain that unless it is choosing the rear channels.

Some Android devices won't do AC3 but Android TV and Google TV devices are geared to broadcast playback.

The update I just sent should allow direct play everywhere.

Martin
VCR58
Offline

Posting Freak

Marion Iowa, USA
Posts: 927
Threads: 115
Joined: Aug 2016
#30
2021-01-15, 04:25 AM
I was able to verify that direct play worked with NextPVR Android app using the original hdhrconnect.zip files.

However I cannot make the latest one work. I tried choosing "no" for transcoding. Previously I choose "yes" for transcoding and neither one would play a stream.

This is the shall script and it was +x.

Code:
if [ "$2" == "--pass" ]; then
        #Extend devices can add a profile here ?transcode= and an option
        #rem heavy, mobile, internet540, internet480, internet360, internet24
        echo "$1?transcode=mobile"
elif [ "$2" == "--transcode" ]; then
        ffmpeg -re -v panic -i "$1?transcode=none" -vcodec copy -acodec aac -f mpegts -
else
        acffmpeg -re -v panic -i "$1" -vcodec copy -acodec ac3 -f mpegts -
fi



Logs extra files attached.


Attached Files
.zip   logs-20210114-2223.zip (Size: 435.65 KB / Downloads: 1)
.gz   extra.tar.gz (Size: 388 bytes / Downloads: 1)
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (6): « Previous 1 2 3 4 5 6 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  extra command not firing buntay20 3 270 2021-12-26, 04:15 AM
Last Post: buntay20
  TabloTV Extra mvallevand 0 312 2021-11-16, 07:40 PM
Last Post: mvallevand
Question REQUEST - Extra for Discovery+ channels kevwag 7 651 2021-10-22, 01:44 PM
Last Post: mvallevand
  Locast Extra announcements mvallevand 8 932 2021-09-02, 01:52 PM
Last Post: mvallevand
  Extra PlutoTV VOD returning error p37307 12 1,034 2021-08-11, 11:31 PM
Last Post: p37307
  Clearstream network tuner as extra device pylot 4 677 2021-03-02, 02:31 AM
Last Post: mvallevand
  Extra Device for Hauppauge CableCard Tuner jcole998 11 1,018 2021-02-25, 08:45 PM
Last Post: mvallevand
  Locast-extra: I was so close. Esteban 23 1,848 2021-02-23, 02:16 PM
Last Post: mvallevand
  Alternate Pluto TV extra. mvallevand 2 837 2020-12-29, 07:50 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