Jump to content

Sync/transcode fails: "Unexpected ProfileConditionType"


tobedeleted

Recommended Posts

tobedeleted

With no known change to the server setup, only upgrade to 3.1 und 3.1.1, I can no longer sync/transcode. I always get the error "Unexpected ProfileConditionType".

 

Example log follows:

2016-12-23 14:08:48.2936 Info TaskManager: Executing Convert media
2016-12-23 14:08:48.3501 Info App: Profile: Cloud Sync, Path: /mnt/Multimedia/Video.mp4, isEligibleForDirectPlay: True, isEligibleForDirectStream: True
2016-12-23 14:08:48.3508 Error TaskManager: Error
    *** Error Report ***
    Version: 3.1.1.0
    Command line: /usr/lib/emby-server/bin/MediaBrowser.Server.Mono.exe -programdata /var/lib/emby-server -ffmpeg /usr/bin/ffmpeg -ffprobe /usr/bin/ffprobe -restartpath /usr/lib/emby-server/restart.sh
    Operating system: Unix 4.4.36.8
    64-Bit OS: True
    64-Bit Process: True
    Mono: 4.6.1 (Stable 4.6.1.3/abb06f1 Thu Oct 20 14:33:14 UTC 2016)
    Processor count: 4
    Program data path: /var/lib/emby-server
    Application directory: /usr/lib/emby-server/bin
    System.InvalidOperationException: Unexpected ProfileConditionType
      at MediaBrowser.Model.Dlna.ConditionProcessor.IsConditionSatisfied (MediaBrowser.Model.Dln
a.ProfileCondition condition, System.Nullable`1[T] currentValue) [0x00095] in <ddba47e7c85845fc8bf61
1e33eace7e5>:0
      at MediaBrowser.Model.Dlna.ConditionProcessor.IsVideoConditionSatisfied (MediaBrowser.Mode
l.Dlna.ProfileCondition condition, System.Nullable`1[T] width, System.Nullable`1[T] height, System.N
ullable`1[T] bitDepth, System.Nullable`1[T] videoBitrate, System.String videoProfile, System.Nullabl
e`1[T] videoLevel, System.Nullable`1[T] videoFramerate, System.Nullable`1[T] packetLength, System.Nu
llable`1[T] timestamp, System.Nullable`1[T] isAnamorphic, System.Nullable`1[T] refFrames, System.Nul
lable`1[T] numVideoStreams, System.Nullable`1[T] numAudioStreams, System.String videoCodecTag, Syste
m.Nullable`1[T] isAvc) [0x000dc] in <ddba47e7c85845fc8bf611e33eace7e5>:0
      at MediaBrowser.Model.Dlna.StreamBuilder.GetVideoDirectPlayProfile (MediaBrowser.Model.Dln
a.VideoOptions options, MediaBrowser.Model.Dto.MediaSourceInfo mediaSource, MediaBrowser.Model.Entit
ies.MediaStream videoStream, MediaBrowser.Model.Entities.MediaStream audioStream, System.Boolean isE
ligibleForDirectPlay, System.Boolean isEligibleForDirectStream, System.Collections.Generic.List`1[T]
 allMediaStreams) [0x0039d] in <ddba47e7c85845fc8bf611e33eace7e5>:0
      at MediaBrowser.Model.Dlna.StreamBuilder.BuildVideoItem (MediaBrowser.Model.Dto.MediaSourc
eInfo item, MediaBrowser.Model.Dlna.VideoOptions options) [0x001c9] in <ddba47e7c85845fc8bf611e33eac
e7e5>:0
      at MediaBrowser.Model.Dlna.StreamBuilder.BuildVideoItem (MediaBrowser.Model.Dlna.VideoOpti
ons options) [0x0008e] in <ddba47e7c85845fc8bf611e33eace7e5>:0
      at Emby.Server.Implementations.Sync.SyncJobProcessor+<Sync>c__asyncB.MoveNext () [0x0017f]
 in <4d10c6f314a1415093d5e36c325ea280>:0
    --- End of stack trace from previous location where exception was thrown ---
      at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <dca3b561b
8ad4f9fb10141d81b39ff45>:0
      at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.
Task task) [0x0004e] in <dca3b561b8ad4f9fb10141d81b39ff45>:0
      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (Sy
stem.Threading.Tasks.Task task) [0x0002e] in <dca3b561b8ad4f9fb10141d81b39ff45>:0
      at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task ta
sk) [0x0000b] in <dca3b561b8ad4f9fb10141d81b39ff45>:0
      at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult
 () [0x00000] in <dca3b561b8ad4f9fb10141d81b39ff45>:0
      at Emby.Server.Implementations.Sync.SyncJobProcessor+<ProcessJobItem>c__asyncA.MoveNext ()
 [0x004e0] in <4d10c6f314a1415093d5e36c325ea280>:0
    --- End of stack trace from previous location where exception was thrown ---
      at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <dca3b561b
8ad4f9fb10141d81b39ff45>:0
      at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0004e] in <dca3b561b8ad4f9fb10141d81b39ff45>:0
      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in <dca3b561b8ad4f9fb10141d81b39ff
45>:0
      at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in <dca3b561b8ad4f9fb10141d81b39ff45>:0
      at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () [0x00000] in <dca3b561b8ad4f9fb10141d81b39ff45>:0
      at Emby.Server.Implementations.Sync.SyncJobProcessor+<SyncJobItems>c__async9.MoveNext () [0x00234] in <4d10c6f314a1415093d5e36c325ea280>:0
    --- End of stack trace from previous location where exception was thrown ---
      at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <dca3b561b8ad4f9fb10141d81b39ff45>:0
      at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0004e] in <dca3b561b8ad4f9fb10141d81b39ff45>:0
      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in <dca3b561b8ad4f9fb10141d81b39ff
45>:0
      at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in <dca3b561b8ad4f9fb10141d81b39ff45>:0
      at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () [0x00000] in <dca3b561b8ad4f9fb10141d81b39ff45>:0
      at Emby.Server.Implementations.Sync.SyncJobProcessor+<Sync>c__async6.MoveNext () [0x00180] in <4d10c6f314a1415093d5e36c325ea280>:0
    --- End of stack trace from previous location where exception was thrown ---
      at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <dca3b561b8ad4f9fb10141d81b39ff45>:0
      at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0004e] in <dca3b561b8ad4f9fb10141d81b39ff45>:0
      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in <dca3b561b8ad4f9fb10141d81b39ff
45>:0
      at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in <dca3b561b8ad4f9fb10141d81b39ff45>:0
      at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () [0x00000] in <dca3b561b8ad4f9fb10141d81b39ff45>:0
      at Emby.Common.Implementations.ScheduledTasks.ScheduledTaskWorker+<ExecuteInternal>d__68.MoveNext () [0x00181] in <9922445e90a448f2a17d005b1cc33d56>:0
    System.InvalidOperationException
      at MediaBrowser.Model.Dlna.ConditionProcessor.IsConditionSatisfied (MediaBrowser.Model.Dlna.ProfileCondition condition, System.Nullable`1[T] currentValue) [0x00095] i
