save/load audio and video codec properties

hello Fayssal,
there is a peace of code that persist audio and video codec properties.
enjoy,
a.