markdj 48 Posted December 20, 2017 Share Posted December 20, 2017 Hi, I'm getting the following error while playing a file, specifically this file listed below. The others seem to work fine. Playing it through Emby directly (web browser doesn't give any problems). Could anyone give me a hand fixing this please? The log file: "Application version: 3.2.36.0http://localhost:8096/emby/videos/41a1204ec16de0d76c47cfc83b8987d0/hls1/main/0.ts?DeviceId=5cdc32603e743310cdee46e41aa2e3162d9f4689&MediaSourceId=41a1204ec16de0d76c47cfc83b8987d0&VideoCodec=h264&AudioCodec=mp3,aac&AudioStreamIndex=1&VideoBitrate=139808000&AudioBitrate=192000&PlaySessionId=91cfb2e9821343ac8505251611c4aa16&api_key=52a1b803d3a84f47a79001e6d9b29239&CopyTimestamps=false&TranscodingMaxAudioChannels=2&EnableSubtitlesInManifest=false&Tag=f06c89913735178328104e6943a37fe7&RequireAvc=true&RequireNonAnamorphic=false&SegmentContainer=ts&MinSegments=1&BreakOnNonKeyFrames=True&h264-profile=high,main,baseline,constrainedbaseline&h264-level=51&h264-deinterlace=true{"Protocol":"File","Id":"41a1204ec16de0d76c47cfc83b8987d0","Path":"F:\\Extracted\\Series\\The Graham Norton Show\\Season 22\\The.Graham.Norton.Show.S22E11.HDTV.x264-FTP.mkv","Type":"Default","Container":"mkv,webm","Name":"720P/H264/AC3","IsRemote":false,"ETag":"f06c89913735178328104e6943a37fe7","RunTimeTicks":27115000000,"ReadAtNativeFramerate":false,"IgnoreDts":false,"IgnoreIndex":false,"GenPtsInput":false,"SupportsTranscoding":true,"SupportsDirectStream":true,"SupportsDirectPlay":true,"IsInfiniteStream":false,"RequiresOpening":false,"RequiresClosing":false,"SupportsProbing":true,"RequiresLooping":false,"VideoType":"VideoFile","MediaStreams":[{"Codec":"h264","Language":"eng","TimeBase":"1/1000","CodecTimeBase":"1/100","NalLengthSize":"4","IsInterlaced":false,"IsAVC":true,"BitRate":3174887,"BitDepth":8,"RefFrames":1,"IsDefault":true,"IsForced":false,"Height":720,"Width":1280,"AverageFrameRate":50,"RealFrameRate":50,"Profile":"High","Type":"Video","AspectRatio":"16:9","Index":0,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"PixelFormat":"yuv420p","Level":41,"IsAnamorphic":false},{"Codec":"ac3","Language":"eng","TimeBase":"1/1000","CodecTimeBase":"1/48000","DisplayTitle":"Eng Dolby Digital stereo Default","IsInterlaced":false,"ChannelLayout":"stereo","BitRate":192000,"Channels":2,"SampleRate":48000,"IsDefault":true,"IsForced":false,"Type":"Audio","Index":1,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":0,"IsAnamorphic":false},{"Codec":"srt","DisplayTitle":"Und","IsInterlaced":false,"IsDefault":false,"IsForced":false,"Type":"Subtitle","Index":2,"IsExternal":true,"IsTextSubtitleStream":true,"SupportsExternalStream":true,"Path":"F:\\Extracted\\Series\\The Graham Norton Show\\Season 22\\The.Graham.Norton.Show.S22E11.HDTV.x264-FTP.srt","IsAnamorphic":true}],"Formats":[],"Bitrate":3366887,"RequiredHttpHeaders":{}}User policy for Mark: EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: TrueC:\Users\Mark\AppData\Roaming\Emby-Server\ffmpeg\ffmpeg.exe -noaccurate_seek -f matroska,webm -i file:"F:\Extracted\Series\The Graham Norton Show\Season 22\The.Graham.Norton.Show.S22E11.HDTV.x264-FTP.mkv" -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -map -0:s -codec:v:0 copy -bsf:v h264_mp4toannexb -copyts -vsync -1 -codec:a:0 libmp3lame -ac 2 -ab 192000 -f segment -max_delay 5000000 -avoid_negative_ts disabled -start_at_zero -segment_time 6 -individual_header_trailer 0 -break_non_keyframes 1 -segment_format mpegts -segment_list_type m3u8 -segment_start_number 0 -segment_list "C:\Users\Mark\AppData\Roaming\Emby-Server\transcoding-temp\eada27d87bee353e2d13ff1966e64c64.m3u8" -y "C:\Users\Mark\AppData\Roaming\Emby-Server\transcoding-temp\eada27d87bee353e2d13ff1966e64c64%d.ts"ffmpeg version N-89515-g387ee1d6aa Copyright © 2000-2017 the FFmpeg developersbuilt with gcc 7.2.0 (GCC)configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-bzlib --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-amf --enable-cuda --enable-cuvid --enable-d3d11va --enable-nvenc --enable-dxva2 --enable-avisynth --enable-libmfxlibavutil 56. 6.100 / 56. 6.100libavcodec 58. 8.100 / 58. 8.100libavformat 58. 3.100 / 58. 3.100libavdevice 58. 0.100 / 58. 0.100libavfilter 7. 7.100 / 7. 7.100libswscale 5. 0.101 / 5. 0.101libswresample 3. 0.101 / 3. 0.101libpostproc 55. 0.100 / 55. 0.100Input #0, matroska,webm, from 'file:F:\Extracted\Series\The Graham Norton Show\Season 22\The.Graham.Norton.Show.S22E11.HDTV.x264-FTP.mkv':Metadata:encoder : mkv2rls x264-tv version built on 2016.10.12Duration: 00:45:11.50, start: 0.000000, bitrate: 3174 kb/sStream #0:0(eng): Video: h264 (High), yuv420p(progressive), 1280x720, SAR 1:1 DAR 16:9, 50 fps, 50 tbr, 1k tbn, 100 tbc (default)Stream #0:1(eng): Audio: ac3, 48000 Hz, stereo, fltp, 192 kb/s (default)Stream mapping:Stream #0:0 -> #0:0 (copy)Stream #0:1 -> #0:1 (ac3 (native) -> mp3 (libmp3lame))Press [q] to stop, [?] for help[segment @ 000001eb1a13d000] Opening 'C:\Users\Mark\AppData\Roaming\Emby-Server\transcoding-temp\eada27d87bee353e2d13ff1966e64c640.ts' for writingOutput #0, segment, to 'C:\Users\Mark\AppData\Roaming\Emby-Server\transcoding-temp\eada27d87bee353e2d13ff1966e64c64%d.ts':Metadata:encoder : Lavf58.3.100Stream #0:0: Video: h264 (High), yuv420p(progressive), 1280x720 [sAR 1:1 DAR 16:9], q=2-31, 50 fps, 50 tbr, 90k tbn, 50 tbc (default)Stream #0:1: Audio: mp3 (libmp3lame), 48000 Hz, stereo, fltp, 192 kb/s (default)Metadata:encoder : Lavc58.8.100 libmp3lame[segment @ 000001eb1a13d000] Opening 'C:\Users\Mark\AppData\Roaming\Emby-Server\transcoding-temp\eada27d87bee353e2d13ff1966e64c64.m3u8.tmp' for writing[segment @ 000001eb1a13d000] Opening 'C:\Users\Mark\AppData\Roaming\Emby-Server\transcoding-temp\eada27d87bee353e2d13ff1966e64c641.ts' for writingframe= 359 fps=0.0 q=-1.0 size=N/A time=00:00:07.34 bitrate=N/A speed=14.6x[segment @ 000001eb1a13d000] Opening 'C:\Users\Mark\AppData\Roaming\Emby-Server\transcoding-temp\eada27d87bee353e2d13ff1966e64c64.m3u8.tmp' for writing[segment @ 000001eb1a13d000] Opening 'C:\Users\Mark\AppData\Roaming\Emby-Server\transcoding-temp\eada27d87bee353e2d13ff1966e64c642.ts' for writingframe= 665 fps=662 q=-1.0 size=N/A time=00:00:13.48 bitrate=N/A speed=13.4x[segment @ 000001eb1a13d000] Opening 'C:\Users\Mark\AppData\Roaming\Emby-Server\transcoding-temp\eada27d87bee353e2d13ff1966e64c64.m3u8.tmp' for writing[segment @ 000001eb1a13d000] Opening 'C:\Users\Mark\AppData\Roaming\Emby-Server\transcoding-temp\eada27d87bee353e2d13ff1966e64c643.ts' for writingframe= 1023 fps=680 q=-1.0 size=N/A time=00:00:20.40 bitrate=N/A speed=13.6x[segment @ 000001eb1a13d000] Opening 'C:\Users\Mark\AppData\Roaming\Emby-Server\transcoding-temp\eada27d87bee353e2d13ff1966e64c64.m3u8.tmp' for writing[segment @ 000001eb1a13d000] Opening 'C:\Users\Mark\AppData\Roaming\Emby-Server\transcoding-temp\eada27d87bee353e2d13ff1966e64c644.ts' for writingframe= 1344 fps=670 q=-1.0 size=N/A time=00:00:27.04 bitrate=N/A speed=13.5x[segment @ 000001eb1a13d000] Opening 'C:\Users\Mark\AppData\Roaming\Emby-Server\transcoding-temp\eada27d87bee353e2d13ff1966e64c64.m3u8.tmp' for writing[segment @ 000001eb1a13d000] Opening 'C:\Users\Mark\AppData\Roaming\Emby-Server\transcoding-temp\eada27d87bee353e2d13ff1966e64c645.ts' for writingframe= 1713 fps=683 q=-1.0 size=N/A time=00:00:34.24 bitrate=N/A speed=13.7x[segment @ 000001eb1a13d000] Opening 'C:\Users\Mark\AppData\Roaming\Emby-Server\transcoding-temp\eada27d87bee353e2d13ff1966e64c64.m3u8.tmp' for writing[segment @ 000001eb1a13d000] Opening 'C:\Users\Mark\AppData\Roaming\Emby-Server\transcoding-temp\eada27d87bee353e2d13ff1966e64c646.ts' for writing[segment @ 000001eb1a13d000] Opening 'C:\Users\Mark\AppData\Roaming\Emby-Server\transcoding-temp\eada27d87bee353e2d13ff1966e64c64.m3u8.tmp' for writingframe= 1855 fps=677 q=-1.0 Lsize=N/A time=00:00:37.15 bitrate=N/A speed=13.6xvideo:19220kB audio:871kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown" Link to comment Share on other sites More sharing options...
Luke 37063 Posted December 20, 2017 Share Posted December 20, 2017 hi there, for starters i would suggest installing the latest version of emby server from the website, on top of your existing version. thanks ! Link to comment Share on other sites More sharing options...
markdj 48 Posted December 20, 2017 Author Share Posted December 20, 2017 Just did it, but it didn't help. Link to comment Share on other sites More sharing options...
Angelblue05 4130 Posted December 20, 2017 Share Posted December 20, 2017 (edited) Please provide your Kodi log trying to play the file. https://emby.media/community/index.php?/topic/17599-how-to-report-a-problem/ Edited December 20, 2017 by Angelblue05 Link to comment Share on other sites More sharing options...
markdj 48 Posted December 23, 2017 Author Share Posted December 23, 2017 http://paste.ubuntu.com/26240272 Problem still exists. I tried resetting the database and it helped for a few shows, but at least one other show (Grey's Anatomy) still doesn't work and returns the 'file not available' error. Playing directly through the web interface gives me no problems. Link to comment Share on other sites More sharing options...
Angelblue05 4130 Posted December 24, 2017 Share Posted December 24, 2017 (edited) The webclient is not a good reference in this situation. The issue is Kodi cannot find your files using the paths provided by Emby. smb://x.x.x.10/Maxime/Series/Grey's Anatomy/Season 14/Grey's Anatomy - 14x04 - Ain't That a Kick in the Head.mkv Is this valid? You can compare to what Kodi would expect via kodi > addons > install add-on from zip > smb > navigate to your files, compare the path displayed. Make it match if it doesn't match. Since you are using native playback, you'll need to repair your database or just reset to update the paths, if that was the issue. Edited December 24, 2017 by Angelblue05 Link to comment Share on other sites More sharing options...
markdj 48 Posted December 30, 2017 Author Share Posted December 30, 2017 Hi, it is valid actually. But I noticed Emby randomly just doesn't work for some series. Sometimes I repair and one works again, but a different one doesn't. There's no logic to it. They all used to work before . Link to comment Share on other sites More sharing options...
Angelblue05 4130 Posted December 31, 2017 Share Posted December 31, 2017 (edited) You have a client timeout setup for samba connections in your advancedsettings, could it be possible it's going idle and then Kodi can't find your content? Are you able to navigate from kodi addons > install from zip > navigate to your content without an issue? Does that make it work within your library if you do that? Edited December 31, 2017 by Angelblue05 Link to comment Share on other sites More sharing options...
markdj 48 Posted December 31, 2017 Author Share Posted December 31, 2017 I can navigate to the folders just fine, no problems there. But I don't see any samba setting in my advancedsettings file? I've tried resharing the folder (and changing the rights), I've tried resetting and reparing the database multiple times but no luck. The damn thing just doesn't want to play the files. Link to comment Share on other sites More sharing options...
Angelblue05 4130 Posted December 31, 2017 Share Posted December 31, 2017 (edited) I looked a bit quickly, the samba setting seems to be part of the default advancedsettings. I'd say, maybe it's this add-on interfering (service.autosubs)? Try disabling it and restarting Kodi to be safe. Does it help any? 18:51:59.247 T:1729098656 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<-- - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS! Error Type: <type 'exceptions.RuntimeError'> Error Contents: XBMC is not playing any media file Traceback (most recent call last): File "/storage/.kodi/addons/service.autosubs/default.py", line 119, in onPlayBackStarted totalTime = xbmc.Player().getTotalTime() RuntimeError: XBMC is not playing any media file -->End of Python script error report<-- I can confirm Kodi actually sees your file, so the path provided by emby for kodi is correct. 18:51:57.419 T:1961656784 NOTICE: VideoPlayer: Opening: smb://x.10/Series/Line Of Duty/Season 3/Line.of.Duty.S03E05.720p.HDTV.x264-fov.mkv 18:51:57.419 T:1961656784 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED 18:51:57.420 T:1249797024 NOTICE: Creating InputStream 18:51:58.109 T:1249797024 NOTICE: Creating Demuxer 18:51:58.133 T:1249797024 NOTICE: Opening stream: 0 source: 256 18:51:58.134 T:1249797024 NOTICE: Creating video codec with codec id: 28 18:51:58.160 T:1249797024 NOTICE: Creating video thread 18:51:58.161 T:1249797024 NOTICE: Opening stream: 1 source: 256 18:51:58.161 T:1519383456 NOTICE: running thread: video_thread 18:51:58.161 T:1249797024 NOTICE: Finding audio codec for: 86019 18:51:58.161 T:1249797024 NOTICE: Creating audio thread 18:51:58.204 T:1502606240 NOTICE: running thread: CVideoPlayerAudio::Process() 18:51:58.211 T:1502606240 NOTICE: Creating audio stream (codec id: 86019, channels: 2, sample rate: 48000, pass-through) 18:51:58.254 T:1961656784 NOTICE: Display resolution ADJUST : 1920x1080 (1920x1080) @ 50.00 - Full Screen (26) (weight: 0.000) 18:51:58.502 T:1961656784 NOTICE: VideoPlayer: OnLostDisplay received 18:51:58.717 T:1961656784 NOTICE: VideoPlayer: OnResetDisplay received 18:51:58.947 T:1961656784 NOTICE: CVideoPlayer::CloseFile() 18:51:58.947 T:1961656784 NOTICE: VideoPlayer: waiting for threads to exit 18:51:58.950 T:1712321440 NOTICE: EMBY.kodimonitor -> Method: Player.OnPlay Data: {"item":{"id":999,"type":"episode"},"player":{"playerid":1,"speed":1}} 18:51:58.952 T:1712321440 NOTICE: EMBY.kodimonitor -> kodi_id: 999 item_type: episode Edited December 31, 2017 by Angelblue05 Link to comment Share on other sites More sharing options...
markdj 48 Posted January 4, 2018 Author Share Posted January 4, 2018 I have disabled it and rebooted it but it didn't work unfortunately. It worked fine again a few days ago (after a few resets) but now it stopped working again for some shows (random). I think it might be the metadata refresh, which I did 1 or 2 days ago. Movies seem to give no problems (but I have quite a few so I'm not entirely sure), and I haven't refreshed the metadata of those. Link to comment Share on other sites More sharing options...
Angelblue05 4130 Posted January 4, 2018 Share Posted January 4, 2018 Well, I'm not familiar with your setup, but if direct paths are giving you such difficulty, why not use http paths instead? Change the playback mode to addon, in the addon settings and reset/resync. The server provides the file to Kodi, as is, so that Kodi doesn't need to find your files... Sent from my iPhone using Tapatalk Link to comment Share on other sites More sharing options...
Recommended Posts