Modelview matrix to position+pan/tilt/roll

I searched in the forum and using google but I can’t find a way to do this in my case.
I have an opengl modelview matrix and I want to convert it to:
pan (rotation around Y)
tilt (rotation around X altered by pan)
roll (rotation around Z altered by pan then tilt)
thanks for any help.

Have a look at this:

Or, try a google with “Matrix to Euler angles”.