mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-10-22 22:43:05 +02:00
2017-08-29 Fred Gleason <fredg@paravelsystems.com>
* Added '--bitrate=', '--format=', '--normalization-level=', '--quality=' and '--samplerate=' switches to rdrender(1).
This commit is contained in:
@@ -31,6 +31,7 @@
|
||||
#include <rdconfig.h>
|
||||
#include <rddb.h>
|
||||
#include <rdripc.h>
|
||||
#include <rdsettings.h>
|
||||
#include <rdstation.h>
|
||||
#include <rdsystem.h>
|
||||
#include <rduser.h>
|
||||
@@ -38,6 +39,10 @@
|
||||
#include "logline.h"
|
||||
|
||||
#define RDRENDER_DEFAULT_CHANNELS 2
|
||||
#define RDRENDER_DEFAULT_FORMAT RDSettings::Pcm16
|
||||
#define RDRENDER_DEFAULT_BITRATE 256000
|
||||
#define RDRENDER_DEFAULT_QUALITY 3
|
||||
#define RDRENDER_DEFAULT_NORMALIZATION_LEVEL 0
|
||||
#define RDRENDER_USAGE "[options] <logname> <output-file>\n"
|
||||
|
||||
class MainObject : public QObject
|
||||
@@ -59,9 +64,12 @@ class MainObject : public QObject
|
||||
bool GetCutFile(const QString &cutname,int start_pt,int end_pt,
|
||||
QString *dest_filename) const;
|
||||
void DeleteCutFile(const QString &dest_filename) const;
|
||||
bool ConvertAudio(const QString &srcfile,const QString &dstfile,
|
||||
RDSettings *s,QString *err_msg);
|
||||
bool render_verbose;
|
||||
QString render_logname;
|
||||
QString render_output_filename;
|
||||
QString render_temp_output_filename;
|
||||
unsigned render_channels;
|
||||
QTime render_start_time;
|
||||
int render_first_line;
|
||||
@@ -69,6 +77,8 @@ class MainObject : public QObject
|
||||
QTime render_first_time;
|
||||
QTime render_last_time;
|
||||
bool render_ignore_stops;
|
||||
RDSettings render_settings;
|
||||
bool render_settings_modified;
|
||||
RDRipc *render_ripc;
|
||||
RDStation *render_station;
|
||||
RDSystem *render_system;
|
||||
|
Reference in New Issue
Block a user