ffmpeg: add enc_time_base option
authorerankor <eran.kornblau@kaltura.com>
Wed, 3 May 2017 08:50:15 +0000 (11:50 +0300)
committerMichael Niedermayer <michael@niedermayer.cc>
Wed, 10 May 2017 12:00:20 +0000 (14:00 +0200)
commit2b06f2d2e24ccc4098f3ab40efd68e8f3f02b273
tree2257e48c62074ecf19683c90221f03664f6c29be
parent6ce57fb3c2ef139bbe164d1811422b91e2dedc26
ffmpeg: add enc_time_base option

add a per-stream option for setting the encoder timebase.
the following values are allowed:
0 - for video, use 1/frame_rate, for audio use 1/sample_rate (this is
  the default)
-1 - match the input timebase (when possible)
>0 - set the timebase to provided number

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
doc/ffmpeg.texi
ffmpeg.c
ffmpeg.h
ffmpeg_opt.c