mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
fix #119: use iformat and oformat for ffmpeg transcode.
This commit is contained in:
parent
2f0a72d7d1
commit
9bf7b722db
5 changed files with 61 additions and 5 deletions
|
@ -51,6 +51,8 @@ private:
|
|||
private:
|
||||
std::string ffmpeg;
|
||||
std::string _iparams;
|
||||
std::string iformat;
|
||||
std::string input;
|
||||
std::vector<std::string> vfilter;
|
||||
std::string vcodec;
|
||||
int vbitrate;
|
||||
|
@ -66,8 +68,8 @@ private:
|
|||
int asample_rate;
|
||||
int achannels;
|
||||
std::vector<std::string> aparams;
|
||||
std::string oformat;
|
||||
std::string _output;
|
||||
std::string input;
|
||||
public:
|
||||
SrsFFMPEG(std::string ffmpeg_bin);
|
||||
virtual ~SrsFFMPEG();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue