equal
deleted
inserted
replaced
120 arguments << QString::number(config->rec_Framerate()); // framerate numerator |
120 arguments << QString::number(config->rec_Framerate()); // framerate numerator |
121 arguments << "1"; // framerate denominator |
121 arguments << "1"; // framerate denominator |
122 arguments << prefix; |
122 arguments << prefix; |
123 arguments << config->AVFormat(); |
123 arguments << config->AVFormat(); |
124 arguments << config->videoCodec(); |
124 arguments << config->videoCodec(); |
125 arguments << "5"; // video quality |
125 // Could use a field to use quality instead. maybe quality could override bitrate - or just pass (and set) both. |
|
126 // The library does support using both at once after all. |
|
127 arguments << QString::number(config->rec_Bitrate()*1024); |
126 arguments << (config->recordAudio()? config->audioCodec() : "no"); |
128 arguments << (config->recordAudio()? config->audioCodec() : "no"); |
127 |
129 |
128 return arguments; |
130 return arguments; |
129 } |
131 } |