1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-12 19:18:44 +02:00
FFmpeg/tests/ref/fate/exif-image-embedded
James Almer 4bff800dc9 avcodec/decode: set best_effort_timestamp on output frames for all decoders
Fixes a decoding regression introduced by e9a2a87773, and as a side effect also
fixes bogus values set to certain audio frames that had some samples discarded,
where the offsets added to pts, pkt_dts and pkt_duration were not reflected in
best_effort_timestamp.

Signed-off-by: James Almer <jamrial@gmail.com>
2020-12-13 12:14:57 -03:00

438 lines
7.6 KiB
Plaintext

[FRAME]
media_type=video
stream_index=1
key_frame=1
pkt_pts=N/A
pkt_pts_time=N/A
pkt_dts=N/A
pkt_dts_time=N/A
best_effort_timestamp=N/A
best_effort_timestamp_time=N/A
pkt_duration=N/A
pkt_duration_time=N/A
pkt_pos=N/A
pkt_size=15760
width=263
height=263
pix_fmt=yuvj420p
sample_aspect_ratio=1:1
pict_type=I
coded_picture_number=0
display_picture_number=0
interlaced_frame=0
top_field_first=0
repeat_pict=0
color_range=pc
color_space=bt470bg
color_primaries=unknown
color_transfer=unknown
chroma_location=center
TAG:UserComment=AppleMark
[SIDE_DATA]
side_data_type=QP table data
[/SIDE_DATA]
[SIDE_DATA]
side_data_type=QP table properties
[/SIDE_DATA]
[/FRAME]
[FRAME]
media_type=audio
stream_index=0
key_frame=1
pkt_pts=353600
pkt_pts_time=0.025057
pkt_dts=353600
pkt_dts_time=0.025057
best_effort_timestamp=353600
best_effort_timestamp_time=0.025057
pkt_duration=15040
pkt_duration_time=0.001066
pkt_pos=16292
pkt_size=417
sample_fmt=fltp
nb_samples=47
channels=2
channel_layout=stereo
[/FRAME]
[FRAME]
media_type=audio
stream_index=0
key_frame=1
pkt_pts=368640
pkt_pts_time=0.026122
pkt_dts=368640
pkt_dts_time=0.026122
best_effort_timestamp=368640
best_effort_timestamp_time=0.026122
pkt_duration=368640
pkt_duration_time=0.026122
pkt_pos=16709
pkt_size=418
sample_fmt=fltp
nb_samples=1152
channels=2
channel_layout=stereo
[/FRAME]
[FRAME]
media_type=audio
stream_index=0
key_frame=1
pkt_pts=737280
pkt_pts_time=0.052245
pkt_dts=737280
pkt_dts_time=0.052245
best_effort_timestamp=737280
best_effort_timestamp_time=0.052245
pkt_duration=368640
pkt_duration_time=0.026122
pkt_pos=17127
pkt_size=418
sample_fmt=fltp
nb_samples=1152
channels=2
channel_layout=stereo
[/FRAME]
[FRAME]
media_type=audio
stream_index=0
key_frame=1
pkt_pts=1105920
pkt_pts_time=0.078367
pkt_dts=1105920
pkt_dts_time=0.078367
best_effort_timestamp=1105920
best_effort_timestamp_time=0.078367
pkt_duration=368640
pkt_duration_time=0.026122
pkt_pos=17545
pkt_size=418
sample_fmt=fltp
nb_samples=1152
channels=2
channel_layout=stereo
[/FRAME]
[FRAME]
media_type=audio
stream_index=0
key_frame=1
pkt_pts=1474560
pkt_pts_time=0.104490
pkt_dts=1474560
pkt_dts_time=0.104490
best_effort_timestamp=1474560
best_effort_timestamp_time=0.104490
pkt_duration=368640
pkt_duration_time=0.026122
pkt_pos=17963
pkt_size=418
sample_fmt=fltp
nb_samples=1152
channels=2
channel_layout=stereo
[/FRAME]
[FRAME]
media_type=audio
stream_index=0
key_frame=1
pkt_pts=1843200
pkt_pts_time=0.130612
pkt_dts=1843200
pkt_dts_time=0.130612
best_effort_timestamp=1843200
best_effort_timestamp_time=0.130612
pkt_duration=368640
pkt_duration_time=0.026122
pkt_pos=18381
pkt_size=418
sample_fmt=fltp
nb_samples=1152
channels=2
channel_layout=stereo
[/FRAME]
[FRAME]
media_type=audio
stream_index=0
key_frame=1
pkt_pts=2211840
pkt_pts_time=0.156735
pkt_dts=2211840
pkt_dts_time=0.156735
best_effort_timestamp=2211840
best_effort_timestamp_time=0.156735
pkt_duration=368640
pkt_duration_time=0.026122
pkt_pos=18799
pkt_size=418
sample_fmt=fltp
nb_samples=1152
channels=2
channel_layout=stereo
[/FRAME]
[FRAME]
media_type=audio
stream_index=0
key_frame=1
pkt_pts=2580480
pkt_pts_time=0.182857
pkt_dts=2580480
pkt_dts_time=0.182857
best_effort_timestamp=2580480
best_effort_timestamp_time=0.182857
pkt_duration=368640
pkt_duration_time=0.026122
pkt_pos=19217
pkt_size=418
sample_fmt=fltp
nb_samples=1152
channels=2
channel_layout=stereo
[/FRAME]
[FRAME]
media_type=audio
stream_index=0
key_frame=1
pkt_pts=2949120
pkt_pts_time=0.208980
pkt_dts=2949120
pkt_dts_time=0.208980
best_effort_timestamp=2949120
best_effort_timestamp_time=0.208980
pkt_duration=368640
pkt_duration_time=0.026122
pkt_pos=19635
pkt_size=418
sample_fmt=fltp
nb_samples=1152
channels=2
channel_layout=stereo
[/FRAME]
[FRAME]
media_type=audio
stream_index=0
key_frame=1
pkt_pts=3317760
pkt_pts_time=0.235102
pkt_dts=3317760
pkt_dts_time=0.235102
best_effort_timestamp=3317760
best_effort_timestamp_time=0.235102
pkt_duration=368640
pkt_duration_time=0.026122
pkt_pos=20053
pkt_size=418
sample_fmt=fltp
nb_samples=1152
channels=2
channel_layout=stereo
[/FRAME]
[FRAME]
media_type=audio
stream_index=0
key_frame=1
pkt_pts=3686400
pkt_pts_time=0.261224
pkt_dts=3686400
pkt_dts_time=0.261224
best_effort_timestamp=3686400
best_effort_timestamp_time=0.261224
pkt_duration=368640
pkt_duration_time=0.026122
pkt_pos=20471
pkt_size=418
sample_fmt=fltp
nb_samples=1152
channels=2
channel_layout=stereo
[/FRAME]
[FRAME]
media_type=audio
stream_index=0
key_frame=1
pkt_pts=4055040
pkt_pts_time=0.287347
pkt_dts=4055040
pkt_dts_time=0.287347
best_effort_timestamp=4055040
best_effort_timestamp_time=0.287347
pkt_duration=368640
pkt_duration_time=0.026122
pkt_pos=20889
pkt_size=418
sample_fmt=fltp
nb_samples=1152
channels=2
channel_layout=stereo
[/FRAME]
[FRAME]
media_type=audio
stream_index=0
key_frame=1
pkt_pts=4423680
pkt_pts_time=0.313469
pkt_dts=4423680
pkt_dts_time=0.313469
best_effort_timestamp=4423680
best_effort_timestamp_time=0.313469
pkt_duration=368640
pkt_duration_time=0.026122
pkt_pos=21307
pkt_size=418
sample_fmt=fltp
nb_samples=1152
channels=2
channel_layout=stereo
[/FRAME]
[FRAME]
media_type=audio
stream_index=0
key_frame=1
pkt_pts=4792320
pkt_pts_time=0.339592
pkt_dts=4792320
pkt_dts_time=0.339592
best_effort_timestamp=4792320
best_effort_timestamp_time=0.339592
pkt_duration=368640
pkt_duration_time=0.026122
pkt_pos=21725
pkt_size=418
sample_fmt=fltp
nb_samples=1152
channels=2
channel_layout=stereo
[/FRAME]
[FRAME]
media_type=audio
stream_index=0
key_frame=1
pkt_pts=5160960
pkt_pts_time=0.365714
pkt_dts=5160960
pkt_dts_time=0.365714
best_effort_timestamp=5160960
best_effort_timestamp_time=0.365714
pkt_duration=368640
pkt_duration_time=0.026122
pkt_pos=22143
pkt_size=418
sample_fmt=fltp
nb_samples=1152
channels=2
channel_layout=stereo
[/FRAME]
[FRAME]
media_type=audio
stream_index=0
key_frame=1
pkt_pts=5529600
pkt_pts_time=0.391837
pkt_dts=5529600
pkt_dts_time=0.391837
best_effort_timestamp=5529600
best_effort_timestamp_time=0.391837
pkt_duration=368640
pkt_duration_time=0.026122
pkt_pos=22561
pkt_size=418
sample_fmt=fltp
nb_samples=1152
channels=2
channel_layout=stereo
[/FRAME]
[FRAME]
media_type=audio
stream_index=0
key_frame=1
pkt_pts=5898240
pkt_pts_time=0.417959
pkt_dts=5898240
pkt_dts_time=0.417959
best_effort_timestamp=5898240
best_effort_timestamp_time=0.417959
pkt_duration=368640
pkt_duration_time=0.026122
pkt_pos=22979
pkt_size=418
sample_fmt=fltp
nb_samples=1152
channels=2
channel_layout=stereo
[/FRAME]
[FRAME]
media_type=audio
stream_index=0
key_frame=1
pkt_pts=6266880
pkt_pts_time=0.444082
pkt_dts=6266880
pkt_dts_time=0.444082
best_effort_timestamp=6266880
best_effort_timestamp_time=0.444082
pkt_duration=368640
pkt_duration_time=0.026122
pkt_pos=23397
pkt_size=418
sample_fmt=fltp
nb_samples=1152
channels=2
channel_layout=stereo
[/FRAME]
[FRAME]
media_type=audio
stream_index=0
key_frame=1
pkt_pts=6635520
pkt_pts_time=0.470204
pkt_dts=6635520
pkt_dts_time=0.470204
best_effort_timestamp=6635520
best_effort_timestamp_time=0.470204
pkt_duration=368640
pkt_duration_time=0.026122
pkt_pos=23815
pkt_size=418
sample_fmt=fltp
nb_samples=1152
channels=2
channel_layout=stereo
[/FRAME]
[FRAME]
media_type=audio
stream_index=0
key_frame=1
pkt_pts=7004160
pkt_pts_time=0.496327
pkt_dts=7004160
pkt_dts_time=0.496327
best_effort_timestamp=7004160
best_effort_timestamp_time=0.496327
pkt_duration=368640
pkt_duration_time=0.026122
pkt_pos=24233
pkt_size=418
sample_fmt=fltp
nb_samples=1152
channels=2
channel_layout=stereo
[/FRAME]
[FRAME]
media_type=audio
stream_index=0
key_frame=1
pkt_pts=7372800
pkt_pts_time=0.522449
pkt_dts=7372800
pkt_dts_time=0.522449
best_effort_timestamp=7372800
best_effort_timestamp_time=0.522449
pkt_duration=368640
pkt_duration_time=0.026122
pkt_pos=24651
pkt_size=418
sample_fmt=fltp
nb_samples=1152
channels=2
channel_layout=stereo
[/FRAME]