QTfrontend/net/recorder.cpp
changeset 7633 d4251e519062
parent 7507 3032a5739fe1
child 7794 ab7b94c03bc9
equal deleted inserted replaced
7632:81e5e7092023 7633:d4251e519062
   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 }