summaryrefslogtreecommitdiff
path: root/avconv.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2017-01-30 21:35:42 +0100
committerAnton Khirnov <anton@khirnov.net>2017-02-01 10:42:59 +0100
commitb420a27e74750b60d2e064236afb10be06a38ace (patch)
tree77d7f6777d249ca8011f6eb030c5d43e893a02ad /avconv.h
parentab2539bd374fe7ddbc6e2f058b62645cd5076192 (diff)
avconv: allow -b to be used with streamcopy
In this mode it tells the muxer about the bitrate of the input stream.
Diffstat (limited to 'avconv.h')
-rw-r--r--avconv.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/avconv.h b/avconv.h
index 6360f76c0b..3c3f0ef659 100644
--- a/avconv.h
+++ b/avconv.h
@@ -162,6 +162,8 @@ typedef struct OptionsContext {
int nb_sample_fmts;
SpecifierOpt *qscale;
int nb_qscale;
+ SpecifierOpt *bitrates;
+ int nb_bitrates;
SpecifierOpt *forced_key_frames;
int nb_forced_key_frames;
SpecifierOpt *force_fps;
@@ -382,6 +384,9 @@ typedef struct OutputStream {
int forced_kf_index;
char *forced_keyframes;
+ // the bitrate to send to the muxer for streamcopy
+ int bitrate_override;
+
char *logfile_prefix;
FILE *logfile;