On Friday 31 October 2008 11:17:42 Pedro Haruo Takahashi wrote: > I can play the TS file. > The problem is that the audio is always lagging behind the video. > > Jonathan, have you checked if these streams you have recorded have > PAT? Regards, > Takahashi > yes or he couldn't have identified teh H264 video stream. There's no chance that the native demuxer can set correct timestamps on every frame when the video stream is in H264 format (that is too complex to parse), in this case he had better use -demuxer lavf and -correct-pts