SageTV Community

SageTV Community (http://forums.sagetv.com/forums/index.php)
-   SageTV Clients Development (http://forums.sagetv.com/forums/forumdisplay.php?f=56)
-   -   Fork of SageTV MiniClient for Android TV (http://forums.sagetv.com/forums/showthread.php?t=66405)

jhkoenig 02-02-2022 10:42 PM

Quote:

Originally Posted by tvmaster2 (Post 633256)
In most instances including Windows 10 Sagetv server, and Android-based clients, is there a de facto set of starting settings that makes this run nicely?

ExoPlayer and IJKPlayer: which one? Why?

I kept getting ExoPlayer fails, so switched to IJK, where I could at least lower the bitrate, which enabled me to actually watch.

But I’m reading here and nearly everyone uses ExoPlayer?

What would be reasons Exo doesn’t want to play nice?

I have no success with Exo but really solid performance with IJK, over wi-fi. Extremely high WAF, which is my core goal!

tvmaster2 02-03-2022 12:03 AM

Quote:

Originally Posted by jhkoenig (Post 633257)
I have no success with Exo but really solid performance with IJK, over wi-fi. Extremely high WAF, which is my core goal!

Interesting. I thought it was just me. Thanks.

jvl711 02-04-2022 12:23 PM

Hi All,

Just wanted to let you all know that Amazon finally reviewed and approved v1.10.1. It took a long time. I will work on posting v.1.10.2.

Thanks,
Josh

KeithAbbott 02-04-2022 01:39 PM

Quote:

Originally Posted by jvl711 (Post 633281)
Hi All,

Just wanted to let you all know that Amazon finally reviewed and approved v1.10.1. It took a long time. I will work on posting v.1.10.2.

Thanks,
Josh

Yay! Looks like I'm back in business, thanks!

cat6man 02-04-2022 02:49 PM

hey folks, this is a bit embarrassing but i've forgotten how to do something i used to know.

now that i'm on the correct fork of the client, most of my settings were carried over but not all.

in particular, i want my guide screen to cover a 3 hour programming period and show 7 channels at a time. then the display would be 6 columns and 7 rows of data............but i cannot find the place to make those changes.

help please!
i'm running the client on an android based nvidia shield pro.

wayner 02-04-2022 04:00 PM

Quote:

Originally Posted by cat6man (Post 633285)
hey folks, this is a bit embarrassing but i've forgotten how to do something i used to know.

now that i'm on the correct fork of the client, most of my settings were carried over but not all.

in particular, i want my guide screen to cover a 3 hour programming period and show 7 channels at a time. then the display would be 6 columns and 7 rows of data............but i cannot find the place to make those changes.

help please!
i'm running the client on an android based nvidia shield pro.

I am doing this on Placeshifter, but it is likely the same on the Android Client. Press Options, then click on Customize. Then you can enter columns and rows.

I am using Gemstone - I don't know if that matters.

cat6man 02-05-2022 04:31 PM

Quote:

Originally Posted by wayner (Post 633292)
I am doing this on Placeshifter, but it is likely the same on the Android Client. Press Options, then click on Customize. Then you can enter columns and rows.

I am using Gemstone - I don't know if that matters.

the problem was getting the option screen to show up..............i tried it on different starting screens (long press on enter), and one of them eventually gave me the correct options page on screen to make the row/column changes.

my other problems was that i couldn't find a way to enter numbers, so i used the nvidia app on my phone (as i couldn't fine a way to bring up the keyboard with numbers once i got to the menu)

all is well here now, running 3 android clients and sageTV (+ hdhrPrime + cablecard) is still the most reliable system i've found for recording, playback, system optimization and, of course, the incomparable SRE!

Swagger200 02-05-2022 10:16 PM

Quote:

Originally Posted by jvl711 (Post 633281)
Hi All,

Just wanted to let you all know that Amazon finally reviewed and approved v1.10.1. It took a long time. I will work on posting v.1.10.2.

Thanks,
Josh

Both my FireSticks are working again, thanks

Scriber 02-06-2022 09:26 AM

Quote:

Originally Posted by Swagger200 (Post 633309)
Both my FireSticks are working again, thanks

Still hopeful that HW decoders will work again for IJK for OTA recordings (Exo never worked). Cant remember which version broke this. Using the SW decoders on my FSMax drops too many frames when theres movement to be watchable :(

wayner 02-06-2022 02:21 PM

Quote:

Originally Posted by cat6man (Post 633305)
the problem was getting the option screen to show up..............i tried it on different starting screens (long press on enter), and one of them eventually gave me the correct options page on screen to make the row/column changes.

my other problems was that i couldn't find a way to enter numbers, so i used the nvidia app on my phone (as i couldn't fine a way to bring up the keyboard with numbers once i got to the menu)

all is well here now, running 3 android clients and sageTV (+ hdhrPrime + cablecard) is still the most reliable system i've found for recording, playback, system optimization and, of course, the incomparable SRE!

Remember that you can use the web remote from the Jetty Web UI. You can use the mobile version or even the full version on your phone, tablet, whatever.

The web remote does not include a button for Options, but this will bring up the Options screen - replace with your server's own IP address:port number and replace the Context with the MAC of your device - that will be obvious from the web remote screen
Code:

http://192.168.1.245:80/sage/SageCommand?context=0023a5000654&command=Options

sic0048 02-08-2022 10:42 AM

Quote:

Originally Posted by Swagger200 (Post 633309)
Both my FireSticks are working again, thanks

I only tried it on one of my Firesticks, but I can also confirm that it works like normal - good video and audio - without having to play with the settings.

Thanks @jvl711 for getting everything fixed!

phelme 02-10-2022 12:26 PM

Quote:

Originally Posted by Scriber (Post 633312)
Still hopeful that HW decoders will work again for IJK for OTA recordings (Exo never worked). Cant remember which version broke this. Using the SW decoders on my FSMax drops too many frames when theres movement to be watchable :(

On the occasional recording from an HD-PVR, I get .ts containers where neither Exo on the MiniClient nor an HD300 will play with any audio, but IJK will. It has something to do with an initial hiccup that happens on 5.1 recordings from DirecTV. Maybe the header in the file is formatted wrong, not sure.

One of these days I'll have to rescue one of these and look at it more closely. Usually I just run them through MediaEncoder to re-encode to MKV which remuxes and fixes the issue. I think it's Hauppague's driver that's the problem and they've never fixed it.

hvymetal 02-15-2022 03:21 PM

When the MiniClient is set for Dynamic and to always remux should it not try to launch the SageTVTranscoder(ffmpeg)? I never get anything in the SageTVTranscoder.log when the minplayer plays a file. It look like remux always in the MiniClient is not working.

Here is the SageTV log
Code:

Tue 2/15 15:08:30.401 [VideoFrame-475046464444@33ffe49c] Issuing MCSR client socket to 475046464444
Tue 2/15 15:08:30.401 [VideoFrame-475046464444@33ffe49c] MiniPlayer established for 475046464444
Tue 2/15 15:08:30.402 [VideoFrame-475046464444@33ffe49c] getEstimatedBW=131168000 estimatedBWBytes=16396000 estimatedBWTime=1000
Tue 2/15 15:08:30.402 [VideoFrame-475046464444@33ffe49c] MiniPlayer got an estimate from the UI on bandwidth of 131168Kbps
Tue 2/15 15:08:30.402 [VideoFrame-475046464444@33ffe49c] MiniPlayer is using Push mode playback
Tue 2/15 15:08:30.403 [VideoFrame-475046464444@33ffe49c] MiniPlayer is using the MPEG2 pusher
Tue 2/15 15:08:30.407 [VideoFrame-475046464444@33ffe49c] Mpeg2Reader is detecting timestamp boundaries in the file...
Tue 2/15 15:08:30.409 [VideoFrame-475046464444@33ffe49c] IFrame alignment=true
Tue 2/15 15:08:30.410 [VideoFrame-475046464444@33ffe49c] Mpeg2Reader about to determine the firstPTS in the file...
Tue 2/15 15:08:30.410 [VideoFrame-475046464444@33ffe49c] MPEG2 file pack size=2207
Tue 2/15 15:08:30.411 [VideoFrame-475046464444@33ffe49c] MPEG2 file has inconsistent pack sizes prev=2207 curr=2225
Tue 2/15 15:08:30.411 [VideoFrame-475046464444@33ffe49c] Mpeg2Reader has found the firstPTS, now determining the duration of the file...
Tue 2/15 15:08:30.417 [VideoFrame-475046464444@33ffe49c] Opened MPEG-2 PS file: /var/media/tv/Nightline-46084794-0.ts firstPTS=28587 durationMsec=1739642
Tue 2/15 15:08:30.417 [VideoFrame-475046464444@33ffe49c] Mpeg2Reader seeking to pos=0
Tue 2/15 15:08:30.418 [VideoFrame-475046464444@33ffe49c] openURL0(push:f=MPEG2-PS;dur=1272;br=2678600;[bf=vid;f=MPEG2-Video;index=0;main=yes;tag=e0;fps=59.94006;fpsn=60000;fpsd=1001;ar=1.777778;arn=16;ard=9;w=1280;h=720;cs=yuv420p;][bf=aud;f=AC3;br=384000;index=1;main=yes;tag=bd-80010000;sr=48000;ch=6;][bf=aud;f=AC3;br=96000;index=2;tag=bd-81010000;sr=48000;ch=1;])
Tue 2/15 15:08:30.419 [VideoFrame-475046464444@33ffe49c] Setting audio stream for playback to be ID=0xbd80
Tue 2/15 15:08:30.421 [VideoFrame-475046464444@33ffe49c] Setting default subpicture track to be disabled for MPEG2-PS
Tue 2/15 15:08:30.422 [VideoFrame-475046464444@33ffe49c] Sigma video dim=java.awt.Dimension[width=720,height=480]
Tue 2/15 15:08:30.422 [VideoFrame-475046464444@33ffe49c] pausePush0()
Tue 2/15 15:08:30.424 [VideoFrame-475046464444@33ffe49c] setMute0()
Tue 2/15 15:08:30.426 [VideoFrame-475046464444@33ffe49c] getDuration : 1739642
Tue 2/15 15:08:30.427 [VideoFrame-475046464444@33ffe49c] VideoFrame.timeSelected2(Mon 2/14 23:41:24.333, true) currFile=MediaFile[id=46215001 A[46084794,46082415,"Nightline",20456@0214.23:37,29,T] mask=TV host=Tower encodedBy=HDHomeRun HDHR5-4US Tuner 10703705-1 on 192.168.10.175:9000 WLSDT format=MPEG2-PS 0:00:01 2678 kbps [#0 Video[MPEG2-Video 59.94006 fps 1280x720 16:9 progressive id=e0]#1 Audio[AC3 48000 Hz 6 channels 384 kbps MAIN idx=1 id=bd-80010000]#2 Audio[AC3 48000 Hz 1 channels 96 kbps idx=2 id=bd-81010000]] /var/media/tv/Nightline-46084794-0.ts, Seg0[Mon 2/14 23:37:00.006-Tue 2/15 0:06:00.005]] realDur=1739642
Tue 2/15 15:08:30.427 [VideoFrame-475046464444@33ffe49c] seeking numpushbuffers=0 seekTime=264273
Tue 2/15 15:08:30.428 [VideoFrame-475046464444@33ffe49c] MPEG2 seek targetPts=23813157 length=1341221933 durationMsec=1739642 parsedPTS=-1 lastPos=0 firstPTS=28587 mux_rate=384253 estimBitrate=770946
Tue 2/15 15:08:30.428 [VideoFrame-475046464444@33ffe49c] Mpeg2Reader seeking to pos=203746146 time=0:04:24.273
Tue 2/15 15:08:30.428 [VideoFrame-475046464444@33ffe49c] flushPush0()
Tue 2/15 15:08:30.429 [VideoFrame-475046464444@33ffe49c] Creating new push thread
Tue 2/15 15:08:30.430 [VideoFrame-475046464444@33ffe49c] Channel Change Time=1644959310430 NOTE: Not valid if this was not a direct channel change!
Tue 2/15 15:08:30.430 [Pusher@4f298f1f] Pusher thread is starting
Tue 2/15 15:08:30.431 [Pusher@4f298f1f] Miniplayer pusher using buffer size of 32768
Tue 2/15 15:08:30.448 [Pusher@4f298f1f] Seek target=264 actual=255 diff=9
Tue 2/15 15:08:30.448 [Pusher@4f298f1f] Seeking again to try to get a better position...
Tue 2/15 15:08:30.449 [Pusher@4f298f1f] MPEG2 seek targetPts=23813157 length=1341221933 durationMsec=1739642 parsedPTS=23002029 lastPos=203749683 firstPTS=28587 mux_rate=384253 estimBitrate=770946
Tue 2/15 15:08:30.449 [Pusher@4f298f1f] Mpeg2Reader seeking to pos=210655404 time=0:04:24.273
Tue 2/15 15:08:30.464 [Pusher@4f298f1f] Seek target=264 actual=263 diff=1
Tue 2/15 15:08:30.506 [Pusher@4f298f1f] playPush0()
Tue 2/15 15:08:32.061 [VideoFrame-475046464444@33ffe49c] VF processing job null nPlayin=true
Tue 2/15 15:08:32.061 [VideoFrame-475046464444@33ffe49c] isRec=false rd=1739642 base=269503 eos=false
Tue 2/15 15:08:32.062 [VideoFrame-475046464444@33ffe49c] VF thread is now waiting for 0:24:29.888


jvl711 02-15-2022 04:18 PM

Quote:

Originally Posted by hvymetal (Post 633411)
When the MiniClient is set for Dynamic and to always remux should it not try to launch the SageTVTranscoder(ffmpeg)? I never get anything in the SageTVTranscoder.log when the minplayer plays a file. It look like remux always in the MiniClient is not working.

Here is the SageTV log
Code:

Tue 2/15 15:08:30.401 [VideoFrame-475046464444@33ffe49c] Issuing MCSR client socket to 475046464444
Tue 2/15 15:08:30.401 [VideoFrame-475046464444@33ffe49c] MiniPlayer established for 475046464444
Tue 2/15 15:08:30.402 [VideoFrame-475046464444@33ffe49c] getEstimatedBW=131168000 estimatedBWBytes=16396000 estimatedBWTime=1000
Tue 2/15 15:08:30.402 [VideoFrame-475046464444@33ffe49c] MiniPlayer got an estimate from the UI on bandwidth of 131168Kbps
Tue 2/15 15:08:30.402 [VideoFrame-475046464444@33ffe49c] MiniPlayer is using Push mode playback
Tue 2/15 15:08:30.403 [VideoFrame-475046464444@33ffe49c] MiniPlayer is using the MPEG2 pusher
Tue 2/15 15:08:30.407 [VideoFrame-475046464444@33ffe49c] Mpeg2Reader is detecting timestamp boundaries in the file...
Tue 2/15 15:08:30.409 [VideoFrame-475046464444@33ffe49c] IFrame alignment=true
Tue 2/15 15:08:30.410 [VideoFrame-475046464444@33ffe49c] Mpeg2Reader about to determine the firstPTS in the file...
Tue 2/15 15:08:30.410 [VideoFrame-475046464444@33ffe49c] MPEG2 file pack size=2207
Tue 2/15 15:08:30.411 [VideoFrame-475046464444@33ffe49c] MPEG2 file has inconsistent pack sizes prev=2207 curr=2225
Tue 2/15 15:08:30.411 [VideoFrame-475046464444@33ffe49c] Mpeg2Reader has found the firstPTS, now determining the duration of the file...
Tue 2/15 15:08:30.417 [VideoFrame-475046464444@33ffe49c] Opened MPEG-2 PS file: /var/media/tv/Nightline-46084794-0.ts firstPTS=28587 durationMsec=1739642
Tue 2/15 15:08:30.417 [VideoFrame-475046464444@33ffe49c] Mpeg2Reader seeking to pos=0
Tue 2/15 15:08:30.418 [VideoFrame-475046464444@33ffe49c] openURL0(push:f=MPEG2-PS;dur=1272;br=2678600;[bf=vid;f=MPEG2-Video;index=0;main=yes;tag=e0;fps=59.94006;fpsn=60000;fpsd=1001;ar=1.777778;arn=16;ard=9;w=1280;h=720;cs=yuv420p;][bf=aud;f=AC3;br=384000;index=1;main=yes;tag=bd-80010000;sr=48000;ch=6;][bf=aud;f=AC3;br=96000;index=2;tag=bd-81010000;sr=48000;ch=1;])
Tue 2/15 15:08:30.419 [VideoFrame-475046464444@33ffe49c] Setting audio stream for playback to be ID=0xbd80
Tue 2/15 15:08:30.421 [VideoFrame-475046464444@33ffe49c] Setting default subpicture track to be disabled for MPEG2-PS
Tue 2/15 15:08:30.422 [VideoFrame-475046464444@33ffe49c] Sigma video dim=java.awt.Dimension[width=720,height=480]
Tue 2/15 15:08:30.422 [VideoFrame-475046464444@33ffe49c] pausePush0()
Tue 2/15 15:08:30.424 [VideoFrame-475046464444@33ffe49c] setMute0()
Tue 2/15 15:08:30.426 [VideoFrame-475046464444@33ffe49c] getDuration : 1739642
Tue 2/15 15:08:30.427 [VideoFrame-475046464444@33ffe49c] VideoFrame.timeSelected2(Mon 2/14 23:41:24.333, true) currFile=MediaFile[id=46215001 A[46084794,46082415,"Nightline",20456@0214.23:37,29,T] mask=TV host=Tower encodedBy=HDHomeRun HDHR5-4US Tuner 10703705-1 on 192.168.10.175:9000 WLSDT format=MPEG2-PS 0:00:01 2678 kbps [#0 Video[MPEG2-Video 59.94006 fps 1280x720 16:9 progressive id=e0]#1 Audio[AC3 48000 Hz 6 channels 384 kbps MAIN idx=1 id=bd-80010000]#2 Audio[AC3 48000 Hz 1 channels 96 kbps idx=2 id=bd-81010000]] /var/media/tv/Nightline-46084794-0.ts, Seg0[Mon 2/14 23:37:00.006-Tue 2/15 0:06:00.005]] realDur=1739642
Tue 2/15 15:08:30.427 [VideoFrame-475046464444@33ffe49c] seeking numpushbuffers=0 seekTime=264273
Tue 2/15 15:08:30.428 [VideoFrame-475046464444@33ffe49c] MPEG2 seek targetPts=23813157 length=1341221933 durationMsec=1739642 parsedPTS=-1 lastPos=0 firstPTS=28587 mux_rate=384253 estimBitrate=770946
Tue 2/15 15:08:30.428 [VideoFrame-475046464444@33ffe49c] Mpeg2Reader seeking to pos=203746146 time=0:04:24.273
Tue 2/15 15:08:30.428 [VideoFrame-475046464444@33ffe49c] flushPush0()
Tue 2/15 15:08:30.429 [VideoFrame-475046464444@33ffe49c] Creating new push thread
Tue 2/15 15:08:30.430 [VideoFrame-475046464444@33ffe49c] Channel Change Time=1644959310430 NOTE: Not valid if this was not a direct channel change!
Tue 2/15 15:08:30.430 [Pusher@4f298f1f] Pusher thread is starting
Tue 2/15 15:08:30.431 [Pusher@4f298f1f] Miniplayer pusher using buffer size of 32768
Tue 2/15 15:08:30.448 [Pusher@4f298f1f] Seek target=264 actual=255 diff=9
Tue 2/15 15:08:30.448 [Pusher@4f298f1f] Seeking again to try to get a better position...
Tue 2/15 15:08:30.449 [Pusher@4f298f1f] MPEG2 seek targetPts=23813157 length=1341221933 durationMsec=1739642 parsedPTS=23002029 lastPos=203749683 firstPTS=28587 mux_rate=384253 estimBitrate=770946
Tue 2/15 15:08:30.449 [Pusher@4f298f1f] Mpeg2Reader seeking to pos=210655404 time=0:04:24.273
Tue 2/15 15:08:30.464 [Pusher@4f298f1f] Seek target=264 actual=263 diff=1
Tue 2/15 15:08:30.506 [Pusher@4f298f1f] playPush0()
Tue 2/15 15:08:32.061 [VideoFrame-475046464444@33ffe49c] VF processing job null nPlayin=true
Tue 2/15 15:08:32.061 [VideoFrame-475046464444@33ffe49c] isRec=false rd=1739642 base=269503 eos=false
Tue 2/15 15:08:32.062 [VideoFrame-475046464444@33ffe49c] VF thread is now waiting for 0:24:29.888


You are correct fixed remixing is only supported when using fixed streaming. I forgot to disable the fixed remux when streaming mode is not fixed.

Josh

Scriber 02-21-2022 03:42 PM

=Bump=

Am I SOL for HW decoding via FTV Max for OTA recordings then or is there some secret sauce somewhere to make this work :confused:?

Quote:

Originally Posted by Scriber (Post 633312)
Still hopeful that HW decoders will work again for IJK for OTA recordings (Exo never worked). Cant remember which version broke this. Using the SW decoders on my FSMax drops too many frames when theres movement to be watchable :(


nyplayer 02-26-2022 12:53 PM

Quote:

Originally Posted by Scriber (Post 633525)
=Bump=

Am I SOL for HW decoding via FTV Max for OTA recordings then or is there some secret sauce somewhere to make this work :confused:?

Have you tried remuxing to mkv ? using the new profiles....


https://forums.sagetv.com/forums/showthread.php?t=66607

Scriber 02-27-2022 09:56 AM

Quote:

Originally Posted by nyplayer (Post 633574)
Have you tried remuxing to mkv ? using the new profiles....


https://forums.sagetv.com/forums/showthread.php?t=66607

I have this plugin installed but dont know how to use it. Based on the link it appears I need to copy those properties into the sage properties file...but dont understand how to trigger transcoding when i watch an OTA recording.

To clarify, a version or two ago HW decoders worked on FTV using the below method but the second MPEG2 entry no longer appears.

IJK + disable first MPEG2 entry + HW accel turned ON

phelme 03-02-2022 12:28 PM

does anyone else have the occasional crash when shuttling (VCR terminology! ;)) forward or backward with the mini client? And if so, are you using the comskip plugin for marking commercial breaks? I still have times when the client will suddenly quit while doing this on a Chromecast w/Google TV.

(I think i'm on the latest, 1.10.1/2)

jvl711 03-12-2022 10:32 AM

Closed Caption Support
 
I have added closed caption support to ExoPlayer. Just wanted to give you guys a preview of what is coming in the next release. I am going to post a beta to my Patreon supporters.

https://www.patreon.com/posts/63709567

Scriber 03-14-2022 09:13 PM

Quote:

Originally Posted by Scriber (Post 633580)
I have this plugin installed but dont know how to use it. Based on the link it appears I need to copy those properties into the sage properties file...but dont understand how to trigger transcoding when i watch an OTA recording.

To clarify, a version or two ago HW decoders worked on FTV using the below method but the second MPEG2 entry no longer appears.

IJK + disable first MPEG2 entry + HW accel turned ON


Was able to get MKV transcoding working on the miniclient and the PQ is better than the IJK software decoders BUT when I FFWD or RWD it always locks up so back to the IJK ffmpeg decoders for best overall experience.

Got my hands on a TVision (Android TV) stick expecting the same result and WOW the PQ using IJK is fantastic because it uses IJK hardware decoders. FFWD and RWD is flawless too. :thumb:

Please don't tell me that the secret for watching quality OTA recordings via the miniclient is ditching FTV…:(


All times are GMT -6. The time now is 10:01 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2022, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.