- Original Message -
> From: "Carl Eugen Hoyos"
> To: "This list is about using libavcodec, libavformat, libavutil, libavdevice
> and libavfilter."
> Sent: Sunday, 11 February, 2018 19:51:56
> Subject: Re: [Libav-user] Speeding up codec detection of raw bitstream
> 2018-02-11 19:09 GMT+
2018-02-12 9:53 GMT+01:00 Wiebe Cazemier :
> - Original Message -
>> From: "Carl Eugen Hoyos"
>> To: "This list is about using libavcodec, libavformat, libavutil,
>> libavdevice and libavfilter."
>> Sent: Sunday, 11 February, 2018 19:51:56
>> Subject: Re: [Libav-user] Speeding up codec d
- Original Message -
> From: "Carl Eugen Hoyos"
> To: "This list is about using libavcodec, libavformat, libavutil, libavdevice
> and libavfilter."
> Sent: Monday, 12 February, 2018 14:56:02
> Subject: Re: [Libav-user] Speeding up codec detection of raw bitstream
>>
>> I was able to regi
- Original Message -
> From: "Wiebe Cazemier"
> To: "This list is about using libavcodec, libavformat, libavutil, libavdevice
> and libavfilter."
> Sent: Monday, 12 February, 2018 16:36:45
> Subject: Re: [Libav-user] Speeding up codec detection of raw bitstream
> - Original Message
2018-02-12 16:36 GMT+01:00 Wiebe Cazemier :
> - Original Message -
>> From: "Carl Eugen Hoyos"
>> To: "This list is about using libavcodec, libavformat, libavutil,
>> libavdevice and libavfilter."
>> Sent: Monday, 12 February, 2018 14:56:02
>> Subject: Re: [Libav-user] Speeding up codec
Hi guys,
In av_write_frame()->compute_muxer_pkt_fields()
we have
if (pkt->dts != AV_NOPTS_VALUE && pkt->pts != AV_NOPTS_VALUE && pkt->pts <
pkt->dts) {
av_log(s, AV_LOG_ERROR,
"pts (%s) < dts (%s) in stream %d\n",
av_ts2str(pkt->pts), av_ts2str(pkt->dts),
2018-02-13 2:20 GMT+01:00 YIRAN LI :
> Say we has packets in [DTS, PTS]: [10, 0], [11, 2], [12, 3]
These are invalid timestamps
> If decoding and display reference different clocks, DTS and PTS can be
> totally decoupled and above is a valid sequence packets.
I don't think this is correct, DTS
2018-02-13 16:51 GMT+11:00 Carl Eugen Hoyos :
> 2018-02-13 2:20 GMT+01:00 YIRAN LI :
>
> > Say we has packets in [DTS, PTS]: [10, 0], [11, 2], [12, 3]
>
> These are invalid timestamps
> --- Hi Carl,
>
Just want to know why they are invalid, because packet.dts must be <=
packet.pts, right?
if [
2018-02-13 7:12 GMT+01:00 YIRAN LI :
>
>
> 2018-02-13 16:51 GMT+11:00 Carl Eugen Hoyos :
>>
>> 2018-02-13 2:20 GMT+01:00 YIRAN LI :
>>
>> > Say we has packets in [DTS, PTS]: [10, 0], [11, 2], [12, 3]
>>
>> These are invalid timestamps
>
> Just want to know why they are invalid, because packet.dts
>