2016-03-07 23:57:51 +02:00
|
|
|
[STREAM]
|
|
|
|
index=0
|
2016-02-20 21:09:42 +02:00
|
|
|
start_pts=0
|
2016-09-19 07:09:03 +02:00
|
|
|
duration_ts=103326
|
2016-03-07 23:57:51 +02:00
|
|
|
[/STREAM]
|
|
|
|
[FORMAT]
|
2016-02-20 21:09:42 +02:00
|
|
|
start_time=0.000000
|
movenc: Present durations in mvhd/tkhd/mdhd as they are after edits
If the edit lists remove parts of the output timeline, or add a
delay to it, this should be included in the mvhd/tkhd/mdhd durations,
which should correspond to the edit lists.
For tracks starting with pts < 0, the edit list trims out the segment
before pts=0. For tracks starting with pts > 0, a delay element is
added in the edit list, delaying the start of the track data.
In both cases, the practical effect is that the post-edit output
is as if the track had started with pts = 0. Thus calculate the range
from pts=0 to end_pts, for the purposes of mvhd/tkhd/mdhd, unless
edit lists explicitly are disabled.
mov_write_edts_tag needs to operate on the actual pts duration of
the track samples, not the duration that already takes the edit
list effect into account.
Signed-off-by: Martin Storsjö <martin@martin.st>
2020-12-20 00:45:42 +02:00
|
|
|
duration=2.344000
|
2016-03-07 23:57:51 +02:00
|
|
|
[/FORMAT]
|
2016-09-26 20:42:52 +02:00
|
|
|
packet|pts=-1024|dts=-1024|duration=1024|flags=KDside_data|
|
2017-03-09 16:43:30 +02:00
|
|
|
|
2016-09-26 20:42:52 +02:00
|
|
|
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_
|
2016-03-07 23:57:51 +02:00
|
|
|
stream|nb_read_packets=102
|
2016-02-20 23:39:07 +02:00
|
|
|
frame|pkt_pts=0|pkt_dts=0|best_effort_timestamp=0|pkt_duration=1024|nb_samples=1024
|
|
|
|
frame|pkt_pts=1024|pkt_dts=1024|best_effort_timestamp=1024|pkt_duration=1024|nb_samples=1024
|
|
|
|
frame|pkt_pts=2048|pkt_dts=2048|best_effort_timestamp=2048|pkt_duration=1024|nb_samples=1024
|
|
|
|
frame|pkt_pts=3072|pkt_dts=3072|best_effort_timestamp=3072|pkt_duration=1024|nb_samples=1024
|
|
|
|
frame|pkt_pts=4096|pkt_dts=4096|best_effort_timestamp=4096|pkt_duration=1024|nb_samples=1024
|
|
|
|
frame|pkt_pts=5120|pkt_dts=5120|best_effort_timestamp=5120|pkt_duration=1024|nb_samples=1024
|
|
|
|
frame|pkt_pts=6144|pkt_dts=6144|best_effort_timestamp=6144|pkt_duration=1024|nb_samples=1024
|
2016-02-20 21:09:42 +02:00
|
|
|
frame|pkt_pts=7168|pkt_dts=7168|best_effort_timestamp=7168|pkt_duration=1024|nb_samples=1024
|
2016-02-20 23:39:07 +02:00
|
|
|
frame|pkt_pts=95232|pkt_dts=95232|best_effort_timestamp=95232|pkt_duration=1024|nb_samples=1024
|
|
|
|
frame|pkt_pts=96256|pkt_dts=96256|best_effort_timestamp=96256|pkt_duration=1024|nb_samples=1024
|
|
|
|
frame|pkt_pts=97280|pkt_dts=97280|best_effort_timestamp=97280|pkt_duration=1024|nb_samples=1024
|
|
|
|
frame|pkt_pts=98304|pkt_dts=98304|best_effort_timestamp=98304|pkt_duration=1024|nb_samples=1024
|
|
|
|
frame|pkt_pts=99328|pkt_dts=99328|best_effort_timestamp=99328|pkt_duration=1024|nb_samples=1024
|
|
|
|
frame|pkt_pts=100352|pkt_dts=100352|best_effort_timestamp=100352|pkt_duration=1024|nb_samples=1024
|
|
|
|
frame|pkt_pts=101376|pkt_dts=101376|best_effort_timestamp=101376|pkt_duration=1024|nb_samples=1024
|
2016-09-19 07:09:03 +02:00
|
|
|
frame|pkt_pts=102400|pkt_dts=102400|best_effort_timestamp=102400|pkt_duration=926|nb_samples=1024
|
2016-02-20 21:09:42 +02:00
|
|
|
stream|nb_read_frames=101
|