I tried one more thing: I used mplayer -dumpstream with both demuxers and the dumped h.264 streams are bit identical (except for the lavf version beeing a little longer). So maybe the frame loss arises somewhere else in the code? Marco