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 4 Next »
Custom HDHR Extra

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

Posting Freak

Ontario Canada
Posts: 53,112
Threads: 957
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: 1,845
Threads: 177
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
Online

Posting Freak

Ontario Canada
Posts: 53,112
Threads: 957
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: 1,845
Threads: 177
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
Online

Posting Freak

Ontario Canada
Posts: 53,112
Threads: 957
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: 1,845
Threads: 177
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
Online

Posting Freak

Ontario Canada
Posts: 53,112
Threads: 957
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: 1,845
Threads: 177
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
Online

Posting Freak

Ontario Canada
Posts: 53,112
Threads: 957
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: 1,845
Threads: 177
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: 2 Guest(s)

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


Possibly Related Threads…
Thread Author Replies Views Last Post
  TabloTV Extra mvallevand 17 5,428 2025-03-13, 10:55 PM
Last Post: mvallevand
  Reminder Pluto TV Extra removed mvallevand 0 520 2025-01-04, 06:32 PM
Last Post: mvallevand
  HDHR-Flex template VCR58 3 626 2024-11-15, 07:41 PM
Last Post: mvallevand
  help requested with sending IR Blast command with extra _Dam0_ 3 672 2024-10-11, 12:53 PM
Last Post: mvallevand
  Getting Pluto extra to work ballfam 163 18,642 2024-08-08, 07:23 PM
Last Post: mvallevand
  Is 'TabloTv Extra' Compatible with Gen 4 Devices? POWerSUrgeSW3 4 1,305 2024-06-23, 01:23 PM
Last Post: mvallevand
  windows media player extra buntay20 4 1,156 2023-12-17, 06:48 PM
Last Post: Jaggy
  PlutoTV Extra Commerical Exit freezing bisonfan 13 2,941 2023-12-16, 07:42 PM
Last Post: mvallevand
  Extra donation access -plutotv bisonfan 3 1,076 2023-09-04, 07:26 PM
Last Post: mvallevand
  PlutoTV Extra Problem Metroid 3 1,079 2023-07-23, 06:41 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