fbff: add periodic syncs
commit36c1e6278b93371cfe1c7672b830b2a19cee1921
authorAli Gholami Rudi <ali@rudi.ir>
Mon, 27 Feb 2012 18:19:39 +0000 (27 21:49 +0330)
committerAli Gholami Rudi <ali@rudi.ir>
Mon, 27 Feb 2012 18:19:39 +0000 (27 21:49 +0330)
tree88c837e49ad08403be1e35df551de00f5a57fe79
parentf1356b840e4999245b69ad57db5ca28c5317c045
fbff: add periodic syncs

Now -s argument can accept a number; -s100 means sync every hundred frames
(note that there is no space between -s and 100).  This is specially
helpful for files that get out of sync without -s, and -s results in
choppy playback.  The -s without any number is equivalent to -s1 and
means sync every frame.

So to get the best playback I suggest:
* try playback with -s; if out of sync, you need to use -/+ commands
  to set avdiff.  The best guide for avdiff is the amount reported in
  'i' command just when the playback starts without -s.
* try playback with -s100 and just after starting the playback press
  'a' command to record the avdiff
fbff.c