[FFmpeg-user] About timestamp

吴斌斌 sqbing at gmail.com
Fri Jul 13 04:52:39 CEST 2012


Roger Pack:
thank you, but more confused now.
I've tested "*ffprobe -show_packets **"for a few files, all of their video
stream's pts/dts step differed.
Here are my files:

> 1. i_15bis.ogg=====theora&vorbis=====video_step:1&audio_step:N/A
> 2. oceans-clip.webm=====vp8&vorbis====video_step:42&audio_step:23
> 3. oceans-clip.mp4=====h.264&aac=====video_step:1001&audio_step:1024
>


2012/7/12 Roger Pack <rogerdpack2 at gmail.com>

> > I am now trying to add libav* to my project, but after reading ffmpeg's
> > header files, i still don't understand how to deal with timestamp(pts and
> > dts).
> > By calling ffmpeg with "-debug_ts", i found timestamps for my test file's
> > video stream(mpeg-asp) are 1001, 2002, 3003... Do timestamps always look
> > like that? Increase 1001 a step? What to do with timestamps if i want to
> > splice two video files?
>
> ffprobe -show_packets may be interesting to your research.
> -r
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>


More information about the ffmpeg-user mailing list