[FFmpeg-devel] question: why (pts < dts) is Invalid timestamps
Michael Niedermayer
michaelni at gmx.at
Sat Jan 7 00:33:19 CET 2012
On Fri, Jan 06, 2012 at 03:25:31PM +0200, Maksym Veremeyenko wrote:
> 06.01.12 10:57, Geek.Song написав(ла):
> >2012/1/6 Maksym Veremeyenko<verem at m1stereo.tv>:
> [...]
> >>assume we have a GOP IBBP with time base 1/1000000
> >>
> >>ORDER TYPE DTS PTS
> >> 0 I 0 0
> >> 1 P 40000 120000
> >> 2 B 80000 40000
> >> 3 B 120000 80000
> >>
> >>what is wrong?
> >>
> >
> >the DTS column is wrong, DTS should start from negative value such as
> >
> >DTS
> >
> >-80000
> >-40000
> >0
> >40000
> >
>
> would it be correct?:
>
> ORDER TYPE DTS PTS
> 0 I -40000 0
> 1 P 0 120000
> 2 B 40000 40000
> 3 B 80000 80000
>
> another things to clarify:
looks correct to me
>
> 1. are there any restriction against storing negative DTS in index table?
what index table ? AVIndex? you can store anything there
for fileformats it depends on the format .
>
> 2. would it be proper to calculate DTS xxx_read_packet instead of
> storing negative?
>
> 3. does require to setup AVStream.start_time to 0?
I dont understand these 2 questions
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
I know you won't believe me, but the highest form of Human Excellence is
to question oneself and others. -- Socrates
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20120107/e9186d4e/attachment.asc>
More information about the ffmpeg-devel
mailing list