I don't think that device supports 5.1 - download the manual - it says Input LPCM 2.0 44.1/48 kHz under "Audio Format Supported" - I can tell you that I have looked at these devices for a number of years as I was a SageTV user and SageTV has been doing IPTV capture all the way back to (I think) 2016 or so and the discussions in their forums and my own research over the years has not revealed a 5.1 solution at a good price point
I haven't optimized the tuning .bat file yet, but everything here is working well for me - sorry for the long post, I am not sure how to paste this in a scrolling window
prebmitune.bat
@echo off
set IPADDR="192.168.2.43"
set WAKE="input keyevent KEYCODE_WAKEUP"
set HOME="input keyevent KEYCODE_HOME"
c:\platform-tools\adb connect %IPADDR%
c:\platform-tools\adb shell %WAKE%
c:\platform-tools\adb shell %HOME%; sleep 2
stopbmitune.bat
@echo off
set STOP="am force-stop com.google.android.youtube.tvunplugged; sleep 2"
c:\platform-tools\adb shell %STOP%
rem c:\platform-tools\adb shell input keyevent KEYCODE_SLEEP
bmitune.bat
@echo off
set "p1=%1"
if "%p1%"=="nbc" goto NBC
if "%p1%"=="msnbc" goto MSNBC
if "%p1%"=="e" goto E_TV
if "%p1%"=="bravo" goto BRAVO
if "%p1%"=="oxygen" goto OXYGEN
if "%p1%"=="usa" goto USA
if "%p1%"=="syfy" goto SYFY
if "%p1%"=="cnbc" goto CNBC
if "%p1%"=="golf" goto GOLF
if "%p1%"=="nfl" goto NFL
if "%p1%"=="newsnation" goto NEWSNATION
if "%p1%"=="mtvclassic" goto MTVCLASSIC
if "%p1%"=="bbcnews" goto BBCNEWS
if "%p1%"=="smithsonian" goto SMITHSONIAN
if "%p1%"=="magn" goto MAGNOLIA
goto END
:NBC
c:\platform-tools\adb shell am start -a android.intent.action.VIEW -d https://tv.youtube.com/watch/OGgzNqTcHBw?onboard=1 -n com.google.android.youtube.tvunplugged/com.google.android.apps.youtube.tvunplugged.activity.MainActivity
goto END
:MSNBC
c:\platform-tools\adb shell am start -a android.intent.action.VIEW -d https://tv.youtube.com/watch/q6bWEVqhP8o?onboard=1 -n com.google.android.youtube.tvunplugged/com.google.android.apps.youtube.tvunplugged.activity.MainActivity
goto END
:E_TV
c:\platform-tools\adb shell am start -a android.intent.action.VIEW -d https://tv.youtube.com/watch/4XA2gdEOngg?onboard=1 -n com.google.android.youtube.tvunplugged/com.google.android.apps.youtube.tvunplugged.activity.MainActivity
goto END
:BRAVO
c:\platform-tools\adb shell am start -a android.intent.action.VIEW -d https://tv.youtube.com/watch/P12seiJcdYo?onboard=1 -n com.google.android.youtube.tvunplugged/com.google.android.apps.youtube.tvunplugged.activity.MainActivity
goto END
:OXYGEN
c:\platform-tools\adb shell am start -a android.intent.action.VIEW -d https://tv.youtube.com/watch/_XptfCraPjM?onboard=1 -n com.google.android.youtube.tvunplugged/com.google.android.apps.youtube.tvunplugged.activity.MainActivity
goto END
:USA
REM c:\platform-tools\adb shell input text "play\ usa\ channel\ on\ YouTube\ TV"
c:\platform-tools\adb shell am start -a android.intent.action.VIEW -d https://tv.youtube.com/watch/8xN3o2PSL5s?onboard=1 -n com.google.android.youtube.tvunplugged/com.google.android.apps.youtube.tvunplugged.activity.MainActivity
goto END
:SYFY
c:\platform-tools\adb shell am start -a android.intent.action.VIEW -d https://tv.youtube.com/watch/uSfozGAsGMk?onboard=1 -n com.google.android.youtube.tvunplugged/com.google.android.apps.youtube.tvunplugged.activity.MainActivity
goto END
:CNBC
c:\platform-tools\adb shell am start -a android.intent.action.VIEW -d https://tv.youtube.com/watch/GIBoX-XF5i0?onboard=1 -n com.google.android.youtube.tvunplugged/com.google.android.apps.youtube.tvunplugged.activity.MainActivity
goto END
:GOLF
c:\platform-tools\adb shell am start -a android.intent.action.VIEW -d https://tv.youtube.com/watch/XK34g7QRvGk?onboard=1 -n com.google.android.youtube.tvunplugged/com.google.android.apps.youtube.tvunplugged.activity.MainActivity
goto END
:NFL
c:\platform-tools\adb shell am start -a android.intent.action.VIEW -d https://tv.youtube.com/watch/_pYg9qMKKIA?onboard=1 -n com.google.android.youtube.tvunplugged/com.google.android.apps.youtube.tvunplugged.activity.MainActivity
goto END
:NEWSNATION
c:\platform-tools\adb shell am start -a android.intent.action.VIEW -d https://tv.youtube.com/watch/ZIzM3eNrylg?onboard=1 -n com.google.android.youtube.tvunplugged/com.google.android.apps.youtube.tvunplugged.activity.MainActivity
goto END
:MTVCLASSIC
c:\platform-tools\adb shell am start -a android.intent.action.VIEW -d https://tv.youtube.com/watch/YPB9f0dageg?onboard=1 -n com.google.android.youtube.tvunplugged/com.google.android.apps.youtube.tvunplugged.activity.MainActivity
goto END
:BBCNEWS
c:\platform-tools\adb shell am start -a android.intent.action.VIEW -d https://tv.youtube.com/watch/g5BmB1qXulc?onboard=1 -n com.google.android.youtube.tvunplugged/com.google.android.apps.youtube.tvunplugged.activity.MainActivity
goto END
:SMITHSONIAN
c:\platform-tools\adb shell am start -a android.intent.action.VIEW -d https://tv.youtube.com/watch/E7D0KRZIUso?onboard=1 -n com.google.android.youtube.tvunplugged/com.google.android.apps.youtube.tvunplugged.activity.MainActivity
goto END
:MAGNOLIA
c:\platform-tools\adb shell am start -a android.intent.action.VIEW -d https://tv.youtube.com/watch/9dTo5rwwTjU?onboard=1 -n com.google.android.youtube.tvunplugged/com.google.android.apps.youtube.tvunplugged.activity.MainActivity
goto END
:END
Your screenshot has me curious, what's the purpose of having two NBC Sports Philly's listed? And why go the HDMI route for ESPN when ESPN still supports TVE? Just curious...
What devices do you know of that support 5.1? Depending on the cost it might be a worthy investment.
Actually, none - but searching recently, I have encountered some encoders costing over $500 or so - not sure if they can support 5.1 - I was interested in getting a 4K 60fps 4:4:4 HDR encoder, but that also seems to be very expensive - if the price is too high, I generally don't read all the details, but I'll post something if I find it
They are different channels. One is the "plus" version that they use for overflow when there are two games happening at the same time.
No reason for ESPN, it was just something I added when I was testing.
Answering for @turtletank, there are actually 2 NBC Sports Philly channels. One is called "Plus" and is often used when a couple teams are playing at the same time.
I might consider that price point so if you find some info it would be most appreciated.
Thanks my script is very Simple it does the tuning etc ... All I need is to pass the Channel number from Channels DVR and Capture the Stream ... I think this thread is tailored for YOUTUBETV. So will not clutter.
@echo off
goto downarrow
:begin
setlocal
set device=192.168.50.161:5555
SET PATH=%PATH%;C:\platform-tools\
adb connect %device%
set channel=%1
adb -s %device% shell input keyevent 4 3 3 3 23
rem adb -s %device% shell sleep 0.25
adb -s %device% shell input keyevent 22 22 22 22 66
adb -s %device% shell sleep 2
adb -s %device% shell input keyevent 21;sleep 2;input keyevent 20 20 20 20 20 20 66
if %channel% EQU 807 adb -s %device% shell sleep 5;input keyevent %downarrow:~0,2% 66
if %channel% EQU 851 adb -s %device% shell sleep 5;input keyevent %downarrow:~0,5% 66
if %channel% EQU 853 adb -s %device% shell sleep 5;input keyevent %downarrow:~0,8% 66
if %channel% EQU 855 adb -s %device% shell sleep 5;input keyevent %downarrow:~0,11% 66
if %channel% EQU 858 adb -s %device% shell sleep 5;input keyevent %downarrow:~0,14% 66
if %channel% EQU 876 adb -s %device% shell sleep 5;input keyevent %downarrow:~0,17% 66
if %channel% EQU 878 adb -s %device% shell sleep 5;input keyevent %downarrow:~0,20% 66
curl -s http://192.168.50.236:8000/main1
adb -s %device% shell sleep 1;input keyevent 4;input keyevent 4;input keyevent 4;input keyevent 3
exit
rem adb disconnect
:downarrow
set downarrow=20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
goto begin
exit
I've been poking around this with a FireTV stick and while the container itself is fairly easy, the deep linking to YoutubeTV is not. Trying to use adb commands to up/down/left/right is an exercise in frustration.
I should probably switch to a pure Android device and try there....
Here is my new bmitune.bat, easier for maintenance:
@echo off
set "p1=%1"
set link=""
if "%p1%"=="nbc" set link=https://tv.youtube.com/watch/OGgzNqTcHBw?onboard=1
if "%p1%"=="msnbc" set link=https://tv.youtube.com/watch/q6bWEVqhP8o?onboard=1
if "%p1%"=="e" set link=https://tv.youtube.com/watch/4XA2gdEOngg?onboard=1
if "%p1%"=="bravo" set link=https://tv.youtube.com/watch/P12seiJcdYo?onboard=1
if "%p1%"=="oxygen" set link=https://tv.youtube.com/watch/_XptfCraPjM?onboard=1
if "%p1%"=="usa" set link=https://tv.youtube.com/watch/8xN3o2PSL5s?onboard=1
if "%p1%"=="syfy" set link=https://tv.youtube.com/watch/uSfozGAsGMk?onboard=1
if "%p1%"=="cnbc" set link=https://tv.youtube.com/watch/GIBoX-XF5i0?onboard=1
if "%p1%"=="golf" set link=https://tv.youtube.com/watch/XK34g7QRvGk?onboard=1
if "%p1%"=="nfl" set link=https://tv.youtube.com/watch/_pYg9qMKKIA?onboard=1
if "%p1%"=="newsnation" set link=https://tv.youtube.com/watch/ZIzM3eNrylg?onboard=1
if "%p1%"=="mtvclassic" set link=https://tv.youtube.com/watch/YPB9f0dageg?onboard=1
if "%p1%"=="bbcnews" set link=https://tv.youtube.com/watch/g5BmB1qXulc?onboard=1
if "%p1%"=="smithsonian" set link=https://tv.youtube.com/watch/E7D0KRZIUso?onboard=1
if "%p1%"=="magn" set link=https://tv.youtube.com/watch/9dTo5rwwTjU?onboard=1
if "%link%"=="" goto END
c:\platform-tools\adb shell am start -a android.intent.action.VIEW -d %link% -n com.google.android.youtube.tvunplugged/com.google.android.apps.youtube.tvunplugged.activity.MainActivity
:END
So, it looks like you are navigating to a reference point/channel, then using down arrows to tune the desired channel? I guess that would eliminate the problem of expired links. I don't see any channel #'s though when I log into the yttv web site.
I am not using YouTubetv I am an XFINITY subscriber so I use their streaming App. It has been working very well using an M3U from NEXTPVR backend and Channels DVR Guide Data.... but I would also like to see if this can be done Natively in Channels DVR. Currently NEXTPVR does the tuning and stopping the Streams.
Script in action below ...
Does anybody know how to send commands to a harmony hub? Got this working with an nvidia shield / streaming app, but would love to use my harmony hub to control my cable box instead
Is anyone running an Amazon Fire Stick as an end client to play content coming from the encoder (i.e., using the Fire Stick not plugged into the HDMI Encoder, but as the device you're watching the video on)? Tuned channels with video from the Encoder play flawlessly on the Apple TVs in the house, but the TV with a 4K Fire Stick Max has occasional stuttering/buffering. The Fire stick is hard-wired using an adapter, and speed test shows 92.37 download, 4.10 latency, and 0.75 jitter. I've tested a handful of TV Everywhere channels, and they seem OK. I'm wondering if the Fire Stick just isn't powerful enough to handle the stream from the encoder with the settings I'm currently testing (resolution matching the input so sometimes 1920x1080, H.264, 8000 variable bitrate).
Which Firestick the 4K and 4K max have no problem handling those streams. What FPS are you using ?
1920x1080 is easily handled by 4K firesticks.
Thanks for the reply. Sorry, I should have mentioned it is the 4K Max. I have FPS set to "same as input." So I guess in a worst-case scenario, it might be 1920 x 1080 at 60 fps (if any networks stream at that combination?) with 8000 VBR.
A lot of people here recommend VBR but I prefer CBR ... VBR lowers the bitrate when encoding dark scenes so the transition from a dark scene to say an explosion causes artifacts ... I prefer high Bitrate CBR.
Thanks! If I notice some artifacts, I'll give that a shot. I may just need to bite the bullet and get one more Apple TV, although this is for a TV I don't use often.
Reporting back in case anybody else searches some day with a similar issue. I suspect this was user-caused. In Settings > Playback > Streaming Quality, I had things set to 6Mbps in-home. I switched it to "original" and so far, at least, I now get smooth video playing my HDMI encoder video. Does that mean my server (an old MacBook Air) wasn't powerful enough to output at the different Mbps, or is it the Fire Stick Max that can't handle it? I suspect the latter, because all my other devices handle lower Mbps out of the home just fine.