Jump to content

Android TV App


Luke

Recommended Posts

ozrex

The Live TV enhancements announced today look really great in the screenshots.

 

Question for anyone with a Nexus Player running live tv in a country that transmits in MPEG-2:  from what I've read, the nexus player doesn't support hardware MPEG-2.  Is the Emby server transcoding the live tv for the nexus player to another format, or is the nexus player using software decoding?  If software decoding the MPEG-2, is the nexus player handling HD channels?

Link to comment
Share on other sites

bassistgak

The Live TV enhancements announced today look really great in the screenshots.

 

Question for anyone with a Nexus Player running live tv in a country that transmits in MPEG-2:  from what I've read, the nexus player doesn't support hardware MPEG-2.  Is the Emby server transcoding the live tv for the nexus player to another format, or is the nexus player using software decoding?  If software decoding the MPEG-2, is the nexus player handling HD channels?

Hi @@ozrex,

 

Here in Australia, TV is sent out a Mpeg2 (boo hoo),  When the live TV stream is sent to the nexus player the Emby Server transcodes it. 

Runs fine transcoding, and the new guide is fricken awesome!!!!!!!!!

The only thing that i find still needs work is the time it takes for a live TV channel to start once you select it to play, usually around 8 to 12 seconds. But I do not think this is a transcode issue as I can start a movie transcode at 1080p at 40mbps and this only takes about 2 -3 seconds to start on the Nexus player.

Someone else might be able to chime in, why it takes a while for a live TV channel to start playing. And if this is an issue, it is one I can live with as I am sure the Dev team is working to get it fixed. (Every time I think there is an issue with Emby, I usually find the Dev team is 5 steps ahead and a fix is out in the next release).

Link to comment
Share on other sites

hifiaudio2

Just got the Nvidia Shield Android TV and installed EMBY Android TV app.  The Shield is awesome overall by the way,  but I played back an MKV and I *think*  both the video and audio are being transcoded while the hardware should support h.264,  just not the audio.  Is that what is happening in this log?

 

http:/xxxx/mediabrowser/videos/7867f1c319a09e1dceb44d6dc6fb5bac/hlsdynamic/main/0.ts?DeviceId=5790424a11577b80&MediaSourceId=7867f 1c319a09e1dceb44d6dc6fb5bac&VideoCodec=h264&AudioC odec=aac&AudioStreamIndex=1&VideoBitrate=39680000& AudioBitrate=320000&MaxAudioChannels=6&MaxWidth=21 76&Level=51&ClientTime=1433016455565&MaxVideoBitDe pth=8&Profile=high&PlaySessionId=7651d54c2e134cd4a 51f0b86a934fa28&api_key=9a80010a9bb243b0b5f93c1bac 397af1

{"Protocol":"File","Id":"7867f1c319a09e1dceb44d6dc 6fb5bac","Path":"\\\\xxxxx\\Movies\\Guardians of the Galaxy\\Guardians of the Galaxy.mkv","Type":"Default","Container":"mkv","Si ze":31328634925,"Name":"1080P/H264/DTS-HD MA","RunTimeTicks":72512020000,"ReadAtNativeFramer ate":false,"SupportsTranscoding":true,"SupportsDir ectStream":true,"SupportsDirectPlay":true,"Require sOpening":false,"RequiresClosing":false,"VideoType ":"VideoFile","MediaStreams":[{"Codec":"h264","Language":"eng","IsInterlaced":fa lse,"BitRate":34563797,"BitDepth":8,"RefFrames":4, "IsDefault":false,"IsForced":false,"Height":1080," Width":1920,"AverageFrameRate":23.97602,"RealFrame Rate":23.97602,"Profile":"High","Type":"Video","As pectRatio":"16:9","Index":0,"IsExternal":false,"Is TextSubtitleStream":false,"SupportsExternalStream" :false,"PixelFormat":"yuv420p","Level":41,"IsAnamo rphic":false,"IsCabac":true},{"Codec":"dca","Langu age":"eng","IsInterlaced":false,"ChannelLayout":"5 .1","BitRate":1536000,"Channels":6,"SampleRate":48 000,"IsDefault":true,"IsForced":false,"Profile":"D TS-HD MA","Type":"Audio","Index":1,"IsExternal":false,"I sTextSubtitleStream":false,"SupportsExternalStream ":false,"Level":0}],"PlayableStreamFileNames":[],"Formats":["mkv","webm"],"Bitrate":34563797,"RequiredHttpHeaders":{}}

