View Single Post
Old 15th December 2007, 09:37   #1993  |  Link
madshi
Registered Developer
 
Join Date: Sep 2006
Posts: 9,140
Quote:
Originally Posted by Thunderbolt8 View Post
im getting confused again with that first pts thing of video and audio. here in this case the delay is given for the video stream and not for the audio :S

Code:
PTM of first video frame = 00001269
PTM of last video frame = 10BE4675
Duration = 0:52:01.118
H.264 (AVC) video stream 0 found!
   First PTS = 00002FBD  (+83ms)
DTS HD (DTS) audio stream 0 found!
   First PTS = 00001269
so which would the delay then be for the audio, +83 or -83 ?
and since the values of first video frame is the same as of the first PTS of the audio, but not the same as the first PTS of the video is there a delay needed at all in this case? :S
That's a good question. A day or two ago I'd have said you need to delay audio by -83ms. But right now I'm not sure. Right now I think that it depends on what you do with the video. If you remux the video with gdsmux I guess that no audio delay is needed in this case. But if you demux video and remux it with mkvtoolnix (or mp4creator/mp4box) then probably you'll have to apply -83ms delay to the audio track. But I'm not totally sure. I might have more information about this later...
madshi is offline