soloam 3 Posted June 28, 2016 Posted June 28, 2016 (edited) Hello, I would like to set a Bitrate limit to my clients, but I can't seem to make it work! I'm testing in Kodi with the emby addon, and I set on my server a limit of 2Mb/s. When I play a movie in kodi (outside my network, so streaming, not direct playing) I press the leter "o" to get the movie information! I see that it still is a 1080p movie and that goes beyond the 2Mb/s bitrate. On the server dashboard I get the information "Direct Plying". Only when in kodi I set a lower "Video Quality" I get Transcoding in the dashboard and the correct bitrate on the video info in kodi. I would like to control this, not the clients. I would like to limit the bit rate to all clients, and if possible the video size (down to 720p). Is this possible? Thank You Edited June 28, 2016 by soloam
Luke 38500 Posted June 28, 2016 Posted June 28, 2016 I think the kodi addon hasn't implemented the api for this. I'll sync with them on that. Thanks. 1
soloam 3 Posted June 30, 2016 Author Posted June 30, 2016 @@Luke But should't the server setting be independent from the client? I understood that if I set 2Mb/s in the server, no mater what settings the client has, it will allays only receive that bitrate. Did I get that wrong? thank you
Luke 38500 Posted June 30, 2016 Posted June 30, 2016 The kodi addon is using an api that was created before this setting was added, so it's not that simple. We are having discussions on getting it updated though.
soloam 3 Posted June 30, 2016 Author Posted June 30, 2016 Thank you @@Luke great work and looking forward to that! Best Regards Enviado do meu GT-I9305 através de Tapatalk
intellium 7 Posted September 25, 2016 Posted September 25, 2016 Whats the status on this? I noticed on my server (3.1.164) that Kodi clients still seem to ignore the max streaming bitrate setting...
Angelblue05 4131 Posted September 25, 2016 Posted September 25, 2016 (edited) Playback is being worked on in Kodi, but it's a big modification so it will take some time before it's ready for testing. Edited September 25, 2016 by Angelblue05
intellium 7 Posted September 26, 2016 Posted September 26, 2016 Playback is being worked on in Kodi, but it's a big modification so it will take some time before it's ready for testing. Thanks. I guess there is no workaround available to limit it? I have a few remote clients using Emby for Kodi and them using "direct playing" is very taxing on my upload as you can imagine
Angelblue05 4131 Posted September 26, 2016 Posted September 26, 2016 If they are playing from HTTP, you can ask them to change the video quality and reduce it on clients side for now. Note that, if your users are not able to directly playback because the bitrate is too low, the content will transcode and that will use a lot more cpu on your server.
intellium 7 Posted September 26, 2016 Posted September 26, 2016 If they are playing from HTTP, you can ask them to change the video quality and reduce it on clients side for now. Note that, if your users are not able to directly playback because the bitrate is too low, the content will transcode and that will use a lot more cpu on your server. I actually want them to transcode to get the bitrate down. They are using the default method in the addon for playback and have the bitrate set to 10mbit. Sadly, this still causes direct playback and no transcoding... I have more transcoding power than I have bandwidth, so unlike all the other threads asking to force direct play, I want to force them to transcode (Using the kodi addon) 1
Angelblue05 4131 Posted September 26, 2016 Posted September 26, 2016 10 Mbps.... so reduce it to 2 Mbps or less instead....
soloam 3 Posted September 27, 2016 Author Posted September 27, 2016 I think that he haves the same problem that I have! Users using emby on kodi that don't reduce the bitrate and consume the entire bandwidth! I have it set in the server to limit to 2mbit, but on kodi that is ignored! We will wait for a solution! Meanwhile I am blocking all the users that are using kodi and not respecting the mbit that I set! Thank you
Angelblue05 4131 Posted September 27, 2016 Posted September 27, 2016 (edited) Well it's going to take some time to update our playback method. Seems simple enough, reduce the bitrate client side and it will achieve what you want. Under the addon settings > playback > set video quality to 2 Mpbs or less. It's really not difficult. Edited September 27, 2016 by Angelblue05
intellium 7 Posted September 27, 2016 Posted September 27, 2016 10 Mbps.... so reduce it to 2 Mbps or less instead.... Well it's going to take some time to update our playback method. Seems simple enough, reduce the bitrate client side and it will achieve what you want. Under the addon settings > playback > set video quality to 2 Mpbs or less. It's really not difficult. Thats just it... I can reduce it as much as I'd like.. (Currently set it to 1Mbit) it will still do Direct Playback according to the web interface and no transcoding is taking place. If it was as easy as simply changing the client bitrate, I could live with that until the server side bitrate limitation was implemented/fixed. But this just has the clients ignoring everything bitrate related and just play back the original file
soloam 3 Posted September 27, 2016 Author Posted September 27, 2016 (edited) To use the reduced bitrate the kodi client must be set to http, not smb! Edited September 27, 2016 by soloam
Angelblue05 4131 Posted September 27, 2016 Posted September 27, 2016 If they are playing from HTTP, you can ask them to change the video quality and reduce it on clients side for now. Note that, if your users are not able to directly playback because the bitrate is too low, the content will transcode and that will use a lot more cpu on your server.
intellium 7 Posted September 27, 2016 Posted September 27, 2016 To use the reduced bitrate the kodi client must be set to http, not smb! If they are playing from HTTP, you can ask them to change the video quality and reduce it on clients side for now. Note that, if your users are not able to directly playback because the bitrate is too low, the content will transcode and that will use a lot more cpu on your server. The client is set to HTTP (which is the default).... I'll find another external pc and do a new install of kodi + the addon and see if I have a similiar effect...
Angelblue05 4131 Posted September 27, 2016 Posted September 27, 2016 I have tested and transcode works fine as long as you use addon playback and have play from http enabled. Provide your kodi log and we'll be able to see why it's not working for you. 1
intellium 7 Posted September 27, 2016 Posted September 27, 2016 (edited) This is going to take me longer than I thought....The issue seems to run a lot deeper. It's not just the Kodi addon, It seems to affect every transcode that is supposed to happen.... A little info about what I found out so far: I started by connecting to a remote pc which hasn't been a client yet. Installed Kodi (latest, Krypton 17 B2) and installed the Emby for Kodi plugin (Latest beta => 2.2.37). Next I setup the addon and made sure the settings for bitrate and HTTP were correct I then tested to see if it was working: So, I figured it wasn't working and got ready to start gathering the debug logs to post up, when I noticed the following in the logs: 23:17:37 T:1336 NOTICE: EMBY.playbackutils -> Play called. 23:17:37 T:1336 NOTICE: EMBY.playutils -> Can't direct play, play from HTTP enabled. 23:17:37 T:1336 NOTICE: EMBY.playutils -> The add-on settings bitrate is: 2000000, the video bitrate required is: 1093856 23:17:37 T:1336 NOTICE: EMBY.playutils -> File is direct streaming. 23:17:37 T:1336 NOTICE: EMBY.playbackutils -> DEBUG:: Playlist start position: 0 23:17:37 T:1336 NOTICE: EMBY.playbackutils -> DEBUG:: Playlist plugin position: 0 23:17:37 T:1336 NOTICE: EMBY.playbackutils -> DEBUG:: Playlist size: 1 23:17:37 T:1336 NOTICE: EMBY.playbackutils -> DEBUG:: Resetting properties playback flag. 23:17:37 T:1336 NOTICE: EMBY.playbackutils -> Play as a regular item. 23:17:37 T:4224 NOTICE: VideoPlayer: Opening: https://<MY EMBY SERVER>/emby/Videos/8ec3d192f3a62db9bdb4baee16c2785c/stream?static=true 23:17:37 T:4224 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED 23:17:37 T:4224 ERROR: DXVA::CProcessorHD::IsFormatSupported - Unsupported format 104 for 1. 23:17:37 T:4224 ERROR: DXVA::CProcessorHD::IsFormatSupported - Unsupported format 105 for 1. 23:17:37 T:3768 NOTICE: Creating InputStream 23:17:37 T:3616 NOTICE: EMBY.player -> DEBUG:: reportPlayback Called 23:17:37 T:3768 NOTICE: Creating Demuxer 23:17:39 T:3768 NOTICE: Opening stream: 0 source: 256 23:17:39 T:3768 NOTICE: Creating video codec with codec id: 13 23:17:39 T:3768 NOTICE: CDVDVideoCodecFFmpeg::Open() Using codec: MPEG-4 part 2 23:17:39 T:3768 NOTICE: Creating video thread 23:17:39 T:3768 NOTICE: Opening stream: 1 source: 256 23:17:39 T:3768 NOTICE: Finding audio codec for: 86017 23:17:39 T:3768 NOTICE: Creating audio thread 23:17:39 T:684 NOTICE: running thread: video_thread 23:17:39 T:4644 NOTICE: running thread: CVideoPlayerAudio::Process() 23:17:39 T:684 NOTICE: CDVDVideoCodecFFmpeg::Open() Using codec: MPEG-4 part 2 23:17:39 T:4644 NOTICE: Creating audio stream (codec id: 86017, channels: 2, sample rate: 48000, no pass-through) 23:17:39 T:3616 NOTICE: EMBY.kodimonitor -> Method: Player.OnPlay Data: {"item":{"id":5021,"type":"episode"},"player":{"playerid":1,"speed":1}} 23:17:39 T:3616 NOTICE: EMBY.player -> ONPLAYBACK_STARTED: https://<MY EMBY SERVER>/emby/Videos/8ec3d192f3a62db9bdb4baee16c2785c/stream?static=true itemid: 8ec3d192f3a62db9bdb4baee16c2785c Doh.... I tested a file with an apparent average bitrate less than 2mbit... (Still weird that it says direct streaming, while it infact is direct playing) No worries... let me just try a high bitrate movie... then gather the logs... 23:10:09 T:2636 NOTICE: EMBY.playbackutils -> Play called. 23:10:09 T:2636 NOTICE: EMBY.playutils -> Can't direct play, play from HTTP enabled. 23:10:09 T:2636 NOTICE: EMBY.playutils -> The add-on settings bitrate is: 2000000, the video bitrate required is: 10552115 23:10:09 T:2636 NOTICE: EMBY.playutils -> The network speed is insufficient to direct stream file. 23:10:09 T:2636 NOTICE: EMBY.playutils -> File is transcoding. 23:10:09 T:2636 NOTICE: EMBY.playbackutils -> DEBUG:: Playlist start position: 0 23:10:09 T:2636 NOTICE: EMBY.playbackutils -> DEBUG:: Playlist plugin position: 0 23:10:09 T:2636 NOTICE: EMBY.playbackutils -> DEBUG:: Playlist size: 1 23:10:09 T:2636 NOTICE: EMBY.playbackutils -> DEBUG:: Resetting properties playback flag. 23:10:14 T:2636 NOTICE: EMBY.playbackutils -> Play as a regular item. 23:10:14 T:4224 NOTICE: VideoPlayer: Opening: https://<my emby server>/emby/Videos/52e529cf43e4bed7a9fc6dd572ab2558/master.m3u8?MediaSourceId=52e529cf43e4bed7a9fc6dd572ab2558&VideoCodec=h264&AudioCodec=ac3&MaxAudioChannels=6&deviceId=903D269DCA404AEAA901E5730FA451D7&VideoBitrate=2000000&AudioStreamIndex=1&AudioBitrate=384000 23:10:14 T:4224 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED 23:10:14 T:4224 ERROR: DXVA::CProcessorHD::IsFormatSupported - Unsupported format 104 for 1. 23:10:14 T:4224 ERROR: DXVA::CProcessorHD::IsFormatSupported - Unsupported format 105 for 1. 23:10:14 T:684 NOTICE: Creating InputStream 23:10:14 T:684 NOTICE: Creating Demuxer 23:10:14 T:684 ERROR: CVideoPlayer::OpenDemuxStream - Error creating demuxer 23:10:14 T:684 NOTICE: CVideoPlayer::OnExit() 23:10:14 T:4224 ERROR: Playlist Player: skipping unplayable item: 0, path [plugin://plugin.video.emby.movies/?dbid=47&mode=play&id=52e529cf43e4bed7a9fc6dd572ab2558&filename=2+Fast+2+Furious.mkv] 23:10:14 T:4224 NOTICE: CVideoPlayer::CloseFile() 23:10:14 T:4224 NOTICE: VideoPlayer: waiting for threads to exit 23:10:14 T:4224 NOTICE: VideoPlayer: finished waiting 23:10:14 T:4224 NOTICE: CVideoPlayer::CloseFile() 23:10:14 T:4224 NOTICE: VideoPlayer: waiting for threads to exit 23:10:14 T:4224 NOTICE: VideoPlayer: finished waiting 23:10:14 T:3616 NOTICE: EMBY.player -> DEBUG:: ONPLAYBACK_STOPPED 23:10:14 T:3616 NOTICE: EMBY.player -> Clear playlist properties. The error at first seemed to me to be something related to the transcode not being supported... But when I checked the server to find the transcode log, it became apparent there wasn't any to be found. Somehow the transcode wasn't kicking off. Surely, this had to be related to the Emby for Kodi plugin, so I installed the Emby Theather app on the same machine, only to find that when I limited the bitrate (when transcoding should kick in) I didn't get it to playback anything. Also, again, no transcoding logs.... At this point I figured the machine must have some issue, so I took over one of my (problem) users' PC and tried the same thing. Same problems again. Now I'm starting to think my machine's transcoding is broken... I opened the Webbrowser and tested from there.... And everything works perfectly! Transcoding and all... transcoding logs... the whole shebang... So, at this point I'm thinking it has to be something server related (I'm running the latest beta 3.1.167.0). I'll have to do some more digging... As you stated before, I had ofcourse limited the bitrates on the client, so I just figured something had gone wonky in the addon beta's... You figured I was some newb that didn't know how to limit the bitrate properly. As always, the proof is in the numbers... Next steps are figuring out if I can do something to fix it, and otherwise rollback to an older server version to see if that resolves it... Stay tuned Edited September 27, 2016 by intellium 1
Luke 38500 Posted September 28, 2016 Posted September 28, 2016 The bitrate limit shouldn't result in playback not working in Emby Theater, but rather just transcoding happening. The only exception would be if transcoding access has been denied to that user.
intellium 7 Posted September 28, 2016 Posted September 28, 2016 Currently, the only way I get the server to transcode something, is by using the WebUI. This reliably starts FFMPEG to transcode the stream. Anything else just results in a playback failure and no transcoding even attempted on the server. This is with the Kodi addon and Emby Theater as far as I've been able to test. Im running all these under my own user (which has all rights / access). The server is running 3.1.168.0 beta (docker container) Client is Windows 10, Kodi 16.1 / 17.2 / ET 2.5.22 I tried this under Kodi 17.2 with the latest Emby (beta) addon: The Kodi Log for playback: 19:55:18 T:86928 NOTICE: EMBY.downloadutils -> DEBUG:: ====== 200 Success ====== 19:55:18 T:86928 NOTICE: EMBY.downloadutils -> DEBUG:: Response: {u'Genres': [u'Adventure', u'Science Fiction', u'Action', u'Sci-Fi', u'Thriller'], u'MediaStreams': [{u'IsInterlaced': False, u'Index': 0, u'AverageFrameRate': 23.97599, u'Width': 1280, u'Codec': u'h264', u'IsForced': False, u'AspectRatio': u'2.40:1', u'Type': u'Video', u'IsTextSubtitleStream': False, u'Profile': u'High', u'TimeBase': u'1/1000', u'NalLengthSize': u'4', u'CodecTimeBase': u'583/27956', u'RealFrameRate': 23.97599, u'Language': u'eng', u'Level': 41, u'RefFrames': 1, u'BitDepth': 8, u'BitRate': 6961753, u'IsDefault': True, u'IsAnamorphic': False, u'SupportsExternalStream': False, u'Height': 536, u'IsAVC': True, u'PixelFormat': u'yuv420p', u'IsExternal': False}, {u'Profile': u'DTS', u'IsInterlaced': False, u'DisplayTitle': u'Eng DTS 5.1 Default', u'ChannelLayout': u'5.1', u'Language': u'eng', u'Index': 1, u'Type': u'Audio', u'IsForced': False, u'Level': 0, u'Channels': 6, u'Codec': u'dts', u'SupportsExternalStream': False, u'CodecTimeBase': u'1/48000', u'TimeBase': u'1/1000', u'SampleRate': 48000, u'BitRate': 1536000, u'IsTextSubtitleStream': False, u'IsDefault': True, u'IsExternal': False}, {u'IsInterlaced': False, u'DisplayTitle': u'Eng', u'Language': u'eng', u'Index': 2, u'SupportsExternalStream': True, u'Codec': u'srt', u'IsForced': False, u'Path': u'/myth/movies/Movies/5th Wave, The/The 5th Wave.eng.srt', u'Type': u'Subtitle', u'IsTextSubtitleStream': True, u'IsDefault': False, u'IsExternal': True}, {u'IsInterlaced': False, u'DisplayTitle': u'', u'Index': 3, u'SupportsExternalStream': True, u'Codec': u'sub', u'IsForced': False, u'Path': u'/myth/movies/Movies/5th Wave, The/The 5th Wave.sub', u'Type': u'Subtitle', u'IsTextSubtitleStream': False, u'IsDefault': False, u'IsExternal': True}], u'Container': u'mkv', u'CanDelete': True, u'LocationType': u'FileSystem', u'OfficialRating': u'PG-13', u'CanDownload': True, u'ExternalUrls': [{u'Url': u'http://www.imdb.com/title/tt2304933', u'Name': u'IMDb'}, {u'Url': u'https://trakt.tv/movies/tt2304933', u'Name': u'Trakt'}], u'IsHD': True, u'HasSubtitles': True, u'ScreenshotImageTags': [], u'RemoteTrailers': [], u'ServerId': u'6cf9942af9724d6b99c42e73dcf5232e', u'Type': u'Movie', u'SortName': u'0000000005th wave', u'VideoType': u'VideoFile', u'EndDate': u'2016-04-07T22:00:00.0000000Z', u'PlayAccess': u'Full', u'Tags': [], u'ProductionLocations': [], u'IsFolder': False, u'LockedFields': [], u'ProviderIds': {u'Imdb': u'tt2304933'}, u'ProductionYear': 2016, u'DisplayPreferencesId': u'dbf7709c41faaa746463d67978eb863d', u'Path': u'\\\\<my smb path>\\raid.media\\movies\\Movies\\5th Wave, The\\The 5th Wave.mkv', u'LocalTrailerCount': 2, u'BackdropImageTags': [u'46fd8e52d304a45be26d47cfc44d0b1b'], u'IsPlaceHolder': False, u'Name': u'The 5th Wave', u'MediaType': u'Video', u'LockData': False, u'Taglines': [u'Protect Your Own'], u'ParentId': u'bbf760fbd8c95efbafb9c00cc04543fc', u'PrimaryImageAspectRatio': 0.666666666666667, u'MediaSources': [{u'VideoType': u'VideoFile', u'SupportsDirectStream': True, u'Protocol': u'File', u'Name': u'720P/H264/DTS', u'RequiresClosing': False, u'PlayableStreamFileNames': [], u'MediaStreams': [{u'IsInterlaced': False, u'Index': 0, u'AverageFrameRate': 23.97599, u'Width': 1280, u'Codec': u'h264', u'IsForced': False, u'AspectRatio': u'2.40:1', u'Type': u'Video', u'IsTextSubtitleStream': False, u'Profile': u'High', u'TimeBase': u'1/1000', u'NalLengthSize': u'4', u'CodecTimeBase': u'583/27956', u'RealFrameRate': 23.97599, u'Language': u'eng', u'Level': 41, u'RefFrames': 1, u'BitDepth': 8, u'BitRate': 6961753, u'IsDefault': True, u'IsAnamorphic': False, u'SupportsExternalStream': False, u'Height': 536, u'IsAVC': True, u'PixelFormat': u'yuv420p', u'IsExternal': False}, {u'Profile': u'DTS', u'IsInterlaced': False, u'DisplayTitle': u'Eng DTS 5.1 Default', u'ChannelLayout': u'5.1', u'Language': u'eng', u'Index': 1, u'Type': u'Audio', u'IsForced': False, u'Level': 0, u'Channels': 6, u'Codec': u'dts', u'SupportsExternalStream': False, u'CodecTimeBase': u'1/48000', u'TimeBase': u'1/1000', u'SampleRate': 48000, u'BitRate': 1536000, u'IsTextSubtitleStream': False, u'IsDefault': True, u'IsExternal': False}, {u'IsInterlaced': False, u'DisplayTitle': u'Eng', u'Language': u'eng', u'Index': 2, u'SupportsExternalStream': True, u'Codec': u'srt', u'IsForced': False, u'Path': u'/myth/movies/Movies/5th Wave, The/The 5th Wave.eng.srt', u'Type': u'Subtitle', u'IsTextSubtitleStream': True, u'IsDefault': False, u'IsExternal': True}, {u'IsInterlaced': False, u'DisplayTitle': u'', u'Index': 3, u'SupportsExternalStream': True, u'Codec': u'sub', u'IsForced': False, u'Path': u'/myth/movies/Movies/5th Wave, The/The 5th Wave.sub', u'Type': u'Subtitle', u'IsTextSubtitleStream': False, u'IsDefault': False, u'IsExternal': True}], u'Bitrate': 6961753, u'ReadAtNativeFramerate': False, u'RequiredHttpHeaders': {}, u'SupportsTranscoding': True, u'SupportsDirectPlay': True, u'DefaultAudioStreamIndex': 1, u'ETag': u'5150c1daf9db7518085c2c7baf00cf22', u'RunTimeTicks': 67427420000L, u'Formats': [], u'Path': u'\\\\<my smb path>\\raid.media\\movies\\Movies\\5th Wave, The\\The 5th Wave.mkv', u'Container': u'mkv', u'RequiresOpening': False, u'Type': u'Default', u'Id': u'fdfe64e68daaf9f2497c8d4bf53fd114'}], u'CommunityRating': 5.3, u'UserData': {u'IsFavorite': False, u'Played': True, u'LastPlayedDate': u'2016-08-01T04:18:15.0000000Z', u'PlaybackPositionTicks': 0, u'Key': u'tt2304933', u'PlayCount': 1}, u'Studios': [], u'People': [{u'Type': u'Actor', u'PrimaryImageTag': u'd736ac3abfe137d6bc09cbad5baadb3c', u'Role': u'Evan Walker', u'Name': u'Alex Roe', u'Id': u'1652f369210ef609ef28bd69e8296f97'}, {u'Type': u'Actor', u'PrimaryImageTag': u'1a6195a153ada73b9a90f5a154bb5f48', u'Role': u'Oliver Sullivan', u'Name': u'Ron Livingston', u'Id': u'7800c332457b77c760f5d5f989b71348'}, {u'Type': u'Actor', u'PrimaryImageTag': u'4f36b923a6f50f25995a1840a44af2ae', u'Role': u'Ringer', u'Name': u'Maika Monroe', u'Id': u'83ad560cf8c2a805534a5eaed2a0da19'}, {u'Type': u'Actor', u'PrimaryImageTag': u'275ae20da552f32c8f6e12d56113a2b1', u'Role': u'Lisa Sullivan', u'Name': u'Maggie Siff', u'Id': u'd79f42957bb8a6feec4aa97363fb6c55'}, {u'Type': u'Actor', u'PrimaryImageTag': u'517584a3a9b4203190d2e4f5ec95334c', u'Role': u'Colonel Vosch', u'Name': u'Liev Schreiber', u'Id': u'f2d9f5d7ef456e762d0a19690547142b'}, {u'Type': u'Actor', u'PrimaryImageTag': u'9354f2820ac8a06a72cf08eed9cb8043', u'Role': u'Teacup', u'Name': u'Talitha Bateman', u'Id': u'fc4cea05947c1bfe2076fe6fc0a3c4a4'}, {u'Type': u'Actor', u'PrimaryImageTag': u'5e834b6d7f25ec55426000cdf890f115', u'Role': u'Cassie Sullivan', u'Name': u'Chlo\xeb Grace Moretz', u'Id': u'55fea4e8f4f1bfdb83ae3746ae069956'}, {u'Type': u'Actor', u'PrimaryImageTag': u'200afe3feec80058a4b104a0ac2818f4', u'Role': u'Sammy Sullivan', u'Name': u'Zackary Arthur', u'Id': u'fc0897bc07e6607426824f0b227d9adc'}, {u'Type': u'Actor', u'PrimaryImageTag': u'198448e97ecc855e132189753383aa07', u'Role': u'Ben Parish', u'Name': u'Nick Robinson', u'Id': u'58e00198c248ef8285ec949ab4943379'}, {u'Type': u'Actor', u'PrimaryImageTag': u'd1ee4e5b5837ca84feac8e47ce285009', u'Role': u'Sergeant Reznik', u'Name': u'Maria Bello', u'Id': u'65c5a81a5c2cb6fc7a0d3b3b7d918d1e'}, {u'PrimaryImageTag': u'53b8e232f862923185b5a4507f73a742', u'Type': u'Director', u'Name': u'J Blakeson', u'Id': u'9a4c5cdc74c2a9e05bd0020246eac791'}, {u'Type': u'Writer', u'Name': u'Susannah Grant (screenplay)', u'Id': u'b627e176da51b0cf4bdf22b530716ec9'}, {u'Type': u'Writer', u'Name': u'Akiva Goldsman (screenplay)', u'Id': u'c8c1bf98f21e7af8ae425ba09e2f0b7c'}, {u'Type': u'Writer', u'Name': u'Jeff Pinkner (screenplay)', u'Id': u'e514f04aa6c1462c8deb0cc2eb34bc1e'}, {u'Type': u'Writer', u'Name': u'Rick Yancey (novel)', u'Id': u'da0d690c4cdfd331298bb15e4bc8e722'}], u'Overview': u'16-year-old Cassie Sullivan tries to survive in a world devastated by the waves of an alien invasion that has already decimated the population and knocked mankind back to the Stone Age.', u'Chapters': [{u'Name': u'Chapter 1', u'StartPositionTicks': 0}, {u'Name': u'Chapter 2', u'StartPositionTicks': 2285620000L}, {u'Name': u'Chapter 3', u'StartPositionTicks': 5458370000L}, {u'Name': u'Chapter 4', u'StartPositionTicks': 9613350000L}, {u'Name': u'Chapter 5', u'StartPositionTicks': 12460360000L}, {u'Name': u'Chapter 6', u'StartPositionTicks': 17234300000L}, {u'Name': u'Chapter 7', u'StartPositionTicks': 22619680000L}, {u'Name': u'Chapter 8', u'StartPositionTicks': 27509570000L}, {u'Name': u'Chapter 9', u'StartPositionTicks': 32597150000L}, {u'Name': u'Chapter 10', u'StartPositionTicks': 35877090000L}, {u'Name': u'Chapter 11', u'StartPositionTicks': 39617490000L}, {u'Name': u'Chapter 12', u'StartPositionTicks': 43861320000L}, {u'Name': u'Chapter 13', u'StartPositionTicks': 46932300000L}, {u'Name': u'Chapter 14', u'StartPositionTicks': 51022640000L}, {u'Name': u'Chapter 15', u'StartPositionTicks': 55411610000L}, {u'Name': u'Chapter 16', u'StartPositionTicks': 61874310000L}], u'DateCreated': u'2016-04-08T14:25:32.0000000Z', u'VoteCount': 25527, u'ImageTags': {u'Banner': u'62bd05c1c7216f8377f64d6b3be4a385', u'Thumb': u'ba20ea2453860659e4e55181f7696721', u'Primary': u'db504a02ce5889d4ef5eafe587a142fb'}, u'Etag': u'e907433a382f81064a82fb43335ad195', u'RunTimeTicks': 67427420000L, u'Keywords': [], u'SupportsSync': True, u'Id': u'fdfe64e68daaf9f2497c8d4bf53fd114'} 19:55:18 T:86928 NOTICE: EMBY.artwork -> image cache thread count: 25 19:55:18 T:86928 NOTICE: EMBY.playbackutils -> Play called. 19:55:18 T:86928 NOTICE: EMBY.playutils -> Can't direct play, play from HTTP enabled. 19:55:18 T:86928 NOTICE: EMBY.playutils -> The add-on settings bitrate is: 2000000, the video bitrate required is: 6961753 19:55:18 T:86928 NOTICE: EMBY.playutils -> The network speed is insufficient to direct stream file. 19:55:18 T:86928 NOTICE: EMBY.playutils -> File is transcoding. 19:55:18 T:86928 NOTICE: EMBY.playbackutils -> DEBUG:: Playlist start position: 0 19:55:18 T:86928 NOTICE: EMBY.playbackutils -> DEBUG:: Playlist plugin position: 0 19:55:18 T:86928 NOTICE: EMBY.playbackutils -> DEBUG:: Playlist size: 1 19:55:18 T:86928 NOTICE: EMBY.playbackutils -> Setting up properties in playlist. 19:55:18 T:86928 NOTICE: EMBY.playbackutils -> DEBUG:: Adding dummy file to playlist. 19:55:19 T:86928 NOTICE: EMBY.playlist -> DEBUG:: {u'jsonrpc': u'2.0', u'id': 1, u'result': u'OK'} 19:55:19 T:86928 NOTICE: Previous line repeats 1 times. 19:55:19 T:86928 NOTICE: EMBY.downloadutils -> DEBUG:: ===== ENTER downloadUrl ===== 19:55:19 T:86928 NOTICE: EMBY.downloadutils -> DEBUG:: {'headers': {'Accept-Charset': 'UTF-8,*', 'Content-type': 'application/json', 'Accept-encoding': 'gzip', 'Authorization': 'MediaBrowser UserId="0e88ea49810d485ab6d24dcc2a56eb74", Client="Kodi", Device="Kodi (PC-<me>)", DeviceId="662C7BDFC7C446B58ED05E1CACECCC4F", Version="2.2.37"', 'X-MediaBrowser-Token': '2b60098113864220b16cbbd31980d352'}, 'json': None, 'params': None, 'timeout': 30, 'url': 'https://<my emby server>/emby/Users/0e88ea49810d485ab6d24dcc2a56eb74/Items/fdfe64e68daaf9f2497c8d4bf53fd114/Intros?format=json', 'verify': False} 19:55:19 T:88492 NOTICE: EMBY.kodimonitor -> Method: Playlist.OnRemove Data: {"playlistid":1,"position":1} 19:55:23 T:86928 NOTICE: EMBY.downloadutils -> DEBUG:: ====== 200 Success ====== 19:55:23 T:86928 NOTICE: EMBY.downloadutils -> DEBUG:: Response: {u'Items': [], u'TotalRecordCount': 0} 19:55:23 T:86928 NOTICE: EMBY.playbackutils -> Processed as a playlist. First item is skipped. 19:55:23 T:88704 ERROR: Playlist Player: skipping unplayable item: 0, path [plugin://plugin.video.emby.movies/?dbid=49&mode=play&id=fdfe64e68daaf9f2497c8d4bf53fd114&filename=The+5th+Wave.mkv] And here is the Emby Server log (which seems very uninformative): 2016-09-28 19:55:20.2683 Info HttpServer: HTTP GET http://<my emby server>/emby/Users/0e88ea49810d485ab6d24dcc2a56eb74/Items/fdfe64e68daaf9f2497c8d4bf53fd114?format=json. UserAgent: python-requests/2.9.1 2016-09-28 19:55:20.2982 Info HttpServer: HTTP Response 200 to 10.20.5.135. Time: 30ms. http://<my emby server>/emby/Users/0e88ea49810d485ab6d24dcc2a56eb74/Items/fdfe64e68daaf9f2497c8d4bf53fd114?format=json 2016-09-28 19:55:22.1471 Info HttpServer: HTTP POST http://10.20.70.5:8096/emby/Sessions/Playing/Progress. UserAgent: Dalvik/2.1.0 (Linux; U; Android 5.1; QM163E Build/LMY47D) 2016-09-28 19:55:22.1642 Info HttpServer: HTTP Response 204 to 10.20.5.108. Time: 17ms. http://10.20.70.5:8096/emby/Sessions/Playing/Progress 2016-09-28 19:55:24.8750 Info HttpServer: HTTP GET http://<my emby server>/emby/Users/0e88ea49810d485ab6d24dcc2a56eb74/Items/fdfe64e68daaf9f2497c8d4bf53fd114/Intros?format=json. UserAgent: python-requests/2.9.1 2016-09-28 19:55:24.8874 Info HttpServer: HTTP Response 200 to 10.20.5.135. Time: 13ms. http://<my emby server>/emby/Users/0e88ea49810d485ab6d24dcc2a56eb74/Items/fdfe64e68daaf9f2497c8d4bf53fd114/Intros?format=json I have checked all settings, toyed with everything, but can't seem to get it to work. To top it off, I just launched ET and set the bitrate limit to 720p 2Mbit and everything plays... But, the WebUI says it's transcoding, there is no FFMPEG process, nor any transcoding logs and the ET logs indicate it's using the direct path to the media file :S This just keeps on getting weirder and weirder. Could this somehow be related to the removal of the old path substitution in the latest Emby server ? I might just wipe everything and start anew, this is driving me bonkers....
intellium 7 Posted September 28, 2016 Posted September 28, 2016 Renamed the config folder and started a new container. Added my smalles library folder, configured Emby and tried again... Everything works... Transcoding is happening as it should... Now to figure out where in the config everything got botched up in the recent upgrades... 1
intellium 7 Posted September 28, 2016 Posted September 28, 2016 And to make it just that much more interesting; After verifying a clean config folder works, I went back and renamed the old config folder back to production so I could start testing some stuff and behold... everything suddenly started working... I'm at a loss at what happened here and how this is even possible... Will keep monitoring for issues....
intellium 7 Posted September 28, 2016 Posted September 28, 2016 Thanks for reporting back. Np Now I can get back to figuring out a bunch of other issues I had... Or... they might just have disappeared as well
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now