v1.1.0 : Fixed multithreading & added timeout to ffmpeg

This commit is contained in:
Brendan LE GLAUNEC
2016-11-02 07:56:03 +01:00
parent 37176292d0
commit 6685f74a90
2 changed files with 11 additions and 0 deletions
@@ -48,6 +48,7 @@ thumbnail::generate_thumbnail(const stream_model& stream) const {
return false;
std::string ffmpeg_cmd =
"mkdir -p %s ; "
"timeout 20 "
"ffmpeg "
"-rtsp_transport tcp "
"-y "