[FFmpeg-user] that does delay of mpg mean?

linxs linxsy at gmail.com
Fri Feb 26 11:31:25 CET 2016


Dear Sir,

I use this command to make mpg file:
ffmpeg -i INPUTVIDEO -af "asetpts=PTS+0.010/TB" -c:v mpeg2video -b:v
10M -c:a mp2 -b:a 384k   -y OUT.mpg

Then I use MediaInfo to get all properties of OUT.mpg. I found there
is 540 ms "Delay" property for video and audio.
Can anybody tell me what do these delay values mean? And how to set
this "Delay" to 0?

---video---
Delay            :540.000
Delay/String            :540ms
Delay/String1            :540ms
Delay/String2            :540ms
Delay/String3            :00:00:00.540
Delay_DropFrame            :No
Delay_Source            :Container
Delay_Source/String            :Container
Delay_Original            :0
Delay_Original/String3            :00:00:00.000
Delay_Original_Settings            :drop_frame_flag=0 / closed_gop=1 /
broken_link=0
Delay_Original_DropFrame            :No
Delay_Original_Source            :Stream
---audio---
Delay            :539.978
Delay/String            :540ms
Delay/String1            :540ms
Delay/String2            :540ms
Delay/String3            :00:00:00.540
Delay_Source            :Container
Delay_Source/String            :Container
Video_Delay            :0
Video_Delay/String3            :00:00:00.000
Video0_Delay            :0
Video0_Delay/String3            :00:00:00.000
----


More information about the ffmpeg-user mailing list