C:\xxxxxxxxRoaming\MediaBrowser-Server\ffmpeg\20150331\ffmpeg.exe -t 00:02:00.000 -i file:"\\xxxxxxx\Movies\Guardians of the Galaxy\Guardians of the Galaxy.mkv" -map_metadata -1 -threads 0 -map 0:0 -map 0:1 -map -0:s -codec:v:0 libx264 -pix_fmt yuv420p -preset superfast -crf 23 -maxrate 34563797 -bufsize 69127594 -vsync vfr -profile:v high -level 51 -force_key_frames expr:gte(t,n_forced*3) -vf "scale=min(iw\,2176):trunc(ow/dar/2)*2" -flags +loop-global_header -sc_threshold 0 -codec:a:0 aac -strict experimental -ac 6 -ab 320000 -af "adelay=1,aresample=async=1" -hls_time 3 -start_number 0 -hls_list_size 0 -y "C:\Users\Denmedia\AppData\Roaming\MediaBrowse r-Server\transcoding-temp\416b562b578306de997bc4fdaeab40f8.m3u8"

ffmpeg version N-71182-g5cba529 Copyright © 2000-2015 the FFmpeg developers
built with gcc 4.9.2 (GCC)
configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libdcadec --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-lzma --enable-decklink --enable-zlib
libavutil 54. 21.100 / 54. 21.100
libavcodec 56. 32.100 / 56. 32.100
libavformat 56. 27.100 / 56. 27.100
libavdevice 56. 4.100 / 56. 4.100
libavfilter 5. 13.101 / 5. 13.101
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 1.100 / 1. 1.100
libpostproc 53. 3.100 / 53. 3.100
[dca @ 0000000002d23ac0] Number of channels changed in DCA decoder (8 -> 6)
Input #0, matroska,webm, from 'file:\xxxxxxx\Guardians of the Galaxy\Guardians of the Galaxy.mkv':
Metadata:
title : Guardians of the Galaxy
encoder : libmakemkv v1.9.0 (1.3.0/1.4.1) win(x64-release)
creation_time : 2014-12-12 01:17:36

Edited by hifiaudio2
Link to comment
Share on other sites

hifiaudio2

Should the Emby app be able to direct play anything that the shield hardware supports? Or are there other complications? I really want to just use the Emby ATV app and not Kodi if I can help it.

Link to comment
Share on other sites

go into server program data /data/devices. find the device.json file for this app. if you sign into the app, it should be the most recently modified one. please post that.

Link to comment
Share on other sites

hifiaudio2

hmm i looked on the Shield and dont see that anywhere,  so you must mean in Windows.  I dont see that directory structure in file explorer or in the Emby server dashboard .  Can you help me find it?

Link to comment
Share on other sites

On the server machine.  %appdata%\mediabrowser-server\data\devices

Link to comment
Share on other sites

yea we autodetect the supported formats using android api's. i am guessing this video has ac3? it is not reporting to the operating system that it supports ac3, therefore we're not taking it into consideration.

Link to comment
Share on other sites

hifiaudio2

Hmm... am I correct in looking at that file that the issue may be that .MKV is not listed as a supported container by the Shield natively, even though it supports the h.264 codec?

Edited by hifiaudio2
Link to comment
Share on other sites

hifiaudio2

Not certain what was playing when that json was picked up,  as I was trying out multiple things.  All of my rips have the lossless only track ripped,  so likely DTS MA unless it was a TrueHD rip. 

Link to comment
Share on other sites

Deathsquirrel

Not certain what was playing when that json was picked up,  as I was trying out multiple things.  All of my rips have the lossless only track ripped,  so likely DTS MA unless it was a TrueHD rip. 

 

