[FFmpeg-user] Using the asyncts filter

Dainius (GreatEmerald) pastas4 at gmail.com
Sun Aug 26 10:52:19 CEST 2012

> -itsoffset ?

That doesn't work. If I do this:
  ffmpeg -i TestAudio.wav -itsoffset 1345970352 -i TestVideo.mkv
-async 2 TestCombine2.mkv
I get:
  DTS 1345970388433, next:36068667 st:0 invalid dropping
  PTS 1345970388500, next:36068667 invalid dropping st:0
  frame=    2 fps=0.0 q=-1.0 Lsize=      98kB time=00:00:39.43
bitrate=  20.3kbits/s dup=0 drop=1094
The first two lines repeated with similar numbers a few thousand
times. And if I use this:
  ffmpeg -itsoffset -1345970352 -i TestAudio.wav -i TestVideo.mkv
-async 2 TestCombine.mkv
I get:
  [libvorbis @ 0xd22c20] Que input is backward in time
  [matroska @ 0xd21dc0] Audio timestamp 12 < 15 invalid, cliping
  [aresample @ 0xc10fc0] [SWR @ 0xe029c0] Failed to compensate for
timestamp delta of -1345970312.576000
Once again repeated a few thousand times or so. And, naturally, I
can't use -itsoffset during the recording, as I have no way to tell
what the current timestamp is going to be.

Also, according to the FFmpeg manual, -async is deprecated in favour
of, well, the asyncts filter :)

More information about the ffmpeg-user mailing list