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
VCR58
Offline

Posting Freak

Marion Iowa, USA
Posts: 1,845
Threads: 177
Joined: Aug 2016
#11
2021-01-10, 04:05 AM
Sorry, I read .py instead of .sh

Live TV is working now with the EXTRA devices.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,132
Threads: 957
Joined: May 2006
#12
2021-01-10, 04:15 AM
Did you see how to use the transcoding options? It won't help much until sub supports smarter transcoding and I am not sure if there is a use case but since I was doing this for ATSC 3.0 I figure someone could modify the script and let ffmpeg transcode audio and have the device do h/w transcoding.

Martin
VCR58
Offline

Posting Freak

Marion Iowa, USA
Posts: 1,845
Threads: 177
Joined: Aug 2016
#13
2021-01-10, 04:49 AM
(2021-01-10, 04:15 AM)mvallevand Wrote: Did you see how to use the transcoding options?  It  won't help much until sub supports smarter transcoding and I am not sure if there is a use case but since I was doing this for ATSC 3.0 I figure someone could modify the script and let ffmpeg transcode audio and have the device do h/w transcoding.

Martin

I have no clue how to use the transcoding options. I new this device had hardware transcoding built in but never knew what to do with it. The HDHR web gui shows different options to choose from. Here is a screen grab of it.


Attached Files Thumbnail(s)
   
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,132
Threads: 957
Joined: May 2006
#14
2021-01-10, 04:54 AM
If you note in my script I show the options you just append them to $1 You can do this on the fly after each run to compare them.

Martin
VCR58
Offline

Posting Freak

Marion Iowa, USA
Posts: 1,845
Threads: 177
Joined: Aug 2016
#15
2021-01-10, 05:18 AM
(2021-01-10, 04:54 AM)mvallevand Wrote: If you note in my script I show the options you just append them to $1 You can do this on the fly after each run to compare them.

Martin

Ok I see.

I tried a couple different settings but could not tell any difference in the quality. 

I'll mess with it some more.
VCR58
Offline

Posting Freak

Marion Iowa, USA
Posts: 1,845
Threads: 177
Joined: Aug 2016
#16
2021-01-11, 07:22 PM
I have been doing some reading about the HDHR extend because I wasn't clear what the transcoding feature does and how to test if it is doing what it is commanded to do. I found this PDF https://www.silicondust.com/hdhomerun/hd...opment.pdf which explains what the different transcoding settings do.

So, if I enter transcode=internet240 in the shell script, this should be the lowest quality setting. From the PDF document this is what it says...

"internet240: transcode to low bitrate AVC progressive not exceeding 432x240 30fps for 16:9 content, not exceeding 320x240 30fps for 4:3 content"

Then if I run the .py script and watch a TV channel using the EXTRA tuner device, I should see the bitrate limited to the "Internet240" rate.

Am I reasonably close to a correct assumption?

Also, would Kodi tell me what the bitrate is? Or maybe the NextPVR logs would tell me?
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,132
Threads: 957
Joined: May 2006
#17
2021-01-11, 07:32 PM
The python process is run once to create the extra. After that you just need to edit hdhrconnect.sh/.bat to run do what you want. You need ? before transcode.

Yes Kodi O key tell you the resolution on a tab. The web browser logs will tell you as well.

Martin
VCR58
Offline

Posting Freak

Marion Iowa, USA
Posts: 1,845
Threads: 177
Joined: Aug 2016
#18
2021-01-12, 04:32 AM
(2021-01-10, 02:18 AM)mvallevand Wrote: Right like I posted I didn't include the scripts.  For linux add this to scripts/hdhrconnect/hdhrconnect.sh and set it chmod +x for all users

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"
else
        acffmpeg -re -v panic -i "$1" -vcodec copy -acode ac3 -f mpegts -
fi

Martin

When I ran hdhrconnect.sh I got an error

Code:
/bin/bash hdhrconnect.sh
hdhrconnect.sh: line 7: acffmpeg: command not found

This is the shell script I have...
Code:
if [ "$2" == "--pass" ]; then
        #Extend devices can add a profile here ?transcode= and an option
        #rem heavy, mobile, internet540, internet480, internet360, internet24
        ?transcode=internet240
        echo "$1"
else
        acffmpeg -re -v panic -i "$1" -vcodec copy -acode ac3 -f mpegts -
fi
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,132
Threads: 957
Joined: May 2006
#19
2021-01-12, 01:37 PM
I only provide the special ffmpeg ATSC on demand but no HDHR users seem interested.

However you are testing it wrong, and you have the wrong syntax, it would be echo "$1?transcode=internet40" the test from the Extend would be

./hdhdconnect someurl --pass

Martin
VCR58
Offline

Posting Freak

Marion Iowa, USA
Posts: 1,845
Threads: 177
Joined: Aug 2016
#20
2021-01-13, 01:55 AM
(2021-01-12, 01:37 PM)mvallevand Wrote: I only provide the special ffmpeg ATSC on demand but no HDHR users seem interested.

However you are testing it wrong,  and you have the wrong syntax, it would be echo "$1?transcode=internet40"    the test from the Extend would be

./hdhdconnect someurl --pass

Martin

Ok, I believe it's working now after correcting the sytax. I still get the "command not found" error, but when I run the shell script and select the channel that uses the Extra device Kodi reports the video decoder changed to the h264 profile.

Thanks.
« 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
  TabloTV Extra mvallevand 17 5,466 2025-03-13, 10:55 PM
Last Post: mvallevand
  Reminder Pluto TV Extra removed mvallevand 0 527 2025-01-04, 06:32 PM
Last Post: mvallevand
  HDHR-Flex template VCR58 3 637 2024-11-15, 07:41 PM
Last Post: mvallevand
  help requested with sending IR Blast command with extra _Dam0_ 3 690 2024-10-11, 12:53 PM
Last Post: mvallevand
  Getting Pluto extra to work ballfam 163 18,967 2024-08-08, 07:23 PM
Last Post: mvallevand
  Is 'TabloTv Extra' Compatible with Gen 4 Devices? POWerSUrgeSW3 4 1,331 2024-06-23, 01:23 PM
Last Post: mvallevand
  windows media player extra buntay20 4 1,170 2023-12-17, 06:48 PM
Last Post: Jaggy
  PlutoTV Extra Commerical Exit freezing bisonfan 13 2,965 2023-12-16, 07:42 PM
Last Post: mvallevand
  Extra donation access -plutotv bisonfan 3 1,085 2023-09-04, 07:26 PM
Last Post: mvallevand
  PlutoTV Extra Problem Metroid 3 1,086 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