Jump to content

Info about my file permissions


Recommended Posts

Posted (edited)

Hello,

whenever I start the playback of the particular season of The Big Bang Theory the automatic encoding fails.

Following shows up in the logfile (sensitive data is censored):

However, when I run the exact same command from the commandline it starts transcoding and when I do that quick enough, the webpage starts playing the episode.

2016-11-14 17:46:08.7030 Info HttpServer: HTTP POST http://emby.myurl:8096/Items/5ec6faa9404ad72efcbde9f0eab4623a/PlaybackInfo?UserId=dbdb2ffdec504e04bc37bcb30a498b7a&StartTimeTicks=0. UserAgent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.71 Safari/537.36
2016-11-14 17:46:08.7174 Info App: Cannot direct play due to unknown content bitrate
2016-11-14 17:46:08.7174 Info App: Cannot direct play due to unknown content bitrate
2016-11-14 17:46:08.7174 Info App: Profile: Unknown Profile, Path: /path/The.Big.Bang.Theory/S09/The.Big.Bang.Theory.S09E04/s09e04.mkv, isEligibleForDirectPlay: False, isEligibleForDirectStream: False
2016-11-14 17:46:08.7174 Info App: RemoteClientBitrateLimit: 1000000000, RemoteIp: x.x.x.x, IsInLocalNetwork: False
2016-11-14 17:46:08.7174 Info App: Cannot direct play due to unknown content bitrate
2016-11-14 17:46:08.7174 Info App: Cannot direct play due to unknown content bitrate
2016-11-14 17:46:08.7174 Info App: Profile: Unknown Profile, Path: /path/The.Big.Bang.Theory/S09/The.Big.Bang.Theory.S09E04/s09e04.mkv, isEligibleForDirectPlay: False, isEligibleForDirectStream: False
2016-11-14 17:46:08.7174 Info App: RemoteClientBitrateLimit: 1000000000, RemoteIp: x.x.x.x, IsInLocalNetwork: False
2016-11-14 17:46:08.7174 Info App: Cannot direct play due to unknown content bitrate
2016-11-14 17:46:08.7174 Info App: Cannot direct play due to unknown content bitrate
2016-11-14 17:46:08.7174 Info App: Profile: Unknown Profile, Path: /path/The.Big.Bang.Theory/S09/The.Big.Bang.Theory.S09E04/s09e04.mkv, isEligibleForDirectPlay: False, isEligibleForDirectStream: False
2016-11-14 17:46:08.7675 Info HttpServer: HTTP GET http://emby.my.url:8096/videos/5ec6faa9404ad72efcbde9f0eab4623a/live.m3u8?DeviceId=4a443e42f1f9551665f0153306cc7ca3c990faa0&MediaSourceId=5ec6faa9404ad72efcbde9f0eab4623a&VideoCodec=h264&AudioCodec=aac&VideoBitrate=383808000&AudioBitrate=192000&Level=51&Profile=high&PlaySessionId=100f7bb5e2424b42aa9db17713762111&CopyTimestamps=false&TranscodingMaxAudioChannels=2&EnableSubtitlesInManifest=false&Tag=5db9737d8bd67a2a2ae587a11bf87427&EnableSplittingOnNonKeyFrames=false. UserAgent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.71 Safari/537.36 2016-11-14 17:46:08.7780 Info App: /usr/bin/ffmpeg -fflags +genpts -i file:"/path/The.Big.Bang.Theory/S09/The.Big.Bang.Theory.S09E04/s09e04.mkv" -map_metadata -1 -threads 0 -sn -codec:v:0 libx264 -pix_fmt yuv420p -preset faster -crf 21 -tune zerolatency -b:v 383808000 -maxrate 383808000 -bufsize 767616000 -vsync -1 -profile:v high -level 4.1 -force_key_frames "expr:gte(t,n_forced*3)" -flags -global_header -sc_threshold 0 -codec:a:0 aac -strict experimental -ac 2 -ab 192000 -af "adelay=1,aresample=async=1" -hls_time 3 -start_number 0 -hls_list_size 0 -hls_base_url "hls/a5f70b0b3d16572f357e42140f0a29ac/" -y "/opt/emby/transcoding/transcoding-temp/a5f70b0b3d16572f357e42140f0a29ac.m3u8" 2016-11-14 17:46:08.9109 Info App: FFMpeg exited with code 1 2016-11-14 17:46:28.2648 Error HttpServer: Error in SharpWebSocket: An exception has occurred while receiving a message.. Exception.Message: The header part of a frame cannot be read from the data source.

Any ideas?

I think its only with files which are not isEligibleForDirectPlay and not isEligibleForDirectStream. Just a wild guess

Edited by sscheib
Posted

Hi, please attach the complete log files, thanks.

Posted (edited)

Uhm well, I think i narrowed it down to the following issue:

 

file:/path/The.Big.Bang.Theory/S09/The.Big.Bang.Theory.S09E09/s09e09.mkv: Permission denied

 

However! the file IS readable, BUT it's a readonly filesystem (it is meant like that). The question is: why would emby or to be more precise ffmpeg need write permissions on this file to transcode it?

As the temporary path (which is /opt/emby/ffmpeg/transcode) is rw for the emby user ..

 

Any ideas?

 

 

 

---------------------------

 

EDIT:

Okey .. my fault, I'm sorry. The folder is readable for emby but not the file itself .. for whatever reason, but thats surely no emby/ffmpeg issue.

I'm sorry for the circumstances.

 

/CLOSED

Edited by sscheib
Posted

Thanks for reporting back.

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...