Looks like it is trying to output AAC in 5.1. Here is the message that stands out in RED when I ran that command from the command prompt:

[mpeg4 @ 017cf010] me_method is only allowed to be set to zero and epzs; for hex
,umh,full and others see dia_size

video transcoding failed