mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
add ffempty
This commit is contained in:
parent
b88596b6dc
commit
407801b8a6
1 changed files with 516 additions and 517 deletions
1
trunk/src/core/srs_core_encoder.cpp
Normal file → Executable file
1
trunk/src/core/srs_core_encoder.cpp
Normal file → Executable file
|
@ -241,7 +241,6 @@ int SrsFFMPEG::start()
|
||||||
if (pid == 0) {
|
if (pid == 0) {
|
||||||
// TODO: execl or execlp
|
// TODO: execl or execlp
|
||||||
ret = execl(ffmpeg.c_str(),
|
ret = execl(ffmpeg.c_str(),
|
||||||
ffmpeg.c_str(),
|
|
||||||
"-f", "flv",
|
"-f", "flv",
|
||||||
"-i", input.c_str(),
|
"-i", input.c_str(),
|
||||||
// video specified.
|
// video specified.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue