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
|
@ -605,6 +605,10 @@ public:
|
|||
*/
|
||||
virtual bool get_engine_enabled(SrsConfDirective* engine);
|
||||
/**
|
||||
* get the iformat of engine
|
||||
*/
|
||||
virtual std::string get_engine_iformat(SrsConfDirective* engine);
|
||||
/**
|
||||
* get the vfilter of engine,
|
||||
* the video filter set before the vcodec of FFMPEG.
|
||||
*/
|
||||
|
@ -679,6 +683,10 @@ public:
|
|||
*/
|
||||
virtual std::vector<std::string> get_engine_aparams(SrsConfDirective* engine);
|
||||
/**
|
||||
* get the oformat of engine
|
||||
*/
|
||||
virtual std::string get_engine_oformat(SrsConfDirective* engine);
|
||||
/**
|
||||
* get the output of engine, for example, rtmp://127.0.0.1/live/livestream,
|
||||
* @remark, we will use some variable, for instance, [vhost] to substitude with vhost.
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue