mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-12 19:18:44 +02:00
836b8001c9
This duration is equal to the longest duration in all track's tkhd atoms, which may be comprised of the sum of all edit lists in each track. Empty edit lists in tracks represent start_time, and the actual media duration is stored in the mdhd atom. This change lets the generic demux code derive the longest track duration taken from mdhd atoms, so the correct duration and start_time combination will be reported. Should fix ticket #9775. Reviewed-by: zhilizhao(赵志立) <quinkblack@foxmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
44 lines
2.3 KiB
Plaintext
44 lines
2.3 KiB
Plaintext
[STREAM]
|
|
index=0
|
|
start_pts=0
|
|
duration_ts=103326
|
|
[/STREAM]
|
|
[FORMAT]
|
|
start_time=0.000000
|
|
duration=2.342993
|
|
[/FORMAT]
|
|
packet|pts=-1024|dts=-1024|duration=1024|flags=KD|side_data|
|
|
|
|
packet|pts=0|dts=0|duration=1024|flags=K_
|
|
packet|pts=1024|dts=1024|duration=1024|flags=K_
|
|
packet|pts=2048|dts=2048|duration=1024|flags=K_
|
|
packet|pts=3072|dts=3072|duration=1024|flags=K_
|
|
packet|pts=4096|dts=4096|duration=1024|flags=K_
|
|
packet|pts=5120|dts=5120|duration=1024|flags=K_
|
|
packet|pts=95232|dts=95232|duration=1024|flags=K_
|
|
packet|pts=96256|dts=96256|duration=1024|flags=K_
|
|
packet|pts=97280|dts=97280|duration=1024|flags=K_
|
|
packet|pts=98304|dts=98304|duration=1024|flags=K_
|
|
packet|pts=99328|dts=99328|duration=1024|flags=K_
|
|
packet|pts=100352|dts=100352|duration=1024|flags=K_
|
|
packet|pts=101376|dts=101376|duration=1024|flags=K_
|
|
packet|pts=102400|dts=102400|duration=926|flags=K_
|
|
stream|nb_read_packets=102
|
|
frame|pts=0|pkt_dts=0|best_effort_timestamp=0|pkt_duration=1024|nb_samples=1024
|
|
frame|pts=1024|pkt_dts=1024|best_effort_timestamp=1024|pkt_duration=1024|nb_samples=1024
|
|
frame|pts=2048|pkt_dts=2048|best_effort_timestamp=2048|pkt_duration=1024|nb_samples=1024
|
|
frame|pts=3072|pkt_dts=3072|best_effort_timestamp=3072|pkt_duration=1024|nb_samples=1024
|
|
frame|pts=4096|pkt_dts=4096|best_effort_timestamp=4096|pkt_duration=1024|nb_samples=1024
|
|
frame|pts=5120|pkt_dts=5120|best_effort_timestamp=5120|pkt_duration=1024|nb_samples=1024
|
|
frame|pts=6144|pkt_dts=6144|best_effort_timestamp=6144|pkt_duration=1024|nb_samples=1024
|
|
frame|pts=7168|pkt_dts=7168|best_effort_timestamp=7168|pkt_duration=1024|nb_samples=1024
|
|
frame|pts=95232|pkt_dts=95232|best_effort_timestamp=95232|pkt_duration=1024|nb_samples=1024
|
|
frame|pts=96256|pkt_dts=96256|best_effort_timestamp=96256|pkt_duration=1024|nb_samples=1024
|
|
frame|pts=97280|pkt_dts=97280|best_effort_timestamp=97280|pkt_duration=1024|nb_samples=1024
|
|
frame|pts=98304|pkt_dts=98304|best_effort_timestamp=98304|pkt_duration=1024|nb_samples=1024
|
|
frame|pts=99328|pkt_dts=99328|best_effort_timestamp=99328|pkt_duration=1024|nb_samples=1024
|
|
frame|pts=100352|pkt_dts=100352|best_effort_timestamp=100352|pkt_duration=1024|nb_samples=1024
|
|
frame|pts=101376|pkt_dts=101376|best_effort_timestamp=101376|pkt_duration=1024|nb_samples=1024
|
|
frame|pts=102400|pkt_dts=102400|best_effort_timestamp=102400|pkt_duration=926|nb_samples=1024
|
|
stream|nb_read_frames=101
|