|
SageTV Clients Development This forum is for discussions relating to SageTV Open Source Clients Development. |
|
Thread Tools | Search this Thread | Display Modes |
#521
|
||||
|
||||
Quote:
I'm not opposed to using other players, and the code is architected in a way would supports that notion, which is why I could provide both ijkplayer and vlc players, and I had a exoplayer in there at once as well... the issue for me, is that when I modify the API, I have to update 3 players, which is tedious, which is why I'd like to focus on 1 player that works, and then possibly, add another player later, if time permits, or if there is something severely limiting in ijkplayer.
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#522
|
||||
|
||||
So is the problem the container, or the decoding? Have you tried remuxing the problem file into a different container and see if the same stream plays better? Might makes sense to simply disable that container's capability in miniclient, and force the server to 'transcode' it to the different, supported, container. This would take some improvements on the server end as well, because I don't believe selective conversion is actually implemented fully - it may not do a stream copy in the current state.
__________________
Buy Fuzzy a beer! (Fuzzy likes beer) unRAID Server: i7-6700, 32GB RAM, Dual 128GB SSD cache and 13TB pool, with SageTVv9, openDCT, Logitech Media Server and Plex Media Server each in Dockers. Sources: HRHR Prime with Charter CableCard. HDHR-US for OTA. Primary Client: HD-300 through XBoxOne in Living Room, Samsung HLT-6189S Other Clients: Mi Box in Master Bedroom, HD-200 in kids room |
#523
|
||||
|
||||
Quote:
I might take some time this weekend and add in exoplayer again... people can enable it, and if it works great, and if doesn't, then, not sure what we can do. ijkplayer actually has an exoplayer wrapper, where I think it will use exoplayer instead of ffplay. Not sure how this works, and I've really looked at it, but I did see ExoPlayer parts in the source.
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#524
|
|||
|
|||
I agree I really do not want the Sever to transcode the files ... if I am using a lan connection. The only problem I have is with 720P recordings.
|
#525
|
||||
|
||||
I did not mean for the server to actually transcode the files, but if the container is an issue for the end player, it would make sense to repackage it into a different container for transport.
__________________
Buy Fuzzy a beer! (Fuzzy likes beer) unRAID Server: i7-6700, 32GB RAM, Dual 128GB SSD cache and 13TB pool, with SageTVv9, openDCT, Logitech Media Server and Plex Media Server each in Dockers. Sources: HRHR Prime with Charter CableCard. HDHR-US for OTA. Primary Client: HD-300 through XBoxOne in Living Room, Samsung HLT-6189S Other Clients: Mi Box in Master Bedroom, HD-200 in kids room |
#526
|
||||
|
||||
Quote:
Exo is more work to get setup... Whereas IJK and VLC are pretty much just give it a URL, with Exo, you need to actually configure it for which containers will support and register them, etc, so, it isn't quite a plug and play like VLC and IJK. One of the reasons that I'm keen to re-try Exo is that IJK has a flush buffer issue that I can't seem to solve. I'm hoping that IF Exo works, I can sucessfully have it flush it's buffers during a seek.
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#527
|
|||
|
|||
Having been the first one to suggest ExoPlayer, I hope it works out!
That said, those who need MPEG2 should tamper their expectations until someone submits a pull request for ExoPlayer issue #793. One of the maintainers of the project gives a pretty good explanation of what that work would entail here. Maybe someone from the SageTV community can step up? |
#528
|
||||
|
||||
So, I took a couple of hours this morning to add in support for ExoPlayer (Google's homegrown media player framework). I better results than when I first tried, mainly because the streaming framework that I had to create is more stable/mature than when I started, but overall, the player is completely unusable.
TS Files (HD-PVR h264 encoded files 720p) won't play at all... The "TsExtractor" just bombs parsing the stream. (push or pull, doesn't matter). MKV Files - I got video, but no audio... MP4 Files - I got video and audio, files play fine. At this point I don't intend on doing a release with this, because it's not usable, and I don't have the time (right now) to open tickets, troubleshooting, etc. It's quite easy to swap out players, but I don't see the point in even enabling this one, if it only plays one of the sample files that I'm using. My understanding of ExoPlayer is that it is a player framework that people can use, if they need/want to extend the player and swap out components, etc. This is great if the person consuming it is a "video" developer, but, as I've said in the past, that's not me. I'm sure we can write a TS extractor that works with my sample HDPVR files... but I'm not doing that. I think if a group of people are really keen on using ExoPlayer, then my suggestion would be to fork this project, then build out the player, and the submit a pull request. I do see value in having greater control over the lower level player... but it's not something that I can dedicate time to, when I know nothing about video playback from a development point of view.
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#529
|
||||
|
||||
I'll try not to sound too dumb with this as I know zero about mmost things, but are you using a video buffer ? I'm asking this due to what may be loss frames with the MPEG2 720p video issues I'm seeing. Perhaps adding this or even allowing a larger buffer might help with the drop frames?
Would it be possible to measure the network throughput somehow in the logs? I took a closer look at the 720p videos and they report that they are at 60 fps while the 1080i videos that play well are at 29.97 fps. Is it possible that this doubling of frames is causing the issues? Could the app still be starved for data even via a wired connection?
__________________
Intel Core i5-2500, 16GB RAM, OMV Linux 4.17, 3 TB of Data SageTV 9 Docker, Open DCT Docker Silicondust HDHomeRun Duo + Quatro Sage Mini Client on Amazon Fire Sticks and Android TVs |
#530
|
||||
|
||||
Quote:
PUSH and PULL are not terms that I would expect people to be familar with, and I think for troubleshooting these framedrop issues, I'll likely need to add some extra logging. For example, I can detect when frames are dropped, and potentially log it. I can also tell the player to NOT drop frames, but, not sure what the effects of that would be, since in most places it see people enabling that (and it's enabled in this app as well). Unfortunately other than playing with exo player yesterday, I haven't had much time to play with this, this weekend
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#531
|
||||
|
||||
Ah great info. Thanks for sharing. Yes, it would be great to try and figure out what's really happening with certain recordings/streams. Additional logging options will hopefully help with this. Many thanks
__________________
Intel Core i5-2500, 16GB RAM, OMV Linux 4.17, 3 TB of Data SageTV 9 Docker, Open DCT Docker Silicondust HDHomeRun Duo + Quatro Sage Mini Client on Amazon Fire Sticks and Android TVs |
#532
|
||||
|
||||
Sean - Is the microphone button on the default nexus player remote mapped to anything? If it isn't, can it be? I was thinking that one way to make the miniclient more usable with the default nexus remote would be to display a "virtual" remote when the microphone buttonwas pressed. (It could be another button but they are at a premium and I'd hate to waste one on this.)
I am thinking you might attract more users if there was a way to navigate the UI without getting a new remote for the (cheap) nexus.
__________________
Sage Server: 8th gen Intel based system w/32GB RAM running Ubuntu Linux, HDHomeRun Prime with cable card for recording. Runs headless. Accessed via RD when necessary. Four HD-300 Extenders. |
#533
|
||||
|
||||
Quote:
I'm also been working on the code to send all the standard keys to sagetv to so that external keyboards can work. There are few kinks, but it's almost done.
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#534
|
||||
|
||||
New Version 0.10-ALPHA
This version fixes the long press on enter/options not bringing up the OPTIONS. Adds external keyboard support (usb, bluetooth). I was able to test the client as a placeshifter, and the entier UI is blank when placeshifting, so I'm still investigating why that is.
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#535
|
|||
|
|||
Quote:
|
#536
|
||||
|
||||
Quote:
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#537
|
|||
|
|||
Alpha10 broke video (live & recorded) playback for me too. I tried clearing cache but it made no difference. I uninstalled and installed Alpha8 and it's OK now
__________________
Tecra M5, 2 x HD200, 2 x HD300 2 x PCTV 290e Win 7, Sage 7.1.9, Phoenix 2 STV Stephane's XMLTV Importer, Digiguide, |
#538
|
||||
|
||||
I did some checking... I was making some changes to the project to the make player easier to rebuild, and I accidentally set the codec support to minimal I'll try to do another build tonight with the updated codecs.
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#539
|
||||
|
||||
Just tried .9 alpha and one thing that happened in .6 was that when I press play the nexus player will start playing Google music if I have anything paused. I also don't know how is how to right click or press ESC.
__________________
SageTV Server: unRAID Docker v9, S2600CPJ, Norco 24 hot swap bay case, 2x Xeon 2670, 64 GB DDR3, 3x Colossus for DirecTV, HDHR for OTA Living room: nVidia Shield TV, Sage Mini Client, 65" Panasonic VT60 Bedroom: Xiomi Mi Box, Sage Mini Client, 42" Panasonic PZ800u Theater: nVidia Shield TV, mini client, Plex for movies, 120" screen. Mitsubishi HC4000. Denon X4300H. 7.4.4 speaker setup. |
#540
|
||||
|
||||
New Version 0.11-ALPHA
ALPHA-10 accidentally contained a player build with limited codec support. This build restores the codec support.
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Finally, a fully functional SageTV client on android and iphone! | mkanet | SageTV v7 Customizations | 12 | 01-12-2013 12:22 AM |
SageTV Placeshifter for Android | nyle | SageTV Placeshifter | 5 | 12-31-2011 10:40 AM |
Sage should get an android client running on this | Deacon Crusher | Hardware Support | 1 | 09-29-2010 11:30 AM |
Android client? | equalize | SageTV Placeshifter | 1 | 07-22-2010 09:37 AM |