Remove 8kbit limitation on VStarCam audio
This commit is contained in:
@@ -61,7 +61,7 @@ std::string VStarCamRecorder::Video(ctpl::thread_pool* pThreadPool, const std::s
|
|||||||
fileName << m_settings.Path << "/" << m_settings.IpAddress << "/VSTA000000XXXXX_0_" << GetDateTimeString(true) << ".mp4";
|
fileName << m_settings.Path << "/" << m_settings.IpAddress << "/VSTA000000XXXXX_0_" << GetDateTimeString(true) << ".mp4";
|
||||||
|
|
||||||
std::stringstream command;
|
std::stringstream command;
|
||||||
command << ffmpeg << " -i \"" << url.str() << "\" -t 30 -c:v copy -c:a aac -b:a 8k -strict experimental " << fileName.str() << " > /dev/null 2>&1";
|
command << ffmpeg << " -i \"" << url.str() << "\" -t 30 -c:v copy -c:a aac -strict experimental " << fileName.str() << " > /dev/null 2>&1";
|
||||||
|
|
||||||
std::string cmd(command.str());
|
std::string cmd(command.str());
|
||||||
Logging::Log(Logging::Severity::Debug, cmd);
|
Logging::Log(Logging::Severity::Debug, cmd);
|
||||||
|
|||||||
Reference in New Issue
Block a user