Audio /video codecs are just system libraries not kernel drivers... You could modify the codec library code to start a new process, but it's hackish...
--
Suppose the codecs are owned by a special user, Foo. Then is it possible for Foo to automatically run the program Bar after the codecs finish?
Anil