Tuxedo 2 Posted August 3, 2015 Share Posted August 3, 2015 (edited) I've had marginal success modifying the commands being sent to ffmpeg by replacing the ffmpeg binary in ~/.config/emby-server/ffmpeg/20150110/ffmpeg with a shell script. I have ffmpeg installed from homebrew (OSX), so without modification, I get the exact same behaviour with this script: #!/bin/bash # for testing echo "$@" >> ~/.config/emby-server/ffmpeg/ffmpeg.log /usr/local/bin/ffmpeg "$@" The trick after that's in place is to figure out exactly what and when you should use the expected behaviour or replace it. In this case (and I'm working from memory, so the numbers may be off) I'm just replacing any reencoding behaviour with stream copying. My Android TV (Google sent me a couple ADT-1s) plays pretty much every piece of content I've ever thrown at it without needing to reencode (emby has h264 level 41 hardcoded as a requirement for the ADT-1, which doesn't seem to be the actual case) and I'm doing all my playback at home on my own network so there's no bandwidth limitation. The only things needed are the correct input filename and output filename. #!/bin/bash # for testing echo "$@" >> ~/.config/emby-server/ffmpeg/ffmpeg.log if [[ "$#" == 54 ]] then /usr/local/bin/ffmpeg -i "${2}" -c copy -hls_time 3 -hls_list_size 0 "${54}" else /usr/local/bin/ffmpeg "$@" fi It works, but only after I've started the content once with the equivalence operation set to not match. After backing out of the video and going back in I can replace the commands and it plays fine. The Android TV app will however show an error toast about the media even though it's playing just fine. I only just did this for the first time last night, so I'm still unclear what's going wrong. In a more perfect world, I'd be able to configure my endpoint through the GUI in a similar fashion to what is done for DLNA, down to specifying exactly what ffmpeg is being told what to do. Edited August 3, 2015 by Tuxedo Link to comment Share on other sites More sharing options...
Luke 37060 Posted August 3, 2015 Author Share Posted August 3, 2015 actually that level 41 is only a default (note the property name). api 16 and up allows us to get the exact value as reported by the device Link to comment Share on other sites More sharing options...
Tuxedo 2 Posted August 4, 2015 Share Posted August 4, 2015 actually that level 41 is only a default (note the property name). api 16 and up allows us to get the exact value as reported by the device I see why my workaround is so tenuous. I didn't understand that level applies to the number of reference frames possible too. I feel kinda dumb now for using ffmpeg's veryslow preset so often without taking level into account, and for complaining about 41 being made a default. Link to comment Share on other sites More sharing options...
raven-au 17 Posted August 30, 2015 Share Posted August 30, 2015 Hi all, Have tried the current Android TV app briefly. Most of my videos are h264 with DD 5.1, DTS 5.1 or DD 2.0 and are 576p, 720p or 1080p in an mkv container. I've tried a few and found: On Sony KD-55X8500C, everything I tried worked using direct play pretty much at least one of each of the above types. Initially DD 5.1 didn't pass through to the receiver but did on later tries, needs work IMHO. DTS 5.1 was tried both before the DD 5.1 worked and after and came through as LPCM 2.0 always. I didn't try transcoding at all since my NAS won't handle multiple (only really 2 when needed) so I don't have the need to do it. On Nexus Player the the situation was similar with the following expected and one unexpected result. The DD 5.1 was passed through fine and the DTS 5.1 came through as multi-channel LPCM as expected. The 576p/DD 2.0 videos caused a bit of an upset, The receiver even turned itself off at one point and there was no picture but sound was present. The no sound problem continued after exiting the app and I had to initiate my full device reset procedure to bring sound back. This was repeatable although the receiver didn't turn off a second time. Changing to not use VLC allowed the 576p video to play fine in spite of the transcoding load on the NAS. Regards Ian Link to comment Share on other sites More sharing options...
ebr 14910 Posted August 30, 2015 Share Posted August 30, 2015 On Sony KD-55X8500C, everything I tried worked using direct play pretty much at least one of each of the above types. Initially DD 5.1 didn't pass through to the receiver but did on later tries, needs work IMHO. This was probably an HDMI handshake issue. DTS 5.1 was tried both before the DD 5.1 worked and after and came through as LPCM 2.0 always. This was probably a limitation of the device. I assume all of this was on 1.0.80. You could opt in to the open beta and try the newer version as it makes a lot of changes to playback. Link to comment Share on other sites More sharing options...
raven-au 17 Posted August 31, 2015 Share Posted August 31, 2015 I assume all of this was on 1.0.80. You could opt in to the open beta and try the newer version as it makes a lot of changes to playback. Oh sorry, I didn't mention app version. I posted because I had opted in and thought you should know the result. I don't have access to the devices now (son is asleep and youngster is watching TV) but it is whatever the version was the day before yesterday (Saturday). Link to comment Share on other sites More sharing options...
raven-au 17 Posted August 31, 2015 Share Posted August 31, 2015 Oh sorry, I didn't mention app version. I posted because I had opted in and thought you should know the result. I don't have access to the devices now (son is asleep and youngster is watching TV) but it is whatever the version was the day before yesterday (Saturday). Got it, it's 1.0.90g btw. Link to comment Share on other sites More sharing options...
raven-au 17 Posted August 31, 2015 Share Posted August 31, 2015 Oh sorry, I didn't mention app version. I posted because I had opted in and thought you should know the result. I don't have access to the devices now (son is asleep and youngster is watching TV) but it is whatever the version was the day before yesterday (Saturday). In fact I had no choice but to get the beta because on the Sony TV everything was being transcoded which didn't go at all well for 1080p, lots of screen corruption (like blurred blocking) and pauses, as you'd expect when the server is struggling. Link to comment Share on other sites More sharing options...
bret1958 26 Posted September 19, 2015 Share Posted September 19, 2015 We hope you guys are enjoying the new app: http://emby.media/community/index.php?/blog/1/entry-189-emby-for-android-tv-nexus-player-released/ Please make sure to leave a review in the play store, thanks https://play.google.com/store/apps/details?id=tv.emby.embyatv I blew the cork on a new Sammy 65" 4k to only find out that the 2015 model has tizen not android.. so emby app is a nogo. so i will need an android streamer if I want to use emby or its going back. ( I think its going back) Luke Will Emby be ported to Tizen ? I am not amused with Samsung's mid run change... Link to comment Share on other sites More sharing options...
Luke 37060 Posted September 19, 2015 Author Share Posted September 19, 2015 We're working on something new that will eventually work for tizen, yes. 1 Link to comment Share on other sites More sharing options...
KRA 39 Posted September 25, 2015 Share Posted September 25, 2015 We're working on something new that will eventually work for tizen, yes. Can you elaborate on this, I'm considering a new TV these days. Is Tizen a viable option in near future ? Link to comment Share on other sites More sharing options...
ebr 14910 Posted September 25, 2015 Share Posted September 25, 2015 Can you elaborate on this, I'm considering a new TV these days. Is Tizen a viable option in near future ? It isn't something that is going to happen in a few weeks but should be possible eventually. Link to comment Share on other sites More sharing options...
trusselo 220 Posted September 25, 2015 Share Posted September 25, 2015 installed Emby for Android TV today on my mothers new Android TV. Went to log-in with her guest account, served from my server. Her user name was not available. only other users not attached to that emby connect account. Her user name and log-in are differeent from mine obvisouly. but after "logging in" with the aide of a laptop from the emby.media/pin page, My user account was the only one available to select. This is a security issue. I had to delete the guest account and create a local account and connect that to the emby connect account Lost all playstates. Had to tell emby for android TV to keep that user logged-in, so my mother doesnt see my account. Also, We have some different shows only visible to each of us, by using several TV folders, where all other clients have the option of merging all TV folders into one view and merging all movies into one view. Not on this app. each user can see TV and TV2 Movies and Movie2. Please add option to merge similar media into standard grouped folders / TV / Movies / Music Link to comment Share on other sites More sharing options...
ebr 14910 Posted September 25, 2015 Share Posted September 25, 2015 installed Emby for Android TV today on my mothers new Android TV. Went to log-in with her guest account, served from my server. Her user name was not available. only other users not attached to that emby connect account. Her user name and log-in are differeent from mine obvisouly. but after "logging in" with the aide of a laptop from the emby.media/pin page, My user account was the only one available to select. This is a security issue. I had to delete the guest account and create a local account and connect that to the emby connect account Lost all playstates. Had to tell emby for android TV to keep that user logged-in, so my mother doesnt see my account. Also, We have some different shows only visible to each of us, by using several TV folders, where all other clients have the option of merging all TV folders into one view and merging all movies into one view. Not on this app. each user can see TV and TV2 Movies and Movie2. Please add option to merge similar media into standard grouped folders / TV / Movies / Music Can you please create two new threads with your two issues so we can properly address them. The first one, I think, may be similar to what is here. In which case, just add to that thread. The second one, I'm pretty sure is just a settings issue for the users in question because the app uses the same preferences as the other ones do. Link to comment Share on other sites More sharing options...
trusselo 220 Posted September 26, 2015 Share Posted September 26, 2015 (edited) Can you please create two new threads with your two issues so we can properly address them. The first one, I think, may be similar to what is here. In which case, just add to that thread. The second one, I'm pretty sure is just a settings issue for the users in question because the app uses the same preferences as the other ones do. ... brb Edited September 26, 2015 by trusselo Link to comment Share on other sites More sharing options...
jnot2 3 Posted October 11, 2015 Share Posted October 11, 2015 Any news on when music will get supported... Link to comment Share on other sites More sharing options...
ebr 14910 Posted October 11, 2015 Share Posted October 11, 2015 Sorry, no I don't have a time-table right now. It is near the top of the list but it is a big project. Link to comment Share on other sites More sharing options...
Vidman 589 Posted October 17, 2015 Share Posted October 17, 2015 Is there any way to adjust the brightness of the vlc player like you can in the mobile app when swiping up or down on the left side of the screen? The picture seems very bright on my MINIX neo compared to the same video on the same device played with kodi Link to comment Share on other sites More sharing options...
ebr 14910 Posted October 18, 2015 Share Posted October 18, 2015 Is there any way to adjust the brightness of the vlc player like you can in the mobile app when swiping up or down on the left side of the screen? The picture seems very bright on my MINIX neo compared to the same video on the same device played with kodi No, there is no access to that setting right now. I have not seen any difference in black levels (that's what brightness is) between the different methods of playback on either the NP or FTV. Perhaps Kodi has a setting? Link to comment Share on other sites More sharing options...
Vidman 589 Posted October 18, 2015 Share Posted October 18, 2015 (edited) Yea maybe... But I was only using kodi as an example this app is noticeably brighter than other video apps and kodi was the easiest to compare the same file Perhaps a feature request to add the adjustment to the osd setting with audio delay? Edited October 18, 2015 by Vidman Link to comment Share on other sites More sharing options...
ebr 14910 Posted October 18, 2015 Share Posted October 18, 2015 Yea maybe... But I was only using kodi as an example this app is noticeably brighter than other video apps and kodi was the easiest to compare the same file Perhaps a feature request to add the adjustment to the osd setting with audio delay? I don't see that at all on my NP or Fire (using Sling, HDHR View and our ATV app). What specific apps are you comparing to other than Kodi? Link to comment Share on other sites More sharing options...
Vidman 589 Posted October 18, 2015 Share Posted October 18, 2015 (edited) Yea I'm not using a NP or fire TV... Have mxplayer YouTube Netflix Google play kodi vlc Edited October 18, 2015 by Vidman Link to comment Share on other sites More sharing options...
Vidman 589 Posted October 19, 2015 Share Posted October 19, 2015 (edited) Android TV app ^^^^ MX player ^^^^ Edit:Hmmm not sure why the mxplayer picture is corrupted , unless the white is meant to be solid black like the top and bottom bars Edited October 19, 2015 by Vidman Link to comment Share on other sites More sharing options...
Vidman 589 Posted October 19, 2015 Share Posted October 19, 2015 I notice that dpad left and right now skips back and forward when video is playing. ..what about using up and down for larger jumps Link to comment Share on other sites More sharing options...
ebr 14910 Posted October 19, 2015 Share Posted October 19, 2015 Hard to tell much with the compression artifacts on the second image (the forum compresses really large images and causes this) but it looks to me like the contrast is pumped up in the MX Player one. Link to comment Share on other sites More sharing options...
Recommended Posts