Hi, how should 2 pass encoding be implemented in lavc ? Do I just fopen my stats file and write to it or is there some stricter way to do it ? MvH Benjamin Larsson -- new tiny signature