Jump to content

Cannot DirectPlay/DirectSteram due to unknown content


Pepes
Go to solution Solved by Luke,

Recommended Posts

Pepes

Hello,

Please can you handle this error better?

 

This is only what I see in browser, when I tried to play TV show and I can see only infinite loading: https://ctrlv.cz/O4cE

 

It will be really better when I can see some error message / dialog, where it would says what is wrong instead of infinite loading. ;-)

 

And when I looked in log I see this (if it doesn't help, here is full log: https://pastebin.com/XT0hY9Hk )

2017-07-07 20:58:58.0131 Info App: User policy for Pepe. EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
2017-07-07 20:58:58.0306 Info App: Cannot DirectPlay due to unknown content bitrate
2017-07-07 20:58:58.0314 Info App: Cannot DirectStream due to unknown content bitrate
2017-07-07 20:58:58.0314 Info App: Profile: Unknown Profile, Path: smb://debian-nas/raid/nfs/Serialy/Criminal Minds/Criminal.Minds.S06/Criminal.Minds.S06E17.Valhalla.Part.1.720p.WEB-DL.x264.AC3.5.1-LeRalouf.mkv, isEligibleForDirectPlay: False, isEligibleForDirectStream: False
2017-07-07 20:58:58.0517 Info App: Cannot DirectPlay due to unknown content bitrate
2017-07-07 20:58:58.0517 Info App: Cannot DirectStream due to unknown content bitrate
2017-07-07 20:58:58.0517 Info App: Profile: Unknown Profile, Path: smb://debian-nas/raid/nfs/Serialy/Criminal Minds/Criminal.Minds.S06/Criminal.Minds.S06E17.Valhalla.Part.1.720p.WEB-DL.x264.AC3.5.1-LeRalouf.mkv, isEligibleForDirectPlay: False, isEligibleForDirectStream: False
2017-07-07 20:58:58.0519 Info App: Cannot DirectPlay due to unknown content bitrate
2017-07-07 20:58:58.0519 Info App: Cannot DirectStream due to unknown content bitrate
2017-07-07 20:58:58.0519 Info App: Profile: Unknown Profile, Path: smb://debian-nas/raid/nfs/Serialy/Criminal Minds/Criminal.Minds.S06/Criminal.Minds.S06E17.Valhalla.Part.1.720p.WEB-DL.x264.AC3.5.1-LeRalouf.mkv, isEligibleForDirectPlay: False, isEligibleForDirectStream: False
Edited by Pepes
Link to comment
Share on other sites

Pepes

In that dialog, which could be there, it would be good if it let me to play it when Emby recognizes something wrong. I don't think it's related, but when I tried it through VLC it works.

 

Anyway.

ffmpeg log: https://pastebin.com/eDxRwft7

media info: https://ctrlv.cz/K4rC (I dont think it has enough info, so will provide better one, give me sec)
I couldnt find right now how to save it. Hopefully this is enough:

 

https://ctrlv.cz/vXjJ  https://ctrlv.cz/xeoY  https://ctrlv.cz/3Eth  https://ctrlv.cz/X9Th https://ctrlv.cz/I5W8

Edited by Pepes
Link to comment
Share on other sites

Would you mind in a terminal running this command and seeing if ffmpeg produces an error? thanks.

/var/lib/emby-server/ffmpeg/20170308/ffmpeg -f matroska -i "file:smb://debian-nas/raid/nfs/Serialy/Criminal Minds/Criminal.Minds.S06/Criminal.Minds.S06E17.Valhalla.Part.1.720p.WEB-DL.x264.AC3.5.1-LeRalouf.mkv" -map_metadata -1 -map_chapters -1 -threads 0 -sn -codec:v:0 libx264 -pix_fmt yuv420p -preset veryfast -crf 23 -maxrate 139808000 -bufsize 279616000 -profile:v high -level 4.1 -x264opts:0 subme=0:me_range=4:rc_lookahead=10:me=dia:no_chroma_me:8x8dct=0:partitions=none -force_key_frames "expr:gte(t,n_forced*3)" -flags -global_header -vsync -1 -codec:a:0 aac -strict experimental -ac 6 -ab 192000  -f segment -max_delay 5000000 -avoid_negative_ts disabled -start_at_zero -segment_time 3  -individual_header_trailer 0 -segment_format mpegts -segment_list_entry_prefix "hls/ac1fc6c51ba9fc99121e95e2392745e5/" -segment_list_type m3u8 -segment_start_number 0 -segment_list "/var/lib/emby-server/transcoding-temp/ac1fc6c51ba9fc99121e95e2392745e5.m3u8" -y "/var/lib/emby-server/transcoding-temp/ac1fc6c51ba9fc99121e95e2392745e5%d.ts"
Link to comment
Share on other sites

mastrmind11

In that dialog, which could be there, it would be good if it let me to play it when Emby recognizes something wrong. I don't think it's related, but when I tried it through VLC it works.

 

Anyway.

ffmpeg log: https://pastebin.com/eDxRwft7

media info: https://ctrlv.cz/K4rC (I dont think it has enough info, so will provide better one, give me sec)

I couldnt find right now how to save it. Hopefully this is enough:

 

https://ctrlv.cz/vXjJ  https://ctrlv.cz/xeoY  https://ctrlv.cz/3Eth  https://ctrlv.cz/X9Th https://ctrlv.cz/I5W8

No, what bitrate does Emby think it is?  Click the show, scroll down to the bottom, paste that info.

Link to comment
Share on other sites

Pepes

I see there is only: https://ctrlv.cz/Jv6L (Not much informations, but when I tried it on some movie there are a lot of info)

 

root@Debian-NAS:~# /var/lib/emby-server/ffmpeg/20170308/ffmpeg -f matroska -i "file:smb://debian-nas/raid/nfs/Serialy/Criminal Minds/Criminal.Minds.S06/Criminal.Minds.S06E17.Valhalla.Part.1.720p.WEB-DL.x264.AC3.5.1-LeRalouf.mkv" -map_metadata -1 -map_chapters -1 -threads 0 -sn -codec:v:0 libx264 -pix_fmt yuv420p -preset veryfast -crf 23 -maxrate 139808000 -bufsize 279616000 -profile:v high -level 4.1 -x264opts:0 subme=0:me_range=4:rc_lookahead=10:me=dia:no_chroma_me:8x8dct=0:partitions=none -force_key_frames "expr:gte(t,n_forced*3)" -flags -global_header -vsync -1 -codec:a:0 aac -strict experimental -ac 6 -ab 192000  -f segment -max_delay 5000000 -avoid_negative_ts disabled -start_at_zero -segment_time 3  -individual_header_trailer 0 -segment_format mpegts -segment_list_entry_prefix "hls/ac1fc6c51ba9fc99121e95e2392745e5/" -segment_list_type m3u8 -segment_start_number 0 -segment_list "/var/lib/emby-server/transcoding-temp/ac1fc6c51ba9fc99121e95e2392745e5.m3u8" -y "/var/lib/emby-server/transcoding-temp/ac1fc6c51ba9fc99121e95e2392745e5%d.ts"
ffmpeg version N-83692-gb8a7dcbde2-static http://johnvansickle.com/ffmpeg/  Copyright (c) 2000-2017 the FFmpeg developers
  built with gcc 5.4.1 (Debian 5.4.1-5) 20170205
  configuration: --enable-gpl --enable-version3 --enable-static --disable-debug --disable-ffplay --disable-indev=sndio --disable-outdev=sndio --cc=gcc-5 --enable-fontconfig --enable-frei0r --enable-gnutls --enable-gray --enable-libass --enable-libfreetype --enable-libfribidi --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-libzimg
  libavutil      55. 47.100 / 55. 47.100
  libavcodec     57. 81.100 / 57. 81.100
  libavformat    57. 66.102 / 57. 66.102
  libavdevice    57.  3.100 / 57.  3.100
  libavfilter     6. 74.100 /  6. 74.100
  libswscale      4.  3.101 /  4.  3.101
  libswresample   2.  4.100 /  2.  4.100
  libpostproc    54.  2.100 / 54.  2.100
file:smb://debian-nas/raid/nfs/Serialy/Criminal Minds/Criminal.Minds.S06/Criminal.Minds.S06E17.Valhalla.Part.1.720p.WEB-DL.x264.AC3.5.1-LeRalouf.mkv: No such file or directory
Edited by Pepes
Link to comment
Share on other sites

  • Solution

Ok, you used an smb path to setup your emby library. your ffmpeg build needs to be compiled with smb support. In the future we will compile this into a build and supply it ourselves, but we just haven't done that yet.

 

So your options are:

 

- obtaining or compiling an ffmpeg build with smb support added

 

- change your library setup to not use smb. To accomplish this, first mount the smb share to a local path in your OS, then add that local path to Emby instead of the smb path. 

 

Let us know if this helps. Thanks.

  • Like 1
Link to comment
Share on other sites

Pepes

I'll check it, but there could be also some dialog what is going on instead of infinite loading ;-)

Link to comment
Share on other sites

yes certainly the UI could respond better to the failure, absolutely.

  • Like 1
Link to comment
Share on other sites

Pepes

Ok. I tried to remove folders in TV category and when I tried to remove there dialog shows up if I'm sure I press "Yes/Remove" (depends on translation)  and nothing happened. Folders are still there.

Here is my log: https://pastebin.com/gHK0Z6mJ

 

What works is removing whole TV category...

 

// As I see Emby doesn't support NFS as the main library path. That's not good. More details here: https://emby.media/community/index.php?/topic/46813-dockerlinux-nfs-shares/

Edited by Pepes
Link to comment
Share on other sites

mastrmind11

Ok. I tried to remove folders in TV category and when I tried to remove there dialog shows up if I'm sure I press "Yes/Remove" (depends on translation)  and nothing happened. Folders are still there.

 

Here is my log: https://pastebin.com/gHK0Z6mJ

 

What works is removing whole TV category...

 

// As I see Emby doesn't support NFS as the main library path. That's not good. More details here: https://emby.media/community/index.php?/topic/46813-dockerlinux-nfs-shares/

Just mount the nfs share on the box running Emby and point Emby to the mount point.  Many of us are doing it that way.  If you need help, just ask.

Edited by mastrmind11
Link to comment
Share on other sites

Pepes

I know. I'm working on it. But there could be also improvement about it :-) 

EDIT:// Hm.. I see I couldnt edit path to folder and only way is remove the folder and add it back. :(

Edited by Pepes
Link to comment
Share on other sites

If you are still using smb, try using the path by ip address instead of host name.

Link to comment
Share on other sites

Pepes

Ok. I tried to remove folders in TV category and when I tried to remove there dialog shows up if I'm sure I press "Yes/Remove" (depends on translation)  and nothing happened. Folders are still there.

 

Here is my log: https://pastebin.com/gHK0Z6mJ

 

What works is removing whole TV category...

 

// As I see Emby doesn't support NFS as the main library path. That's not good. More details here: https://emby.media/community/index.php?/topic/46813-dockerlinux-nfs-shares/

 

OK. I also PM'ed to Luke this message: https://ctrlv.cz/9cGX because I couldn't scan my library and I got up and looked what Luke wrote and I also see what he responds to this thread. I don't use hostname at all, but I noticed same thread here:

https://emby.media/community/index.php?/topic/48924-ubuntu-emby-32220-smb-paths-no-longer-working/ and Luke responded here different respond and I think important thing from this whole thing is fixed now in the latest version - 3.2.23 even I said in PM that it worked in older version...

So removing folders in TV category now works and scanning, too and now I can even edit path in folder so I dont need to remove it and add back.

Edited by Pepes
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...