PDA

View Full Version : audio delay with mp4box


audyovydeo
4th March 2009, 12:52
Hello

I'm trying to add an audio delay to a file, but searching the forums I found differrent syntax :

mp4box -add video.h264 -add audio.aac -delay 2=200 -new syntax_old.mp4

mp4box -add video.h264 -add audio.aac:delay=200 -new syntax_new.mp4


Both of these cmdlines execute correctly, but since no message is returned, how can I tell if the delay has been set ? Neither mp4box nor media info give any clue on delay.

thanks
a/v

Kurtnoise
4th March 2009, 13:11
Both of these cmdlines execute correctly, but since no message is returned, how can I tell if the delay has been set ? Neither mp4box nor media info give any clue on delay.

did you try :
MP4Box -info syntax_xxx.mp4

and check duration ?

audyovydeo
4th March 2009, 13:15
did you try :
MP4Box -info syntax_xxx.mp4

and check duration ?

hello kurtnoise, thanks for quick reply.

Yes, nothing significant.
I had an mp4 file which I demuxed using mp4box (0.4.5-DEV (build 19 - Apr 13 2008), then I muxed as previously posted.

-info gives me exactly the same durations as my source file.

that said, I just tried with a delay of 600 to make it obvious, and it worked. but -info still shows the same duration

cheers
a/v