How to capture command line parameters for new processes? [duplicate]

I'm trying to capture the video conversion parameters passed onto the codecs in MediaCoder to learn how codecs pass streams onto other codecs. Is there a program that captures the command-line parameters/arguments of newly created processes, either system-wide or processes spawned under one process?


Solution 1:

Process Explorer can show you command line params of current processes.

Process Monitor can log all activities, including process creations. To see just them, add a filter "Operation is Process Create".