n <ddba47e7c85845fc8bf611e33eace7e5>:0
      at MediaBrowser.Model.Dlna.ConditionProcessor.IsVideoConditionSatisfied (MediaBrowser.Model.Dlna.ProfileCondition condition, System.Nullable`1[T] width, System.Nullab
le`1[T] height, System.Nullable`1[T] bitDepth, System.Nullable`1[T] videoBitrate, System.String videoProfile, System.Nullable`1[T] videoLevel, System.Nullable`1[T] videoFramera
te, System.Nullable`1[T] packetLength, System.Nullable`1[T] timestamp, System.Nullable`1[T] isAnamorphic, System.Nullable`1[T] refFrames, System.Nullable`1[T] numVideoStreams,
System.Nullable`1[T] numAudioStreams, System.String videoCodecTag, System.Nullable`1[T] isAvc) [0x000dc] in <ddba47e7c85845fc8bf611e33eace7e5>:0
      at MediaBrowser.Model.Dlna.StreamBuilder.GetVideoDirectPlayProfile (MediaBrowser.Model.Dlna.VideoOptions options, MediaBrowser.Model.Dto.MediaSourceInfo mediaSource,
MediaBrowser.Model.Entities.MediaStream videoStream, MediaBrowser.Model.Entities.MediaStream audioStream, System.Boolean isEligibleForDirectPlay, System.Boolean isEligibleForDi
rectStream, System.Collections.Generic.List`1[T] allMediaStreams) [0x0039d] in <ddba47e7c85845fc8bf611e33eace7e5>:0
      at MediaBrowser.Model.Dlna.StreamBuilder.BuildVideoItem (MediaBrowser.Model.Dto.MediaSourceInfo item, MediaBrowser.Model.Dlna.VideoOptions options) [0x001c9] in <ddba
47e7c85845fc8bf611e33eace7e5>:0
      at MediaBrowser.Model.Dlna.StreamBuilder.BuildVideoItem (MediaBrowser.Model.Dlna.VideoOptions options) [0x0008e] in <ddba47e7c85845fc8bf611e33eace7e5>:0
      at Emby.Server.Implementations.Sync.SyncJobProcessor+<Sync>c__asyncB.MoveNext () [0x0017f] in <4d10c6f314a1415093d5e36c325ea280>:0
    --- End of stack trace from previous location where exception was thrown ---
      at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <dca3b561b8ad4f9fb10141d81b39ff45>:0
      at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0004e] in <dca3b561b8ad4f9fb10141d81b39ff45>:0
      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in <dca3b561b8ad4f9fb10141d81b39ff
45>:0
      at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in <dca3b561b8ad4f9fb10141d81b39ff45>:0
      at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () [0x00000] in <dca3b561b8ad4f9fb10141d81b39ff45>:0
      at Emby.Server.Implementations.Sync.SyncJobProcessor+<ProcessJobItem>c__asyncA.MoveNext () [0x004e0] in <4d10c6f314a1415093d5e36c325ea280>:0
    --- End of stack trace from previous location where exception was thrown ---
      at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <dca3b561b8ad4f9fb10141d81b39ff45>:0
      at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0004e] in <dca3b561b8ad4f9fb10141d81b39ff45>:0
      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in <dca3b561b8ad4f9fb10141d81b39ff
45>:0
      at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in <dca3b561b8ad4f9fb10141d81b39ff45>:0
      at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () [0x00000] in <dca3b561b8ad4f9fb10141d81b39ff45>:0
      at Emby.Server.Implementations.Sync.SyncJobProcessor+<SyncJobItems>c__async9.MoveNext () [0x00234] in <4d10c6f314a1415093d5e36c325ea280>:0
    --- End of stack trace from previous location where exception was thrown ---
      at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <dca3b561b8ad4f9fb10141d81b39ff45>:0
      at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0004e] in <dca3b561b8ad4f9fb10141d81b39ff45>:0
      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in <dca3b561b8ad4f9fb10141d81b39ff
45>:0
      at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in <dca3b561b8ad4f9fb10141d81b39ff45>:0
      at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () [0x00000] in <dca3b561b8ad4f9fb10141d81b39ff45>:0
      at Emby.Server.Implementations.Sync.SyncJobProcessor+<Sync>c__async6.MoveNext () [0x00180] in <4d10c6f314a1415093d5e36c325ea280>:0
    --- End of stack trace from previous location where exception was thrown ---
      at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <dca3b561b8ad4f9fb10141d81b39ff45>:0
      at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0004e] in <dca3b561b8ad4f9fb10141d81b39ff45>:0
      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in <dca3b561b8ad4f9fb10141d81b39ff
45>:0
      at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in <dca3b561b8ad4f9fb10141d81b39ff45>:0
      at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () [0x00000] in <dca3b561b8ad4f9fb10141d81b39ff45>:0
      at Emby.Common.Implementations.ScheduledTasks.ScheduledTaskWorker+<ExecuteInternal>d__68.MoveNext () [0x00181] in <9922445e90a448f2a17d005b1cc33d56>:0
    
2016-12-23 14:08:48.3508 Info TaskManager: Convert media Failed after 0 minute(s) and 0 seconds
2016-12-23 14:08:48.3519 Info ServerManager: Sending web socket message ScheduledTaskEnded
2016-12-23 14:08:48.3556 Info ServerManager: Sending web socket message NotificationAdded
2016-12-23 14:08:48.3556 Info TaskManager: ExecuteQueuedTasks
Link to comment
Share on other sites

This is very similar to an issue I posted earlier this week. I also get wrong aspect ratio when trying to play these. See "wrong aspect ratio on Chromecast" post in the windows section.

Link to comment
Share on other sites

It only seems to go wrong when syncing mp4 files, when no mp4 files are selected for sync no error occurs.

The convert itself is working, but the sync (to folder) is failing.

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