The shield currently supports neither of those audio formats.  Took it right off my buy list :(

Link to comment
Share on other sites

hifiaudio2

Yeah I know,  but I think Emby was transcoding the audio and the video.  I was thinking it should just transcode the audio.  But now I think that it doesnt support MKV containers.  I want to get confirmation of that. 

Link to comment
Share on other sites

Yeah I know,  but I think Emby was transcoding the audio and the video.  I was thinking it should just transcode the audio.  But now I think that it doesnt support MKV containers.  I want to get confirmation of that. 

 

i'm not sure if you're on the beta or not but we should add you to the beta. i added mkv to the direct play profiles for the shield in the latest beta. i thought it supported that, but if it doesn't then mkv's are going to fail. so that would be a good thing to find out.

Link to comment
Share on other sites

Is your email on here the same one associated with your device?  If not, PM me the correct one.

Link to comment
Share on other sites

hifiaudio2

Got the test invite and have accepted / confirmed, etc.  Can I easily tell in the app if it has automatically updated with the Beta?  

 

After that, and I run an MKV,  do you need a new .json file or just me to tell you what I see it doing / transcoding?  

Edited by hifiaudio2
Link to comment
Share on other sites

I think we just need to know how it works.  You can force update your device from the store page.  Just install it again.  It should show 1.0.46g as the version on the settings page.

Link to comment
Share on other sites

hifiaudio2

Ok cool,  that is what version it is running.  I think, however, that it is still transcoding everything.  Here is an excerpt from the log:

 

 

http://xx.xxxx/mediabrowser/videos/7867f1c319a09e1dceb44d6dc6fb5bac/hlsdynamic/main/145.ts?DeviceId=5790424a11577b80&MediaSourceId=7867f1c319a09e1dceb44d6dc6fb5bac&VideoCodec=h264&AudioCodec=aac&AudioStreamIndex=1&VideoBitrate=39680000&AudioBitrate=320000&MaxAudioChannels=6&MaxWidth=2176&Level=51&ClientTime=1433172621418&MaxVideoBitDepth=8&Profile=high&PlaySessionId=9d50f49d913f453c920391f17a6965a7&api_key=9a80010a9bb243b0b5f93c1bac397af1

{"Protocol":"File","Id":"7867f1c319a09e1dceb44d6dc6fb5bac","Path":"\\\\xxxx\\Media\\Movies\\Guardians of the Galaxy\\Guardians of the Galaxy.mkv","Type":"Default","Container":"mkv","Size":31328634925,"Name":"1080P/H264/DTS-HD MA","RunTimeTicks":72512020000,"ReadAtNativeFramerate":false,"SupportsTranscoding":true,"SupportsDirectStream":true,"SupportsDirectPlay":true,"RequiresOpening":false,"RequiresClosing":false,"VideoType":"VideoFile","MediaStreams":[{"Codec":"h264","Language":"eng","IsInterlaced":false,"BitRate":34563797,"BitDepth":8,"RefFrames":4,"IsDefault":false,"IsForced":false,"Height":1080,"Width":1920,"AverageFrameRate":23.97602,"RealFrameRate":23.97602,"Profile":"High","Type":"Video","AspectRatio":"16:9","Index":0,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"PixelFormat":"yuv420p","Level":41,"IsAnamorphic":false,"IsCabac":true},{"Codec":"dca","Language":"eng","IsInterlaced":false,"ChannelLayout":"5.1","BitRate":1536000,"Channels":6,"SampleRate":48000,"IsDefault":true,"IsForced":false,"Profile":"DTS-HD MA","Type":"Audio","Index":1,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":0}],"PlayableStreamFileNames":[],"Formats":["mkv","webm"],"Bitrate":34563797,"RequiredHttpHeaders":{}}

C:\Users\Denmedia\AppData\Roaming\MediaBrowser-Server\ffmpeg\20150331\ffmpeg.exe -ss 00:07:14.205 -t 00:02:00.000 -i file:"\\xxxxxxx\Movies\Guardians of the Galaxy\Guardians of the Galaxy.mkv" -map_metadata -1 -threads 0 -map 0:0 -map 0:1 -map -0:s -codec:v:0 libx264 -pix_fmt yuv420p -preset superfast -crf 23 -maxrate 34563797 -bufsize 69127594 -vsync vfr -profile:v high -level 51 -force_key_frames expr:gte(t,n_forced*3) -vf "scale=min(iw\,2176):trunc(ow/dar/2)*2" -flags +loop-global_header -sc_threshold 0 -output_ts_offset 00:07:14.205 -codec:a:0 aac -strict experimental -ac 6 -ab 320000 -af "adelay=1,aresample=async=1" -hls_time 3 -start_number 145 -hls_list_size 0 -y "C:\Users\Denmedia\AppData\Roaming\MediaBrowser-Server\transcoding-temp\2164e74c662afffb421c861ab9f78657.m3u8"

ffmpeg version N-71182-g5cba529 Copyright © 2000-2015 the FFmpeg developers
  built with gcc 4.9.2 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libdcadec --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-lzma --enable-decklink --enable-zlib
  libavutil      54. 21.100 / 54. 21.100
  libavcodec     56. 32.100 / 56. 32.100
  libavformat    56. 27.100 / 56. 27.100
  libavdevice    56.  4.100 / 56.  4.100
  libavfilter     5. 13.101 /  5. 13.101
  libswscale      3.  1.101 /  3.  1.101
  libswresample   1.  1.100 /  1.  1.100
  libpostproc    53.  3.100 / 53.  3.100
[dca @ 0000000002cb2ca0] Number of channels changed in DCA decoder (8 -> 6)
Input #0, matroska,webm, from 'file:\\xxxxxxxxx\xxxxx\Movies\Guardians of the Galaxy\Guardians of the Galaxy.mkv':
  Metadata:
    title           : Guardians of the Galaxy
    encoder         : libmakemkv v1.9.0 (1.3.0/1.4.1) win(x64-release)
    creation_time   : 2014-12-12 01:17:36
  Duration: 02:00:51.20, start: 0.000000, bitrate: 34563 kb/s
    Chapter #0:0: start 0.000000, end 245.703792
    Metadata:

      title           : Chapter 01

 

 

.....................

Edited by hifiaudio2
Link to comment
Share on other sites

Deathsquirrel

That's a level 4.1 encode with DTS-HD sound.  The video stream is 34mbit.  Every one of those things will require transcoding to play on the fire TV I understand.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...