elcaron 1 Posted November 14, 2015 Posted November 14, 2015 (edited) Hi, I am on Linux (Ubuntu 15.04), but I don't think this is OS related, so I am posting in General. I am trying to set up Emby mostly as a DLNA server that can serve different stuff to different clients. Unfortunately, all videos I am trying to stream are transcoded and my N36L isn't strong enough to do that (ffmpeg at 180% cpu). I am using Kodi for testing and the Kodi profile is detected correctly (I set the friendly name for that profile and it comes up correctly). The max bit rate is set to 100MBit (far more than the tv series I am trying to stream) and all codecs and containers and whatsoever are set as supported, as in the Kodi default profile. EDIT: I did find the logs, and I guess this the relevant line: UpnpContentDirectory: Profile: Kodi TpT440s, DirectPlay=false. Reason=Unknown video codec The file is definitely directly playable in Kodi, though and in the direct play settings of the profile, everything is set to "all". Any ideas? Edited November 14, 2015 by elcaron
legallink 187 Posted November 14, 2015 Posted November 14, 2015 You should put this in the Linux forum as opposed to the Windows forum. As to why it isn't playing direct play, it would be more helpful if you told us what video codecs and containers you are using. Additionally, it may be the audio stream and not the video stream that is requiring transcoding. Lastly, I know it doesn't say it in you portion of the error log you posted, but Linux users suffer significantly from a lack of folder permission/share issues which breaks direct play.
Luke 42083 Posted November 14, 2015 Posted November 14, 2015 We have a new wiki article that can help with this very question. https://github.com/MediaBrowser/Wiki/wiki/Transcoding See the section at the bottom, Why is My Media Transcoding?
elcaron 1 Posted November 14, 2015 Author Posted November 14, 2015 (edited) You should put this in the Linux forum According to the title, this is the Windows/General forum. I see no reason to fragment knowledge and answers if the problem is not clearly OS related. How would wrong permissions trigger encoding? I would guess either Emby can read the file, or it can't? Anyway, I can play it in both the web client and Kodi, but only with considerable lagging due to the weak hardware. Emby is also able to put downloded srt files into the folder. Perhaps someone could move this if it is indeed not general enough. Regarding the media info, I wanted to do that, but didn't find the info. Looking at the wiki page posted above, my details page looks different. It only gives me: Media Info Containermkv Path/data/share/Video/Series/...[rest of the path] No codec information. ffprobe gives me Metadata: encoder : libebml v1.3.0 + libmatroska v1.4.1 creation_time : 2014-09-25 21:04:01 Duration: 01:05:03.36, start: 0.000000, bitrate: 3764 kb/s Stream #0:0: Video: h264 (High), yuv420p, 1280x720 [sAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default) Metadata: _STATISTICS_WRITING_APP: mkvmerge v7.1.0 ('Good Love') 64bit built on Jul 27 2014 13:06:55 _STATISTICS_WRITING_APP-eng: mkvmerge v7.1.0 ('Good Love') 64bit built on Jul 27 2014 13:06:55 _STATISTICS_WRITING_DATE_UTC: 2014-09-25 21:04:01 _STATISTICS_WRITING_DATE_UTC-eng: 2014-09-25 21:04:01 _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES BPS : 2993935 BPS-eng : 2993935 DURATION : 01:05:03.358000000 DURATION-eng : 01:05:03.358000000 NUMBER_OF_FRAMES: 93587 NUMBER_OF_FRAMES-eng: 93587 NUMBER_OF_BYTES : 1460800198 NUMBER_OF_BYTES-eng: 1460800198 Stream #0:1(ger): Audio: dts (DTS), 48000 Hz, 5.1(side), fltp, 768 kb/s (default) Metadata: _STATISTICS_WRITING_APP: mkvmerge v7.1.0 ('Good Love') 64bit built on Jul 27 2014 13:06:55 _STATISTICS_WRITING_APP-eng: mkvmerge v7.1.0 ('Good Love') 64bit built on Jul 27 2014 13:06:55 _STATISTICS_WRITING_DATE_UTC: 2014-09-25 21:04:01 _STATISTICS_WRITING_DATE_UTC-eng: 2014-09-25 21:04:01 _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES BPS : 767999 BPS-eng : 767999 DURATION : 01:05:03.361000000 DURATION-eng : 01:05:03.361000000 NUMBER_OF_FRAMES: 365940 NUMBER_OF_FRAMES-eng: 365940 NUMBER_OF_BYTES : 374722560 NUMBER_OF_BYTES-eng: 374722560 Stream #0:2(ger): Subtitle: subrip (default) (forced) Metadata: BPS : 1 BPS-eng : 1 DURATION : 00:37:43.928000000 DURATION-eng : 00:37:43.928000000 NUMBER_OF_FRAMES: 9 NUMBER_OF_FRAMES-eng: 9 NUMBER_OF_BYTES : 354 NUMBER_OF_BYTES-eng: 354 _STATISTICS_WRITING_APP: mkvmerge v7.1.0 ('Good Love') 64bit built on Jul 27 2014 13:06:55 _STATISTICS_WRITING_APP-eng: mkvmerge v7.1.0 ('Good Love') 64bit built on Jul 27 2014 13:06:55 _STATISTICS_WRITING_DATE_UTC: 2014-09-25 21:04:01 _STATISTICS_WRITING_DATE_UTC-eng: 2014-09-25 21:04:01 _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES Now, regarding the wiki, I find it hard to see any more useful information there. There are mainly three reasons given: 1. format supported by the Emby app. Isn't that by definition all in the Kodi DLNA profile? 2. The bitrate. Set to 100 MBit, should be fine 3. Subtitles. What does "subtitles selected" mean? In Kodi, there are none selected. There are also non selectable, despite the fact that emby successfully loaded srt files into the media directory. I guess the problem is probably connected to the fact that I don't have those codec details in the media detail section. Edited November 14, 2015 by elcaron
Angelblue05 4132 Posted November 14, 2015 Posted November 14, 2015 Refresh the item in the metadata manager. This should force emby to grab the media info. Clients will then be able to make the correct playback decision. Sent from my iPhone using Tapatalk
elcaron 1 Posted November 14, 2015 Author Posted November 14, 2015 Fantastic, thanks. That did it, apparently. Why was the information not present before?
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